From 8ed125aa155017a7193b13b3d36d937a245a350e Mon Sep 17 00:00:00 2001 From: David Wihl Date: Mon, 9 Nov 2020 14:08:19 -0500 Subject: [PATCH] Changes for release v6_0 and deprecation of v2_0. (#335) --- ChangeLog | 6 + README.rst | 2 + .../account_management/create_customer.py | 4 +- .../account_management/get_account_changes.py | 8 +- .../get_account_hierarchy.py | 26 +- .../get_account_information.py | 2 +- .../link_manager_to_client.py | 16 +- .../list_accessible_customers.py | 2 +- .../reject_merchant_center_link.py | 170 + .../account_management/update_user_access.py | 182 + .../advanced_operations/add_ad_customizer.py | 112 +- .../add_ad_group_bid_modifier.py | 6 +- .../advanced_operations/add_app_campaign.py | 58 +- .../add_display_upload_ad.py | 195 + .../add_dynamic_page_feed.py | 82 +- .../add_dynamic_search_ads.py | 42 +- ...add_expanded_text_ad_with_upgraded_urls.py | 8 +- examples/advanced_operations/add_gmail_ad.py | 22 +- examples/advanced_operations/add_sitelink.py | 13 +- .../add_smart_display_ad.py | 36 +- .../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 +- ...=> authenticate_in_desktop_application.py} | 0 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 | 10 +- .../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 | 4 +- examples/basic_operations/update_ad_group.py | 6 +- 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 | 12 +- examples/billing/add_billing_setup.py | 248 ++ .../billing/get_account_budget_proposals.py | 32 +- examples/billing/get_account_budgets.py | 23 +- examples/billing/get_billing_setup.py | 20 +- examples/billing/remove_billing_setup.py | 4 +- .../add_campaign_bid_modifier.py | 6 +- .../campaign_management/add_campaign_draft.py | 8 +- .../add_campaign_labels.py | 12 +- .../add_complete_campaigns_using_batch_job.py | 44 +- .../create_campaign_experiment.py | 18 +- .../get_all_disapproved_ads.py | 8 +- .../get_campaigns_by_label.py | 4 +- .../graduate_campaign_experiment.py | 8 +- .../campaign_management/set_ad_parameters.py | 6 +- .../update_campaign_criterion_bid_modifier.py | 4 +- .../campaign_management/validate_text_ad.py | 10 +- ...ndle_expanded_text_ad_policy_violations.py | 10 +- .../handle_keyword_policy_violations.py | 27 +- .../error_handling/handle_partial_failure.py | 14 +- .../add_affiliate_location_extensions.py | 469 +++ examples/extensions/add_geo_target.py | 8 +- ..._google_my_business_location_extensions.py | 421 ++ .../extensions/add_lead_form_extension.py | 219 + examples/extensions/add_prices.py | 38 +- examples/extensions/add_sitelinks.py | 84 +- .../extensions/add_sitelinks_using_feeds.py | 81 +- examples/feeds/remove_feed_items.py | 7 +- ...emove_flights_feed_item_attribute_value.py | 312 ++ examples/hotel_ads/add_hotel_ad.py | 26 +- .../add_hotel_ad_group_bid_modifiers.py | 10 +- .../hotel_ads/add_hotel_listing_group_tree.py | 502 +++ ...ate_complete_campaign_both_apis_phase_1.py | 12 +- ...ate_complete_campaign_both_apis_phase_2.py | 28 +- ...ate_complete_campaign_both_apis_phase_3.py | 48 +- ...ate_complete_campaign_both_apis_phase_4.py | 62 +- ...e_complete_campaign_google_ads_api_only.py | 76 +- 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 | 85 +- examples/planning/forecast_reach.py | 183 +- .../planning/generate_forecast_metrics.py | 8 +- examples/planning/generate_keyword_ideas.py | 68 +- ..._ad_group_criterion_cpc_bid_simulations.py | 2 +- ...aign_criterion_bid_modifier_simulations.py | 2 +- .../recommendations/apply_recommendation.py | 11 +- .../get_text_ad_recommendations.py | 2 +- .../add_combined_rule_user_list.py | 164 + examples/remarketing/add_conversion_action.py | 4 +- .../add_conversion_based_user_list.py | 120 + .../add_customer_match_user_list.py | 64 +- .../add_expression_rule_user_list.py | 155 + examples/remarketing/add_logical_user_list.py | 122 + ...ant_center_dynamic_remarketing_campaign.py | 69 +- .../remarketing/add_remarketing_action.py | 10 +- .../update_audience_target_restriction.py | 203 + .../remarketing/upload_call_conversion.py | 29 +- .../upload_conversion_adjustment.py | 6 +- .../remarketing/upload_offline_conversion.py | 6 +- .../upload_store_sales_transactions.py | 517 +++ .../reporting/get_hotel_ads_performance.py | 2 +- examples/reporting/get_keyword_stats.py | 4 +- examples/shopping_ads/add_listing_scope.py | 17 +- .../shopping_ads/add_shopping_product_ad.py | 28 +- ...add_shopping_product_listing_group_tree.py | 446 ++ .../shopping_ads/add_shopping_smart_ad.py | 379 ++ .../approve_merchant_center_link.py | 29 +- .../get_product_bidding_category_constant.py | 4 +- .../add_campaign_targeting_criteria.py | 18 +- .../add_customer_negative_criteria.py | 8 +- .../add_demographic_targeting_criteria.py | 8 +- .../get_campaign_targeting_criteria.py | 4 +- .../get_geo_target_constants_by_names.py | 4 +- ...arch_for_language_and_carrier_constants.py | 8 +- google/ads/google_ads/__init__.py | 2 +- google/ads/google_ads/client.py | 4 +- .../google_ads/interceptors/interceptor.py | 5 +- .../interceptors/logging_interceptor.py | 152 +- google/ads/google_ads/util.py | 53 +- google/ads/google_ads/v2/__init__.py | 283 -- .../v2/proto/common/ad_asset_pb2.py | 242 -- .../v2/proto/common/ad_asset_pb2_grpc.py | 3 - .../v2/proto/common/ad_type_infos_pb2.py | 2370 ----------- .../v2/proto/common/ad_type_infos_pb2_grpc.py | 3 - .../v2/proto/common/asset_types_pb2.py | 331 -- .../v2/proto/common/asset_types_pb2_grpc.py | 3 - .../google_ads/v2/proto/common/bidding_pb2.py | 933 ----- .../v2/proto/common/bidding_pb2_grpc.py | 3 - .../v2/proto/common/click_location_pb2.py | 124 - .../proto/common/click_location_pb2_grpc.py | 3 - .../v2/proto/common/criteria_pb2.py | 3198 --------------- .../v2/proto/common/criteria_pb2_grpc.py | 3 - .../criterion_category_availability_pb2.py | 259 -- ...riterion_category_availability_pb2_grpc.py | 3 - .../v2/proto/common/custom_parameter_pb2.py | 94 - .../proto/common/custom_parameter_pb2_grpc.py | 3 - .../google_ads/v2/proto/common/dates_pb2.py | 93 - .../v2/proto/common/dates_pb2_grpc.py | 3 - .../explorer_auto_optimizer_setting_pb2.py | 85 - ...xplorer_auto_optimizer_setting_pb2_grpc.py | 3 - .../v2/proto/common/extensions_pb2.py | 1349 ------ .../v2/proto/common/extensions_pb2_grpc.py | 3 - .../v2/proto/common/feed_common_pb2.py | 93 - .../v2/proto/common/feed_common_pb2_grpc.py | 3 - .../v2/proto/common/final_app_url_pb2.py | 100 - .../v2/proto/common/final_app_url_pb2_grpc.py | 3 - .../v2/proto/common/frequency_cap_pb2.py | 180 - .../v2/proto/common/frequency_cap_pb2_grpc.py | 3 - .../proto/common/keyword_plan_common_pb2.py | 94 - .../common/keyword_plan_common_pb2_grpc.py | 3 - .../v2/proto/common/matching_function_pb2.py | 480 --- .../common/matching_function_pb2_grpc.py | 3 - .../google_ads/v2/proto/common/metrics_pb2.py | 1398 ------- .../v2/proto/common/metrics_pb2_grpc.py | 3 - .../google_ads/v2/proto/common/policy_pb2.py | 933 ----- .../v2/proto/common/policy_pb2_grpc.py | 3 - .../common/real_time_bidding_setting_pb2.py | 84 - .../real_time_bidding_setting_pb2_grpc.py | 3 - .../v2/proto/common/segments_pb2.py | 963 ----- .../v2/proto/common/segments_pb2_grpc.py | 3 - .../v2/proto/common/simulation_pb2.py | 713 ---- .../v2/proto/common/simulation_pb2_grpc.py | 3 - .../v2/proto/common/tag_snippet_pb2.py | 119 - .../v2/proto/common/tag_snippet_pb2_grpc.py | 3 - .../v2/proto/common/targeting_setting_pb2.py | 152 - .../common/targeting_setting_pb2_grpc.py | 3 - .../v2/proto/common/text_label_pb2.py | 97 - .../v2/proto/common/text_label_pb2_grpc.py | 3 - .../v2/proto/common/url_collection_pb2.py | 113 - .../proto/common/url_collection_pb2_grpc.py | 3 - .../v2/proto/common/user_lists_pb2.py | 1173 ------ .../v2/proto/common/user_lists_pb2_grpc.py | 3 - .../google_ads/v2/proto/common/value_pb2.py | 137 - .../v2/proto/common/value_pb2_grpc.py | 3 - .../v2/proto/enums/access_reason_pb2.py | 113 - .../v2/proto/enums/access_reason_pb2_grpc.py | 3 - .../v2/proto/enums/access_role_pb2.py | 105 - .../v2/proto/enums/access_role_pb2_grpc.py | 3 - .../account_budget_proposal_status_pb2.py | 113 - ...account_budget_proposal_status_pb2_grpc.py | 3 - .../enums/account_budget_proposal_type_pb2.py | 109 - .../account_budget_proposal_type_pb2_grpc.py | 3 - .../proto/enums/account_budget_status_pb2.py | 105 - .../enums/account_budget_status_pb2_grpc.py | 3 - .../ad_customizer_placeholder_field_pb2.py | 109 - ...d_customizer_placeholder_field_pb2_grpc.py | 3 - .../enums/ad_group_ad_rotation_mode_pb2.py | 102 - .../ad_group_ad_rotation_mode_pb2_grpc.py | 3 - .../v2/proto/enums/ad_group_ad_status_pb2.py | 105 - .../enums/ad_group_ad_status_pb2_grpc.py | 3 - .../ad_group_criterion_approval_status_pb2.py | 110 - ...roup_criterion_approval_status_pb2_grpc.py | 3 - .../enums/ad_group_criterion_status_pb2.py | 105 - .../ad_group_criterion_status_pb2_grpc.py | 3 - .../v2/proto/enums/ad_group_status_pb2.py | 105 - .../proto/enums/ad_group_status_pb2_grpc.py | 3 - .../v2/proto/enums/ad_group_type_pb2.py | 143 - .../v2/proto/enums/ad_group_type_pb2_grpc.py | 3 - .../v2/proto/enums/ad_network_type_pb2.py | 117 - .../proto/enums/ad_network_type_pb2_grpc.py | 3 - .../ad_serving_optimization_status_pb2.py | 113 - ...ad_serving_optimization_status_pb2_grpc.py | 3 - .../v2/proto/enums/ad_strength_pb2.py | 117 - .../v2/proto/enums/ad_strength_pb2_grpc.py | 3 - .../google_ads/v2/proto/enums/ad_type_pb2.py | 169 - .../v2/proto/enums/ad_type_pb2_grpc.py | 3 - .../enums/advertising_channel_sub_type_pb2.py | 145 - .../advertising_channel_sub_type_pb2_grpc.py | 3 - .../enums/advertising_channel_type_pb2.py | 117 - .../advertising_channel_type_pb2_grpc.py | 3 - ...ate_location_feed_relationship_type_pb2.py | 98 - ...ocation_feed_relationship_type_pb2_grpc.py | 3 - ...ffiliate_location_placeholder_field_pb2.py | 137 - ...ate_location_placeholder_field_pb2_grpc.py | 3 - .../v2/proto/enums/age_range_type_pb2.py | 121 - .../v2/proto/enums/age_range_type_pb2_grpc.py | 3 - .../proto/enums/app_campaign_app_store_pb2.py | 101 - .../enums/app_campaign_app_store_pb2_grpc.py | 3 - ...campaign_bidding_strategy_goal_type_pb2.py | 110 - ...ign_bidding_strategy_goal_type_pb2_grpc.py | 3 - .../proto/enums/app_payment_model_type_pb2.py | 97 - .../enums/app_payment_model_type_pb2_grpc.py | 3 - .../proto/enums/app_placeholder_field_pb2.py | 125 - .../enums/app_placeholder_field_pb2_grpc.py | 3 - .../v2/proto/enums/app_store_pb2.py | 101 - .../v2/proto/enums/app_store_pb2_grpc.py | 3 - .../app_url_operating_system_type_pb2.py | 101 - .../app_url_operating_system_type_pb2_grpc.py | 3 - .../v2/proto/enums/asset_field_type_pb2.py | 117 - .../proto/enums/asset_field_type_pb2_grpc.py | 3 - .../enums/asset_performance_label_pb2.py | 113 - .../enums/asset_performance_label_pb2_grpc.py | 3 - .../v2/proto/enums/asset_type_pb2.py | 109 - .../v2/proto/enums/asset_type_pb2_grpc.py | 3 - .../v2/proto/enums/attribution_model_pb2.py | 123 - .../proto/enums/attribution_model_pb2_grpc.py | 3 - .../v2/proto/enums/bid_modifier_source_pb2.py | 101 - .../enums/bid_modifier_source_pb2_grpc.py | 3 - .../v2/proto/enums/bidding_source_pb2.py | 105 - .../v2/proto/enums/bidding_source_pb2_grpc.py | 3 - .../enums/bidding_strategy_status_pb2.py | 101 - .../enums/bidding_strategy_status_pb2_grpc.py | 3 - .../proto/enums/bidding_strategy_type_pb2.py | 153 - .../enums/bidding_strategy_type_pb2_grpc.py | 3 - .../proto/enums/billing_setup_status_pb2.py | 109 - .../enums/billing_setup_status_pb2_grpc.py | 3 - .../enums/brand_safety_suitability_pb2.py | 105 - .../brand_safety_suitability_pb2_grpc.py | 3 - .../proto/enums/budget_delivery_method_pb2.py | 102 - .../enums/budget_delivery_method_pb2_grpc.py | 3 - .../v2/proto/enums/budget_period_pb2.py | 105 - .../v2/proto/enums/budget_period_pb2_grpc.py | 3 - .../v2/proto/enums/budget_status_pb2.py | 101 - .../v2/proto/enums/budget_status_pb2_grpc.py | 3 - .../v2/proto/enums/budget_type_pb2.py | 105 - .../v2/proto/enums/budget_type_pb2_grpc.py | 3 - .../call_conversion_reporting_state_pb2.py | 106 - ...all_conversion_reporting_state_pb2_grpc.py | 3 - .../proto/enums/call_placeholder_field_pb2.py | 113 - .../enums/call_placeholder_field_pb2_grpc.py | 3 - .../enums/callout_placeholder_field_pb2.py | 97 - .../callout_placeholder_field_pb2_grpc.py | 3 - .../enums/campaign_criterion_status_pb2.py | 105 - .../campaign_criterion_status_pb2_grpc.py | 3 - .../proto/enums/campaign_draft_status_pb2.py | 113 - .../enums/campaign_draft_status_pb2_grpc.py | 3 - .../enums/campaign_experiment_status_pb2.py | 130 - .../campaign_experiment_status_pb2_grpc.py | 3 - ...paign_experiment_traffic_split_type_pb2.py | 101 - ..._experiment_traffic_split_type_pb2_grpc.py | 3 - .../enums/campaign_experiment_type_pb2.py | 105 - .../campaign_experiment_type_pb2_grpc.py | 3 - .../enums/campaign_serving_status_pb2.py | 113 - .../enums/campaign_serving_status_pb2_grpc.py | 3 - .../enums/campaign_shared_set_status_pb2.py | 101 - .../campaign_shared_set_status_pb2_grpc.py | 3 - .../v2/proto/enums/campaign_status_pb2.py | 105 - .../proto/enums/campaign_status_pb2_grpc.py | 3 - .../enums/change_status_operation_pb2.py | 105 - .../enums/change_status_operation_pb2_grpc.py | 3 - .../enums/change_status_resource_type_pb2.py | 134 - .../change_status_resource_type_pb2_grpc.py | 3 - .../v2/proto/enums/click_type_pb2.py | 305 -- .../v2/proto/enums/click_type_pb2_grpc.py | 3 - .../v2/proto/enums/content_label_type_pb2.py | 157 - .../enums/content_label_type_pb2_grpc.py | 3 - .../enums/conversion_action_category_pb2.py | 118 - .../conversion_action_category_pb2_grpc.py | 3 - .../conversion_action_counting_type_pb2.py | 102 - ...onversion_action_counting_type_pb2_grpc.py | 3 - .../enums/conversion_action_status_pb2.py | 105 - .../conversion_action_status_pb2_grpc.py | 3 - .../proto/enums/conversion_action_type_pb2.py | 125 - .../enums/conversion_action_type_pb2_grpc.py | 3 - .../enums/conversion_adjustment_type_pb2.py | 101 - .../conversion_adjustment_type_pb2_grpc.py | 3 - .../conversion_attribution_event_type_pb2.py | 102 - ...version_attribution_event_type_pb2_grpc.py | 3 - .../proto/enums/conversion_lag_bucket_pb2.py | 170 - .../enums/conversion_lag_bucket_pb2_grpc.py | 3 - ...conversion_or_adjustment_lag_bucket_pb2.py | 259 -- ...rsion_or_adjustment_lag_bucket_pb2_grpc.py | 3 - ..._category_channel_availability_mode_pb2.py | 108 - ...gory_channel_availability_mode_pb2_grpc.py | 3 - ...n_category_locale_availability_mode_pb2.py | 112 - ...egory_locale_availability_mode_pb2_grpc.py | 3 - .../criterion_system_serving_status_pb2.py | 102 - ...riterion_system_serving_status_pb2_grpc.py | 3 - .../v2/proto/enums/criterion_type_pb2.py | 213 - .../v2/proto/enums/criterion_type_pb2_grpc.py | 3 - .../enums/custom_interest_member_type_pb2.py | 101 - .../custom_interest_member_type_pb2_grpc.py | 3 - .../proto/enums/custom_interest_status_pb2.py | 101 - .../enums/custom_interest_status_pb2_grpc.py | 3 - .../proto/enums/custom_interest_type_pb2.py | 101 - .../enums/custom_interest_type_pb2_grpc.py | 3 - .../enums/custom_placeholder_field_pb2.py | 175 - .../custom_placeholder_field_pb2_grpc.py | 3 - .../customer_match_upload_key_type_pb2.py | 105 - ...customer_match_upload_key_type_pb2_grpc.py | 3 - ...nversion_eligibility_failure_reason_pb2.py | 122 - ...ion_eligibility_failure_reason_pb2_grpc.py | 3 - .../enums/data_driven_model_status_pb2.py | 109 - .../data_driven_model_status_pb2_grpc.py | 3 - .../v2/proto/enums/day_of_week_pb2.py | 121 - .../v2/proto/enums/day_of_week_pb2_grpc.py | 3 - .../google_ads/v2/proto/enums/device_pb2.py | 113 - .../v2/proto/enums/device_pb2_grpc.py | 3 - .../enums/display_ad_format_setting_pb2.py | 105 - .../display_ad_format_setting_pb2_grpc.py | 3 - .../enums/display_upload_product_type_pb2.py | 138 - .../display_upload_product_type_pb2_grpc.py | 3 - .../v2/proto/enums/distance_bucket_pb2.py | 202 - .../proto/enums/distance_bucket_pb2_grpc.py | 3 - .../dsa_page_feed_criterion_field_pb2.py | 101 - .../dsa_page_feed_criterion_field_pb2_grpc.py | 3 - .../enums/education_placeholder_field_pb2.py | 163 - .../education_placeholder_field_pb2_grpc.py | 3 - .../enums/extension_setting_device_pb2.py | 101 - .../extension_setting_device_pb2_grpc.py | 3 - .../v2/proto/enums/extension_type_pb2.py | 142 - .../v2/proto/enums/extension_type_pb2_grpc.py | 3 - .../enums/external_conversion_source_pb2.py | 178 - .../external_conversion_source_pb2_grpc.py | 3 - .../v2/proto/enums/feed_attribute_type_pb2.py | 145 - .../enums/feed_attribute_type_pb2_grpc.py | 3 - .../feed_item_quality_approval_status_pb2.py | 102 - ...d_item_quality_approval_status_pb2_grpc.py | 3 - ...eed_item_quality_disapproval_reason_pb2.py | 166 - ...tem_quality_disapproval_reason_pb2_grpc.py | 3 - .../v2/proto/enums/feed_item_status_pb2.py | 101 - .../proto/enums/feed_item_status_pb2_grpc.py | 3 - .../enums/feed_item_target_device_pb2.py | 98 - .../enums/feed_item_target_device_pb2_grpc.py | 3 - .../proto/enums/feed_item_target_type_pb2.py | 105 - .../enums/feed_item_target_type_pb2_grpc.py | 3 - .../enums/feed_item_validation_status_pb2.py | 106 - .../feed_item_validation_status_pb2_grpc.py | 3 - .../v2/proto/enums/feed_link_status_pb2.py | 101 - .../proto/enums/feed_link_status_pb2_grpc.py | 3 - .../enums/feed_mapping_criterion_type_pb2.py | 102 - .../feed_mapping_criterion_type_pb2_grpc.py | 3 - .../v2/proto/enums/feed_mapping_status_pb2.py | 101 - .../enums/feed_mapping_status_pb2_grpc.py | 3 - .../v2/proto/enums/feed_origin_pb2.py | 101 - .../v2/proto/enums/feed_origin_pb2_grpc.py | 3 - .../v2/proto/enums/feed_status_pb2.py | 101 - .../v2/proto/enums/feed_status_pb2_grpc.py | 3 - .../enums/flight_placeholder_field_pb2.py | 163 - .../flight_placeholder_field_pb2_grpc.py | 3 - .../enums/frequency_cap_event_type_pb2.py | 101 - .../frequency_cap_event_type_pb2_grpc.py | 3 - .../v2/proto/enums/frequency_cap_level_pb2.py | 106 - .../enums/frequency_cap_level_pb2_grpc.py | 3 - .../enums/frequency_cap_time_unit_pb2.py | 105 - .../enums/frequency_cap_time_unit_pb2_grpc.py | 3 - .../v2/proto/enums/gender_type_pb2.py | 105 - .../v2/proto/enums/gender_type_pb2_grpc.py | 3 - .../enums/geo_target_constant_status_pb2.py | 101 - .../geo_target_constant_status_pb2_grpc.py | 3 - .../enums/geo_targeting_restriction_pb2.py | 97 - .../geo_targeting_restriction_pb2_grpc.py | 3 - .../v2/proto/enums/geo_targeting_type_pb2.py | 101 - .../enums/geo_targeting_type_pb2_grpc.py | 3 - .../enums/google_ads_field_category_pb2.py | 111 - .../google_ads_field_category_pb2_grpc.py | 3 - .../enums/google_ads_field_data_type_pb2.py | 137 - .../google_ads_field_data_type_pb2_grpc.py | 3 - .../enums/hotel_date_selection_type_pb2.py | 101 - .../hotel_date_selection_type_pb2_grpc.py | 3 - .../enums/hotel_placeholder_field_pb2.py | 175 - .../enums/hotel_placeholder_field_pb2_grpc.py | 3 - .../v2/proto/enums/hotel_price_bucket_pb2.py | 101 - .../enums/hotel_price_bucket_pb2_grpc.py | 3 - .../v2/proto/enums/hotel_rate_type_pb2.py | 109 - .../proto/enums/hotel_rate_type_pb2_grpc.py | 3 - .../v2/proto/enums/income_range_type_pb2.py | 121 - .../proto/enums/income_range_type_pb2_grpc.py | 3 - .../proto/enums/interaction_event_type_pb2.py | 109 - .../enums/interaction_event_type_pb2_grpc.py | 3 - .../v2/proto/enums/interaction_type_pb2.py | 97 - .../proto/enums/interaction_type_pb2_grpc.py | 3 - .../v2/proto/enums/invoice_type_pb2.py | 101 - .../v2/proto/enums/invoice_type_pb2_grpc.py | 3 - .../proto/enums/job_placeholder_field_pb2.py | 163 - .../enums/job_placeholder_field_pb2_grpc.py | 3 - .../v2/proto/enums/keyword_match_type_pb2.py | 105 - .../enums/keyword_match_type_pb2_grpc.py | 3 - .../keyword_plan_competition_level_pb2.py | 109 - ...keyword_plan_competition_level_pb2_grpc.py | 3 - .../keyword_plan_forecast_interval_pb2.py | 105 - ...keyword_plan_forecast_interval_pb2_grpc.py | 3 - .../proto/enums/keyword_plan_network_pb2.py | 101 - .../enums/keyword_plan_network_pb2_grpc.py | 3 - .../v2/proto/enums/label_status_pb2.py | 101 - .../v2/proto/enums/label_status_pb2_grpc.py | 3 - .../legacy_app_install_ad_app_store_pb2.py | 113 - ...egacy_app_install_ad_app_store_pb2_grpc.py | 3 - .../listing_custom_attribute_index_pb2.py | 113 - ...listing_custom_attribute_index_pb2_grpc.py | 3 - .../v2/proto/enums/listing_group_type_pb2.py | 101 - .../enums/listing_group_type_pb2_grpc.py | 3 - .../enums/local_placeholder_field_pb2.py | 171 - .../enums/local_placeholder_field_pb2_grpc.py | 3 - ...extension_targeting_criterion_field_pb2.py | 117 - ...sion_targeting_criterion_field_pb2_grpc.py | 3 - .../enums/location_group_radius_units_pb2.py | 101 - .../location_group_radius_units_pb2_grpc.py | 3 - .../enums/location_placeholder_field_pb2.py | 125 - .../location_placeholder_field_pb2_grpc.py | 3 - .../v2/proto/enums/manager_link_status_pb2.py | 114 - .../enums/manager_link_status_pb2_grpc.py | 3 - .../matching_function_context_type_pb2.py | 101 - ...matching_function_context_type_pb2_grpc.py | 3 - .../enums/matching_function_operator_pb2.py | 113 - .../matching_function_operator_pb2_grpc.py | 3 - .../v2/proto/enums/media_type_pb2.py | 117 - .../v2/proto/enums/media_type_pb2_grpc.py | 3 - .../enums/merchant_center_link_status_pb2.py | 102 - .../merchant_center_link_status_pb2_grpc.py | 3 - .../enums/message_placeholder_field_pb2.py | 113 - .../message_placeholder_field_pb2_grpc.py | 3 - .../v2/proto/enums/mime_type_pb2.py | 141 - .../v2/proto/enums/mime_type_pb2_grpc.py | 3 - .../v2/proto/enums/minute_of_hour_pb2.py | 109 - .../v2/proto/enums/minute_of_hour_pb2_grpc.py | 3 - .../v2/proto/enums/mobile_device_type_pb2.py | 101 - .../enums/mobile_device_type_pb2_grpc.py | 3 - .../v2/proto/enums/month_of_year_pb2.py | 141 - .../v2/proto/enums/month_of_year_pb2_grpc.py | 3 - .../v2/proto/enums/mutate_job_status_pb2.py | 105 - .../proto/enums/mutate_job_status_pb2_grpc.py | 3 - .../enums/negative_geo_target_type_pb2.py | 101 - .../negative_geo_target_type_pb2_grpc.py | 3 - ...rating_system_version_operator_type_pb2.py | 101 - ...g_system_version_operator_type_pb2_grpc.py | 3 - .../page_one_promoted_strategy_goal_pb2.py | 102 - ...age_one_promoted_strategy_goal_pb2_grpc.py | 3 - .../proto/enums/parental_status_type_pb2.py | 105 - .../enums/parental_status_type_pb2_grpc.py | 3 - .../v2/proto/enums/payment_mode_pb2.py | 105 - .../v2/proto/enums/payment_mode_pb2_grpc.py | 3 - .../v2/proto/enums/placeholder_type_pb2.py | 170 - .../proto/enums/placeholder_type_pb2_grpc.py | 3 - .../v2/proto/enums/placement_type_pb2.py | 113 - .../v2/proto/enums/placement_type_pb2_grpc.py | 3 - .../proto/enums/policy_approval_status_pb2.py | 109 - .../enums/policy_approval_status_pb2_grpc.py | 3 - .../proto/enums/policy_review_status_pb2.py | 109 - .../enums/policy_review_status_pb2_grpc.py | 3 - .../enums/policy_topic_entry_type_pb2.py | 117 - .../enums/policy_topic_entry_type_pb2_grpc.py | 3 - ...dence_destination_mismatch_url_type_pb2.py | 114 - ..._destination_mismatch_url_type_pb2_grpc.py | 3 - ...ence_destination_not_working_device_pb2.py | 106 - ...destination_not_working_device_pb2_grpc.py | 3 - ...tination_not_working_dns_error_type_pb2.py | 102 - ...ion_not_working_dns_error_type_pb2_grpc.py | 3 - .../enums/positive_geo_target_type_pb2.py | 105 - .../positive_geo_target_type_pb2_grpc.py | 3 - .../proto/enums/preferred_content_type_pb2.py | 97 - .../enums/preferred_content_type_pb2_grpc.py | 3 - .../price_extension_price_qualifier_pb2.py | 105 - ...rice_extension_price_qualifier_pb2_grpc.py | 3 - .../enums/price_extension_price_unit_pb2.py | 117 - .../price_extension_price_unit_pb2_grpc.py | 3 - .../proto/enums/price_extension_type_pb2.py | 129 - .../enums/price_extension_type_pb2_grpc.py | 3 - .../enums/price_placeholder_field_pb2.py | 305 -- .../enums/price_placeholder_field_pb2_grpc.py | 3 - .../product_bidding_category_level_pb2.py | 113 - ...product_bidding_category_level_pb2_grpc.py | 3 - .../product_bidding_category_status_pb2.py | 101 - ...roduct_bidding_category_status_pb2_grpc.py | 3 - .../enums/product_channel_exclusivity_pb2.py | 101 - .../product_channel_exclusivity_pb2_grpc.py | 3 - .../v2/proto/enums/product_channel_pb2.py | 101 - .../proto/enums/product_channel_pb2_grpc.py | 3 - .../v2/proto/enums/product_condition_pb2.py | 105 - .../proto/enums/product_condition_pb2_grpc.py | 3 - .../v2/proto/enums/product_type_level_pb2.py | 113 - .../enums/product_type_level_pb2_grpc.py | 3 - ...omotion_extension_discount_modifier_pb2.py | 98 - ...on_extension_discount_modifier_pb2_grpc.py | 3 - .../enums/promotion_extension_occasion_pb2.py | 243 -- .../promotion_extension_occasion_pb2_grpc.py | 3 - .../enums/promotion_placeholder_field_pb2.py | 149 - .../promotion_placeholder_field_pb2_grpc.py | 3 - .../proto/enums/proximity_radius_units_pb2.py | 101 - .../enums/proximity_radius_units_pb2_grpc.py | 3 - .../proto/enums/quality_score_bucket_pb2.py | 105 - .../enums/quality_score_bucket_pb2_grpc.py | 3 - .../proto/enums/reach_plan_ad_length_pb2.py | 105 - .../enums/reach_plan_ad_length_pb2_grpc.py | 3 - .../proto/enums/reach_plan_age_range_pb2.py | 197 - .../enums/reach_plan_age_range_pb2_grpc.py | 3 - .../real_estate_placeholder_field_pb2.py | 167 - .../real_estate_placeholder_field_pb2_grpc.py | 3 - .../v2/proto/enums/recommendation_type_pb2.py | 149 - .../enums/recommendation_type_pb2_grpc.py | 3 - .../search_engine_results_page_type_pb2.py | 105 - ...earch_engine_results_page_type_pb2_grpc.py | 3 - .../proto/enums/search_term_match_type_pb2.py | 114 - .../enums/search_term_match_type_pb2_grpc.py | 3 - .../enums/search_term_targeting_status_pb2.py | 110 - .../search_term_targeting_status_pb2_grpc.py | 3 - .../enums/served_asset_field_type_pb2.py | 113 - .../enums/served_asset_field_type_pb2_grpc.py | 3 - .../v2/proto/enums/shared_set_status_pb2.py | 101 - .../proto/enums/shared_set_status_pb2_grpc.py | 3 - .../v2/proto/enums/shared_set_type_pb2.py | 101 - .../proto/enums/shared_set_type_pb2_grpc.py | 3 - .../simulation_modification_method_pb2.py | 102 - ...simulation_modification_method_pb2_grpc.py | 3 - .../v2/proto/enums/simulation_type_pb2.py | 109 - .../proto/enums/simulation_type_pb2_grpc.py | 3 - .../enums/sitelink_placeholder_field_pb2.py | 121 - .../sitelink_placeholder_field_pb2_grpc.py | 3 - .../ads/google_ads/v2/proto/enums/slot_pb2.py | 121 - .../v2/proto/enums/slot_pb2_grpc.py | 3 - .../v2/proto/enums/spending_limit_type_pb2.py | 97 - .../enums/spending_limit_type_pb2_grpc.py | 3 - ...tructured_snippet_placeholder_field_pb2.py | 101 - ...ured_snippet_placeholder_field_pb2_grpc.py | 3 - .../enums/system_managed_entity_source_pb2.py | 97 - .../system_managed_entity_source_pb2_grpc.py | 3 - ...rget_cpa_opt_in_recommendation_goal_pb2.py | 109 - ...cpa_opt_in_recommendation_goal_pb2_grpc.py | 3 - .../target_impression_share_location_pb2.py | 107 - ...rget_impression_share_location_pb2_grpc.py | 3 - .../v2/proto/enums/targeting_dimension_pb2.py | 125 - .../enums/targeting_dimension_pb2_grpc.py | 3 - .../v2/proto/enums/time_type_pb2.py | 101 - .../v2/proto/enums/time_type_pb2_grpc.py | 3 - .../enums/tracking_code_page_format_pb2.py | 102 - .../tracking_code_page_format_pb2_grpc.py | 3 - .../v2/proto/enums/tracking_code_type_pb2.py | 110 - .../enums/tracking_code_type_pb2_grpc.py | 3 - .../enums/travel_placeholder_field_pb2.py | 175 - .../travel_placeholder_field_pb2_grpc.py | 3 - .../enums/user_interest_taxonomy_type_pb2.py | 113 - .../user_interest_taxonomy_type_pb2_grpc.py | 3 - .../enums/user_list_access_status_pb2.py | 101 - .../enums/user_list_access_status_pb2_grpc.py | 3 - .../enums/user_list_closing_reason_pb2.py | 98 - .../user_list_closing_reason_pb2_grpc.py | 3 - .../user_list_combined_rule_operator_pb2.py | 101 - ...er_list_combined_rule_operator_pb2_grpc.py | 3 - .../user_list_crm_data_source_type_pb2.py | 105 - ...user_list_crm_data_source_type_pb2_grpc.py | 3 - .../user_list_date_rule_item_operator_pb2.py | 109 - ...r_list_date_rule_item_operator_pb2_grpc.py | 3 - .../user_list_logical_rule_operator_pb2.py | 105 - ...ser_list_logical_rule_operator_pb2_grpc.py | 3 - .../enums/user_list_membership_status_pb2.py | 103 - .../user_list_membership_status_pb2_grpc.py | 3 - ...user_list_number_rule_item_operator_pb2.py | 117 - ...list_number_rule_item_operator_pb2_grpc.py | 3 - .../user_list_prepopulation_status_pb2.py | 105 - ...user_list_prepopulation_status_pb2_grpc.py | 3 - .../v2/proto/enums/user_list_rule_type_pb2.py | 101 - .../enums/user_list_rule_type_pb2_grpc.py | 3 - .../proto/enums/user_list_size_range_pb2.py | 157 - .../enums/user_list_size_range_pb2_grpc.py | 3 - ...user_list_string_rule_item_operator_pb2.py | 125 - ...list_string_rule_item_operator_pb2_grpc.py | 3 - .../v2/proto/enums/user_list_type_pb2.py | 117 - .../v2/proto/enums/user_list_type_pb2_grpc.py | 3 - .../vanity_pharma_display_url_mode_pb2.py | 101 - ...vanity_pharma_display_url_mode_pb2_grpc.py | 3 - .../v2/proto/enums/vanity_pharma_text_pb2.py | 142 - .../enums/vanity_pharma_text_pb2_grpc.py | 3 - .../enums/webpage_condition_operand_pb2.py | 114 - .../webpage_condition_operand_pb2_grpc.py | 3 - .../enums/webpage_condition_operator_pb2.py | 102 - .../webpage_condition_operator_pb2_grpc.py | 3 - .../errors/access_invitation_error_pb2.py | 101 - .../access_invitation_error_pb2_grpc.py | 3 - .../account_budget_proposal_error_pb2.py | 181 - .../account_budget_proposal_error_pb2_grpc.py | 3 - .../proto/errors/ad_customizer_error_pb2.py | 113 - .../errors/ad_customizer_error_pb2_grpc.py | 3 - .../v2/proto/errors/ad_error_pb2.py | 609 --- .../v2/proto/errors/ad_error_pb2_grpc.py | 3 - .../v2/proto/errors/ad_group_ad_error_pb2.py | 125 - .../errors/ad_group_ad_error_pb2_grpc.py | 3 - .../errors/ad_group_bid_modifier_error_pb2.py | 101 - .../ad_group_bid_modifier_error_pb2_grpc.py | 3 - .../errors/ad_group_criterion_error_pb2.py | 241 -- .../ad_group_criterion_error_pb2_grpc.py | 3 - .../v2/proto/errors/ad_group_error_pb2.py | 141 - .../proto/errors/ad_group_error_pb2_grpc.py | 3 - .../proto/errors/ad_group_feed_error_pb2.py | 121 - .../errors/ad_group_feed_error_pb2_grpc.py | 3 - .../v2/proto/errors/ad_parameter_error_pb2.py | 101 - .../errors/ad_parameter_error_pb2_grpc.py | 3 - .../v2/proto/errors/ad_sharing_error_pb2.py | 105 - .../proto/errors/ad_sharing_error_pb2_grpc.py | 3 - .../v2/proto/errors/adx_error_pb2.py | 97 - .../v2/proto/errors/adx_error_pb2_grpc.py | 3 - .../v2/proto/errors/asset_error_pb2.py | 113 - .../v2/proto/errors/asset_error_pb2_grpc.py | 3 - .../proto/errors/authentication_error_pb2.py | 165 - .../errors/authentication_error_pb2_grpc.py | 3 - .../proto/errors/authorization_error_pb2.py | 137 - .../errors/authorization_error_pb2_grpc.py | 3 - .../v2/proto/errors/bidding_error_pb2.py | 185 - .../v2/proto/errors/bidding_error_pb2_grpc.py | 3 - .../errors/bidding_strategy_error_pb2.py | 113 - .../errors/bidding_strategy_error_pb2_grpc.py | 3 - .../proto/errors/billing_setup_error_pb2.py | 157 - .../errors/billing_setup_error_pb2_grpc.py | 3 - .../proto/errors/campaign_budget_error_pb2.py | 153 - .../errors/campaign_budget_error_pb2_grpc.py | 3 - .../errors/campaign_criterion_error_pb2.py | 137 - .../campaign_criterion_error_pb2_grpc.py | 3 - .../proto/errors/campaign_draft_error_pb2.py | 133 - .../errors/campaign_draft_error_pb2_grpc.py | 3 - .../v2/proto/errors/campaign_error_pb2.py | 253 -- .../proto/errors/campaign_error_pb2_grpc.py | 3 - .../errors/campaign_experiment_error_pb2.py | 133 - .../campaign_experiment_error_pb2_grpc.py | 3 - .../proto/errors/campaign_feed_error_pb2.py | 117 - .../errors/campaign_feed_error_pb2_grpc.py | 3 - .../errors/campaign_shared_set_error_pb2.py | 97 - .../campaign_shared_set_error_pb2_grpc.py | 3 - .../proto/errors/change_status_error_pb2.py | 97 - .../errors/change_status_error_pb2_grpc.py | 3 - .../proto/errors/collection_size_error_pb2.py | 101 - .../errors/collection_size_error_pb2_grpc.py | 3 - .../v2/proto/errors/context_error_pb2.py | 101 - .../v2/proto/errors/context_error_pb2_grpc.py | 3 - .../errors/conversion_action_error_pb2.py | 125 - .../conversion_action_error_pb2_grpc.py | 3 - .../conversion_adjustment_upload_error_pb2.py | 130 - ...ersion_adjustment_upload_error_pb2_grpc.py | 3 - .../errors/conversion_upload_error_pb2.py | 177 - .../conversion_upload_error_pb2_grpc.py | 3 - .../v2/proto/errors/country_code_error_pb2.py | 97 - .../errors/country_code_error_pb2_grpc.py | 3 - .../v2/proto/errors/criterion_error_pb2.py | 481 --- .../proto/errors/criterion_error_pb2_grpc.py | 3 - .../proto/errors/currency_code_error_pb2.py | 97 - .../errors/currency_code_error_pb2_grpc.py | 3 - .../proto/errors/custom_interest_error_pb2.py | 121 - .../errors/custom_interest_error_pb2_grpc.py | 3 - .../errors/customer_client_link_error_pb2.py | 121 - .../customer_client_link_error_pb2_grpc.py | 3 - .../v2/proto/errors/customer_error_pb2.py | 101 - .../proto/errors/customer_error_pb2_grpc.py | 3 - .../proto/errors/customer_feed_error_pb2.py | 121 - .../errors/customer_feed_error_pb2_grpc.py | 3 - .../errors/customer_manager_link_error_pb2.py | 125 - .../customer_manager_link_error_pb2_grpc.py | 3 - .../v2/proto/errors/database_error_pb2.py | 101 - .../proto/errors/database_error_pb2_grpc.py | 3 - .../v2/proto/errors/date_error_pb2.py | 133 - .../v2/proto/errors/date_error_pb2_grpc.py | 3 - .../v2/proto/errors/date_range_error_pb2.py | 113 - .../proto/errors/date_range_error_pb2_grpc.py | 3 - .../v2/proto/errors/distinct_error_pb2.py | 101 - .../proto/errors/distinct_error_pb2_grpc.py | 3 - .../v2/proto/errors/enum_error_pb2.py | 97 - .../v2/proto/errors/enum_error_pb2_grpc.py | 3 - .../google_ads/v2/proto/errors/errors_pb2.py | 2006 --------- .../v2/proto/errors/errors_pb2_grpc.py | 3 - .../errors/extension_feed_item_error_pb2.py | 265 -- .../extension_feed_item_error_pb2_grpc.py | 3 - .../errors/extension_setting_error_pb2.py | 349 -- .../extension_setting_error_pb2_grpc.py | 3 - .../feed_attribute_reference_error_pb2.py | 105 - ...feed_attribute_reference_error_pb2_grpc.py | 3 - .../v2/proto/errors/feed_error_pb2.py | 173 - .../v2/proto/errors/feed_error_pb2_grpc.py | 3 - .../v2/proto/errors/feed_item_error_pb2.py | 129 - .../proto/errors/feed_item_error_pb2_grpc.py | 3 - .../errors/feed_item_target_error_pb2.py | 125 - .../errors/feed_item_target_error_pb2_grpc.py | 3 - .../errors/feed_item_validation_error_pb2.py | 481 --- .../feed_item_validation_error_pb2_grpc.py | 3 - .../v2/proto/errors/feed_mapping_error_pb2.py | 157 - .../errors/feed_mapping_error_pb2_grpc.py | 3 - .../v2/proto/errors/field_error_pb2.py | 121 - .../v2/proto/errors/field_error_pb2_grpc.py | 3 - .../v2/proto/errors/field_mask_error_pb2.py | 109 - .../proto/errors/field_mask_error_pb2_grpc.py | 3 - .../v2/proto/errors/function_error_pb2.py | 157 - .../proto/errors/function_error_pb2_grpc.py | 3 - .../errors/function_parsing_error_pb2.py | 137 - .../errors/function_parsing_error_pb2_grpc.py | 3 - ...eo_target_constant_suggestion_error_pb2.py | 110 - ...rget_constant_suggestion_error_pb2_grpc.py | 3 - .../v2/proto/errors/header_error_pb2.py | 97 - .../v2/proto/errors/header_error_pb2_grpc.py | 3 - .../v2/proto/errors/id_error_pb2.py | 97 - .../v2/proto/errors/id_error_pb2_grpc.py | 3 - .../v2/proto/errors/image_error_pb2.py | 241 -- .../v2/proto/errors/image_error_pb2_grpc.py | 3 - .../v2/proto/errors/internal_error_pb2.py | 105 - .../proto/errors/internal_error_pb2_grpc.py | 3 - .../v2/proto/errors/invoice_error_pb2.py | 101 - .../v2/proto/errors/invoice_error_pb2_grpc.py | 3 - .../errors/keyword_plan_ad_group_error_pb2.py | 102 - .../keyword_plan_ad_group_error_pb2_grpc.py | 3 - .../errors/keyword_plan_campaign_error_pb2.py | 114 - .../keyword_plan_campaign_error_pb2_grpc.py | 3 - .../v2/proto/errors/keyword_plan_error_pb2.py | 151 - .../errors/keyword_plan_error_pb2_grpc.py | 3 - .../errors/keyword_plan_idea_error_pb2.py | 102 - .../keyword_plan_idea_error_pb2_grpc.py | 3 - .../errors/keyword_plan_keyword_error_pb2.py | 118 - .../keyword_plan_keyword_error_pb2_grpc.py | 3 - ...keyword_plan_negative_keyword_error_pb2.py | 94 - ...rd_plan_negative_keyword_error_pb2_grpc.py | 3 - .../v2/proto/errors/label_error_pb2.py | 129 - .../v2/proto/errors/label_error_pb2_grpc.py | 3 - .../proto/errors/language_code_error_pb2.py | 101 - .../errors/language_code_error_pb2_grpc.py | 3 - .../proto/errors/list_operation_error_pb2.py | 101 - .../errors/list_operation_error_pb2_grpc.py | 3 - .../v2/proto/errors/manager_link_error_pb2.py | 149 - .../errors/manager_link_error_pb2_grpc.py | 3 - .../v2/proto/errors/media_bundle_error_pb2.py | 181 - .../errors/media_bundle_error_pb2_grpc.py | 3 - .../v2/proto/errors/media_file_error_pb2.py | 185 - .../proto/errors/media_file_error_pb2_grpc.py | 3 - .../v2/proto/errors/media_upload_error_pb2.py | 109 - .../errors/media_upload_error_pb2_grpc.py | 3 - .../v2/proto/errors/multiplier_error_pb2.py | 141 - .../proto/errors/multiplier_error_pb2_grpc.py | 3 - .../v2/proto/errors/mutate_error_pb2.py | 117 - .../v2/proto/errors/mutate_error_pb2_grpc.py | 3 - .../v2/proto/errors/mutate_job_error_pb2.py | 113 - .../proto/errors/mutate_job_error_pb2_grpc.py | 3 - .../errors/new_resource_creation_error_pb2.py | 105 - .../new_resource_creation_error_pb2_grpc.py | 3 - .../v2/proto/errors/not_empty_error_pb2.py | 97 - .../proto/errors/not_empty_error_pb2_grpc.py | 3 - .../proto/errors/not_whitelisted_error_pb2.py | 97 - .../errors/not_whitelisted_error_pb2_grpc.py | 3 - .../v2/proto/errors/null_error_pb2.py | 97 - .../v2/proto/errors/null_error_pb2_grpc.py | 3 - .../operation_access_denied_error_pb2.py | 133 - .../operation_access_denied_error_pb2_grpc.py | 3 - .../v2/proto/errors/operator_error_pb2.py | 97 - .../proto/errors/operator_error_pb2_grpc.py | 3 - .../proto/errors/partial_failure_error_pb2.py | 97 - .../errors/partial_failure_error_pb2_grpc.py | 3 - .../proto/errors/policy_finding_error_pb2.py | 101 - .../errors/policy_finding_error_pb2_grpc.py | 3 - .../policy_validation_parameter_error_pb2.py | 106 - ...icy_validation_parameter_error_pb2_grpc.py | 3 - .../errors/policy_violation_error_pb2.py | 97 - .../errors/policy_violation_error_pb2_grpc.py | 3 - .../v2/proto/errors/query_error_pb2.py | 305 -- .../v2/proto/errors/query_error_pb2_grpc.py | 3 - .../v2/proto/errors/quota_error_pb2.py | 105 - .../v2/proto/errors/quota_error_pb2_grpc.py | 3 - .../v2/proto/errors/range_error_pb2.py | 101 - .../v2/proto/errors/range_error_pb2_grpc.py | 3 - .../v2/proto/errors/reach_plan_error_pb2.py | 94 - .../proto/errors/reach_plan_error_pb2_grpc.py | 3 - .../proto/errors/recommendation_error_pb2.py | 150 - .../errors/recommendation_error_pb2_grpc.py | 3 - .../v2/proto/errors/region_code_error_pb2.py | 97 - .../errors/region_code_error_pb2_grpc.py | 3 - .../v2/proto/errors/request_error_pb2.py | 177 - .../v2/proto/errors/request_error_pb2_grpc.py | 3 - .../resource_access_denied_error_pb2.py | 97 - .../resource_access_denied_error_pb2_grpc.py | 3 - ...resource_count_limit_exceeded_error_pb2.py | 130 - ...rce_count_limit_exceeded_error_pb2_grpc.py | 3 - .../v2/proto/errors/setting_error_pb2.py | 161 - .../v2/proto/errors/setting_error_pb2_grpc.py | 3 - .../errors/shared_criterion_error_pb2.py | 97 - .../errors/shared_criterion_error_pb2_grpc.py | 3 - .../v2/proto/errors/shared_set_error_pb2.py | 109 - .../proto/errors/shared_set_error_pb2_grpc.py | 3 - .../v2/proto/errors/size_limit_error_pb2.py | 101 - .../proto/errors/size_limit_error_pb2_grpc.py | 3 - .../proto/errors/string_format_error_pb2.py | 101 - .../errors/string_format_error_pb2_grpc.py | 3 - .../proto/errors/string_length_error_pb2.py | 101 - .../errors/string_length_error_pb2_grpc.py | 3 - .../v2/proto/errors/url_field_error_pb2.py | 301 -- .../proto/errors/url_field_error_pb2_grpc.py | 3 - .../v2/proto/errors/user_list_error_pb2.py | 197 - .../proto/errors/user_list_error_pb2_grpc.py | 3 - .../youtube_video_registration_error_pb2.py | 101 - ...utube_video_registration_error_pb2_grpc.py | 3 - .../v2/proto/resources/account_budget_pb2.py | 585 --- .../resources/account_budget_pb2_grpc.py | 3 - .../resources/account_budget_proposal_pb2.py | 377 -- .../account_budget_proposal_pb2_grpc.py | 3 - .../resources/ad_group_ad_asset_view_pb2.py | 211 - .../ad_group_ad_asset_view_pb2_grpc.py | 3 - .../proto/resources/ad_group_ad_label_pb2.py | 104 - .../resources/ad_group_ad_label_pb2_grpc.py | 3 - .../v2/proto/resources/ad_group_ad_pb2.py | 209 - .../proto/resources/ad_group_ad_pb2_grpc.py | 3 - .../resources/ad_group_audience_view_pb2.py | 86 - .../ad_group_audience_view_pb2_grpc.py | 3 - .../resources/ad_group_bid_modifier_pb2.py | 228 - .../ad_group_bid_modifier_pb2_grpc.py | 3 - .../resources/ad_group_criterion_label_pb2.py | 105 - .../ad_group_criterion_label_pb2_grpc.py | 3 - .../proto/resources/ad_group_criterion_pb2.py | 786 ---- .../resources/ad_group_criterion_pb2_grpc.py | 3 - .../ad_group_criterion_simulation_pb2.py | 174 - .../ad_group_criterion_simulation_pb2_grpc.py | 3 - .../ad_group_extension_setting_pb2.py | 132 - .../ad_group_extension_setting_pb2_grpc.py | 3 - .../v2/proto/resources/ad_group_feed_pb2.py | 140 - .../proto/resources/ad_group_feed_pb2_grpc.py | 3 - .../v2/proto/resources/ad_group_label_pb2.py | 104 - .../resources/ad_group_label_pb2_grpc.py | 3 - .../v2/proto/resources/ad_group_pb2.py | 366 -- .../v2/proto/resources/ad_group_pb2_grpc.py | 3 - .../resources/ad_group_simulation_pb2.py | 190 - .../resources/ad_group_simulation_pb2_grpc.py | 3 - .../v2/proto/resources/ad_parameter_pb2.py | 129 - .../proto/resources/ad_parameter_pb2_grpc.py | 3 - .../google_ads/v2/proto/resources/ad_pb2.py | 493 --- .../v2/proto/resources/ad_pb2_grpc.py | 3 - .../proto/resources/ad_schedule_view_pb2.py | 84 - .../resources/ad_schedule_view_pb2_grpc.py | 3 - .../v2/proto/resources/age_range_view_pb2.py | 83 - .../resources/age_range_view_pb2_grpc.py | 3 - .../v2/proto/resources/asset_pb2.py | 173 - .../v2/proto/resources/asset_pb2_grpc.py | 3 - .../proto/resources/bidding_strategy_pb2.py | 266 -- .../resources/bidding_strategy_pb2_grpc.py | 3 - .../v2/proto/resources/billing_setup_pb2.py | 304 -- .../proto/resources/billing_setup_pb2_grpc.py | 3 - .../resources/campaign_audience_view_pb2.py | 87 - .../campaign_audience_view_pb2_grpc.py | 3 - .../resources/campaign_bid_modifier_pb2.py | 135 - .../campaign_bid_modifier_pb2_grpc.py | 3 - .../v2/proto/resources/campaign_budget_pb2.py | 286 -- .../resources/campaign_budget_pb2_grpc.py | 3 - .../proto/resources/campaign_criterion_pb2.py | 507 --- .../resources/campaign_criterion_pb2_grpc.py | 3 - .../campaign_criterion_simulation_pb2.py | 175 - .../campaign_criterion_simulation_pb2_grpc.py | 3 - .../v2/proto/resources/campaign_draft_pb2.py | 165 - .../resources/campaign_draft_pb2_grpc.py | 3 - .../resources/campaign_experiment_pb2.py | 217 - .../resources/campaign_experiment_pb2_grpc.py | 3 - .../campaign_extension_setting_pb2.py | 132 - .../campaign_extension_setting_pb2_grpc.py | 3 - .../v2/proto/resources/campaign_feed_pb2.py | 140 - .../proto/resources/campaign_feed_pb2_grpc.py | 3 - .../v2/proto/resources/campaign_label_pb2.py | 104 - .../resources/campaign_label_pb2_grpc.py | 3 - .../v2/proto/resources/campaign_pb2.py | 1221 ------ .../v2/proto/resources/campaign_pb2_grpc.py | 3 - .../resources/campaign_shared_set_pb2.py | 122 - .../resources/campaign_shared_set_pb2_grpc.py | 3 - .../proto/resources/carrier_constant_pb2.py | 115 - .../resources/carrier_constant_pb2_grpc.py | 3 - .../v2/proto/resources/change_status_pb2.py | 219 - .../proto/resources/change_status_pb2_grpc.py | 3 - .../v2/proto/resources/click_view_pb2.py | 139 - .../v2/proto/resources/click_view_pb2_grpc.py | 3 - .../proto/resources/conversion_action_pb2.py | 388 -- .../resources/conversion_action_pb2_grpc.py | 3 - .../v2/proto/resources/custom_interest_pb2.py | 216 - .../resources/custom_interest_pb2_grpc.py | 3 - .../resources/customer_client_link_pb2.py | 126 - .../customer_client_link_pb2_grpc.py | 3 - .../v2/proto/resources/customer_client_pb2.py | 182 - .../resources/customer_client_pb2_grpc.py | 3 - .../customer_extension_setting_pb2.py | 119 - .../customer_extension_setting_pb2_grpc.py | 3 - .../v2/proto/resources/customer_feed_pb2.py | 130 - .../proto/resources/customer_feed_pb2_grpc.py | 3 - .../v2/proto/resources/customer_label_pb2.py | 109 - .../resources/customer_label_pb2_grpc.py | 3 - .../resources/customer_manager_link_pb2.py | 115 - .../customer_manager_link_pb2_grpc.py | 3 - .../customer_negative_criterion_pb2.py | 189 - .../customer_negative_criterion_pb2_grpc.py | 3 - .../v2/proto/resources/customer_pb2.py | 417 -- .../v2/proto/resources/customer_pb2_grpc.py | 3 - .../resources/detail_placement_view_pb2.py | 142 - .../detail_placement_view_pb2_grpc.py | 3 - .../resources/display_keyword_view_pb2.py | 83 - .../display_keyword_view_pb2_grpc.py | 3 - .../v2/proto/resources/distance_view_pb2.py | 110 - .../proto/resources/distance_view_pb2_grpc.py | 3 - .../v2/proto/resources/domain_category_pb2.py | 177 - .../resources/domain_category_pb2_grpc.py | 3 - ...dynamic_search_ads_search_term_view_pb2.py | 129 - ...ic_search_ads_search_term_view_pb2_grpc.py | 3 - .../expanded_landing_page_view_pb2.py | 96 - .../expanded_landing_page_view_pb2_grpc.py | 3 - .../resources/extension_feed_item_pb2.py | 371 -- .../resources/extension_feed_item_pb2_grpc.py | 3 - .../v2/proto/resources/feed_item_pb2.py | 578 --- .../v2/proto/resources/feed_item_pb2_grpc.py | 3 - .../proto/resources/feed_item_target_pb2.py | 202 - .../resources/feed_item_target_pb2_grpc.py | 3 - .../v2/proto/resources/feed_mapping_pb2.py | 519 --- .../proto/resources/feed_mapping_pb2_grpc.py | 3 - .../google_ads/v2/proto/resources/feed_pb2.py | 598 --- .../v2/proto/resources/feed_pb2_grpc.py | 3 - .../resources/feed_placeholder_view_pb2.py | 94 - .../feed_placeholder_view_pb2_grpc.py | 3 - .../v2/proto/resources/gender_view_pb2.py | 83 - .../proto/resources/gender_view_pb2_grpc.py | 3 - .../resources/geo_target_constant_pb2.py | 147 - .../resources/geo_target_constant_pb2_grpc.py | 3 - .../v2/proto/resources/geographic_view_pb2.py | 110 - .../resources/geographic_view_pb2_grpc.py | 3 - .../proto/resources/google_ads_field_pb2.py | 239 -- .../resources/google_ads_field_pb2_grpc.py | 3 - .../resources/group_placement_view_pb2.py | 129 - .../group_placement_view_pb2_grpc.py | 3 - .../proto/resources/hotel_group_view_pb2.py | 83 - .../resources/hotel_group_view_pb2_grpc.py | 3 - .../resources/hotel_performance_view_pb2.py | 83 - .../hotel_performance_view_pb2_grpc.py | 3 - .../v2/proto/resources/invoice_pb2.py | 432 -- .../v2/proto/resources/invoice_pb2_grpc.py | 3 - .../resources/keyword_plan_ad_group_pb2.py | 128 - .../keyword_plan_ad_group_pb2_grpc.py | 3 - .../resources/keyword_plan_campaign_pb2.py | 209 - .../keyword_plan_campaign_pb2_grpc.py | 3 - .../resources/keyword_plan_keyword_pb2.py | 137 - .../keyword_plan_keyword_pb2_grpc.py | 3 - .../keyword_plan_negative_keyword_pb2.py | 128 - .../keyword_plan_negative_keyword_pb2_grpc.py | 3 - .../v2/proto/resources/keyword_plan_pb2.py | 191 - .../proto/resources/keyword_plan_pb2_grpc.py | 3 - .../v2/proto/resources/keyword_view_pb2.py | 83 - .../proto/resources/keyword_view_pb2_grpc.py | 3 - .../v2/proto/resources/label_pb2.py | 127 - .../v2/proto/resources/label_pb2_grpc.py | 3 - .../proto/resources/landing_page_view_pb2.py | 95 - .../resources/landing_page_view_pb2_grpc.py | 3 - .../proto/resources/language_constant_pb2.py | 125 - .../resources/language_constant_pb2_grpc.py | 3 - .../v2/proto/resources/location_view_pb2.py | 84 - .../proto/resources/location_view_pb2_grpc.py | 3 - .../resources/managed_placement_view_pb2.py | 83 - .../managed_placement_view_pb2_grpc.py | 3 - .../v2/proto/resources/media_file_pb2.py | 432 -- .../v2/proto/resources/media_file_pb2_grpc.py | 3 - .../resources/merchant_center_link_pb2.py | 117 - .../merchant_center_link_pb2_grpc.py | 3 - .../mobile_app_category_constant_pb2.py | 104 - .../mobile_app_category_constant_pb2_grpc.py | 3 - .../resources/mobile_device_constant_pb2.py | 135 - .../mobile_device_constant_pb2_grpc.py | 3 - .../v2/proto/resources/mutate_job_pb2.py | 235 -- .../v2/proto/resources/mutate_job_pb2_grpc.py | 3 - .../operating_system_version_constant_pb2.py | 138 - ...rating_system_version_constant_pb2_grpc.py | 3 - .../paid_organic_search_term_view_pb2.py | 97 - .../paid_organic_search_term_view_pb2_grpc.py | 3 - .../resources/parental_status_view_pb2.py | 83 - .../parental_status_view_pb2_grpc.py | 3 - .../proto/resources/payments_account_pb2.py | 140 - .../resources/payments_account_pb2_grpc.py | 3 - .../product_bidding_category_constant_pb2.py | 160 - ...duct_bidding_category_constant_pb2_grpc.py | 3 - .../proto/resources/product_group_view_pb2.py | 83 - .../resources/product_group_view_pb2_grpc.py | 3 - .../v2/proto/resources/recommendation_pb2.py | 1359 ------ .../resources/recommendation_pb2_grpc.py | 3 - .../proto/resources/remarketing_action_pb2.py | 119 - .../resources/remarketing_action_pb2_grpc.py | 3 - .../proto/resources/search_term_view_pb2.py | 118 - .../resources/search_term_view_pb2_grpc.py | 3 - .../proto/resources/shared_criterion_pb2.py | 199 - .../resources/shared_criterion_pb2_grpc.py | 3 - .../v2/proto/resources/shared_set_pb2.py | 153 - .../v2/proto/resources/shared_set_pb2_grpc.py | 3 - .../shopping_performance_view_pb2.py | 87 - .../shopping_performance_view_pb2_grpc.py | 3 - .../v2/proto/resources/topic_constant_pb2.py | 120 - .../resources/topic_constant_pb2_grpc.py | 3 - .../v2/proto/resources/topic_view_pb2.py | 83 - .../v2/proto/resources/topic_view_pb2_grpc.py | 3 - .../v2/proto/resources/user_interest_pb2.py | 147 - .../proto/resources/user_interest_pb2_grpc.py | 3 - .../v2/proto/resources/user_list_pb2.py | 363 -- .../v2/proto/resources/user_list_pb2_grpc.py | 3 - .../proto/resources/user_location_view_pb2.py | 109 - .../resources/user_location_view_pb2_grpc.py | 3 - .../v2/proto/resources/video_pb2.py | 123 - .../v2/proto/resources/video_pb2_grpc.py | 3 - .../account_budget_proposal_service_pb2.py | 373 -- ...ccount_budget_proposal_service_pb2_grpc.py | 95 - .../services/account_budget_service_pb2.py | 108 - .../account_budget_service_pb2_grpc.py | 55 - .../ad_group_ad_asset_view_service_pb2.py | 108 - ...ad_group_ad_asset_view_service_pb2_grpc.py | 51 - .../services/ad_group_ad_label_service_pb2.py | 379 -- .../ad_group_ad_label_service_pb2_grpc.py | 69 - .../proto/services/ad_group_ad_service_pb2.py | 414 -- .../services/ad_group_ad_service_pb2_grpc.py | 68 - .../ad_group_audience_view_service_pb2.py | 108 - ...ad_group_audience_view_service_pb2_grpc.py | 51 - .../ad_group_bid_modifier_service_pb2.py | 406 -- .../ad_group_bid_modifier_service_pb2_grpc.py | 69 - .../ad_group_criterion_label_service_pb2.py | 381 -- ..._group_criterion_label_service_pb2_grpc.py | 69 - .../ad_group_criterion_service_pb2.py | 422 -- .../ad_group_criterion_service_pb2_grpc.py | 68 - ..._group_criterion_simulation_service_pb2.py | 109 - ...p_criterion_simulation_service_pb2_grpc.py | 51 - .../ad_group_extension_setting_service_pb2.py | 408 -- ...roup_extension_setting_service_pb2_grpc.py | 69 - .../services/ad_group_feed_service_pb2.py | 406 -- .../ad_group_feed_service_pb2_grpc.py | 69 - .../services/ad_group_label_service_pb2.py | 378 -- .../ad_group_label_service_pb2_grpc.py | 69 - .../v2/proto/services/ad_group_service_pb2.py | 404 -- .../services/ad_group_service_pb2_grpc.py | 68 - .../ad_group_simulation_service_pb2.py | 108 - .../ad_group_simulation_service_pb2_grpc.py | 51 - .../services/ad_parameter_service_pb2.py | 404 -- .../services/ad_parameter_service_pb2_grpc.py | 69 - .../services/ad_schedule_view_service_pb2.py | 108 - .../ad_schedule_view_service_pb2_grpc.py | 51 - .../v2/proto/services/ad_service_pb2.py | 339 -- .../v2/proto/services/ad_service_pb2_grpc.py | 68 - .../services/age_range_view_service_pb2.py | 108 - .../age_range_view_service_pb2_grpc.py | 51 - .../v2/proto/services/asset_service_pb2.py | 329 -- .../proto/services/asset_service_pb2_grpc.py | 72 - .../services/bidding_strategy_service_pb2.py | 406 -- .../bidding_strategy_service_pb2_grpc.py | 69 - .../services/billing_setup_service_pb2.py | 345 -- .../billing_setup_service_pb2_grpc.py | 84 - .../campaign_audience_view_service_pb2.py | 108 - ...campaign_audience_view_service_pb2_grpc.py | 51 - .../campaign_bid_modifier_service_pb2.py | 406 -- .../campaign_bid_modifier_service_pb2_grpc.py | 69 - .../services/campaign_budget_service_pb2.py | 406 -- .../campaign_budget_service_pb2_grpc.py | 69 - .../campaign_criterion_service_pb2.py | 404 -- .../campaign_criterion_service_pb2_grpc.py | 68 - ...mpaign_criterion_simulation_service_pb2.py | 109 - ...n_criterion_simulation_service_pb2_grpc.py | 51 - .../services/campaign_draft_service_pb2.py | 607 --- .../campaign_draft_service_pb2_grpc.py | 114 - .../campaign_experiment_service_pb2.py | 893 ---- .../campaign_experiment_service_pb2_grpc.py | 192 - .../campaign_extension_setting_service_pb2.py | 408 -- ...aign_extension_setting_service_pb2_grpc.py | 69 - .../services/campaign_feed_service_pb2.py | 406 -- .../campaign_feed_service_pb2_grpc.py | 69 - .../services/campaign_label_service_pb2.py | 380 -- .../campaign_label_service_pb2_grpc.py | 69 - .../v2/proto/services/campaign_service_pb2.py | 404 -- .../services/campaign_service_pb2_grpc.py | 68 - .../campaign_shared_set_service_pb2.py | 380 -- .../campaign_shared_set_service_pb2_grpc.py | 68 - .../services/carrier_constant_service_pb2.py | 108 - .../carrier_constant_service_pb2_grpc.py | 51 - .../services/change_status_service_pb2.py | 108 - .../change_status_service_pb2_grpc.py | 51 - .../proto/services/click_view_service_pb2.py | 108 - .../services/click_view_service_pb2_grpc.py | 51 - .../services/conversion_action_service_pb2.py | 407 -- .../conversion_action_service_pb2_grpc.py | 69 - ...onversion_adjustment_upload_service_pb2.py | 557 --- ...sion_adjustment_upload_service_pb2_grpc.py | 46 - .../services/conversion_upload_service_pb2.py | 801 ---- .../conversion_upload_service_pb2_grpc.py | 63 - .../services/custom_interest_service_pb2.py | 365 -- .../custom_interest_service_pb2_grpc.py | 68 - .../customer_client_link_service_pb2.py | 354 -- .../customer_client_link_service_pb2_grpc.py | 64 - .../services/customer_client_service_pb2.py | 108 - .../customer_client_service_pb2_grpc.py | 51 - .../customer_extension_setting_service_pb2.py | 407 -- ...omer_extension_setting_service_pb2_grpc.py | 69 - .../services/customer_feed_service_pb2.py | 406 -- .../customer_feed_service_pb2_grpc.py | 69 - .../services/customer_label_service_pb2.py | 380 -- .../customer_label_service_pb2_grpc.py | 69 - .../customer_manager_link_service_pb2.py | 346 -- .../customer_manager_link_service_pb2_grpc.py | 64 - ...customer_negative_criterion_service_pb2.py | 379 -- ...mer_negative_criterion_service_pb2_grpc.py | 68 - .../v2/proto/services/customer_service_pb2.py | 574 --- .../services/customer_service_pb2_grpc.py | 103 - .../detail_placement_view_service_pb2.py | 108 - .../detail_placement_view_service_pb2_grpc.py | 51 - .../display_keyword_view_service_pb2.py | 108 - .../display_keyword_view_service_pb2_grpc.py | 51 - .../services/distance_view_service_pb2.py | 108 - .../distance_view_service_pb2_grpc.py | 51 - .../services/domain_category_service_pb2.py | 108 - .../domain_category_service_pb2_grpc.py | 51 - ...search_ads_search_term_view_service_pb2.py | 109 - ...h_ads_search_term_view_service_pb2_grpc.py | 51 - .../expanded_landing_page_view_service_pb2.py | 108 - ...nded_landing_page_view_service_pb2_grpc.py | 51 - .../extension_feed_item_service_pb2.py | 406 -- .../extension_feed_item_service_pb2_grpc.py | 69 - .../proto/services/feed_item_service_pb2.py | 404 -- .../services/feed_item_service_pb2_grpc.py | 69 - .../services/feed_item_target_service_pb2.py | 344 -- .../feed_item_target_service_pb2_grpc.py | 68 - .../services/feed_mapping_service_pb2.py | 378 -- .../services/feed_mapping_service_pb2_grpc.py | 69 - .../feed_placeholder_view_service_pb2.py | 108 - .../feed_placeholder_view_service_pb2_grpc.py | 51 - .../v2/proto/services/feed_service_pb2.py | 404 -- .../proto/services/feed_service_pb2_grpc.py | 69 - .../proto/services/gender_view_service_pb2.py | 108 - .../services/gender_view_service_pb2_grpc.py | 51 - .../geo_target_constant_service_pb2.py | 449 -- .../geo_target_constant_service_pb2_grpc.py | 68 - .../services/geographic_view_service_pb2.py | 108 - .../geographic_view_service_pb2_grpc.py | 51 - .../services/google_ads_field_service_pb2.py | 259 -- .../google_ads_field_service_pb2_grpc.py | 68 - .../proto/services/google_ads_service_pb2.py | 2663 ------------ .../services/google_ads_service_pb2_grpc.py | 117 - .../group_placement_view_service_pb2.py | 108 - .../group_placement_view_service_pb2_grpc.py | 51 - .../services/hotel_group_view_service_pb2.py | 108 - .../hotel_group_view_service_pb2_grpc.py | 51 - .../hotel_performance_view_service_pb2.py | 108 - ...hotel_performance_view_service_pb2_grpc.py | 51 - .../v2/proto/services/invoice_service_pb2.py | 190 - .../services/invoice_service_pb2_grpc.py | 50 - .../keyword_plan_ad_group_service_pb2.py | 406 -- .../keyword_plan_ad_group_service_pb2_grpc.py | 69 - .../keyword_plan_campaign_service_pb2.py | 406 -- .../keyword_plan_campaign_service_pb2_grpc.py | 69 - .../services/keyword_plan_idea_service_pb2.py | 449 -- .../keyword_plan_idea_service_pb2_grpc.py | 50 - .../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_plan_service_pb2.py | 971 ----- .../services/keyword_plan_service_pb2_grpc.py | 103 - .../services/keyword_view_service_pb2.py | 108 - .../services/keyword_view_service_pb2_grpc.py | 51 - .../v2/proto/services/label_service_pb2.py | 403 -- .../proto/services/label_service_pb2_grpc.py | 64 - .../services/landing_page_view_service_pb2.py | 108 - .../landing_page_view_service_pb2_grpc.py | 51 - .../services/language_constant_service_pb2.py | 108 - .../language_constant_service_pb2_grpc.py | 51 - .../services/location_view_service_pb2.py | 108 - .../location_view_service_pb2_grpc.py | 51 - .../managed_placement_view_service_pb2.py | 108 - ...managed_placement_view_service_pb2_grpc.py | 51 - .../proto/services/media_file_service_pb2.py | 364 -- .../services/media_file_service_pb2_grpc.py | 68 - .../merchant_center_link_service_pb2.py | 460 --- .../merchant_center_link_service_pb2_grpc.py | 87 - ...obile_app_category_constant_service_pb2.py | 108 - ..._app_category_constant_service_pb2_grpc.py | 47 - .../mobile_device_constant_service_pb2.py | 108 - ...mobile_device_constant_service_pb2_grpc.py | 51 - .../proto/services/mutate_job_service_pb2.py | 628 --- .../services/mutate_job_service_pb2_grpc.py | 125 - ...ing_system_version_constant_service_pb2.py | 108 - ...ystem_version_constant_service_pb2_grpc.py | 51 - ...id_organic_search_term_view_service_pb2.py | 109 - ...ganic_search_term_view_service_pb2_grpc.py | 51 - .../parental_status_view_service_pb2.py | 108 - .../parental_status_view_service_pb2_grpc.py | 51 - .../services/payments_account_service_pb2.py | 157 - .../payments_account_service_pb2_grpc.py | 54 - ...t_bidding_category_constant_service_pb2.py | 108 - ...ding_category_constant_service_pb2_grpc.py | 51 - .../product_group_view_service_pb2.py | 108 - .../product_group_view_service_pb2_grpc.py | 51 - .../proto/services/reach_plan_service_pb2.py | 1408 ------- .../services/reach_plan_service_pb2_grpc.py | 112 - .../services/recommendation_service_pb2.py | 1128 ----- .../recommendation_service_pb2_grpc.py | 85 - .../remarketing_action_service_pb2.py | 392 -- .../remarketing_action_service_pb2_grpc.py | 68 - .../services/search_term_view_service_pb2.py | 108 - .../search_term_view_service_pb2_grpc.py | 51 - .../services/shared_criterion_service_pb2.py | 380 -- .../shared_criterion_service_pb2_grpc.py | 68 - .../proto/services/shared_set_service_pb2.py | 404 -- .../services/shared_set_service_pb2_grpc.py | 68 - .../shopping_performance_view_service_pb2.py | 108 - ...pping_performance_view_service_pb2_grpc.py | 51 - .../services/topic_constant_service_pb2.py | 108 - .../topic_constant_service_pb2_grpc.py | 51 - .../proto/services/topic_view_service_pb2.py | 108 - .../services/topic_view_service_pb2_grpc.py | 51 - .../services/user_interest_service_pb2.py | 108 - .../user_interest_service_pb2_grpc.py | 51 - .../proto/services/user_list_service_pb2.py | 404 -- .../services/user_list_service_pb2_grpc.py | 68 - .../user_location_view_service_pb2.py | 108 - .../user_location_view_service_pb2_grpc.py | 51 - .../v2/proto/services/video_service_pb2.py | 108 - .../proto/services/video_service_pb2_grpc.py | 51 - .../services/ad_group_label_service_client.py | 338 -- .../v2/services/ad_group_service_client.py | 340 -- .../ad_group_simulation_service_client.py | 272 -- .../services/ad_parameter_service_client.py | 347 -- .../ad_schedule_view_service_client.py | 278 -- .../v2/services/ad_service_client.py | 342 -- .../services/age_range_view_service_client.py | 284 -- .../v2/services/asset_service_client.py | 352 -- .../bidding_strategy_service_client.py | 362 -- .../services/billing_setup_service_client.py | 364 -- .../campaign_audience_view_service_client.py | 296 -- .../campaign_bid_modifier_service_client.py | 371 -- .../campaign_budget_service_client.py | 374 -- .../campaign_criterion_service_client.py | 376 -- ...ign_criterion_simulation_service_client.py | 308 -- .../services/campaign_draft_service_client.py | 533 --- .../campaign_experiment_service_client.py | 738 ---- ...mpaign_extension_setting_service_client.py | 393 -- .../services/campaign_feed_service_client.py | 394 -- .../services/campaign_label_service_client.py | 397 -- .../v2/services/campaign_service_client.py | 399 -- .../campaign_shared_set_service_client.py | 402 -- .../carrier_constant_service_client.py | 333 -- .../services/change_status_service_client.py | 337 -- .../v2/services/click_view_service_client.py | 340 -- .../conversion_action_service_client.py | 415 -- ...ersion_adjustment_upload_service_client.py | 350 -- .../conversion_upload_service_client.py | 423 -- .../custom_interest_service_client.py | 415 -- .../customer_client_link_service_client.py | 414 -- .../customer_client_service_client.py | 356 -- ...stomer_extension_setting_service_client.py | 433 -- .../services/customer_feed_service_client.py | 434 -- .../services/customer_label_service_client.py | 437 -- .../customer_manager_link_service_client.py | 429 -- ...tomer_negative_criterion_service_client.py | 442 -- .../v2/services/customer_service_client.py | 552 --- .../detail_placement_view_service_client.py | 378 -- .../display_keyword_view_service_client.py | 381 -- .../services/distance_view_service_client.py | 384 -- .../domain_category_service_client.py | 387 -- ...rch_ads_search_term_view_service_client.py | 390 -- ...panded_landing_page_view_service_client.py | 393 -- .../extension_feed_item_service_client.py | 469 --- .../v2/services/feed_item_service_client.py | 471 --- .../feed_item_target_service_client.py | 463 --- .../services/feed_mapping_service_client.py | 477 --- .../feed_placeholder_view_service_client.py | 408 -- .../v2/services/feed_service_client.py | 483 --- .../v2/services/gender_view_service_client.py | 414 -- .../geo_target_constant_service_client.py | 491 --- .../geographic_view_service_client.py | 420 -- .../google_ads_field_service_client.py | 486 --- .../v2/services/google_ads_service_client.py | 566 --- .../group_placement_view_service_client.py | 428 -- .../hotel_group_view_service_client.py | 431 -- .../hotel_performance_view_service_client.py | 433 -- .../v2/services/invoice_service_client.py | 437 -- .../keyword_plan_ad_group_service_client.py | 511 --- .../keyword_plan_campaign_service_client.py | 514 --- .../keyword_plan_idea_service_client.py | 478 --- .../keyword_plan_keyword_service_client.py | 519 --- ...word_plan_keyword_service_client_config.py | 36 - ...rd_plan_negative_keyword_service_client.py | 523 --- ..._negative_keyword_service_client_config.py | 36 - .../services/keyword_plan_service_client.py | 636 --- .../keyword_plan_service_client_config.py | 46 - .../services/keyword_view_service_client.py | 456 -- .../v2/services/label_service_client.py | 530 --- .../landing_page_view_service_client.py | 462 --- .../language_constant_service_client.py | 464 --- .../services/location_view_service_client.py | 468 --- .../managed_placement_view_service_client.py | 471 --- .../v2/services/media_file_service_client.py | 545 --- .../merchant_center_link_service_client.py | 597 --- ...le_app_category_constant_service_client.py | 479 --- .../mobile_device_constant_service_client.py | 482 --- .../v2/services/mutate_job_service_client.py | 761 ---- .../mutate_job_service_client_config.py | 51 - ..._system_version_constant_service_client.py | 488 --- ...organic_search_term_view_service_client.py | 492 --- .../parental_status_view_service_client.py | 495 --- .../payments_account_service_client.py | 491 --- ...idding_category_constant_service_client.py | 499 --- .../product_group_view_service_client.py | 503 --- .../v2/services/reach_plan_service_client.py | 729 ---- .../services/recommendation_service_client.py | 646 --- .../remarketing_action_service_client.py | 582 --- .../search_term_view_service_client.py | 514 --- .../shared_criterion_service_client.py | 588 --- .../v2/services/shared_set_service_client.py | 591 --- ...hopping_performance_view_service_client.py | 522 --- .../services/topic_constant_service_client.py | 525 --- .../v2/services/topic_view_service_client.py | 529 --- ...ord_plan_keyword_service_grpc_transport.py | 137 - ...negative_keyword_service_grpc_transport.py | 137 - .../mutate_job_service_grpc_transport.py | 185 - .../services/user_interest_service_client.py | 532 --- .../v2/services/user_list_service_client.py | 606 --- .../user_location_view_service_client.py | 538 --- .../v2/services/video_service_client.py | 541 --- google/ads/google_ads/v2/types.py | 1729 -------- google/ads/google_ads/v6/__init__.py | 308 ++ .../google_ads/{v2 => v6}/proto/__init__.py | 0 .../{v2 => v6}/proto/common/__init__.py | 0 .../v6/proto/common/ad_asset_pb2.py | 290 ++ .../v6/proto/common/ad_asset_pb2_grpc.py | 4 + .../v6/proto/common/ad_type_infos_pb2.py | 3352 +++++++++++++++ .../v6/proto/common/ad_type_infos_pb2_grpc.py | 4 + .../v6/proto/common/asset_policy_pb2.py | 105 + .../v6/proto/common/asset_policy_pb2_grpc.py | 4 + .../v6/proto/common/asset_types_pb2.py | 919 +++++ .../v6/proto/common/asset_types_pb2_grpc.py | 4 + .../google_ads/v6/proto/common/bidding_pb2.py | 842 ++++ .../v6/proto/common/bidding_pb2_grpc.py | 4 + .../v6/proto/common/click_location_pb2.py | 157 + .../proto/common/click_location_pb2_grpc.py | 4 + .../v6/proto/common/criteria_pb2.py | 3653 +++++++++++++++++ .../v6/proto/common/criteria_pb2_grpc.py | 4 + .../criterion_category_availability_pb2.py | 278 ++ ...riterion_category_availability_pb2_grpc.py | 4 + .../v6/proto/common/custom_parameter_pb2.py | 106 + .../proto/common/custom_parameter_pb2_grpc.py | 4 + .../google_ads/v6/proto/common/dates_pb2.py | 105 + .../v6/proto/common/dates_pb2_grpc.py | 4 + .../explorer_auto_optimizer_setting_pb2.py | 90 + ...xplorer_auto_optimizer_setting_pb2_grpc.py | 4 + .../v6/proto/common/extensions_pb2.py | 1753 ++++++++ .../v6/proto/common/extensions_pb2_grpc.py | 4 + .../v6/proto/common/feed_common_pb2.py | 105 + .../v6/proto/common/feed_common_pb2_grpc.py | 4 + .../feed_item_set_filter_type_infos_pb2.py | 202 + ...eed_item_set_filter_type_infos_pb2_grpc.py | 4 + .../v6/proto/common/final_app_url_pb2.py | 105 + .../v6/proto/common/final_app_url_pb2_grpc.py | 4 + .../v6/proto/common/frequency_cap_pb2.py | 192 + .../v6/proto/common/frequency_cap_pb2_grpc.py | 4 + .../proto/common/keyword_plan_common_pb2.py | 254 ++ .../common/keyword_plan_common_pb2_grpc.py | 4 + .../v6/proto/common/matching_function_pb2.py | 499 +++ .../common/matching_function_pb2_grpc.py | 4 + .../google_ads/v6/proto/common/metrics_pb2.py | 2183 ++++++++++ .../v6/proto/common/metrics_pb2_grpc.py | 4 + .../v6/proto/common/offline_user_data_pb2.py | 975 +++++ .../common/offline_user_data_pb2_grpc.py | 4 + .../google_ads/v6/proto/common/policy_pb2.py | 978 +++++ .../v6/proto/common/policy_pb2_grpc.py | 4 + .../common/real_time_bidding_setting_pb2.py | 89 + .../real_time_bidding_setting_pb2_grpc.py | 4 + .../v6/proto/common/segments_pb2.py | 1449 +++++++ .../v6/proto/common/segments_pb2_grpc.py | 4 + .../v6/proto/common/simulation_pb2.py | 1355 ++++++ .../v6/proto/common/simulation_pb2_grpc.py | 4 + .../v6/proto/common/tag_snippet_pb2.py | 131 + .../v6/proto/common/tag_snippet_pb2_grpc.py | 4 + .../v6/proto/common/targeting_setting_pb2.py | 266 ++ .../common/targeting_setting_pb2_grpc.py | 4 + .../v6/proto/common/text_label_pb2.py | 109 + .../v6/proto/common/text_label_pb2_grpc.py | 4 + .../v6/proto/common/url_collection_pb2.py | 123 + .../proto/common/url_collection_pb2_grpc.py | 4 + .../v6/proto/common/user_lists_pb2.py | 1245 ++++++ .../v6/proto/common/user_lists_pb2_grpc.py | 4 + .../google_ads/v6/proto/common/value_pb2.py | 138 + .../v6/proto/common/value_pb2_grpc.py | 4 + .../{v2 => v6}/proto/enums/__init__.py | 0 .../v6/proto/enums/access_reason_pb2.py | 120 + .../v6/proto/enums/access_reason_pb2_grpc.py | 4 + .../v6/proto/enums/access_role_pb2.py | 115 + .../v6/proto/enums/access_role_pb2_grpc.py | 4 + .../account_budget_proposal_status_pb2.py | 120 + ...account_budget_proposal_status_pb2_grpc.py | 4 + .../enums/account_budget_proposal_type_pb2.py | 115 + .../account_budget_proposal_type_pb2_grpc.py | 4 + .../proto/enums/account_budget_status_pb2.py | 110 + .../enums/account_budget_status_pb2_grpc.py | 4 + .../v6/proto/enums/account_link_status_pb2.py | 125 + .../enums/account_link_status_pb2_grpc.py | 4 + .../ad_customizer_placeholder_field_pb2.py | 115 + ...d_customizer_placeholder_field_pb2_grpc.py | 4 + .../v6/proto/enums/ad_destination_type_pb2.py | 150 + .../enums/ad_destination_type_pb2_grpc.py | 4 + .../enums/ad_group_ad_rotation_mode_pb2.py | 106 + .../ad_group_ad_rotation_mode_pb2_grpc.py | 4 + .../v6/proto/enums/ad_group_ad_status_pb2.py | 110 + .../enums/ad_group_ad_status_pb2_grpc.py | 4 + .../ad_group_criterion_approval_status_pb2.py | 116 + ...roup_criterion_approval_status_pb2_grpc.py | 4 + .../enums/ad_group_criterion_status_pb2.py | 110 + .../ad_group_criterion_status_pb2_grpc.py | 4 + .../v6/proto/enums/ad_group_status_pb2.py | 110 + .../proto/enums/ad_group_status_pb2_grpc.py | 4 + .../v6/proto/enums/ad_group_type_pb2.py | 167 + .../v6/proto/enums/ad_group_type_pb2_grpc.py | 4 + .../v6/proto/enums/ad_network_type_pb2.py | 125 + .../proto/enums/ad_network_type_pb2_grpc.py | 4 + .../ad_serving_optimization_status_pb2.py | 120 + ...ad_serving_optimization_status_pb2_grpc.py | 4 + .../v6/proto/enums/ad_strength_pb2.py | 125 + .../v6/proto/enums/ad_strength_pb2_grpc.py | 4 + .../google_ads/v6/proto/enums/ad_type_pb2.py | 225 + .../v6/proto/enums/ad_type_pb2_grpc.py | 4 + .../enums/advertising_channel_sub_type_pb2.py | 175 + .../advertising_channel_sub_type_pb2_grpc.py | 4 + .../enums/advertising_channel_type_pb2.py | 135 + .../advertising_channel_type_pb2_grpc.py | 4 + ...ate_location_feed_relationship_type_pb2.py | 101 + ...ocation_feed_relationship_type_pb2_grpc.py | 4 + ...ffiliate_location_placeholder_field_pb2.py | 150 + ...ate_location_placeholder_field_pb2_grpc.py | 4 + .../v6/proto/enums/age_range_type_pb2.py | 130 + .../v6/proto/enums/age_range_type_pb2_grpc.py | 4 + .../proto/enums/app_campaign_app_store_pb2.py | 105 + .../enums/app_campaign_app_store_pb2_grpc.py | 4 + ...campaign_bidding_strategy_goal_type_pb2.py | 116 + ...ign_bidding_strategy_goal_type_pb2_grpc.py | 4 + .../proto/enums/app_payment_model_type_pb2.py | 100 + .../enums/app_payment_model_type_pb2_grpc.py | 4 + .../proto/enums/app_placeholder_field_pb2.py | 135 + .../enums/app_placeholder_field_pb2_grpc.py | 4 + .../v6/proto/enums/app_store_pb2.py | 105 + .../v6/proto/enums/app_store_pb2_grpc.py | 4 + .../app_url_operating_system_type_pb2.py | 105 + .../app_url_operating_system_type_pb2_grpc.py | 4 + .../v6/proto/enums/asset_field_type_pb2.py | 135 + .../proto/enums/asset_field_type_pb2_grpc.py | 4 + .../v6/proto/enums/asset_link_status_pb2.py | 105 + .../proto/enums/asset_link_status_pb2_grpc.py | 4 + .../enums/asset_performance_label_pb2.py | 120 + .../enums/asset_performance_label_pb2_grpc.py | 4 + .../v6/proto/enums/asset_type_pb2.py | 125 + .../v6/proto/enums/asset_type_pb2_grpc.py | 4 + .../v6/proto/enums/attribution_model_pb2.py | 132 + .../proto/enums/attribution_model_pb2_grpc.py | 4 + .../v6/proto/enums/batch_job_status_pb2.py | 110 + .../proto/enums/batch_job_status_pb2_grpc.py | 4 + .../v6/proto/enums/bid_modifier_source_pb2.py | 105 + .../enums/bid_modifier_source_pb2_grpc.py | 4 + .../v6/proto/enums/bidding_source_pb2.py | 110 + .../v6/proto/enums/bidding_source_pb2_grpc.py | 4 + .../enums/bidding_strategy_status_pb2.py | 105 + .../enums/bidding_strategy_status_pb2_grpc.py | 4 + .../proto/enums/bidding_strategy_type_pb2.py | 170 + .../enums/bidding_strategy_type_pb2_grpc.py | 4 + .../proto/enums/billing_setup_status_pb2.py | 115 + .../enums/billing_setup_status_pb2_grpc.py | 4 + .../enums/brand_safety_suitability_pb2.py | 110 + .../brand_safety_suitability_pb2_grpc.py | 4 + .../budget_campaign_association_status_pb2.py | 106 + ...et_campaign_association_status_pb2_grpc.py | 4 + .../proto/enums/budget_delivery_method_pb2.py | 106 + .../enums/budget_delivery_method_pb2_grpc.py | 4 + .../v6/proto/enums/budget_period_pb2.py | 105 + .../v6/proto/enums/budget_period_pb2_grpc.py | 4 + .../v6/proto/enums/budget_status_pb2.py | 105 + .../v6/proto/enums/budget_status_pb2_grpc.py | 4 + .../v6/proto/enums/budget_type_pb2.py | 110 + .../v6/proto/enums/budget_type_pb2_grpc.py | 4 + .../call_conversion_reporting_state_pb2.py | 111 + ...all_conversion_reporting_state_pb2_grpc.py | 4 + .../proto/enums/call_placeholder_field_pb2.py | 120 + .../enums/call_placeholder_field_pb2_grpc.py | 4 + .../enums/callout_placeholder_field_pb2.py | 100 + .../callout_placeholder_field_pb2_grpc.py | 4 + .../enums/campaign_criterion_status_pb2.py | 110 + .../campaign_criterion_status_pb2_grpc.py | 4 + .../proto/enums/campaign_draft_status_pb2.py | 120 + .../enums/campaign_draft_status_pb2_grpc.py | 4 + .../enums/campaign_experiment_status_pb2.py | 141 + .../campaign_experiment_status_pb2_grpc.py | 4 + ...paign_experiment_traffic_split_type_pb2.py | 105 + ..._experiment_traffic_split_type_pb2_grpc.py | 4 + .../enums/campaign_experiment_type_pb2.py | 110 + .../campaign_experiment_type_pb2_grpc.py | 4 + .../enums/campaign_serving_status_pb2.py | 120 + .../enums/campaign_serving_status_pb2_grpc.py | 4 + .../enums/campaign_shared_set_status_pb2.py | 105 + .../campaign_shared_set_status_pb2_grpc.py | 4 + .../v6/proto/enums/campaign_status_pb2.py | 110 + .../proto/enums/campaign_status_pb2_grpc.py | 4 + .../v6/proto/enums/change_client_type_pb2.py | 156 + .../enums/change_client_type_pb2_grpc.py | 4 + .../enums/change_event_resource_type_pb2.py | 131 + .../change_event_resource_type_pb2_grpc.py | 4 + .../enums/change_status_operation_pb2.py | 111 + .../enums/change_status_operation_pb2_grpc.py | 4 + .../enums/change_status_resource_type_pb2.py | 146 + .../change_status_resource_type_pb2_grpc.py | 4 + .../v6/proto/enums/click_type_pb2.py | 360 ++ .../v6/proto/enums/click_type_pb2_grpc.py | 4 + .../enums/combined_audience_status_pb2.py | 105 + .../combined_audience_status_pb2_grpc.py | 4 + .../v6/proto/enums/content_label_type_pb2.py | 170 + .../enums/content_label_type_pb2_grpc.py | 4 + .../enums/conversion_action_category_pb2.py | 196 + .../conversion_action_category_pb2_grpc.py | 4 + .../conversion_action_counting_type_pb2.py | 106 + ...onversion_action_counting_type_pb2_grpc.py | 4 + .../enums/conversion_action_status_pb2.py | 111 + .../conversion_action_status_pb2_grpc.py | 4 + .../proto/enums/conversion_action_type_pb2.py | 270 ++ .../enums/conversion_action_type_pb2_grpc.py | 4 + .../enums/conversion_adjustment_type_pb2.py | 105 + .../conversion_adjustment_type_pb2_grpc.py | 4 + .../conversion_attribution_event_type_pb2.py | 106 + ...version_attribution_event_type_pb2_grpc.py | 4 + .../proto/enums/conversion_lag_bucket_pb2.py | 191 + .../enums/conversion_lag_bucket_pb2_grpc.py | 4 + ...conversion_or_adjustment_lag_bucket_pb2.py | 302 ++ ...rsion_or_adjustment_lag_bucket_pb2_grpc.py | 4 + ..._category_channel_availability_mode_pb2.py | 113 + ...gory_channel_availability_mode_pb2_grpc.py | 4 + ...n_category_locale_availability_mode_pb2.py | 118 + ...egory_locale_availability_mode_pb2_grpc.py | 4 + .../criterion_system_serving_status_pb2.py | 106 + ...riterion_system_serving_status_pb2_grpc.py | 4 + .../v6/proto/enums/criterion_type_pb2.py | 250 ++ .../v6/proto/enums/criterion_type_pb2_grpc.py | 4 + .../enums/custom_audience_member_type_pb2.py | 115 + .../custom_audience_member_type_pb2_grpc.py | 4 + .../proto/enums/custom_audience_status_pb2.py | 105 + .../enums/custom_audience_status_pb2_grpc.py | 4 + .../proto/enums/custom_audience_type_pb2.py | 115 + .../enums/custom_audience_type_pb2_grpc.py | 4 + .../enums/custom_interest_member_type_pb2.py | 105 + .../custom_interest_member_type_pb2_grpc.py | 4 + .../proto/enums/custom_interest_status_pb2.py | 105 + .../enums/custom_interest_status_pb2_grpc.py | 4 + .../proto/enums/custom_interest_type_pb2.py | 105 + .../enums/custom_interest_type_pb2_grpc.py | 4 + .../enums/custom_placeholder_field_pb2.py | 197 + .../custom_placeholder_field_pb2_grpc.py | 4 + .../customer_match_upload_key_type_pb2.py | 110 + ...customer_match_upload_key_type_pb2_grpc.py | 4 + ...nversion_eligibility_failure_reason_pb2.py | 131 + ...ion_eligibility_failure_reason_pb2_grpc.py | 4 + .../enums/data_driven_model_status_pb2.py | 115 + .../data_driven_model_status_pb2_grpc.py | 4 + .../v6/proto/enums/day_of_week_pb2.py | 130 + .../v6/proto/enums/day_of_week_pb2_grpc.py | 4 + .../google_ads/v6/proto/enums/device_pb2.py | 121 + .../v6/proto/enums/device_pb2_grpc.py | 4 + .../enums/display_ad_format_setting_pb2.py | 110 + .../display_ad_format_setting_pb2_grpc.py | 4 + .../enums/display_upload_product_type_pb2.py | 150 + .../display_upload_product_type_pb2_grpc.py | 4 + .../v6/proto/enums/distance_bucket_pb2.py | 231 ++ .../proto/enums/distance_bucket_pb2_grpc.py | 4 + .../dsa_page_feed_criterion_field_pb2.py | 105 + .../dsa_page_feed_criterion_field_pb2_grpc.py | 4 + .../enums/education_placeholder_field_pb2.py | 182 + .../education_placeholder_field_pb2_grpc.py | 4 + .../enums/extension_setting_device_pb2.py | 105 + .../extension_setting_device_pb2_grpc.py | 4 + .../v6/proto/enums/extension_type_pb2.py | 161 + .../v6/proto/enums/extension_type_pb2_grpc.py | 4 + .../enums/external_conversion_source_pb2.py | 226 + .../external_conversion_source_pb2_grpc.py | 4 + .../v6/proto/enums/feed_attribute_type_pb2.py | 161 + .../enums/feed_attribute_type_pb2_grpc.py | 4 + .../feed_item_quality_approval_status_pb2.py | 106 + ...d_item_quality_approval_status_pb2_grpc.py | 4 + ...eed_item_quality_disapproval_reason_pb2.py | 186 + ...tem_quality_disapproval_reason_pb2_grpc.py | 4 + .../proto/enums/feed_item_set_status_pb2.py | 105 + .../enums/feed_item_set_status_pb2_grpc.py | 4 + .../feed_item_set_string_filter_type_pb2.py | 101 + ...ed_item_set_string_filter_type_pb2_grpc.py | 4 + .../v6/proto/enums/feed_item_status_pb2.py | 105 + .../proto/enums/feed_item_status_pb2_grpc.py | 4 + .../enums/feed_item_target_device_pb2.py | 101 + .../enums/feed_item_target_device_pb2_grpc.py | 4 + .../enums/feed_item_target_status_pb2.py | 105 + .../enums/feed_item_target_status_pb2_grpc.py | 4 + .../proto/enums/feed_item_target_type_pb2.py | 110 + .../enums/feed_item_target_type_pb2_grpc.py | 4 + .../enums/feed_item_validation_status_pb2.py | 111 + .../feed_item_validation_status_pb2_grpc.py | 4 + .../v6/proto/enums/feed_link_status_pb2.py | 105 + .../proto/enums/feed_link_status_pb2_grpc.py | 4 + .../enums/feed_mapping_criterion_type_pb2.py | 106 + .../feed_mapping_criterion_type_pb2_grpc.py | 4 + .../v6/proto/enums/feed_mapping_status_pb2.py | 105 + .../enums/feed_mapping_status_pb2_grpc.py | 4 + .../v6/proto/enums/feed_origin_pb2.py | 105 + .../v6/proto/enums/feed_origin_pb2_grpc.py | 4 + .../v6/proto/enums/feed_status_pb2.py | 105 + .../v6/proto/enums/feed_status_pb2_grpc.py | 4 + .../enums/flight_placeholder_field_pb2.py | 182 + .../flight_placeholder_field_pb2_grpc.py | 4 + .../enums/frequency_cap_event_type_pb2.py | 106 + .../frequency_cap_event_type_pb2_grpc.py | 4 + .../v6/proto/enums/frequency_cap_level_pb2.py | 111 + .../enums/frequency_cap_level_pb2_grpc.py | 4 + .../enums/frequency_cap_time_unit_pb2.py | 110 + .../enums/frequency_cap_time_unit_pb2_grpc.py | 4 + .../v6/proto/enums/gender_type_pb2.py | 110 + .../v6/proto/enums/gender_type_pb2_grpc.py | 4 + .../enums/geo_target_constant_status_pb2.py | 105 + .../geo_target_constant_status_pb2_grpc.py | 4 + .../enums/geo_targeting_restriction_pb2.py | 100 + .../geo_targeting_restriction_pb2_grpc.py | 4 + .../v6/proto/enums/geo_targeting_type_pb2.py | 105 + .../enums/geo_targeting_type_pb2_grpc.py | 4 + .../enums/google_ads_field_category_pb2.py | 117 + .../google_ads_field_category_pb2_grpc.py | 4 + .../enums/google_ads_field_data_type_pb2.py | 150 + .../google_ads_field_data_type_pb2_grpc.py | 4 + .../enums/hotel_date_selection_type_pb2.py | 105 + .../hotel_date_selection_type_pb2_grpc.py | 4 + .../enums/hotel_placeholder_field_pb2.py | 197 + .../enums/hotel_placeholder_field_pb2_grpc.py | 4 + .../v6/proto/enums/hotel_price_bucket_pb2.py | 106 + .../enums/hotel_price_bucket_pb2_grpc.py | 4 + .../v6/proto/enums/hotel_rate_type_pb2.py | 115 + .../proto/enums/hotel_rate_type_pb2_grpc.py | 4 + .../enums/image_placeholder_field_pb2.py | 33 + .../enums/image_placeholder_field_pb2_grpc.py | 4 + .../v6/proto/enums/income_range_type_pb2.py | 130 + .../proto/enums/income_range_type_pb2_grpc.py | 4 + .../proto/enums/interaction_event_type_pb2.py | 115 + .../enums/interaction_event_type_pb2_grpc.py | 4 + .../v6/proto/enums/interaction_type_pb2.py | 100 + .../proto/enums/interaction_type_pb2_grpc.py | 4 + .../v6/proto/enums/invoice_type_pb2.py | 105 + .../v6/proto/enums/invoice_type_pb2_grpc.py | 4 + .../proto/enums/job_placeholder_field_pb2.py | 182 + .../enums/job_placeholder_field_pb2_grpc.py | 4 + .../v6/proto/enums/keyword_match_type_pb2.py | 110 + .../enums/keyword_match_type_pb2_grpc.py | 4 + .../keyword_plan_competition_level_pb2.py | 115 + ...keyword_plan_competition_level_pb2_grpc.py | 4 + .../keyword_plan_forecast_interval_pb2.py | 110 + ...keyword_plan_forecast_interval_pb2_grpc.py | 4 + .../proto/enums/keyword_plan_network_pb2.py | 105 + .../enums/keyword_plan_network_pb2_grpc.py | 4 + .../v6/proto/enums/label_status_pb2.py | 105 + .../v6/proto/enums/label_status_pb2_grpc.py | 4 + .../lead_form_call_to_action_type_pb2.py | 165 + .../lead_form_call_to_action_type_pb2_grpc.py | 4 + .../enums/lead_form_desired_intent_pb2.py | 105 + .../lead_form_desired_intent_pb2_grpc.py | 4 + .../lead_form_field_user_input_type_pb2.py | 395 ++ ...ead_form_field_user_input_type_pb2_grpc.py | 4 + ...orm_post_submit_call_to_action_type_pb2.py | 116 + ...ost_submit_call_to_action_type_pb2_grpc.py | 4 + .../legacy_app_install_ad_app_store_pb2.py | 121 + ...egacy_app_install_ad_app_store_pb2_grpc.py | 4 + .../v6/proto/enums/linked_account_type_pb2.py | 110 + .../enums/linked_account_type_pb2_grpc.py | 4 + .../v6/proto/enums/listing_group_type_pb2.py | 105 + .../enums/listing_group_type_pb2_grpc.py | 4 + .../enums/local_placeholder_field_pb2.py | 192 + .../enums/local_placeholder_field_pb2_grpc.py | 4 + ...extension_targeting_criterion_field_pb2.py | 125 + ...sion_targeting_criterion_field_pb2_grpc.py | 4 + .../enums/location_group_radius_units_pb2.py | 110 + .../location_group_radius_units_pb2_grpc.py | 4 + .../enums/location_placeholder_field_pb2.py | 135 + .../location_placeholder_field_pb2_grpc.py | 4 + .../proto/enums/location_source_type_pb2.py | 105 + .../enums/location_source_type_pb2_grpc.py | 4 + .../v6/proto/enums/manager_link_status_pb2.py | 121 + .../enums/manager_link_status_pb2_grpc.py | 4 + .../matching_function_context_type_pb2.py | 105 + ...matching_function_context_type_pb2_grpc.py | 4 + .../enums/matching_function_operator_pb2.py | 120 + .../matching_function_operator_pb2_grpc.py | 4 + .../v6/proto/enums/media_type_pb2.py | 125 + .../v6/proto/enums/media_type_pb2_grpc.py | 4 + .../enums/merchant_center_link_status_pb2.py | 106 + .../merchant_center_link_status_pb2_grpc.py | 4 + .../enums/message_placeholder_field_pb2.py | 120 + .../message_placeholder_field_pb2_grpc.py | 4 + .../v6/proto/enums/mime_type_pb2.py | 155 + .../v6/proto/enums/mime_type_pb2_grpc.py | 4 + .../v6/proto/enums/minute_of_hour_pb2.py | 115 + .../v6/proto/enums/minute_of_hour_pb2_grpc.py | 4 + .../v6/proto/enums/mobile_app_vendor_pb2.py | 105 + .../proto/enums/mobile_app_vendor_pb2_grpc.py | 4 + .../v6/proto/enums/mobile_device_type_pb2.py | 105 + .../enums/mobile_device_type_pb2_grpc.py | 4 + .../v6/proto/enums/month_of_year_pb2.py | 155 + .../v6/proto/enums/month_of_year_pb2_grpc.py | 4 + .../enums/negative_geo_target_type_pb2.py | 105 + .../negative_geo_target_type_pb2_grpc.py | 4 + ...ffline_user_data_job_failure_reason_pb2.py | 106 + ...e_user_data_job_failure_reason_pb2_grpc.py | 4 + .../enums/offline_user_data_job_status_pb2.py | 115 + .../offline_user_data_job_status_pb2_grpc.py | 4 + .../enums/offline_user_data_job_type_pb2.py | 115 + .../offline_user_data_job_type_pb2_grpc.py | 4 + ...rating_system_version_operator_type_pb2.py | 105 + ...g_system_version_operator_type_pb2_grpc.py | 4 + .../proto/enums/optimization_goal_type_pb2.py | 105 + .../enums/optimization_goal_type_pb2_grpc.py | 4 + .../page_one_promoted_strategy_goal_pb2.py | 33 + ...age_one_promoted_strategy_goal_pb2_grpc.py | 4 + .../proto/enums/parental_status_type_pb2.py | 111 + .../enums/parental_status_type_pb2_grpc.py | 4 + .../v6/proto/enums/payment_mode_pb2.py | 115 + .../v6/proto/enums/payment_mode_pb2_grpc.py | 4 + .../v6/proto/enums/placeholder_type_pb2.py | 196 + .../proto/enums/placeholder_type_pb2_grpc.py | 4 + .../v6/proto/enums/placement_type_pb2.py | 120 + .../v6/proto/enums/placement_type_pb2_grpc.py | 4 + .../proto/enums/policy_approval_status_pb2.py | 115 + .../enums/policy_approval_status_pb2_grpc.py | 4 + .../proto/enums/policy_review_status_pb2.py | 115 + .../enums/policy_review_status_pb2_grpc.py | 4 + .../enums/policy_topic_entry_type_pb2.py | 125 + .../enums/policy_topic_entry_type_pb2_grpc.py | 4 + ...dence_destination_mismatch_url_type_pb2.py | 121 + ..._destination_mismatch_url_type_pb2_grpc.py | 4 + ...ence_destination_not_working_device_pb2.py | 111 + ...destination_not_working_device_pb2_grpc.py | 4 + ...tination_not_working_dns_error_type_pb2.py | 106 + ...ion_not_working_dns_error_type_pb2_grpc.py | 4 + .../enums/positive_geo_target_type_pb2.py | 110 + .../positive_geo_target_type_pb2_grpc.py | 4 + .../proto/enums/preferred_content_type_pb2.py | 100 + .../enums/preferred_content_type_pb2_grpc.py | 4 + .../price_extension_price_qualifier_pb2.py | 110 + ...rice_extension_price_qualifier_pb2_grpc.py | 4 + .../enums/price_extension_price_unit_pb2.py | 125 + .../price_extension_price_unit_pb2_grpc.py | 4 + .../proto/enums/price_extension_type_pb2.py | 140 + .../enums/price_extension_type_pb2_grpc.py | 4 + .../enums/price_placeholder_field_pb2.py | 360 ++ .../enums/price_placeholder_field_pb2_grpc.py | 4 + .../product_bidding_category_level_pb2.py | 120 + ...product_bidding_category_level_pb2_grpc.py | 4 + .../product_bidding_category_status_pb2.py | 105 + ...roduct_bidding_category_status_pb2_grpc.py | 4 + .../enums/product_channel_exclusivity_pb2.py | 105 + .../product_channel_exclusivity_pb2_grpc.py | 4 + .../v6/proto/enums/product_channel_pb2.py | 105 + .../proto/enums/product_channel_pb2_grpc.py | 4 + .../v6/proto/enums/product_condition_pb2.py | 110 + .../proto/enums/product_condition_pb2_grpc.py | 4 + .../product_custom_attribute_index_pb2.py | 121 + ...product_custom_attribute_index_pb2_grpc.py | 4 + .../v6/proto/enums/product_type_level_pb2.py | 120 + .../enums/product_type_level_pb2_grpc.py | 4 + ...omotion_extension_discount_modifier_pb2.py | 101 + ...on_extension_discount_modifier_pb2_grpc.py | 4 + .../enums/promotion_extension_occasion_pb2.py | 282 ++ .../promotion_extension_occasion_pb2_grpc.py | 4 + .../enums/promotion_placeholder_field_pb2.py | 165 + .../promotion_placeholder_field_pb2_grpc.py | 4 + .../proto/enums/proximity_radius_units_pb2.py | 105 + .../enums/proximity_radius_units_pb2_grpc.py | 4 + .../proto/enums/quality_score_bucket_pb2.py | 110 + .../enums/quality_score_bucket_pb2_grpc.py | 4 + .../proto/enums/reach_plan_ad_length_pb2.py | 110 + .../enums/reach_plan_ad_length_pb2_grpc.py | 4 + .../proto/enums/reach_plan_age_range_pb2.py | 225 + .../enums/reach_plan_age_range_pb2_grpc.py | 4 + .../v6/proto/enums/reach_plan_network_pb2.py | 110 + .../enums/reach_plan_network_pb2_grpc.py | 4 + .../real_estate_placeholder_field_pb2.py | 187 + .../real_estate_placeholder_field_pb2_grpc.py | 4 + .../v6/proto/enums/recommendation_type_pb2.py | 175 + .../enums/recommendation_type_pb2_grpc.py | 4 + .../enums/resource_change_operation_pb2.py | 111 + .../resource_change_operation_pb2_grpc.py | 4 + .../proto/enums/response_content_type_pb2.py | 100 + .../enums/response_content_type_pb2_grpc.py | 4 + .../search_engine_results_page_type_pb2.py | 110 + ...earch_engine_results_page_type_pb2_grpc.py | 4 + .../proto/enums/search_term_match_type_pb2.py | 121 + .../enums/search_term_match_type_pb2_grpc.py | 4 + .../enums/search_term_targeting_status_pb2.py | 116 + .../search_term_targeting_status_pb2_grpc.py | 4 + .../enums/served_asset_field_type_pb2.py | 120 + .../enums/served_asset_field_type_pb2_grpc.py | 4 + .../v6/proto/enums/shared_set_status_pb2.py | 105 + .../proto/enums/shared_set_status_pb2_grpc.py | 4 + .../v6/proto/enums/shared_set_type_pb2.py | 105 + .../proto/enums/shared_set_type_pb2_grpc.py | 4 + .../simulation_modification_method_pb2.py | 106 + ...simulation_modification_method_pb2_grpc.py | 4 + .../v6/proto/enums/simulation_type_pb2.py | 125 + .../proto/enums/simulation_type_pb2_grpc.py | 4 + .../enums/sitelink_placeholder_field_pb2.py | 130 + .../sitelink_placeholder_field_pb2_grpc.py | 4 + .../ads/google_ads/v6/proto/enums/slot_pb2.py | 130 + .../v6/proto/enums/slot_pb2_grpc.py | 4 + .../v6/proto/enums/spending_limit_type_pb2.py | 100 + .../enums/spending_limit_type_pb2_grpc.py | 4 + ...tructured_snippet_placeholder_field_pb2.py | 105 + ...ured_snippet_placeholder_field_pb2_grpc.py | 4 + .../v6/proto/enums/summary_row_setting_pb2.py | 110 + .../enums/summary_row_setting_pb2_grpc.py | 4 + .../enums/system_managed_entity_source_pb2.py | 100 + .../system_managed_entity_source_pb2_grpc.py | 4 + ...rget_cpa_opt_in_recommendation_goal_pb2.py | 115 + ...cpa_opt_in_recommendation_goal_pb2_grpc.py | 4 + .../target_impression_share_location_pb2.py | 112 + ...rget_impression_share_location_pb2_grpc.py | 4 + .../v6/proto/enums/targeting_dimension_pb2.py | 135 + .../enums/targeting_dimension_pb2_grpc.py | 4 + .../v6/proto/enums/time_type_pb2.py | 105 + .../v6/proto/enums/time_type_pb2_grpc.py | 4 + .../enums/tracking_code_page_format_pb2.py | 106 + .../tracking_code_page_format_pb2_grpc.py | 4 + .../v6/proto/enums/tracking_code_type_pb2.py | 116 + .../enums/tracking_code_type_pb2_grpc.py | 4 + .../enums/travel_placeholder_field_pb2.py | 197 + .../travel_placeholder_field_pb2_grpc.py | 4 + .../proto/enums/user_identifier_source_pb2.py | 106 + .../enums/user_identifier_source_pb2_grpc.py | 4 + .../enums/user_interest_taxonomy_type_pb2.py | 120 + .../user_interest_taxonomy_type_pb2_grpc.py | 4 + .../enums/user_list_access_status_pb2.py | 105 + .../enums/user_list_access_status_pb2_grpc.py | 4 + .../enums/user_list_closing_reason_pb2.py | 101 + .../user_list_closing_reason_pb2_grpc.py | 4 + .../user_list_combined_rule_operator_pb2.py | 105 + ...er_list_combined_rule_operator_pb2_grpc.py | 4 + .../user_list_crm_data_source_type_pb2.py | 110 + ...user_list_crm_data_source_type_pb2_grpc.py | 4 + .../user_list_date_rule_item_operator_pb2.py | 115 + ...r_list_date_rule_item_operator_pb2_grpc.py | 4 + .../user_list_logical_rule_operator_pb2.py | 110 + ...ser_list_logical_rule_operator_pb2_grpc.py | 4 + .../enums/user_list_membership_status_pb2.py | 107 + .../user_list_membership_status_pb2_grpc.py | 4 + ...user_list_number_rule_item_operator_pb2.py | 125 + ...list_number_rule_item_operator_pb2_grpc.py | 4 + .../user_list_prepopulation_status_pb2.py | 110 + ...user_list_prepopulation_status_pb2_grpc.py | 4 + .../v6/proto/enums/user_list_rule_type_pb2.py | 105 + .../enums/user_list_rule_type_pb2_grpc.py | 4 + .../proto/enums/user_list_size_range_pb2.py | 175 + .../enums/user_list_size_range_pb2_grpc.py | 4 + ...user_list_string_rule_item_operator_pb2.py | 135 + ...list_string_rule_item_operator_pb2_grpc.py | 4 + .../v6/proto/enums/user_list_type_pb2.py | 125 + .../v6/proto/enums/user_list_type_pb2_grpc.py | 4 + .../vanity_pharma_display_url_mode_pb2.py | 105 + ...vanity_pharma_display_url_mode_pb2_grpc.py | 4 + .../v6/proto/enums/vanity_pharma_text_pb2.py | 157 + .../enums/vanity_pharma_text_pb2_grpc.py | 4 + .../enums/webpage_condition_operand_pb2.py | 121 + .../webpage_condition_operand_pb2_grpc.py | 4 + .../enums/webpage_condition_operator_pb2.py | 106 + .../webpage_condition_operator_pb2_grpc.py | 4 + .../{v2 => v6}/proto/errors/__init__.py | 0 .../errors/access_invitation_error_pb2.py | 105 + .../access_invitation_error_pb2_grpc.py | 4 + .../account_budget_proposal_error_pb2.py | 215 + .../account_budget_proposal_error_pb2_grpc.py | 4 + .../v6/proto/errors/account_link_error_pb2.py | 100 + .../errors/account_link_error_pb2_grpc.py | 4 + .../proto/errors/ad_customizer_error_pb2.py | 120 + .../errors/ad_customizer_error_pb2_grpc.py | 4 + .../v6/proto/errors/ad_error_pb2.py | 815 ++++ .../v6/proto/errors/ad_error_pb2_grpc.py | 4 + .../v6/proto/errors/ad_group_ad_error_pb2.py | 145 + .../errors/ad_group_ad_error_pb2_grpc.py | 4 + .../errors/ad_group_bid_modifier_error_pb2.py | 105 + .../ad_group_bid_modifier_error_pb2_grpc.py | 4 + .../errors/ad_group_criterion_error_pb2.py | 235 ++ .../ad_group_criterion_error_pb2_grpc.py | 4 + .../v6/proto/errors/ad_group_error_pb2.py | 160 + .../proto/errors/ad_group_error_pb2_grpc.py | 4 + .../proto/errors/ad_group_feed_error_pb2.py | 130 + .../errors/ad_group_feed_error_pb2_grpc.py | 4 + .../v6/proto/errors/ad_parameter_error_pb2.py | 105 + .../errors/ad_parameter_error_pb2_grpc.py | 4 + .../v6/proto/errors/ad_sharing_error_pb2.py | 110 + .../proto/errors/ad_sharing_error_pb2_grpc.py | 4 + .../v6/proto/errors/adx_error_pb2.py | 100 + .../v6/proto/errors/adx_error_pb2_grpc.py | 4 + .../v6/proto/errors/asset_error_pb2.py | 150 + .../v6/proto/errors/asset_error_pb2_grpc.py | 4 + .../v6/proto/errors/asset_link_error_pb2.py | 120 + .../proto/errors/asset_link_error_pb2_grpc.py | 4 + .../proto/errors/authentication_error_pb2.py | 185 + .../errors/authentication_error_pb2_grpc.py | 4 + .../proto/errors/authorization_error_pb2.py | 155 + .../errors/authorization_error_pb2_grpc.py | 4 + .../v6/proto/errors/batch_job_error_pb2.py | 125 + .../proto/errors/batch_job_error_pb2_grpc.py | 4 + .../v6/proto/errors/bidding_error_pb2.py | 215 + .../v6/proto/errors/bidding_error_pb2_grpc.py | 4 + .../errors/bidding_strategy_error_pb2.py | 120 + .../errors/bidding_strategy_error_pb2_grpc.py | 4 + .../proto/errors/billing_setup_error_pb2.py | 180 + .../errors/billing_setup_error_pb2_grpc.py | 4 + .../proto/errors/campaign_budget_error_pb2.py | 175 + .../errors/campaign_budget_error_pb2_grpc.py | 4 + .../errors/campaign_criterion_error_pb2.py | 150 + .../campaign_criterion_error_pb2_grpc.py | 4 + .../proto/errors/campaign_draft_error_pb2.py | 145 + .../errors/campaign_draft_error_pb2_grpc.py | 4 + .../v6/proto/errors/campaign_error_pb2.py | 295 ++ .../proto/errors/campaign_error_pb2_grpc.py | 4 + .../errors/campaign_experiment_error_pb2.py | 145 + .../campaign_experiment_error_pb2_grpc.py | 4 + .../proto/errors/campaign_feed_error_pb2.py | 130 + .../errors/campaign_feed_error_pb2_grpc.py | 4 + .../errors/campaign_shared_set_error_pb2.py | 100 + .../campaign_shared_set_error_pb2_grpc.py | 4 + .../v6/proto/errors/change_event_error_pb2.py | 120 + .../errors/change_event_error_pb2_grpc.py | 4 + .../proto/errors/change_status_error_pb2.py | 120 + .../errors/change_status_error_pb2_grpc.py | 4 + .../proto/errors/collection_size_error_pb2.py | 105 + .../errors/collection_size_error_pb2_grpc.py | 4 + .../v6/proto/errors/context_error_pb2.py | 105 + .../v6/proto/errors/context_error_pb2_grpc.py | 4 + .../errors/conversion_action_error_pb2.py | 145 + .../conversion_action_error_pb2_grpc.py | 4 + .../conversion_adjustment_upload_error_pb2.py | 151 + ...ersion_adjustment_upload_error_pb2_grpc.py | 4 + .../errors/conversion_upload_error_pb2.py | 200 + .../conversion_upload_error_pb2_grpc.py | 4 + .../v6/proto/errors/country_code_error_pb2.py | 100 + .../errors/country_code_error_pb2_grpc.py | 4 + .../v6/proto/errors/criterion_error_pb2.py | 700 ++++ .../proto/errors/criterion_error_pb2_grpc.py | 4 + .../proto/errors/currency_code_error_pb2.py | 100 + .../errors/currency_code_error_pb2_grpc.py | 4 + .../proto/errors/custom_audience_error_pb2.py | 135 + .../errors/custom_audience_error_pb2_grpc.py | 4 + .../proto/errors/custom_interest_error_pb2.py | 130 + .../errors/custom_interest_error_pb2_grpc.py | 4 + .../errors/customer_client_link_error_pb2.py | 135 + .../customer_client_link_error_pb2_grpc.py | 4 + .../v6/proto/errors/customer_error_pb2.py | 105 + .../proto/errors/customer_error_pb2_grpc.py | 4 + .../proto/errors/customer_feed_error_pb2.py | 130 + .../errors/customer_feed_error_pb2_grpc.py | 4 + .../errors/customer_manager_link_error_pb2.py | 140 + .../customer_manager_link_error_pb2_grpc.py | 4 + .../errors/customer_user_access_error_pb2.py | 120 + .../customer_user_access_error_pb2_grpc.py | 4 + .../v6/proto/errors/database_error_pb2.py | 110 + .../proto/errors/database_error_pb2_grpc.py | 4 + .../v6/proto/errors/date_error_pb2.py | 145 + .../v6/proto/errors/date_error_pb2_grpc.py | 4 + .../v6/proto/errors/date_range_error_pb2.py | 120 + .../proto/errors/date_range_error_pb2_grpc.py | 4 + .../v6/proto/errors/distinct_error_pb2.py | 105 + .../proto/errors/distinct_error_pb2_grpc.py | 4 + .../v6/proto/errors/enum_error_pb2.py | 100 + .../v6/proto/errors/enum_error_pb2_grpc.py | 4 + .../google_ads/v6/proto/errors/errors_pb2.py | 2300 +++++++++++ .../v6/proto/errors/errors_pb2_grpc.py | 4 + .../errors/extension_feed_item_error_pb2.py | 320 ++ .../extension_feed_item_error_pb2_grpc.py | 4 + .../errors/extension_setting_error_pb2.py | 420 ++ .../extension_setting_error_pb2_grpc.py | 4 + .../feed_attribute_reference_error_pb2.py | 111 + ...feed_attribute_reference_error_pb2_grpc.py | 4 + .../v6/proto/errors/feed_error_pb2.py | 205 + .../v6/proto/errors/feed_error_pb2_grpc.py | 4 + .../v6/proto/errors/feed_item_error_pb2.py | 140 + .../proto/errors/feed_item_error_pb2_grpc.py | 4 + .../proto/errors/feed_item_set_error_pb2.py | 125 + .../errors/feed_item_set_error_pb2_grpc.py | 4 + .../errors/feed_item_set_link_error_pb2.py | 105 + .../feed_item_set_link_error_pb2_grpc.py | 4 + .../errors/feed_item_target_error_pb2.py | 135 + .../errors/feed_item_target_error_pb2_grpc.py | 4 + .../errors/feed_item_validation_error_pb2.py | 581 +++ .../feed_item_validation_error_pb2_grpc.py | 4 + .../v6/proto/errors/feed_mapping_error_pb2.py | 180 + .../errors/feed_mapping_error_pb2_grpc.py | 4 + .../v6/proto/errors/field_error_pb2.py | 130 + .../v6/proto/errors/field_error_pb2_grpc.py | 4 + .../v6/proto/errors/field_mask_error_pb2.py | 115 + .../proto/errors/field_mask_error_pb2_grpc.py | 4 + .../v6/proto/errors/function_error_pb2.py | 175 + .../proto/errors/function_error_pb2_grpc.py | 4 + .../errors/function_parsing_error_pb2.py | 150 + .../errors/function_parsing_error_pb2_grpc.py | 4 + ...eo_target_constant_suggestion_error_pb2.py | 116 + ...rget_constant_suggestion_error_pb2_grpc.py | 4 + .../v6/proto/errors/header_error_pb2.py | 105 + .../v6/proto/errors/header_error_pb2_grpc.py | 4 + .../v6/proto/errors/id_error_pb2.py | 100 + .../v6/proto/errors/id_error_pb2_grpc.py | 4 + .../v6/proto/errors/image_error_pb2.py | 290 ++ .../v6/proto/errors/image_error_pb2_grpc.py | 4 + .../v6/proto/errors/internal_error_pb2.py | 115 + .../proto/errors/internal_error_pb2_grpc.py | 4 + .../v6/proto/errors/invoice_error_pb2.py | 105 + .../v6/proto/errors/invoice_error_pb2_grpc.py | 4 + .../errors/keyword_plan_ad_group_error_pb2.py | 106 + .../keyword_plan_ad_group_error_pb2_grpc.py | 4 + ...keyword_plan_ad_group_keyword_error_pb2.py | 131 + ...rd_plan_ad_group_keyword_error_pb2_grpc.py | 4 + .../errors/keyword_plan_campaign_error_pb2.py | 126 + .../keyword_plan_campaign_error_pb2_grpc.py | 4 + ...keyword_plan_campaign_keyword_error_pb2.py | 101 + ...rd_plan_campaign_keyword_error_pb2_grpc.py | 4 + .../v6/proto/errors/keyword_plan_error_pb2.py | 167 + .../errors/keyword_plan_error_pb2_grpc.py | 4 + .../errors/keyword_plan_idea_error_pb2.py | 106 + .../keyword_plan_idea_error_pb2_grpc.py | 4 + .../v6/proto/errors/label_error_pb2.py | 140 + .../v6/proto/errors/label_error_pb2_grpc.py | 4 + .../proto/errors/language_code_error_pb2.py | 105 + .../errors/language_code_error_pb2_grpc.py | 4 + .../proto/errors/list_operation_error_pb2.py | 105 + .../errors/list_operation_error_pb2_grpc.py | 4 + .../v6/proto/errors/manager_link_error_pb2.py | 180 + .../errors/manager_link_error_pb2_grpc.py | 4 + .../v6/proto/errors/media_bundle_error_pb2.py | 205 + .../errors/media_bundle_error_pb2_grpc.py | 4 + .../v6/proto/errors/media_file_error_pb2.py | 210 + .../proto/errors/media_file_error_pb2_grpc.py | 4 + .../v6/proto/errors/media_upload_error_pb2.py | 260 ++ .../errors/media_upload_error_pb2_grpc.py | 4 + .../v6/proto/errors/multiplier_error_pb2.py | 155 + .../proto/errors/multiplier_error_pb2_grpc.py | 4 + .../v6/proto/errors/mutate_error_pb2.py | 135 + .../v6/proto/errors/mutate_error_pb2_grpc.py | 4 + .../errors/new_resource_creation_error_pb2.py | 110 + .../new_resource_creation_error_pb2_grpc.py | 4 + .../proto/errors/not_allowlisted_error_pb2.py | 100 + .../errors/not_allowlisted_error_pb2_grpc.py | 4 + .../v6/proto/errors/not_empty_error_pb2.py | 100 + .../proto/errors/not_empty_error_pb2_grpc.py | 4 + .../v6/proto/errors/null_error_pb2.py | 100 + .../v6/proto/errors/null_error_pb2_grpc.py | 4 + .../errors/offline_user_data_job_error_pb2.py | 245 ++ .../offline_user_data_job_error_pb2_grpc.py | 4 + .../operation_access_denied_error_pb2.py | 145 + .../operation_access_denied_error_pb2_grpc.py | 4 + .../v6/proto/errors/operator_error_pb2.py | 100 + .../proto/errors/operator_error_pb2_grpc.py | 4 + .../proto/errors/partial_failure_error_pb2.py | 100 + .../errors/partial_failure_error_pb2_grpc.py | 4 + .../errors/payments_account_error_pb2.py | 101 + .../errors/payments_account_error_pb2_grpc.py | 4 + .../proto/errors/policy_finding_error_pb2.py | 105 + .../errors/policy_finding_error_pb2_grpc.py | 4 + .../policy_validation_parameter_error_pb2.py | 111 + ...icy_validation_parameter_error_pb2_grpc.py | 4 + .../errors/policy_violation_error_pb2.py | 100 + .../errors/policy_violation_error_pb2_grpc.py | 4 + .../v6/proto/errors/query_error_pb2.py | 360 ++ .../v6/proto/errors/query_error_pb2_grpc.py | 4 + .../v6/proto/errors/quota_error_pb2.py | 110 + .../v6/proto/errors/quota_error_pb2_grpc.py | 4 + .../v6/proto/errors/range_error_pb2.py | 105 + .../v6/proto/errors/range_error_pb2_grpc.py | 4 + .../v6/proto/errors/reach_plan_error_pb2.py | 101 + .../proto/errors/reach_plan_error_pb2_grpc.py | 4 + .../proto/errors/recommendation_error_pb2.py | 166 + .../errors/recommendation_error_pb2_grpc.py | 4 + .../v6/proto/errors/region_code_error_pb2.py | 100 + .../errors/region_code_error_pb2_grpc.py | 4 + .../v6/proto/errors/request_error_pb2.py | 210 + .../v6/proto/errors/request_error_pb2_grpc.py | 4 + .../resource_access_denied_error_pb2.py | 100 + .../resource_access_denied_error_pb2_grpc.py | 4 + ...resource_count_limit_exceeded_error_pb2.py | 141 + ...rce_count_limit_exceeded_error_pb2_grpc.py | 4 + .../v6/proto/errors/setting_error_pb2.py | 150 + .../v6/proto/errors/setting_error_pb2_grpc.py | 4 + .../errors/shared_criterion_error_pb2.py | 100 + .../errors/shared_criterion_error_pb2_grpc.py | 4 + .../v6/proto/errors/shared_set_error_pb2.py | 115 + .../proto/errors/shared_set_error_pb2_grpc.py | 4 + .../v6/proto/errors/size_limit_error_pb2.py | 105 + .../proto/errors/size_limit_error_pb2_grpc.py | 4 + .../proto/errors/string_format_error_pb2.py | 105 + .../errors/string_format_error_pb2_grpc.py | 4 + .../proto/errors/string_length_error_pb2.py | 110 + .../errors/string_length_error_pb2_grpc.py | 4 + ...hird_party_app_analytics_link_error_pb2.py | 116 + ...party_app_analytics_link_error_pb2_grpc.py | 4 + .../v6/proto/errors/time_zone_error_pb2.py | 100 + .../proto/errors/time_zone_error_pb2_grpc.py | 4 + .../v6/proto/errors/url_field_error_pb2.py | 355 ++ .../proto/errors/url_field_error_pb2_grpc.py | 4 + .../v6/proto/errors/user_data_error_pb2.py | 110 + .../proto/errors/user_data_error_pb2_grpc.py | 4 + .../v6/proto/errors/user_list_error_pb2.py | 225 + .../proto/errors/user_list_error_pb2_grpc.py | 4 + .../youtube_video_registration_error_pb2.py | 110 + ...utube_video_registration_error_pb2_grpc.py | 4 + .../{v2 => v6}/proto/resources/__init__.py | 0 .../v6/proto/resources/account_budget_pb2.py | 721 ++++ .../resources/account_budget_pb2_grpc.py | 4 + .../resources/account_budget_proposal_pb2.py | 472 +++ .../account_budget_proposal_pb2_grpc.py | 4 + .../v6/proto/resources/account_link_pb2.py | 397 ++ .../proto/resources/account_link_pb2_grpc.py | 4 + .../resources/ad_group_ad_asset_view_pb2.py | 264 ++ .../ad_group_ad_asset_view_pb2_grpc.py | 4 + .../proto/resources/ad_group_ad_label_pb2.py | 122 + .../resources/ad_group_ad_label_pb2_grpc.py | 4 + .../v6/proto/resources/ad_group_ad_pb2.py | 226 + .../proto/resources/ad_group_ad_pb2_grpc.py | 4 + .../resources/ad_group_audience_view_pb2.py | 90 + .../ad_group_audience_view_pb2_grpc.py | 4 + .../resources/ad_group_bid_modifier_pb2.py | 273 ++ .../ad_group_bid_modifier_pb2_grpc.py | 4 + .../resources/ad_group_criterion_label_pb2.py | 124 + .../ad_group_criterion_label_pb2_grpc.py | 4 + .../proto/resources/ad_group_criterion_pb2.py | 1030 +++++ .../resources/ad_group_criterion_pb2_grpc.py | 4 + .../ad_group_criterion_simulation_pb2.py | 231 ++ .../ad_group_criterion_simulation_pb2_grpc.py | 4 + .../ad_group_extension_setting_pb2.py | 144 + .../ad_group_extension_setting_pb2_grpc.py | 4 + .../v6/proto/resources/ad_group_feed_pb2.py | 160 + .../proto/resources/ad_group_feed_pb2_grpc.py | 4 + .../v6/proto/resources/ad_group_label_pb2.py | 122 + .../resources/ad_group_label_pb2_grpc.py | 4 + .../v6/proto/resources/ad_group_pb2.py | 485 +++ .../v6/proto/resources/ad_group_pb2_grpc.py | 4 + .../resources/ad_group_simulation_pb2.py | 241 ++ .../resources/ad_group_simulation_pb2_grpc.py | 4 + .../v6/proto/resources/ad_parameter_pb2.py | 156 + .../proto/resources/ad_parameter_pb2_grpc.py | 4 + .../google_ads/v6/proto/resources/ad_pb2.py | 576 +++ .../v6/proto/resources/ad_pb2_grpc.py | 4 + .../proto/resources/ad_schedule_view_pb2.py | 87 + .../resources/ad_schedule_view_pb2_grpc.py | 4 + .../v6/proto/resources/age_range_view_pb2.py | 86 + .../resources/age_range_view_pb2_grpc.py | 4 + .../v6/proto/resources/asset_pb2.py | 321 ++ .../v6/proto/resources/asset_pb2_grpc.py | 4 + .../v6/proto/resources/batch_job_pb2.py | 326 ++ .../v6/proto/resources/batch_job_pb2_grpc.py | 4 + .../proto/resources/bidding_strategy_pb2.py | 320 ++ .../resources/bidding_strategy_pb2_grpc.py | 4 + .../v6/proto/resources/billing_setup_pb2.py | 374 ++ .../proto/resources/billing_setup_pb2_grpc.py | 4 + .../v6/proto/resources/campaign_asset_pb2.py | 149 + .../resources/campaign_asset_pb2_grpc.py | 4 + .../resources/campaign_audience_view_pb2.py | 91 + .../campaign_audience_view_pb2_grpc.py | 4 + .../resources/campaign_bid_modifier_pb2.py | 165 + .../campaign_bid_modifier_pb2_grpc.py | 4 + .../v6/proto/resources/campaign_budget_pb2.py | 384 ++ .../resources/campaign_budget_pb2_grpc.py | 4 + .../proto/resources/campaign_criterion_pb2.py | 599 +++ .../resources/campaign_criterion_pb2_grpc.py | 4 + .../campaign_criterion_simulation_pb2.py | 214 + .../campaign_criterion_simulation_pb2_grpc.py | 4 + .../v6/proto/resources/campaign_draft_pb2.py | 216 + .../resources/campaign_draft_pb2_grpc.py | 4 + .../resources/campaign_experiment_pb2.py | 293 ++ .../resources/campaign_experiment_pb2_grpc.py | 4 + .../campaign_extension_setting_pb2.py | 144 + .../campaign_extension_setting_pb2_grpc.py | 4 + .../v6/proto/resources/campaign_feed_pb2.py | 160 + .../proto/resources/campaign_feed_pb2_grpc.py | 4 + .../v6/proto/resources/campaign_label_pb2.py | 122 + .../resources/campaign_label_pb2_grpc.py | 4 + .../v6/proto/resources/campaign_pb2.py | 1531 +++++++ .../v6/proto/resources/campaign_pb2_grpc.py | 4 + .../resources/campaign_shared_set_pb2.py | 144 + .../resources/campaign_shared_set_pb2_grpc.py | 4 + .../proto/resources/carrier_constant_pb2.py | 141 + .../resources/carrier_constant_pb2_grpc.py | 4 + .../v6/proto/resources/change_event_pb2.py | 349 ++ .../proto/resources/change_event_pb2_grpc.py | 4 + .../v6/proto/resources/change_status_pb2.py | 316 ++ .../proto/resources/change_status_pb2_grpc.py | 4 + .../v6/proto/resources/click_view_pb2.py | 209 + .../v6/proto/resources/click_view_pb2_grpc.py | 4 + .../proto/resources/combined_audience_pb2.py | 131 + .../resources/combined_audience_pb2_grpc.py | 4 + .../proto/resources/conversion_action_pb2.py | 639 +++ .../resources/conversion_action_pb2_grpc.py | 4 + .../proto/resources/currency_constant_pb2.py | 160 + .../resources/currency_constant_pb2_grpc.py | 4 + .../v6/proto/resources/custom_audience_pb2.py | 268 ++ .../resources/custom_audience_pb2_grpc.py | 4 + .../v6/proto/resources/custom_interest_pb2.py | 247 ++ .../resources/custom_interest_pb2_grpc.py | 4 + .../resources/customer_client_link_pb2.py | 152 + .../customer_client_link_pb2_grpc.py | 4 + .../v6/proto/resources/customer_client_pb2.py | 258 ++ .../resources/customer_client_pb2_grpc.py | 4 + .../customer_extension_setting_pb2.py | 123 + .../customer_extension_setting_pb2_grpc.py | 4 + .../v6/proto/resources/customer_feed_pb2.py | 142 + .../proto/resources/customer_feed_pb2_grpc.py | 4 + .../v6/proto/resources/customer_label_pb2.py | 128 + .../resources/customer_label_pb2_grpc.py | 4 + .../resources/customer_manager_link_pb2.py | 134 + .../customer_manager_link_pb2_grpc.py | 4 + .../customer_negative_criterion_pb2.py | 209 + .../customer_negative_criterion_pb2_grpc.py | 4 + .../v6/proto/resources/customer_pb2.py | 587 +++ .../v6/proto/resources/customer_pb2_grpc.py | 4 + .../resources/customer_user_access_pb2.py | 164 + .../customer_user_access_pb2_grpc.py | 4 + .../resources/detail_placement_view_pb2.py | 178 + .../detail_placement_view_pb2_grpc.py | 4 + .../resources/display_keyword_view_pb2.py | 87 + .../display_keyword_view_pb2_grpc.py | 4 + .../v6/proto/resources/distance_view_pb2.py | 122 + .../proto/resources/distance_view_pb2_grpc.py | 4 + .../v6/proto/resources/domain_category_pb2.py | 248 ++ .../resources/domain_category_pb2_grpc.py | 4 + ...dynamic_search_ads_search_term_view_pb2.py | 221 + ...ic_search_ads_search_term_view_pb2_grpc.py | 4 + .../expanded_landing_page_view_pb2.py | 106 + .../expanded_landing_page_view_pb2_grpc.py | 4 + .../resources/extension_feed_item_pb2.py | 426 ++ .../resources/extension_feed_item_pb2_grpc.py | 4 + .../v6/proto/resources/feed_item_pb2.py | 681 +++ .../v6/proto/resources/feed_item_pb2_grpc.py | 4 + .../proto/resources/feed_item_set_link_pb2.py | 107 + .../resources/feed_item_set_link_pb2_grpc.py | 4 + .../v6/proto/resources/feed_item_set_pb2.py | 171 + .../proto/resources/feed_item_set_pb2_grpc.py | 4 + .../proto/resources/feed_item_target_pb2.py | 241 ++ .../resources/feed_item_target_pb2_grpc.py | 4 + .../v6/proto/resources/feed_mapping_pb2.py | 576 +++ .../proto/resources/feed_mapping_pb2_grpc.py | 4 + .../google_ads/v6/proto/resources/feed_pb2.py | 683 +++ .../v6/proto/resources/feed_pb2_grpc.py | 4 + .../resources/feed_placeholder_view_pb2.py | 99 + .../feed_placeholder_view_pb2_grpc.py | 4 + .../v6/proto/resources/gender_view_pb2.py | 86 + .../proto/resources/gender_view_pb2_grpc.py | 4 + .../resources/geo_target_constant_pb2.py | 210 + .../resources/geo_target_constant_pb2_grpc.py | 4 + .../v6/proto/resources/geographic_view_pb2.py | 120 + .../resources/geographic_view_pb2_grpc.py | 4 + .../proto/resources/google_ads_field_pb2.py | 292 ++ .../resources/google_ads_field_pb2_grpc.py | 4 + .../resources/group_placement_view_pb2.py | 157 + .../group_placement_view_pb2_grpc.py | 4 + .../proto/resources/hotel_group_view_pb2.py | 86 + .../resources/hotel_group_view_pb2_grpc.py | 4 + .../resources/hotel_performance_view_pb2.py | 86 + .../hotel_performance_view_pb2_grpc.py | 4 + .../proto/resources/income_range_view_pb2.py | 86 + .../resources/income_range_view_pb2_grpc.py | 4 + .../v6/proto/resources/invoice_pb2.py | 667 +++ .../v6/proto/resources/invoice_pb2_grpc.py | 4 + .../keyword_plan_ad_group_keyword_pb2.py | 191 + .../keyword_plan_ad_group_keyword_pb2_grpc.py | 4 + .../resources/keyword_plan_ad_group_pb2.py | 160 + .../keyword_plan_ad_group_pb2_grpc.py | 4 + .../keyword_plan_campaign_keyword_pb2.py | 172 + .../keyword_plan_campaign_keyword_pb2_grpc.py | 4 + .../resources/keyword_plan_campaign_pb2.py | 249 ++ .../keyword_plan_campaign_pb2_grpc.py | 4 + .../v6/proto/resources/keyword_plan_pb2.py | 210 + .../proto/resources/keyword_plan_pb2_grpc.py | 4 + .../v6/proto/resources/keyword_view_pb2.py | 86 + .../proto/resources/keyword_view_pb2_grpc.py | 4 + .../v6/proto/resources/label_pb2.py | 145 + .../v6/proto/resources/label_pb2_grpc.py | 4 + .../proto/resources/landing_page_view_pb2.py | 106 + .../resources/landing_page_view_pb2_grpc.py | 4 + .../proto/resources/language_constant_pb2.py | 160 + .../resources/language_constant_pb2_grpc.py | 4 + .../v6/proto/resources/location_view_pb2.py | 87 + .../proto/resources/location_view_pb2_grpc.py | 4 + .../resources/managed_placement_view_pb2.py | 87 + .../managed_placement_view_pb2_grpc.py | 4 + .../v6/proto/resources/media_file_pb2.py | 587 +++ .../v6/proto/resources/media_file_pb2_grpc.py | 4 + .../resources/merchant_center_link_pb2.py | 136 + .../merchant_center_link_pb2_grpc.py | 4 + .../mobile_app_category_constant_pb2.py | 122 + .../mobile_app_category_constant_pb2_grpc.py | 4 + .../resources/mobile_device_constant_pb2.py | 170 + .../mobile_device_constant_pb2_grpc.py | 4 + .../resources/offline_user_data_job_pb2.py | 199 + .../offline_user_data_job_pb2_grpc.py | 4 + .../operating_system_version_constant_pb2.py | 175 + ...rating_system_version_constant_pb2_grpc.py | 4 + .../paid_organic_search_term_view_pb2.py | 107 + .../paid_organic_search_term_view_pb2_grpc.py | 4 + .../resources/parental_status_view_pb2.py | 87 + .../parental_status_view_pb2_grpc.py | 4 + .../proto/resources/payments_account_pb2.py | 201 + .../resources/payments_account_pb2_grpc.py | 4 + .../product_bidding_category_constant_pb2.py | 207 + ...duct_bidding_category_constant_pb2_grpc.py | 4 + .../proto/resources/product_group_view_pb2.py | 86 + .../resources/product_group_view_pb2_grpc.py | 4 + .../v6/proto/resources/recommendation_pb2.py | 1678 ++++++++ .../resources/recommendation_pb2_grpc.py | 4 + .../proto/resources/remarketing_action_pb2.py | 138 + .../resources/remarketing_action_pb2_grpc.py | 4 + .../proto/resources/search_term_view_pb2.py | 137 + .../resources/search_term_view_pb2_grpc.py | 4 + .../proto/resources/shared_criterion_pb2.py | 228 + .../resources/shared_criterion_pb2_grpc.py | 4 + .../v6/proto/resources/shared_set_pb2.py | 188 + .../v6/proto/resources/shared_set_pb2_grpc.py | 4 + .../shopping_performance_view_pb2.py | 91 + .../shopping_performance_view_pb2_grpc.py | 4 + .../third_party_app_analytics_link_pb2.py | 109 + ...third_party_app_analytics_link_pb2_grpc.py | 4 + .../v6/proto/resources/topic_constant_pb2.py | 139 + .../resources/topic_constant_pb2_grpc.py | 4 + .../v6/proto/resources/topic_view_pb2.py | 86 + .../v6/proto/resources/topic_view_pb2_grpc.py | 4 + .../v6/proto/resources/user_interest_pb2.py | 183 + .../proto/resources/user_interest_pb2_grpc.py | 4 + .../v6/proto/resources/user_list_pb2.py | 472 +++ .../v6/proto/resources/user_list_pb2_grpc.py | 4 + .../proto/resources/user_location_view_pb2.py | 127 + .../resources/user_location_view_pb2_grpc.py | 4 + .../v6/proto/resources/video_pb2.py | 158 + .../v6/proto/resources/video_pb2_grpc.py | 4 + .../{v2 => v6}/proto/services/__init__.py | 0 .../account_budget_proposal_service_pb2.py | 384 ++ ...ccount_budget_proposal_service_pb2_grpc.py | 149 + .../services/account_budget_service_pb2.py | 113 + .../account_budget_service_pb2_grpc.py | 82 + .../services/account_link_service_pb2.py | 504 +++ .../services/account_link_service_pb2_grpc.py | 142 + .../ad_group_ad_asset_view_service_pb2.py | 114 + ...ad_group_ad_asset_view_service_pb2_grpc.py | 76 + .../services/ad_group_ad_label_service_pb2.py | 390 ++ .../ad_group_ad_label_service_pb2_grpc.py | 110 + .../proto/services/ad_group_ad_service_pb2.py | 448 ++ .../services/ad_group_ad_service_pb2_grpc.py | 109 + .../ad_group_audience_view_service_pb2.py | 114 + ...ad_group_audience_view_service_pb2_grpc.py | 76 + .../ad_group_bid_modifier_service_pb2.py | 444 ++ .../ad_group_bid_modifier_service_pb2_grpc.py | 110 + .../ad_group_criterion_label_service_pb2.py | 393 ++ ..._group_criterion_label_service_pb2_grpc.py | 110 + .../ad_group_criterion_service_pb2.py | 460 +++ .../ad_group_criterion_service_pb2_grpc.py | 109 + ..._group_criterion_simulation_service_pb2.py | 114 + ...p_criterion_simulation_service_pb2_grpc.py | 76 + .../ad_group_extension_setting_service_pb2.py | 420 ++ ...roup_extension_setting_service_pb2_grpc.py | 110 + .../services/ad_group_feed_service_pb2.py | 440 ++ .../ad_group_feed_service_pb2_grpc.py | 110 + .../services/ad_group_label_service_pb2.py | 389 ++ .../ad_group_label_service_pb2_grpc.py | 110 + .../v6/proto/services/ad_group_service_pb2.py | 440 ++ .../services/ad_group_service_pb2_grpc.py | 109 + .../ad_group_simulation_service_pb2.py | 114 + .../ad_group_simulation_service_pb2_grpc.py | 76 + .../services/ad_parameter_service_pb2.py | 415 ++ .../services/ad_parameter_service_pb2_grpc.py | 110 + .../services/ad_schedule_view_service_pb2.py | 112 + .../ad_schedule_view_service_pb2_grpc.py | 76 + .../v6/proto/services/ad_service_pb2.py | 373 ++ .../v6/proto/services/ad_service_pb2_grpc.py | 110 + .../services/age_range_view_service_pb2.py | 112 + .../age_range_view_service_pb2_grpc.py | 76 + .../v6/proto/services/asset_service_pb2.py | 392 ++ .../proto/services/asset_service_pb2_grpc.py | 115 + .../proto/services/batch_job_service_pb2.py | 763 ++++ .../services/batch_job_service_pb2_grpc.py | 214 + .../services/bidding_strategy_service_pb2.py | 416 ++ .../bidding_strategy_service_pb2_grpc.py | 110 + .../services/billing_setup_service_pb2.py | 354 ++ .../billing_setup_service_pb2_grpc.py | 133 + .../services/campaign_asset_service_pb2.py | 389 ++ .../campaign_asset_service_pb2_grpc.py | 109 + .../campaign_audience_view_service_pb2.py | 114 + ...campaign_audience_view_service_pb2_grpc.py | 76 + .../campaign_bid_modifier_service_pb2.py | 419 ++ .../campaign_bid_modifier_service_pb2_grpc.py | 110 + .../services/campaign_budget_service_pb2.py | 441 ++ .../campaign_budget_service_pb2_grpc.py | 110 + .../campaign_criterion_service_pb2.py | 442 ++ .../campaign_criterion_service_pb2_grpc.py | 109 + ...mpaign_criterion_simulation_service_pb2.py | 114 + ...n_criterion_simulation_service_pb2_grpc.py | 76 + .../services/campaign_draft_service_pb2.py | 647 +++ .../campaign_draft_service_pb2_grpc.py | 187 + .../campaign_experiment_service_pb2.py | 950 +++++ .../campaign_experiment_service_pb2_grpc.py | 322 ++ .../campaign_extension_setting_service_pb2.py | 420 ++ ...aign_extension_setting_service_pb2_grpc.py | 110 + .../services/campaign_feed_service_pb2.py | 440 ++ .../campaign_feed_service_pb2_grpc.py | 110 + .../services/campaign_label_service_pb2.py | 390 ++ .../campaign_label_service_pb2_grpc.py | 110 + .../v6/proto/services/campaign_service_pb2.py | 440 ++ .../services/campaign_service_pb2_grpc.py | 109 + .../campaign_shared_set_service_pb2.py | 392 ++ .../campaign_shared_set_service_pb2_grpc.py | 109 + .../services/carrier_constant_service_pb2.py | 112 + .../carrier_constant_service_pb2_grpc.py | 76 + .../services/change_status_service_pb2.py | 112 + .../change_status_service_pb2_grpc.py | 76 + .../proto/services/click_view_service_pb2.py | 112 + .../services/click_view_service_pb2_grpc.py | 76 + .../services/combined_audience_service_pb2.py | 113 + .../combined_audience_service_pb2_grpc.py | 82 + .../services/conversion_action_service_pb2.py | 419 ++ .../conversion_action_service_pb2_grpc.py | 110 + ...onversion_adjustment_upload_service_pb2.py | 635 +++ ...sion_adjustment_upload_service_pb2_grpc.py | 69 + .../services/conversion_upload_service_pb2.py | 973 +++++ .../conversion_upload_service_pb2_grpc.py | 102 + .../services/currency_constant_service_pb2.py | 113 + .../currency_constant_service_pb2_grpc.py | 70 + .../services/custom_audience_service_pb2.py | 389 ++ .../custom_audience_service_pb2_grpc.py | 109 + .../services/custom_interest_service_pb2.py | 375 ++ .../custom_interest_service_pb2_grpc.py | 109 + .../customer_client_link_service_pb2.py | 368 ++ .../customer_client_link_service_pb2_grpc.py | 103 + .../services/customer_client_service_pb2.py | 112 + .../customer_client_service_pb2_grpc.py | 76 + .../customer_extension_setting_service_pb2.py | 419 ++ ...omer_extension_setting_service_pb2_grpc.py | 110 + .../services/customer_feed_service_pb2.py | 440 ++ .../customer_feed_service_pb2_grpc.py | 110 + .../services/customer_label_service_pb2.py | 390 ++ .../customer_label_service_pb2_grpc.py | 110 + .../customer_manager_link_service_pb2.py | 492 +++ .../customer_manager_link_service_pb2_grpc.py | 140 + ...customer_negative_criterion_service_pb2.py | 392 ++ ...mer_negative_criterion_service_pb2_grpc.py | 109 + .../v6/proto/services/customer_service_pb2.py | 627 +++ .../services/customer_service_pb2_grpc.py | 176 + .../customer_user_access_service_pb2.py | 364 ++ .../customer_user_access_service_pb2_grpc.py | 104 + .../detail_placement_view_service_pb2.py | 114 + .../detail_placement_view_service_pb2_grpc.py | 76 + .../display_keyword_view_service_pb2.py | 114 + .../display_keyword_view_service_pb2_grpc.py | 76 + .../services/distance_view_service_pb2.py | 112 + .../distance_view_service_pb2_grpc.py | 76 + .../services/domain_category_service_pb2.py | 112 + .../domain_category_service_pb2_grpc.py | 76 + ...search_ads_search_term_view_service_pb2.py | 114 + ...h_ads_search_term_view_service_pb2_grpc.py | 76 + .../expanded_landing_page_view_service_pb2.py | 114 + ...nded_landing_page_view_service_pb2_grpc.py | 76 + .../extension_feed_item_service_pb2.py | 443 ++ .../extension_feed_item_service_pb2_grpc.py | 110 + .../proto/services/feed_item_service_pb2.py | 440 ++ .../services/feed_item_service_pb2_grpc.py | 110 + .../feed_item_set_link_service_pb2.py | 376 ++ .../feed_item_set_link_service_pb2_grpc.py | 109 + .../services/feed_item_set_service_pb2.py | 400 ++ .../feed_item_set_service_pb2_grpc.py | 110 + .../services/feed_item_target_service_pb2.py | 379 ++ .../feed_item_target_service_pb2_grpc.py | 109 + .../services/feed_mapping_service_pb2.py | 389 ++ .../services/feed_mapping_service_pb2_grpc.py | 110 + .../feed_placeholder_view_service_pb2.py | 114 + .../feed_placeholder_view_service_pb2_grpc.py | 76 + .../v6/proto/services/feed_service_pb2.py | 440 ++ .../proto/services/feed_service_pb2_grpc.py | 110 + .../proto/services/gender_view_service_pb2.py | 112 + .../services/gender_view_service_pb2_grpc.py | 76 + .../geo_target_constant_service_pb2.py | 492 +++ .../geo_target_constant_service_pb2_grpc.py | 109 + .../services/geographic_view_service_pb2.py | 112 + .../geographic_view_service_pb2_grpc.py | 76 + .../services/google_ads_field_service_pb2.py | 267 ++ .../google_ads_field_service_pb2_grpc.py | 109 + .../proto/services/google_ads_service_pb2.py | 3234 +++++++++++++++ .../services/google_ads_service_pb2_grpc.py | 191 + .../group_placement_view_service_pb2.py | 114 + .../group_placement_view_service_pb2_grpc.py | 76 + .../services/hotel_group_view_service_pb2.py | 112 + .../hotel_group_view_service_pb2_grpc.py | 76 + .../hotel_performance_view_service_pb2.py | 114 + ...hotel_performance_view_service_pb2_grpc.py | 76 + .../services/income_range_view_service_pb2.py | 112 + .../income_range_view_service_pb2_grpc.py | 76 + .../v6/proto/services/invoice_service_pb2.py | 196 + .../services/invoice_service_pb2_grpc.py | 75 + ...yword_plan_ad_group_keyword_service_pb2.py | 420 ++ ..._plan_ad_group_keyword_service_pb2_grpc.py | 122 + .../keyword_plan_ad_group_service_pb2.py | 422 ++ .../keyword_plan_ad_group_service_pb2_grpc.py | 110 + ...yword_plan_campaign_keyword_service_pb2.py | 419 ++ ..._plan_campaign_keyword_service_pb2_grpc.py | 119 + .../keyword_plan_campaign_service_pb2.py | 420 ++ .../keyword_plan_campaign_service_pb2_grpc.py | 110 + .../services/keyword_plan_idea_service_pb2.py | 608 +++ .../keyword_plan_idea_service_pb2_grpc.py | 75 + .../services/keyword_plan_service_pb2.py | 1602 ++++++++ .../services/keyword_plan_service_pb2_grpc.py | 253 ++ .../services/keyword_view_service_pb2.py | 112 + .../services/keyword_view_service_pb2_grpc.py | 76 + .../v6/proto/services/label_service_pb2.py | 437 ++ .../proto/services/label_service_pb2_grpc.py | 103 + .../services/landing_page_view_service_pb2.py | 112 + .../landing_page_view_service_pb2_grpc.py | 76 + .../services/language_constant_service_pb2.py | 113 + .../language_constant_service_pb2_grpc.py | 76 + .../services/location_view_service_pb2.py | 112 + .../location_view_service_pb2_grpc.py | 76 + .../managed_placement_view_service_pb2.py | 114 + ...managed_placement_view_service_pb2_grpc.py | 76 + .../proto/services/media_file_service_pb2.py | 400 ++ .../services/media_file_service_pb2_grpc.py | 109 + .../merchant_center_link_service_pb2.py | 475 +++ .../merchant_center_link_service_pb2_grpc.py | 145 + ...obile_app_category_constant_service_pb2.py | 114 + ..._app_category_constant_service_pb2_grpc.py | 70 + .../mobile_device_constant_service_pb2.py | 113 + ...mobile_device_constant_service_pb2_grpc.py | 76 + .../offline_user_data_job_service_pb2.py | 526 +++ .../offline_user_data_job_service_pb2_grpc.py | 179 + ...ing_system_version_constant_service_pb2.py | 113 + ...ystem_version_constant_service_pb2_grpc.py | 76 + ...id_organic_search_term_view_service_pb2.py | 114 + ...ganic_search_term_view_service_pb2_grpc.py | 76 + .../parental_status_view_service_pb2.py | 114 + .../parental_status_view_service_pb2_grpc.py | 76 + .../services/payments_account_service_pb2.py | 161 + .../payments_account_service_pb2_grpc.py | 80 + ...t_bidding_category_constant_service_pb2.py | 114 + ...ding_category_constant_service_pb2_grpc.py | 76 + .../product_group_view_service_pb2.py | 114 + .../product_group_view_service_pb2_grpc.py | 76 + .../proto/services/reach_plan_service_pb2.py | 1838 +++++++++ .../services/reach_plan_service_pb2_grpc.py | 189 + .../services/recommendation_service_pb2.py | 1272 ++++++ .../recommendation_service_pb2_grpc.py | 142 + .../remarketing_action_service_pb2.py | 404 ++ .../remarketing_action_service_pb2_grpc.py | 109 + .../services/search_term_view_service_pb2.py | 112 + .../search_term_view_service_pb2_grpc.py | 76 + .../services/shared_criterion_service_pb2.py | 390 ++ .../shared_criterion_service_pb2_grpc.py | 109 + .../proto/services/shared_set_service_pb2.py | 440 ++ .../services/shared_set_service_pb2_grpc.py | 109 + .../shopping_performance_view_service_pb2.py | 114 + ...pping_performance_view_service_pb2_grpc.py | 76 + ...rd_party_app_analytics_link_service_pb2.py | 209 + ...rty_app_analytics_link_service_pb2_grpc.py | 107 + .../services/topic_constant_service_pb2.py | 112 + .../topic_constant_service_pb2_grpc.py | 76 + .../proto/services/topic_view_service_pb2.py | 112 + .../services/topic_view_service_pb2_grpc.py | 76 + .../proto/services/user_data_service_pb2.py | 289 ++ .../services/user_data_service_pb2_grpc.py | 78 + .../services/user_interest_service_pb2.py | 112 + .../user_interest_service_pb2_grpc.py | 76 + .../proto/services/user_list_service_pb2.py | 415 ++ .../services/user_list_service_pb2_grpc.py | 109 + .../user_location_view_service_pb2.py | 114 + .../user_location_view_service_pb2_grpc.py | 76 + .../v6/proto/services/video_service_pb2.py | 112 + .../proto/services/video_service_pb2_grpc.py | 76 + .../{v2 => v6}/services/__init__.py | 0 .../account_budget_proposal_service_client.py | 52 +- ...t_budget_proposal_service_client_config.py | 2 +- .../services/account_budget_service_client.py | 43 +- .../account_budget_service_client_config.py | 2 +- .../services/account_link_service_client.py | 376 ++ .../account_link_service_client_config.py | 41 + .../ad_group_ad_asset_view_service_client.py | 46 +- ...oup_ad_asset_view_service_client_config.py | 2 +- .../ad_group_ad_label_service_client.py | 63 +- ...ad_group_ad_label_service_client_config.py | 2 +- .../services/ad_group_ad_service_client.py | 70 +- .../ad_group_ad_service_client_config.py | 2 +- .../ad_group_audience_view_service_client.py | 57 +- ...oup_audience_view_service_client_config.py | 2 +- .../ad_group_bid_modifier_service_client.py | 76 +- ...roup_bid_modifier_service_client_config.py | 2 +- ...ad_group_criterion_label_service_client.py | 75 +- ...p_criterion_label_service_client_config.py | 2 +- .../ad_group_criterion_service_client.py | 82 +- ...d_group_criterion_service_client_config.py | 2 +- ...oup_criterion_simulation_service_client.py | 69 +- ...terion_simulation_service_client_config.py | 2 +- ..._group_extension_setting_service_client.py | 84 +- ...extension_setting_service_client_config.py | 2 +- .../services/ad_group_feed_service_client.py | 91 +- .../ad_group_feed_service_client_config.py | 2 +- .../services/ad_group_label_service_client.py | 310 ++ .../ad_group_label_service_client_config.py | 2 +- .../v6/services/ad_group_service_client.py | 313 ++ .../ad_group_service_client_config.py | 2 +- .../ad_group_simulation_service_client.py | 238 ++ ..._group_simulation_service_client_config.py | 2 +- .../services/ad_parameter_service_client.py | 310 ++ .../ad_parameter_service_client_config.py | 2 +- .../ad_schedule_view_service_client.py | 238 ++ .../ad_schedule_view_service_client_config.py | 2 +- .../v6/services/ad_service_client.py | 304 ++ .../services/ad_service_client_config.py | 2 +- .../services/age_range_view_service_client.py | 238 ++ .../age_range_view_service_client_config.py | 2 +- .../v6/services/asset_service_client.py | 307 ++ .../services/asset_service_client_config.py | 2 +- .../v6/services/batch_job_service_client.py | 521 +++ .../batch_job_service_client_config.py | 51 + .../bidding_strategy_service_client.py | 310 ++ .../bidding_strategy_service_client_config.py | 2 +- .../services/billing_setup_service_client.py | 309 ++ .../billing_setup_service_client_config.py | 2 +- .../services/campaign_asset_service_client.py | 309 ++ .../campaign_asset_service_client_config.py | 36 + .../campaign_audience_view_service_client.py | 238 ++ ...ign_audience_view_service_client_config.py | 2 +- .../campaign_bid_modifier_service_client.py | 310 ++ ...aign_bid_modifier_service_client_config.py | 2 +- .../campaign_budget_service_client.py | 314 ++ .../campaign_budget_service_client_config.py | 2 +- .../campaign_criterion_service_client.py | 313 ++ ...ampaign_criterion_service_client_config.py | 2 +- ...ign_criterion_simulation_service_client.py | 238 ++ ...terion_simulation_service_client_config.py | 2 +- .../services/campaign_draft_service_client.py | 463 +++ .../campaign_draft_service_client_config.py | 2 +- .../campaign_experiment_service_client.py | 665 +++ ...mpaign_experiment_service_client_config.py | 2 +- ...mpaign_extension_setting_service_client.py | 312 ++ ...extension_setting_service_client_config.py | 2 +- .../services/campaign_feed_service_client.py | 314 ++ .../campaign_feed_service_client_config.py | 2 +- .../services/campaign_label_service_client.py | 310 ++ .../campaign_label_service_client_config.py | 2 +- .../v6/services/campaign_service_client.py | 313 ++ .../campaign_service_client_config.py | 2 +- .../campaign_shared_set_service_client.py | 309 ++ ...mpaign_shared_set_service_client_config.py | 2 +- .../carrier_constant_service_client.py | 237 ++ .../carrier_constant_service_client_config.py | 2 +- .../services/change_status_service_client.py | 238 ++ .../change_status_service_client_config.py | 2 +- .../v6/services/click_view_service_client.py | 238 ++ .../click_view_service_client_config.py | 2 +- .../combined_audience_service_client.py | 242 ++ ...combined_audience_service_client_config.py | 31 + .../conversion_action_service_client.py | 310 ++ ...conversion_action_service_client_config.py | 2 +- ...ersion_adjustment_upload_service_client.py | 246 ++ ...adjustment_upload_service_client_config.py | 2 +- .../conversion_upload_service_client.py | 320 ++ ...conversion_upload_service_client_config.py | 2 +- .../currency_constant_service_client.py | 237 ++ ...currency_constant_service_client_config.py | 31 + .../custom_audience_service_client.py | 303 ++ .../custom_audience_service_client_config.py | 36 + .../custom_interest_service_client.py | 303 ++ .../custom_interest_service_client_config.py | 2 +- .../customer_client_link_service_client.py | 299 ++ ...tomer_client_link_service_client_config.py | 2 +- .../customer_client_service_client.py | 238 ++ .../customer_client_service_client_config.py | 2 +- ...stomer_extension_setting_service_client.py | 312 ++ ...extension_setting_service_client_config.py | 2 +- .../services/customer_feed_service_client.py | 314 ++ .../customer_feed_service_client_config.py | 2 +- .../services/customer_label_service_client.py | 310 ++ .../customer_label_service_client_config.py | 2 +- .../customer_manager_link_service_client.py | 368 ++ ...omer_manager_link_service_client_config.py | 7 +- ...tomer_negative_criterion_service_client.py | 309 ++ ...egative_criterion_service_client_config.py | 2 +- .../v6/services/customer_service_client.py | 423 ++ .../customer_service_client_config.py | 2 +- .../customer_user_access_service_client.py | 300 ++ ...tomer_user_access_service_client_config.py | 36 + .../detail_placement_view_service_client.py | 238 ++ ...il_placement_view_service_client_config.py | 2 +- .../display_keyword_view_service_client.py | 238 ++ ...play_keyword_view_service_client_config.py | 2 +- .../services/distance_view_service_client.py | 238 ++ .../distance_view_service_client_config.py | 2 +- .../domain_category_service_client.py | 238 ++ .../domain_category_service_client_config.py | 2 +- ...rch_ads_search_term_view_service_client.py | 238 ++ ..._search_term_view_service_client_config.py | 2 +- .../google_ads/{v2 => v6}/services/enums.py | 2429 ++++++++--- ...panded_landing_page_view_service_client.py | 238 ++ ...landing_page_view_service_client_config.py | 2 +- .../extension_feed_item_service_client.py | 315 ++ ...tension_feed_item_service_client_config.py | 2 +- .../v6/services/feed_item_service_client.py | 314 ++ .../feed_item_service_client_config.py | 2 +- .../feed_item_set_link_service_client.py | 309 ++ ...eed_item_set_link_service_client_config.py | 36 + .../services/feed_item_set_service_client.py | 310 ++ .../feed_item_set_service_client_config.py | 36 + .../feed_item_target_service_client.py | 303 ++ .../feed_item_target_service_client_config.py | 2 +- .../services/feed_mapping_service_client.py | 310 ++ .../feed_mapping_service_client_config.py | 2 +- .../feed_placeholder_view_service_client.py | 238 ++ ..._placeholder_view_service_client_config.py | 2 +- .../v6/services/feed_service_client.py | 314 ++ .../services/feed_service_client_config.py | 2 +- .../v6/services/gender_view_service_client.py | 238 ++ .../gender_view_service_client_config.py | 2 +- .../geo_target_constant_service_client.py | 318 ++ ...o_target_constant_service_client_config.py | 2 +- .../geographic_view_service_client.py | 238 ++ .../geographic_view_service_client_config.py | 2 +- .../google_ads_field_service_client.py | 301 ++ .../google_ads_field_service_client_config.py | 2 +- .../v6/services/google_ads_service_client.py | 454 ++ .../google_ads_service_client_config.py | 7 +- .../group_placement_view_service_client.py | 238 ++ ...up_placement_view_service_client_config.py | 2 +- .../hotel_group_view_service_client.py | 238 ++ .../hotel_group_view_service_client_config.py | 2 +- .../hotel_performance_view_service_client.py | 237 ++ ..._performance_view_service_client_config.py | 2 +- .../income_range_view_service_client.py | 238 ++ ...income_range_view_service_client_config.py | 31 + .../v6/services/invoice_service_client.py | 239 ++ .../services/invoice_service_client_config.py | 2 +- ...rd_plan_ad_group_keyword_service_client.py | 318 ++ ..._ad_group_keyword_service_client_config.py | 36 + .../keyword_plan_ad_group_service_client.py | 310 ++ ...ord_plan_ad_group_service_client_config.py | 2 +- ...rd_plan_campaign_keyword_service_client.py | 316 ++ ..._campaign_keyword_service_client_config.py | 36 + .../keyword_plan_campaign_service_client.py | 310 ++ ...ord_plan_campaign_service_client_config.py | 2 +- .../keyword_plan_idea_service_client.py | 303 ++ ...keyword_plan_idea_service_client_config.py | 2 +- .../services/keyword_plan_service_client.py | 542 +++ .../keyword_plan_service_client_config.py | 56 + .../services/keyword_view_service_client.py | 238 ++ .../keyword_view_service_client_config.py | 2 +- .../v6/services/label_service_client.py | 313 ++ .../services/label_service_client_config.py | 2 +- .../landing_page_view_service_client.py | 238 ++ ...landing_page_view_service_client_config.py | 2 +- .../language_constant_service_client.py | 237 ++ ...language_constant_service_client_config.py | 2 +- .../services/location_view_service_client.py | 238 ++ .../location_view_service_client_config.py | 2 +- .../managed_placement_view_service_client.py | 238 ++ ...ed_placement_view_service_client_config.py | 2 +- .../v6/services/media_file_service_client.py | 313 ++ .../media_file_service_client_config.py | 2 +- .../merchant_center_link_service_client.py | 358 ++ ...chant_center_link_service_client_config.py | 2 +- ...le_app_category_constant_service_client.py | 237 ++ ...category_constant_service_client_config.py | 2 +- .../mobile_device_constant_service_client.py | 237 ++ ...e_device_constant_service_client_config.py | 2 +- .../offline_user_data_job_service_client.py | 437 ++ ...ine_user_data_job_service_client_config.py | 46 + ..._system_version_constant_service_client.py | 237 ++ ..._version_constant_service_client_config.py | 2 +- ...organic_search_term_view_service_client.py | 238 ++ ..._search_term_view_service_client_config.py | 2 +- .../parental_status_view_service_client.py | 238 ++ ...ental_status_view_service_client_config.py | 2 +- .../payments_account_service_client.py | 232 ++ .../payments_account_service_client_config.py | 2 +- ...idding_category_constant_service_client.py | 237 ++ ...category_constant_service_client_config.py | 2 +- .../product_group_view_service_client.py | 238 ++ ...roduct_group_view_service_client_config.py | 2 +- .../v6/services/reach_plan_service_client.py | 472 +++ .../reach_plan_service_client_config.py | 2 +- .../services/recommendation_service_client.py | 376 ++ .../recommendation_service_client_config.py | 2 +- .../remarketing_action_service_client.py | 309 ++ ...emarketing_action_service_client_config.py | 2 +- .../search_term_view_service_client.py | 238 ++ .../search_term_view_service_client_config.py | 2 +- .../shared_criterion_service_client.py | 309 ++ .../shared_criterion_service_client_config.py | 2 +- .../v6/services/shared_set_service_client.py | 313 ++ .../shared_set_service_client_config.py | 2 +- ...hopping_performance_view_service_client.py | 237 ++ ..._performance_view_service_client_config.py | 2 +- ...party_app_analytics_link_service_client.py | 297 ++ ...pp_analytics_link_service_client_config.py | 36 + .../services/topic_constant_service_client.py | 237 ++ .../topic_constant_service_client_config.py | 2 +- .../v6/services/topic_view_service_client.py | 238 ++ .../topic_view_service_client_config.py | 2 +- .../services/transports/__init__.py | 0 ..._budget_proposal_service_grpc_transport.py | 10 +- .../account_budget_service_grpc_transport.py | 10 +- .../account_link_service_grpc_transport.py | 156 + ...up_ad_asset_view_service_grpc_transport.py | 10 +- ...d_group_ad_label_service_grpc_transport.py | 10 +- .../ad_group_ad_service_grpc_transport.py | 10 +- ...up_audience_view_service_grpc_transport.py | 10 +- ...oup_bid_modifier_service_grpc_transport.py | 10 +- ..._criterion_label_service_grpc_transport.py | 10 +- ..._group_criterion_service_grpc_transport.py | 10 +- ...erion_simulation_service_grpc_transport.py | 10 +- ...xtension_setting_service_grpc_transport.py | 10 +- .../ad_group_feed_service_grpc_transport.py | 10 +- .../ad_group_label_service_grpc_transport.py | 10 +- .../ad_group_service_grpc_transport.py | 10 +- ...group_simulation_service_grpc_transport.py | 10 +- .../ad_parameter_service_grpc_transport.py | 10 +- ...ad_schedule_view_service_grpc_transport.py | 10 +- .../transports/ad_service_grpc_transport.py | 13 +- .../age_range_view_service_grpc_transport.py | 10 +- .../asset_service_grpc_transport.py | 10 +- .../batch_job_service_grpc_transport.py | 189 + ...bidding_strategy_service_grpc_transport.py | 10 +- .../billing_setup_service_grpc_transport.py | 10 +- .../campaign_asset_service_grpc_transport.py | 140 + ...gn_audience_view_service_grpc_transport.py | 10 +- ...ign_bid_modifier_service_grpc_transport.py | 10 +- .../campaign_budget_service_grpc_transport.py | 10 +- ...mpaign_criterion_service_grpc_transport.py | 10 +- ...erion_simulation_service_grpc_transport.py | 10 +- .../campaign_draft_service_grpc_transport.py | 10 +- ...paign_experiment_service_grpc_transport.py | 10 +- ...xtension_setting_service_grpc_transport.py | 10 +- .../campaign_feed_service_grpc_transport.py | 10 +- .../campaign_label_service_grpc_transport.py | 10 +- .../campaign_service_grpc_transport.py | 10 +- ...paign_shared_set_service_grpc_transport.py | 10 +- ...carrier_constant_service_grpc_transport.py | 10 +- .../change_status_service_grpc_transport.py | 10 +- .../click_view_service_grpc_transport.py | 10 +- ...ombined_audience_service_grpc_transport.py | 127 + ...onversion_action_service_grpc_transport.py | 10 +- ...djustment_upload_service_grpc_transport.py | 10 +- ...onversion_upload_service_grpc_transport.py | 10 +- ...urrency_constant_service_grpc_transport.py | 127 + .../custom_audience_service_grpc_transport.py | 140 + .../custom_interest_service_grpc_transport.py | 10 +- ...omer_client_link_service_grpc_transport.py | 10 +- .../customer_client_service_grpc_transport.py | 10 +- ...xtension_setting_service_grpc_transport.py | 10 +- .../customer_feed_service_grpc_transport.py | 10 +- .../customer_label_service_grpc_transport.py | 10 +- ...mer_manager_link_service_grpc_transport.py | 29 +- ...gative_criterion_service_grpc_transport.py | 10 +- .../customer_service_grpc_transport.py | 10 +- ...omer_user_access_service_grpc_transport.py | 141 + ...l_placement_view_service_grpc_transport.py | 10 +- ...lay_keyword_view_service_grpc_transport.py | 10 +- .../distance_view_service_grpc_transport.py | 10 +- .../domain_category_service_grpc_transport.py | 10 +- ...search_term_view_service_grpc_transport.py | 10 +- ...anding_page_view_service_grpc_transport.py | 10 +- ...ension_feed_item_service_grpc_transport.py | 10 +- .../feed_item_service_grpc_transport.py | 10 +- ...ed_item_set_link_service_grpc_transport.py | 140 + .../feed_item_set_service_grpc_transport.py | 141 + ...feed_item_target_service_grpc_transport.py | 10 +- .../feed_mapping_service_grpc_transport.py | 10 +- ...placeholder_view_service_grpc_transport.py | 10 +- .../transports/feed_service_grpc_transport.py | 10 +- .../gender_view_service_grpc_transport.py | 10 +- ..._target_constant_service_grpc_transport.py | 10 +- .../geographic_view_service_grpc_transport.py | 10 +- ...google_ads_field_service_grpc_transport.py | 10 +- .../google_ads_service_grpc_transport.py | 23 +- ...p_placement_view_service_grpc_transport.py | 10 +- ...hotel_group_view_service_grpc_transport.py | 10 +- ...performance_view_service_grpc_transport.py | 10 +- ...ncome_range_view_service_grpc_transport.py | 127 + .../invoice_service_grpc_transport.py | 10 +- ...ad_group_keyword_service_grpc_transport.py | 141 + ...rd_plan_ad_group_service_grpc_transport.py | 10 +- ...campaign_keyword_service_grpc_transport.py | 141 + ...rd_plan_campaign_service_grpc_transport.py | 10 +- ...eyword_plan_idea_service_grpc_transport.py | 10 +- .../keyword_plan_service_grpc_transport.py | 47 +- .../keyword_view_service_grpc_transport.py | 10 +- .../label_service_grpc_transport.py | 10 +- ...anding_page_view_service_grpc_transport.py | 10 +- ...anguage_constant_service_grpc_transport.py | 10 +- .../location_view_service_grpc_transport.py | 10 +- ...d_placement_view_service_grpc_transport.py | 10 +- .../media_file_service_grpc_transport.py | 10 +- ...hant_center_link_service_grpc_transport.py | 10 +- ...ategory_constant_service_grpc_transport.py | 10 +- ..._device_constant_service_grpc_transport.py | 10 +- ...ne_user_data_job_service_grpc_transport.py | 174 + ...version_constant_service_grpc_transport.py | 10 +- ...search_term_view_service_grpc_transport.py | 10 +- ...ntal_status_view_service_grpc_transport.py | 10 +- ...payments_account_service_grpc_transport.py | 10 +- ...ategory_constant_service_grpc_transport.py | 10 +- ...oduct_group_view_service_grpc_transport.py | 10 +- .../reach_plan_service_grpc_transport.py | 10 +- .../recommendation_service_grpc_transport.py | 10 +- ...marketing_action_service_grpc_transport.py | 10 +- ...search_term_view_service_grpc_transport.py | 10 +- ...shared_criterion_service_grpc_transport.py | 10 +- .../shared_set_service_grpc_transport.py | 10 +- ...performance_view_service_grpc_transport.py | 10 +- ...p_analytics_link_service_grpc_transport.py | 141 + .../topic_constant_service_grpc_transport.py | 10 +- .../topic_view_service_grpc_transport.py | 10 +- .../user_data_service_grpc_transport.py | 127 + .../user_interest_service_grpc_transport.py | 10 +- .../user_list_service_grpc_transport.py | 10 +- ...er_location_view_service_grpc_transport.py | 10 +- .../video_service_grpc_transport.py | 10 +- .../v6/services/user_data_service_client.py | 249 ++ .../user_data_service_client_config.py | 31 + .../services/user_interest_service_client.py | 238 ++ .../user_interest_service_client_config.py | 2 +- .../v6/services/user_list_service_client.py | 309 ++ .../user_list_service_client_config.py | 2 +- .../user_location_view_service_client.py | 238 ++ ...ser_location_view_service_client_config.py | 2 +- .../v6/services/video_service_client.py | 238 ++ .../services/video_service_client_config.py | 2 +- google/ads/google_ads/v6/types.py | 1954 +++++++++ setup.py | 4 +- .../interceptors/logging_interceptor_test.py | 240 +- 2943 files changed, 205156 insertions(+), 170682 deletions(-) create mode 100644 examples/account_management/reject_merchant_center_link.py create mode 100755 examples/account_management/update_user_access.py create mode 100644 examples/advanced_operations/add_display_upload_ad.py rename examples/authentication/{authenticate_in_standalone_application.py => authenticate_in_desktop_application.py} (100%) create mode 100755 examples/billing/add_billing_setup.py create mode 100644 examples/extensions/add_affiliate_location_extensions.py create mode 100644 examples/extensions/add_google_my_business_location_extensions.py create mode 100755 examples/extensions/add_lead_form_extension.py create mode 100644 examples/feeds/remove_flights_feed_item_attribute_value.py create mode 100644 examples/hotel_ads/add_hotel_listing_group_tree.py create mode 100644 examples/remarketing/add_combined_rule_user_list.py create mode 100644 examples/remarketing/add_conversion_based_user_list.py create mode 100644 examples/remarketing/add_expression_rule_user_list.py create mode 100644 examples/remarketing/add_logical_user_list.py create mode 100644 examples/remarketing/update_audience_target_restriction.py create mode 100644 examples/remarketing/upload_store_sales_transactions.py create mode 100644 examples/shopping_ads/add_shopping_product_listing_group_tree.py create mode 100644 examples/shopping_ads/add_shopping_smart_ad.py delete mode 100644 google/ads/google_ads/v2/__init__.py delete mode 100644 google/ads/google_ads/v2/proto/common/ad_asset_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/ad_asset_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/ad_type_infos_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/ad_type_infos_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/asset_types_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/asset_types_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/bidding_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/bidding_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/click_location_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/click_location_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/criteria_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/criteria_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/criterion_category_availability_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/criterion_category_availability_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/custom_parameter_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/custom_parameter_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/dates_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/dates_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/explorer_auto_optimizer_setting_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/extensions_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/extensions_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/feed_common_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/feed_common_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/final_app_url_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/final_app_url_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/frequency_cap_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/frequency_cap_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/keyword_plan_common_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/keyword_plan_common_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/matching_function_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/matching_function_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/metrics_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/metrics_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/policy_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/policy_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/real_time_bidding_setting_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/real_time_bidding_setting_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/segments_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/segments_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/simulation_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/simulation_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/tag_snippet_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/tag_snippet_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/targeting_setting_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/targeting_setting_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/text_label_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/text_label_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/url_collection_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/url_collection_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/user_lists_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/user_lists_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/common/value_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/common/value_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/access_reason_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/access_reason_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/access_role_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/access_role_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/account_budget_proposal_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/account_budget_proposal_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/account_budget_proposal_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/account_budget_proposal_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/account_budget_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/account_budget_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_customizer_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_ad_rotation_mode_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_ad_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_ad_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_criterion_approval_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_criterion_approval_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_criterion_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_criterion_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_group_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_network_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_network_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_serving_optimization_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_serving_optimization_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_strength_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_strength_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/ad_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/advertising_channel_sub_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/advertising_channel_sub_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/advertising_channel_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/advertising_channel_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/affiliate_location_feed_relationship_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/affiliate_location_feed_relationship_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/affiliate_location_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/affiliate_location_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/age_range_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/age_range_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_campaign_app_store_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_campaign_app_store_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_campaign_bidding_strategy_goal_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_campaign_bidding_strategy_goal_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_payment_model_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_payment_model_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_store_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_store_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_url_operating_system_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/app_url_operating_system_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/asset_field_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/asset_field_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/asset_performance_label_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/asset_performance_label_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/asset_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/asset_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/attribution_model_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/attribution_model_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/bid_modifier_source_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/bid_modifier_source_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/bidding_source_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/bidding_source_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/bidding_strategy_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/bidding_strategy_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/bidding_strategy_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/bidding_strategy_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/billing_setup_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/billing_setup_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/brand_safety_suitability_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/brand_safety_suitability_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/budget_delivery_method_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/budget_delivery_method_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/budget_period_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/budget_period_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/budget_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/budget_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/budget_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/budget_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/call_conversion_reporting_state_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/call_conversion_reporting_state_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/call_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/call_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/callout_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/callout_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_criterion_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_criterion_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_draft_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_draft_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_experiment_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_experiment_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_experiment_traffic_split_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_experiment_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_experiment_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_serving_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_serving_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_shared_set_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_shared_set_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/campaign_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/change_status_operation_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/change_status_operation_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/change_status_resource_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/change_status_resource_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/click_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/click_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/content_label_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/content_label_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_action_category_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_action_category_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_action_counting_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_action_counting_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_action_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_action_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_action_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_action_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_adjustment_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_adjustment_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_attribution_event_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_attribution_event_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_lag_bucket_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_lag_bucket_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_or_adjustment_lag_bucket_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/conversion_or_adjustment_lag_bucket_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/criterion_category_channel_availability_mode_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/criterion_category_channel_availability_mode_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/criterion_category_locale_availability_mode_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/criterion_category_locale_availability_mode_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/criterion_system_serving_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/criterion_system_serving_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/criterion_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/criterion_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/custom_interest_member_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/custom_interest_member_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/custom_interest_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/custom_interest_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/custom_interest_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/custom_interest_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/custom_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/custom_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/customer_match_upload_key_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/customer_match_upload_key_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/data_driven_model_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/data_driven_model_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/day_of_week_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/day_of_week_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/device_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/device_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/display_ad_format_setting_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/display_ad_format_setting_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/display_upload_product_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/display_upload_product_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/distance_bucket_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/distance_bucket_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/dsa_page_feed_criterion_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/education_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/education_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/extension_setting_device_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/extension_setting_device_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/extension_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/extension_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/external_conversion_source_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/external_conversion_source_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_attribute_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_attribute_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_quality_approval_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_quality_approval_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_quality_disapproval_reason_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_target_device_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_target_device_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_target_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_target_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_validation_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_item_validation_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_link_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_link_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_mapping_criterion_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_mapping_criterion_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_mapping_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_mapping_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_origin_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_origin_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/feed_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/flight_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/flight_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/frequency_cap_event_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/frequency_cap_event_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/frequency_cap_level_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/frequency_cap_level_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/frequency_cap_time_unit_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/frequency_cap_time_unit_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/gender_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/gender_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/geo_target_constant_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/geo_target_constant_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/geo_targeting_restriction_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/geo_targeting_restriction_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/geo_targeting_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/geo_targeting_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/google_ads_field_category_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/google_ads_field_category_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/google_ads_field_data_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/google_ads_field_data_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/hotel_date_selection_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/hotel_date_selection_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/hotel_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/hotel_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/hotel_price_bucket_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/hotel_price_bucket_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/hotel_rate_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/hotel_rate_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/income_range_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/income_range_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/interaction_event_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/interaction_event_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/interaction_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/interaction_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/invoice_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/invoice_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/job_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/job_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/keyword_match_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/keyword_match_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/keyword_plan_competition_level_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/keyword_plan_competition_level_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/keyword_plan_forecast_interval_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/keyword_plan_forecast_interval_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/keyword_plan_network_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/keyword_plan_network_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/label_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/label_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/legacy_app_install_ad_app_store_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/listing_custom_attribute_index_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/listing_custom_attribute_index_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/listing_group_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/listing_group_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/local_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/local_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/location_extension_targeting_criterion_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/location_extension_targeting_criterion_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/location_group_radius_units_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/location_group_radius_units_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/location_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/location_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/manager_link_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/manager_link_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/matching_function_context_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/matching_function_context_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/matching_function_operator_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/matching_function_operator_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/media_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/media_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/merchant_center_link_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/merchant_center_link_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/message_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/message_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/mime_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/mime_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/minute_of_hour_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/minute_of_hour_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/mobile_device_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/mobile_device_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/month_of_year_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/month_of_year_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/mutate_job_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/mutate_job_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/negative_geo_target_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/negative_geo_target_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/operating_system_version_operator_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/operating_system_version_operator_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/page_one_promoted_strategy_goal_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/page_one_promoted_strategy_goal_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/parental_status_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/parental_status_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/payment_mode_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/payment_mode_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/placeholder_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/placeholder_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/placement_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/placement_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_approval_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_approval_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_review_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_review_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_topic_entry_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_topic_entry_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/positive_geo_target_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/positive_geo_target_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/preferred_content_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/preferred_content_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/price_extension_price_qualifier_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/price_extension_price_qualifier_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/price_extension_price_unit_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/price_extension_price_unit_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/price_extension_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/price_extension_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/price_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/price_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_bidding_category_level_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_bidding_category_level_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_bidding_category_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_bidding_category_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_channel_exclusivity_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_channel_exclusivity_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_channel_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_channel_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_condition_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_condition_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_type_level_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/product_type_level_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/promotion_extension_discount_modifier_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/promotion_extension_discount_modifier_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/promotion_extension_occasion_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/promotion_extension_occasion_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/promotion_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/promotion_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/proximity_radius_units_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/proximity_radius_units_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/quality_score_bucket_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/quality_score_bucket_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/reach_plan_ad_length_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/reach_plan_ad_length_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/reach_plan_age_range_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/reach_plan_age_range_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/real_estate_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/real_estate_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/recommendation_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/recommendation_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/search_engine_results_page_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/search_engine_results_page_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/search_term_match_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/search_term_match_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/search_term_targeting_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/search_term_targeting_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/served_asset_field_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/served_asset_field_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/shared_set_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/shared_set_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/shared_set_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/shared_set_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/simulation_modification_method_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/simulation_modification_method_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/simulation_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/simulation_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/sitelink_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/sitelink_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/slot_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/slot_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/spending_limit_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/spending_limit_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/structured_snippet_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/structured_snippet_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/system_managed_entity_source_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/system_managed_entity_source_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/target_cpa_opt_in_recommendation_goal_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/target_cpa_opt_in_recommendation_goal_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/target_impression_share_location_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/target_impression_share_location_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/targeting_dimension_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/targeting_dimension_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/time_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/time_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/tracking_code_page_format_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/tracking_code_page_format_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/tracking_code_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/tracking_code_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/travel_placeholder_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/travel_placeholder_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_interest_taxonomy_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_interest_taxonomy_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_access_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_access_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_closing_reason_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_closing_reason_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_combined_rule_operator_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_combined_rule_operator_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_crm_data_source_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_crm_data_source_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_date_rule_item_operator_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_date_rule_item_operator_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_logical_rule_operator_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_logical_rule_operator_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_membership_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_membership_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_number_rule_item_operator_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_number_rule_item_operator_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_prepopulation_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_prepopulation_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_rule_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_rule_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_size_range_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_size_range_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_string_rule_item_operator_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_type_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/user_list_type_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/vanity_pharma_display_url_mode_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/vanity_pharma_text_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/vanity_pharma_text_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/webpage_condition_operand_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/webpage_condition_operand_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/enums/webpage_condition_operator_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/enums/webpage_condition_operator_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/access_invitation_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/access_invitation_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/account_budget_proposal_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/account_budget_proposal_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_customizer_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_customizer_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_ad_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_ad_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_bid_modifier_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_bid_modifier_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_criterion_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_criterion_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_feed_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_group_feed_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_parameter_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_parameter_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_sharing_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/ad_sharing_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/adx_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/adx_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/asset_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/asset_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/authentication_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/authentication_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/authorization_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/authorization_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/bidding_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/bidding_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/bidding_strategy_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/bidding_strategy_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/billing_setup_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/billing_setup_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_budget_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_budget_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_criterion_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_criterion_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_draft_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_draft_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_experiment_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_experiment_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_feed_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_feed_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_shared_set_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/campaign_shared_set_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/change_status_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/change_status_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/collection_size_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/collection_size_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/context_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/context_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/conversion_action_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/conversion_action_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/conversion_adjustment_upload_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/conversion_upload_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/conversion_upload_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/country_code_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/country_code_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/criterion_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/criterion_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/currency_code_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/currency_code_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/custom_interest_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/custom_interest_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/customer_client_link_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/customer_client_link_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/customer_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/customer_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/customer_feed_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/customer_feed_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/customer_manager_link_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/customer_manager_link_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/database_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/database_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/date_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/date_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/date_range_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/date_range_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/distinct_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/distinct_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/enum_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/enum_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/errors_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/errors_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/extension_feed_item_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/extension_feed_item_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/extension_setting_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/extension_setting_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_attribute_reference_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_attribute_reference_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_item_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_item_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_item_target_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_item_target_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_item_validation_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_item_validation_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_mapping_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/feed_mapping_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/field_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/field_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/field_mask_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/field_mask_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/function_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/function_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/function_parsing_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/function_parsing_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/geo_target_constant_suggestion_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/header_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/header_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/id_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/id_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/image_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/image_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/internal_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/internal_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/invoice_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/invoice_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_ad_group_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_campaign_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_campaign_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_idea_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_idea_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_keyword_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_keyword_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_negative_keyword_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/keyword_plan_negative_keyword_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/label_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/label_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/language_code_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/language_code_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/list_operation_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/list_operation_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/manager_link_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/manager_link_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/media_bundle_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/media_bundle_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/media_file_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/media_file_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/media_upload_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/media_upload_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/multiplier_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/multiplier_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/mutate_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/mutate_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/mutate_job_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/mutate_job_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/new_resource_creation_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/new_resource_creation_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/not_empty_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/not_empty_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/not_whitelisted_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/not_whitelisted_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/null_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/null_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/operation_access_denied_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/operation_access_denied_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/operator_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/operator_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/partial_failure_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/partial_failure_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/policy_finding_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/policy_finding_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/policy_validation_parameter_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/policy_validation_parameter_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/policy_violation_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/policy_violation_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/query_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/query_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/quota_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/quota_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/range_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/range_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/reach_plan_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/reach_plan_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/recommendation_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/recommendation_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/region_code_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/region_code_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/request_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/request_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/resource_access_denied_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/resource_access_denied_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/resource_count_limit_exceeded_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/resource_count_limit_exceeded_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/setting_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/setting_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/shared_criterion_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/shared_criterion_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/shared_set_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/shared_set_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/size_limit_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/size_limit_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/string_format_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/string_format_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/string_length_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/string_length_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/url_field_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/url_field_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/user_list_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/user_list_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/errors/youtube_video_registration_error_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/errors/youtube_video_registration_error_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/account_budget_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/account_budget_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/account_budget_proposal_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/account_budget_proposal_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_ad_asset_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_ad_asset_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_ad_label_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_ad_label_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_ad_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_ad_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_audience_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_audience_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_bid_modifier_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_bid_modifier_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_criterion_label_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_criterion_label_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_criterion_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_criterion_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_criterion_simulation_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_criterion_simulation_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_extension_setting_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_extension_setting_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_feed_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_feed_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_label_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_label_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_simulation_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_group_simulation_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_parameter_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_parameter_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_schedule_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/ad_schedule_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/age_range_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/age_range_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/asset_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/asset_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/bidding_strategy_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/bidding_strategy_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/billing_setup_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/billing_setup_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_audience_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_audience_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_bid_modifier_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_bid_modifier_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_budget_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_budget_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_criterion_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_criterion_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_criterion_simulation_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_criterion_simulation_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_draft_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_draft_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_experiment_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_experiment_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_extension_setting_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_extension_setting_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_feed_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_feed_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_label_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_label_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_shared_set_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/campaign_shared_set_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/carrier_constant_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/carrier_constant_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/change_status_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/change_status_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/click_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/click_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/conversion_action_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/conversion_action_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/custom_interest_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/custom_interest_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_client_link_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_client_link_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_client_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_client_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_extension_setting_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_extension_setting_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_feed_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_feed_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_label_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_label_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_manager_link_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_manager_link_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_negative_criterion_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_negative_criterion_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/customer_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/detail_placement_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/detail_placement_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/display_keyword_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/display_keyword_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/distance_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/distance_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/domain_category_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/domain_category_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/dynamic_search_ads_search_term_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/expanded_landing_page_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/expanded_landing_page_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/extension_feed_item_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/extension_feed_item_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_item_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_item_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_item_target_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_item_target_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_mapping_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_mapping_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_placeholder_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/feed_placeholder_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/gender_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/gender_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/geo_target_constant_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/geo_target_constant_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/geographic_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/geographic_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/google_ads_field_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/google_ads_field_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/group_placement_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/group_placement_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/hotel_group_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/hotel_group_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/hotel_performance_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/hotel_performance_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/invoice_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/invoice_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_ad_group_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_ad_group_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_campaign_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_campaign_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_keyword_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_keyword_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_negative_keyword_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_negative_keyword_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_plan_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/keyword_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/label_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/label_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/landing_page_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/landing_page_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/language_constant_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/language_constant_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/location_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/location_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/managed_placement_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/managed_placement_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/media_file_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/media_file_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/merchant_center_link_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/merchant_center_link_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/mobile_app_category_constant_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/mobile_app_category_constant_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/mobile_device_constant_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/mobile_device_constant_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/mutate_job_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/mutate_job_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/operating_system_version_constant_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/operating_system_version_constant_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/paid_organic_search_term_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/paid_organic_search_term_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/parental_status_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/parental_status_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/payments_account_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/payments_account_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/product_bidding_category_constant_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/product_bidding_category_constant_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/product_group_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/product_group_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/recommendation_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/recommendation_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/remarketing_action_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/remarketing_action_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/search_term_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/search_term_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/shared_criterion_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/shared_criterion_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/shared_set_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/shared_set_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/shopping_performance_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/shopping_performance_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/topic_constant_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/topic_constant_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/topic_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/topic_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/user_interest_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/user_interest_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/user_list_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/user_list_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/user_location_view_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/user_location_view_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/resources/video_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/resources/video_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/account_budget_proposal_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/account_budget_proposal_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/account_budget_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/account_budget_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_ad_asset_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_ad_label_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_ad_label_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_ad_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_ad_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_audience_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_audience_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_bid_modifier_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_bid_modifier_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_criterion_label_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_criterion_label_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_criterion_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_criterion_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_criterion_simulation_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_extension_setting_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_extension_setting_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_feed_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_feed_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_label_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_label_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_simulation_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_group_simulation_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_parameter_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_parameter_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_schedule_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_schedule_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/ad_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/age_range_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/age_range_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/asset_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/asset_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/bidding_strategy_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/bidding_strategy_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/billing_setup_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/billing_setup_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_audience_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_audience_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_bid_modifier_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_bid_modifier_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_budget_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_budget_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_criterion_simulation_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_criterion_simulation_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_draft_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_draft_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_experiment_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_experiment_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_extension_setting_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_extension_setting_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_feed_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_feed_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_label_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_label_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_shared_set_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/campaign_shared_set_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/carrier_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/carrier_constant_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/change_status_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/change_status_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/click_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/click_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/conversion_action_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/conversion_action_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/conversion_adjustment_upload_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/conversion_adjustment_upload_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/conversion_upload_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/conversion_upload_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/custom_interest_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/custom_interest_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_client_link_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_client_link_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_client_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_client_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_extension_setting_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_extension_setting_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_feed_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_feed_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_label_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_label_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_manager_link_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_manager_link_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_negative_criterion_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_negative_criterion_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/customer_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/detail_placement_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/detail_placement_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/display_keyword_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/display_keyword_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/distance_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/distance_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/domain_category_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/domain_category_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/dynamic_search_ads_search_term_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/expanded_landing_page_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/expanded_landing_page_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/extension_feed_item_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/extension_feed_item_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_item_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_item_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_item_target_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_item_target_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_mapping_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_mapping_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_placeholder_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_placeholder_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/feed_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/gender_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/gender_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/geo_target_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/geo_target_constant_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/geographic_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/geographic_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/google_ads_field_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/google_ads_field_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/google_ads_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/google_ads_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/group_placement_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/group_placement_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/hotel_group_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/hotel_group_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/hotel_performance_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/hotel_performance_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/invoice_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/invoice_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_ad_group_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_ad_group_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_campaign_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_campaign_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_idea_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_idea_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_keyword_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_keyword_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_negative_keyword_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_negative_keyword_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/keyword_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/label_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/label_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/landing_page_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/landing_page_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/language_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/language_constant_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/location_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/location_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/managed_placement_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/managed_placement_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/media_file_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/media_file_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/merchant_center_link_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/merchant_center_link_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/mobile_app_category_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/mobile_app_category_constant_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/mobile_device_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/mobile_device_constant_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/mutate_job_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/mutate_job_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/operating_system_version_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/operating_system_version_constant_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/paid_organic_search_term_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/paid_organic_search_term_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/parental_status_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/parental_status_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/payments_account_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/payments_account_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/product_bidding_category_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/product_bidding_category_constant_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/product_group_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/product_group_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/reach_plan_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/reach_plan_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/recommendation_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/recommendation_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/remarketing_action_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/remarketing_action_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/search_term_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/search_term_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/shared_criterion_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/shared_criterion_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/shared_set_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/shared_set_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/shopping_performance_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/shopping_performance_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/topic_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/topic_constant_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/topic_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/topic_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/user_interest_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/user_interest_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/user_list_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/user_list_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/user_location_view_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/user_location_view_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/proto/services/video_service_pb2.py delete mode 100644 google/ads/google_ads/v2/proto/services/video_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v2/services/ad_group_label_service_client.py delete mode 100644 google/ads/google_ads/v2/services/ad_group_service_client.py delete mode 100644 google/ads/google_ads/v2/services/ad_group_simulation_service_client.py delete mode 100644 google/ads/google_ads/v2/services/ad_parameter_service_client.py delete mode 100644 google/ads/google_ads/v2/services/ad_schedule_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/ad_service_client.py delete mode 100644 google/ads/google_ads/v2/services/age_range_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/asset_service_client.py delete mode 100644 google/ads/google_ads/v2/services/bidding_strategy_service_client.py delete mode 100644 google/ads/google_ads/v2/services/billing_setup_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_audience_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_bid_modifier_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_budget_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_criterion_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_criterion_simulation_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_draft_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_experiment_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_extension_setting_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_feed_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_label_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_service_client.py delete mode 100644 google/ads/google_ads/v2/services/campaign_shared_set_service_client.py delete mode 100644 google/ads/google_ads/v2/services/carrier_constant_service_client.py delete mode 100644 google/ads/google_ads/v2/services/change_status_service_client.py delete mode 100644 google/ads/google_ads/v2/services/click_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/conversion_action_service_client.py delete mode 100644 google/ads/google_ads/v2/services/conversion_adjustment_upload_service_client.py delete mode 100644 google/ads/google_ads/v2/services/conversion_upload_service_client.py delete mode 100644 google/ads/google_ads/v2/services/custom_interest_service_client.py delete mode 100644 google/ads/google_ads/v2/services/customer_client_link_service_client.py delete mode 100644 google/ads/google_ads/v2/services/customer_client_service_client.py delete mode 100644 google/ads/google_ads/v2/services/customer_extension_setting_service_client.py delete mode 100644 google/ads/google_ads/v2/services/customer_feed_service_client.py delete mode 100644 google/ads/google_ads/v2/services/customer_label_service_client.py delete mode 100644 google/ads/google_ads/v2/services/customer_manager_link_service_client.py delete mode 100644 google/ads/google_ads/v2/services/customer_negative_criterion_service_client.py delete mode 100644 google/ads/google_ads/v2/services/customer_service_client.py delete mode 100644 google/ads/google_ads/v2/services/detail_placement_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/display_keyword_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/distance_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/domain_category_service_client.py delete mode 100644 google/ads/google_ads/v2/services/dynamic_search_ads_search_term_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/expanded_landing_page_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/extension_feed_item_service_client.py delete mode 100644 google/ads/google_ads/v2/services/feed_item_service_client.py delete mode 100644 google/ads/google_ads/v2/services/feed_item_target_service_client.py delete mode 100644 google/ads/google_ads/v2/services/feed_mapping_service_client.py delete mode 100644 google/ads/google_ads/v2/services/feed_placeholder_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/feed_service_client.py delete mode 100644 google/ads/google_ads/v2/services/gender_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/geo_target_constant_service_client.py delete mode 100644 google/ads/google_ads/v2/services/geographic_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/google_ads_field_service_client.py delete mode 100644 google/ads/google_ads/v2/services/google_ads_service_client.py delete mode 100644 google/ads/google_ads/v2/services/group_placement_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/hotel_group_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/hotel_performance_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/invoice_service_client.py delete mode 100644 google/ads/google_ads/v2/services/keyword_plan_ad_group_service_client.py delete mode 100644 google/ads/google_ads/v2/services/keyword_plan_campaign_service_client.py delete mode 100644 google/ads/google_ads/v2/services/keyword_plan_idea_service_client.py delete mode 100644 google/ads/google_ads/v2/services/keyword_plan_keyword_service_client.py delete mode 100644 google/ads/google_ads/v2/services/keyword_plan_keyword_service_client_config.py delete mode 100644 google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_client.py delete mode 100644 google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_client_config.py delete mode 100644 google/ads/google_ads/v2/services/keyword_plan_service_client.py delete mode 100644 google/ads/google_ads/v2/services/keyword_plan_service_client_config.py delete mode 100644 google/ads/google_ads/v2/services/keyword_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/label_service_client.py delete mode 100644 google/ads/google_ads/v2/services/landing_page_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/language_constant_service_client.py delete mode 100644 google/ads/google_ads/v2/services/location_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/managed_placement_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/media_file_service_client.py delete mode 100644 google/ads/google_ads/v2/services/merchant_center_link_service_client.py delete mode 100644 google/ads/google_ads/v2/services/mobile_app_category_constant_service_client.py delete mode 100644 google/ads/google_ads/v2/services/mobile_device_constant_service_client.py delete mode 100644 google/ads/google_ads/v2/services/mutate_job_service_client.py delete mode 100644 google/ads/google_ads/v2/services/mutate_job_service_client_config.py delete mode 100644 google/ads/google_ads/v2/services/operating_system_version_constant_service_client.py delete mode 100644 google/ads/google_ads/v2/services/paid_organic_search_term_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/parental_status_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/payments_account_service_client.py delete mode 100644 google/ads/google_ads/v2/services/product_bidding_category_constant_service_client.py delete mode 100644 google/ads/google_ads/v2/services/product_group_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/reach_plan_service_client.py delete mode 100644 google/ads/google_ads/v2/services/recommendation_service_client.py delete mode 100644 google/ads/google_ads/v2/services/remarketing_action_service_client.py delete mode 100644 google/ads/google_ads/v2/services/search_term_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/shared_criterion_service_client.py delete mode 100644 google/ads/google_ads/v2/services/shared_set_service_client.py delete mode 100644 google/ads/google_ads/v2/services/shopping_performance_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/topic_constant_service_client.py delete mode 100644 google/ads/google_ads/v2/services/topic_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/transports/keyword_plan_keyword_service_grpc_transport.py delete mode 100644 google/ads/google_ads/v2/services/transports/keyword_plan_negative_keyword_service_grpc_transport.py delete mode 100644 google/ads/google_ads/v2/services/transports/mutate_job_service_grpc_transport.py delete mode 100644 google/ads/google_ads/v2/services/user_interest_service_client.py delete mode 100644 google/ads/google_ads/v2/services/user_list_service_client.py delete mode 100644 google/ads/google_ads/v2/services/user_location_view_service_client.py delete mode 100644 google/ads/google_ads/v2/services/video_service_client.py delete mode 100644 google/ads/google_ads/v2/types.py create mode 100644 google/ads/google_ads/v6/__init__.py rename google/ads/google_ads/{v2 => v6}/proto/__init__.py (100%) rename google/ads/google_ads/{v2 => v6}/proto/common/__init__.py (100%) create mode 100644 google/ads/google_ads/v6/proto/common/ad_asset_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/ad_asset_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/ad_type_infos_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/ad_type_infos_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/asset_policy_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/asset_policy_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/asset_types_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/asset_types_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/bidding_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/bidding_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/click_location_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/click_location_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/criteria_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/criteria_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/criterion_category_availability_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/criterion_category_availability_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/custom_parameter_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/custom_parameter_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/dates_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/dates_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/explorer_auto_optimizer_setting_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/extensions_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/extensions_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/feed_common_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/feed_common_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/feed_item_set_filter_type_infos_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/feed_item_set_filter_type_infos_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/final_app_url_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/final_app_url_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/frequency_cap_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/frequency_cap_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/keyword_plan_common_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/keyword_plan_common_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/matching_function_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/matching_function_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/metrics_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/metrics_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/offline_user_data_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/offline_user_data_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/policy_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/policy_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/real_time_bidding_setting_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/real_time_bidding_setting_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/segments_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/segments_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/simulation_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/simulation_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/tag_snippet_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/tag_snippet_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/targeting_setting_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/targeting_setting_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/text_label_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/text_label_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/url_collection_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/url_collection_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/user_lists_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/user_lists_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/common/value_pb2.py create mode 100644 google/ads/google_ads/v6/proto/common/value_pb2_grpc.py rename google/ads/google_ads/{v2 => v6}/proto/enums/__init__.py (100%) create mode 100644 google/ads/google_ads/v6/proto/enums/access_reason_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/access_reason_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/access_role_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/access_role_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/account_budget_proposal_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/account_budget_proposal_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/account_budget_proposal_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/account_budget_proposal_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/account_budget_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/account_budget_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/account_link_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/account_link_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_customizer_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_destination_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_destination_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_ad_rotation_mode_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_ad_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_ad_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_criterion_approval_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_criterion_approval_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_criterion_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_criterion_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_group_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_network_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_network_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_serving_optimization_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_serving_optimization_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_strength_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_strength_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/ad_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/advertising_channel_sub_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/advertising_channel_sub_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/advertising_channel_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/advertising_channel_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/affiliate_location_feed_relationship_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/affiliate_location_feed_relationship_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/affiliate_location_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/affiliate_location_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/age_range_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/age_range_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_campaign_app_store_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_campaign_app_store_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_campaign_bidding_strategy_goal_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_campaign_bidding_strategy_goal_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_payment_model_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_payment_model_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_store_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_store_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_url_operating_system_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/app_url_operating_system_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/asset_field_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/asset_field_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/asset_link_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/asset_link_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/asset_performance_label_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/asset_performance_label_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/asset_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/asset_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/attribution_model_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/attribution_model_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/batch_job_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/batch_job_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/bid_modifier_source_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/bid_modifier_source_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/bidding_source_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/bidding_source_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/bidding_strategy_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/bidding_strategy_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/bidding_strategy_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/bidding_strategy_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/billing_setup_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/billing_setup_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/brand_safety_suitability_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/brand_safety_suitability_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_campaign_association_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_campaign_association_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_delivery_method_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_delivery_method_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_period_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_period_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/budget_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/call_conversion_reporting_state_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/call_conversion_reporting_state_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/call_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/call_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/callout_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/callout_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_criterion_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_criterion_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_draft_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_draft_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_experiment_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_experiment_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_experiment_traffic_split_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_experiment_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_experiment_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_serving_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_serving_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_shared_set_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_shared_set_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/campaign_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/change_client_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/change_client_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/change_event_resource_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/change_event_resource_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/change_status_operation_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/change_status_operation_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/change_status_resource_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/change_status_resource_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/click_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/click_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/combined_audience_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/combined_audience_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/content_label_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/content_label_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_action_category_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_action_category_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_action_counting_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_action_counting_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_action_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_action_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_action_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_action_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_adjustment_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_adjustment_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_attribution_event_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_attribution_event_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_lag_bucket_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_lag_bucket_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_or_adjustment_lag_bucket_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/conversion_or_adjustment_lag_bucket_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/criterion_category_channel_availability_mode_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/criterion_category_channel_availability_mode_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/criterion_category_locale_availability_mode_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/criterion_category_locale_availability_mode_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/criterion_system_serving_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/criterion_system_serving_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/criterion_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/criterion_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_audience_member_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_audience_member_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_audience_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_audience_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_audience_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_audience_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_interest_member_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_interest_member_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_interest_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_interest_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_interest_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_interest_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/custom_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/customer_match_upload_key_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/customer_match_upload_key_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/data_driven_model_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/data_driven_model_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/day_of_week_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/day_of_week_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/device_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/device_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/display_ad_format_setting_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/display_ad_format_setting_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/display_upload_product_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/display_upload_product_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/distance_bucket_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/distance_bucket_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/dsa_page_feed_criterion_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/education_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/education_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/extension_setting_device_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/extension_setting_device_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/extension_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/extension_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/external_conversion_source_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/external_conversion_source_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_attribute_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_attribute_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_quality_approval_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_quality_approval_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_quality_disapproval_reason_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_set_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_set_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_set_string_filter_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_set_string_filter_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_target_device_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_target_device_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_target_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_target_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_target_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_target_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_validation_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_item_validation_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_link_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_link_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_mapping_criterion_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_mapping_criterion_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_mapping_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_mapping_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_origin_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_origin_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/feed_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/flight_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/flight_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/frequency_cap_event_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/frequency_cap_event_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/frequency_cap_level_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/frequency_cap_level_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/frequency_cap_time_unit_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/frequency_cap_time_unit_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/gender_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/gender_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/geo_target_constant_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/geo_target_constant_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/geo_targeting_restriction_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/geo_targeting_restriction_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/geo_targeting_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/geo_targeting_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/google_ads_field_category_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/google_ads_field_category_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/google_ads_field_data_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/google_ads_field_data_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/hotel_date_selection_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/hotel_date_selection_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/hotel_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/hotel_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/hotel_price_bucket_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/hotel_price_bucket_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/hotel_rate_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/hotel_rate_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/image_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/image_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/income_range_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/income_range_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/interaction_event_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/interaction_event_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/interaction_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/interaction_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/invoice_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/invoice_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/job_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/job_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/keyword_match_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/keyword_match_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/keyword_plan_competition_level_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/keyword_plan_competition_level_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/keyword_plan_forecast_interval_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/keyword_plan_forecast_interval_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/keyword_plan_network_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/keyword_plan_network_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/label_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/label_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/lead_form_call_to_action_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/lead_form_call_to_action_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/lead_form_desired_intent_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/lead_form_desired_intent_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/lead_form_field_user_input_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/lead_form_field_user_input_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/lead_form_post_submit_call_to_action_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/lead_form_post_submit_call_to_action_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/legacy_app_install_ad_app_store_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/linked_account_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/linked_account_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/listing_group_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/listing_group_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/local_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/local_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/location_extension_targeting_criterion_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/location_extension_targeting_criterion_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/location_group_radius_units_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/location_group_radius_units_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/location_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/location_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/location_source_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/location_source_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/manager_link_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/manager_link_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/matching_function_context_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/matching_function_context_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/matching_function_operator_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/matching_function_operator_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/media_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/media_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/merchant_center_link_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/merchant_center_link_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/message_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/message_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/mime_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/mime_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/minute_of_hour_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/minute_of_hour_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/mobile_app_vendor_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/mobile_app_vendor_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/mobile_device_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/mobile_device_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/month_of_year_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/month_of_year_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/negative_geo_target_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/negative_geo_target_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/offline_user_data_job_failure_reason_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/offline_user_data_job_failure_reason_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/offline_user_data_job_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/offline_user_data_job_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/offline_user_data_job_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/offline_user_data_job_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/operating_system_version_operator_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/operating_system_version_operator_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/optimization_goal_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/optimization_goal_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/page_one_promoted_strategy_goal_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/page_one_promoted_strategy_goal_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/parental_status_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/parental_status_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/payment_mode_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/payment_mode_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/placeholder_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/placeholder_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/placement_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/placement_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_approval_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_approval_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_review_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_review_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_topic_entry_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_topic_entry_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/positive_geo_target_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/positive_geo_target_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/preferred_content_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/preferred_content_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/price_extension_price_qualifier_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/price_extension_price_qualifier_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/price_extension_price_unit_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/price_extension_price_unit_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/price_extension_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/price_extension_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/price_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/price_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_bidding_category_level_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_bidding_category_level_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_bidding_category_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_bidding_category_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_channel_exclusivity_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_channel_exclusivity_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_channel_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_channel_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_condition_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_condition_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_custom_attribute_index_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_custom_attribute_index_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_type_level_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/product_type_level_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/promotion_extension_discount_modifier_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/promotion_extension_discount_modifier_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/promotion_extension_occasion_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/promotion_extension_occasion_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/promotion_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/promotion_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/proximity_radius_units_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/proximity_radius_units_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/quality_score_bucket_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/quality_score_bucket_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/reach_plan_ad_length_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/reach_plan_ad_length_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/reach_plan_age_range_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/reach_plan_age_range_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/reach_plan_network_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/reach_plan_network_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/real_estate_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/real_estate_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/recommendation_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/recommendation_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/resource_change_operation_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/resource_change_operation_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/response_content_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/response_content_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/search_engine_results_page_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/search_engine_results_page_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/search_term_match_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/search_term_match_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/search_term_targeting_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/search_term_targeting_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/served_asset_field_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/served_asset_field_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/shared_set_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/shared_set_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/shared_set_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/shared_set_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/simulation_modification_method_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/simulation_modification_method_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/simulation_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/simulation_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/sitelink_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/sitelink_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/slot_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/slot_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/spending_limit_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/spending_limit_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/structured_snippet_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/structured_snippet_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/summary_row_setting_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/summary_row_setting_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/system_managed_entity_source_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/system_managed_entity_source_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/target_cpa_opt_in_recommendation_goal_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/target_cpa_opt_in_recommendation_goal_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/target_impression_share_location_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/target_impression_share_location_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/targeting_dimension_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/targeting_dimension_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/time_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/time_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/tracking_code_page_format_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/tracking_code_page_format_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/tracking_code_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/tracking_code_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/travel_placeholder_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/travel_placeholder_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_identifier_source_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_identifier_source_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_interest_taxonomy_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_interest_taxonomy_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_access_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_access_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_closing_reason_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_closing_reason_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_combined_rule_operator_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_combined_rule_operator_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_crm_data_source_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_crm_data_source_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_date_rule_item_operator_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_date_rule_item_operator_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_logical_rule_operator_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_logical_rule_operator_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_membership_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_membership_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_number_rule_item_operator_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_number_rule_item_operator_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_prepopulation_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_prepopulation_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_rule_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_rule_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_size_range_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_size_range_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_string_rule_item_operator_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_type_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/user_list_type_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/vanity_pharma_display_url_mode_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/vanity_pharma_text_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/vanity_pharma_text_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/webpage_condition_operand_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/webpage_condition_operand_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/enums/webpage_condition_operator_pb2.py create mode 100644 google/ads/google_ads/v6/proto/enums/webpage_condition_operator_pb2_grpc.py rename google/ads/google_ads/{v2 => v6}/proto/errors/__init__.py (100%) create mode 100644 google/ads/google_ads/v6/proto/errors/access_invitation_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/access_invitation_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/account_budget_proposal_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/account_budget_proposal_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/account_link_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/account_link_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_customizer_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_customizer_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_ad_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_ad_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_bid_modifier_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_bid_modifier_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_criterion_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_criterion_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_feed_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_group_feed_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_parameter_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_parameter_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_sharing_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/ad_sharing_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/adx_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/adx_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/asset_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/asset_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/asset_link_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/asset_link_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/authentication_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/authentication_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/authorization_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/authorization_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/batch_job_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/batch_job_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/bidding_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/bidding_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/bidding_strategy_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/bidding_strategy_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/billing_setup_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/billing_setup_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_budget_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_budget_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_criterion_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_criterion_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_draft_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_draft_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_experiment_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_experiment_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_feed_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_feed_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_shared_set_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/campaign_shared_set_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/change_event_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/change_event_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/change_status_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/change_status_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/collection_size_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/collection_size_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/context_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/context_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/conversion_action_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/conversion_action_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/conversion_adjustment_upload_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/conversion_upload_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/conversion_upload_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/country_code_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/country_code_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/criterion_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/criterion_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/currency_code_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/currency_code_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/custom_audience_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/custom_audience_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/custom_interest_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/custom_interest_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_client_link_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_client_link_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_feed_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_feed_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_manager_link_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_manager_link_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_user_access_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/customer_user_access_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/database_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/database_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/date_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/date_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/date_range_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/date_range_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/distinct_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/distinct_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/enum_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/enum_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/errors_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/errors_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/extension_feed_item_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/extension_feed_item_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/extension_setting_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/extension_setting_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_attribute_reference_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_attribute_reference_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_set_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_set_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_set_link_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_set_link_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_validation_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_item_validation_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_mapping_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/feed_mapping_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/field_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/field_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/field_mask_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/field_mask_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/function_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/function_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/function_parsing_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/function_parsing_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/geo_target_constant_suggestion_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/header_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/header_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/id_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/id_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/image_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/image_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/internal_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/internal_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/invoice_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/invoice_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_keyword_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_keyword_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_keyword_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_keyword_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_idea_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/keyword_plan_idea_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/label_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/label_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/language_code_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/language_code_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/list_operation_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/list_operation_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/manager_link_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/manager_link_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/media_bundle_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/media_bundle_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/media_file_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/media_file_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/media_upload_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/media_upload_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/multiplier_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/multiplier_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/mutate_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/mutate_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/new_resource_creation_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/new_resource_creation_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/not_allowlisted_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/not_allowlisted_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/not_empty_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/not_empty_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/null_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/null_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/offline_user_data_job_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/offline_user_data_job_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/operation_access_denied_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/operation_access_denied_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/operator_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/operator_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/partial_failure_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/partial_failure_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/payments_account_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/payments_account_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/policy_finding_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/policy_finding_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/policy_validation_parameter_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/policy_validation_parameter_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/policy_violation_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/policy_violation_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/query_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/query_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/quota_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/quota_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/range_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/range_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/reach_plan_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/reach_plan_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/recommendation_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/recommendation_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/region_code_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/region_code_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/request_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/request_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/resource_access_denied_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/resource_access_denied_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/resource_count_limit_exceeded_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/resource_count_limit_exceeded_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/setting_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/setting_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/shared_criterion_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/shared_criterion_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/shared_set_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/shared_set_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/size_limit_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/size_limit_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/string_format_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/string_format_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/string_length_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/string_length_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/third_party_app_analytics_link_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/third_party_app_analytics_link_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/time_zone_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/time_zone_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/url_field_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/url_field_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/user_data_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/user_data_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/user_list_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/user_list_error_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/errors/youtube_video_registration_error_pb2.py create mode 100644 google/ads/google_ads/v6/proto/errors/youtube_video_registration_error_pb2_grpc.py rename google/ads/google_ads/{v2 => v6}/proto/resources/__init__.py (100%) create mode 100644 google/ads/google_ads/v6/proto/resources/account_budget_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/account_budget_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/account_budget_proposal_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/account_budget_proposal_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/account_link_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/account_link_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_ad_asset_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_ad_asset_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_ad_label_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_ad_label_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_ad_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_ad_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_audience_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_audience_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_bid_modifier_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_bid_modifier_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_criterion_label_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_criterion_label_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_criterion_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_criterion_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_criterion_simulation_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_criterion_simulation_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_extension_setting_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_extension_setting_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_feed_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_feed_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_label_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_label_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_simulation_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_group_simulation_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_parameter_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_parameter_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_schedule_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/ad_schedule_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/age_range_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/age_range_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/asset_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/asset_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/batch_job_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/batch_job_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/bidding_strategy_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/bidding_strategy_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/billing_setup_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/billing_setup_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_asset_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_asset_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_audience_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_audience_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_bid_modifier_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_bid_modifier_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_budget_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_budget_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_criterion_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_criterion_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_criterion_simulation_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_criterion_simulation_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_draft_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_draft_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_experiment_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_experiment_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_extension_setting_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_extension_setting_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_feed_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_feed_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_label_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_label_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_shared_set_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/campaign_shared_set_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/carrier_constant_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/carrier_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/change_event_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/change_event_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/change_status_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/change_status_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/click_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/click_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/combined_audience_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/combined_audience_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/conversion_action_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/conversion_action_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/currency_constant_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/currency_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/custom_audience_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/custom_audience_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/custom_interest_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/custom_interest_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_client_link_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_client_link_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_client_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_client_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_extension_setting_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_extension_setting_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_feed_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_feed_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_label_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_label_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_manager_link_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_manager_link_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_negative_criterion_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_negative_criterion_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_user_access_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/customer_user_access_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/detail_placement_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/detail_placement_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/display_keyword_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/display_keyword_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/distance_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/distance_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/domain_category_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/domain_category_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/dynamic_search_ads_search_term_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/expanded_landing_page_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/expanded_landing_page_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/extension_feed_item_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/extension_feed_item_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_item_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_item_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_item_set_link_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_item_set_link_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_item_set_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_item_set_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_item_target_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_item_target_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_mapping_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_mapping_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_placeholder_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/feed_placeholder_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/gender_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/gender_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/geo_target_constant_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/geo_target_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/geographic_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/geographic_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/google_ads_field_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/google_ads_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/group_placement_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/group_placement_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/hotel_group_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/hotel_group_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/hotel_performance_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/hotel_performance_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/income_range_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/income_range_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/invoice_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/invoice_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_ad_group_keyword_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_ad_group_keyword_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_ad_group_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_ad_group_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_campaign_keyword_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_campaign_keyword_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_campaign_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_campaign_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_plan_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/keyword_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/label_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/label_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/landing_page_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/landing_page_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/language_constant_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/language_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/location_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/location_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/managed_placement_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/managed_placement_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/media_file_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/media_file_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/merchant_center_link_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/merchant_center_link_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/mobile_app_category_constant_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/mobile_app_category_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/mobile_device_constant_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/mobile_device_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/offline_user_data_job_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/offline_user_data_job_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/operating_system_version_constant_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/operating_system_version_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/paid_organic_search_term_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/paid_organic_search_term_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/parental_status_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/parental_status_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/payments_account_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/payments_account_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/product_bidding_category_constant_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/product_bidding_category_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/product_group_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/product_group_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/recommendation_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/recommendation_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/remarketing_action_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/remarketing_action_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/search_term_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/search_term_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/shared_criterion_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/shared_criterion_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/shared_set_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/shared_set_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/shopping_performance_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/shopping_performance_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/third_party_app_analytics_link_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/third_party_app_analytics_link_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/topic_constant_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/topic_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/topic_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/topic_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/user_interest_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/user_interest_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/user_list_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/user_list_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/user_location_view_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/user_location_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/resources/video_pb2.py create mode 100644 google/ads/google_ads/v6/proto/resources/video_pb2_grpc.py rename google/ads/google_ads/{v2 => v6}/proto/services/__init__.py (100%) create mode 100644 google/ads/google_ads/v6/proto/services/account_budget_proposal_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/account_budget_proposal_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/account_budget_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/account_budget_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/account_link_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/account_link_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_ad_asset_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_ad_label_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_ad_label_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_ad_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_ad_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_audience_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_audience_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_bid_modifier_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_bid_modifier_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_criterion_label_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_criterion_label_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_criterion_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_criterion_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_criterion_simulation_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_extension_setting_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_extension_setting_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_feed_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_feed_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_label_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_label_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_simulation_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_group_simulation_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_parameter_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_parameter_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_schedule_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_schedule_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/ad_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/age_range_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/age_range_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/asset_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/asset_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/batch_job_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/batch_job_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/bidding_strategy_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/bidding_strategy_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/billing_setup_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/billing_setup_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_asset_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_asset_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_audience_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_audience_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_bid_modifier_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_bid_modifier_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_budget_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_budget_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_criterion_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_criterion_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_criterion_simulation_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_criterion_simulation_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_draft_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_draft_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_experiment_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_experiment_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_extension_setting_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_extension_setting_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_feed_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_feed_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_label_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_label_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_shared_set_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/campaign_shared_set_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/carrier_constant_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/carrier_constant_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/change_status_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/change_status_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/click_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/click_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/combined_audience_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/combined_audience_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/conversion_action_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/conversion_action_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/conversion_adjustment_upload_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/conversion_adjustment_upload_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/conversion_upload_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/conversion_upload_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/currency_constant_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/currency_constant_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/custom_audience_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/custom_audience_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/custom_interest_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/custom_interest_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_client_link_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_client_link_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_client_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_client_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_extension_setting_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_extension_setting_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_feed_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_feed_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_label_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_label_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_manager_link_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_manager_link_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_negative_criterion_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_negative_criterion_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_user_access_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/customer_user_access_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/detail_placement_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/detail_placement_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/display_keyword_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/display_keyword_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/distance_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/distance_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/domain_category_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/domain_category_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/dynamic_search_ads_search_term_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/expanded_landing_page_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/expanded_landing_page_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/extension_feed_item_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/extension_feed_item_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_item_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_item_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_item_set_link_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_item_set_link_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_item_set_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_item_set_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_item_target_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_item_target_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_mapping_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_mapping_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_placeholder_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_placeholder_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/feed_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/gender_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/gender_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/geo_target_constant_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/geo_target_constant_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/geographic_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/geographic_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/google_ads_field_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/google_ads_field_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/google_ads_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/google_ads_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/group_placement_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/group_placement_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/hotel_group_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/hotel_group_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/hotel_performance_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/hotel_performance_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/income_range_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/income_range_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/invoice_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/invoice_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_ad_group_keyword_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_ad_group_keyword_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_ad_group_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_ad_group_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_campaign_keyword_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_campaign_keyword_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_campaign_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_campaign_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_idea_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_idea_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_plan_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/keyword_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/label_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/label_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/landing_page_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/landing_page_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/language_constant_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/language_constant_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/location_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/location_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/managed_placement_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/managed_placement_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/media_file_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/media_file_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/merchant_center_link_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/merchant_center_link_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/mobile_app_category_constant_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/mobile_app_category_constant_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/mobile_device_constant_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/mobile_device_constant_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/offline_user_data_job_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/offline_user_data_job_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/operating_system_version_constant_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/operating_system_version_constant_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/paid_organic_search_term_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/paid_organic_search_term_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/parental_status_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/parental_status_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/payments_account_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/payments_account_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/product_bidding_category_constant_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/product_bidding_category_constant_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/product_group_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/product_group_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/reach_plan_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/reach_plan_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/recommendation_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/recommendation_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/remarketing_action_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/remarketing_action_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/search_term_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/search_term_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/shared_criterion_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/shared_criterion_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/shared_set_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/shared_set_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/shopping_performance_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/shopping_performance_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/third_party_app_analytics_link_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/third_party_app_analytics_link_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/topic_constant_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/topic_constant_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/topic_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/topic_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/user_data_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/user_data_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/user_interest_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/user_interest_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/user_list_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/user_list_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/user_location_view_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/user_location_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v6/proto/services/video_service_pb2.py create mode 100644 google/ads/google_ads/v6/proto/services/video_service_pb2_grpc.py rename google/ads/google_ads/{v2 => v6}/services/__init__.py (100%) rename google/ads/google_ads/{v2 => v6}/services/account_budget_proposal_service_client.py (87%) rename google/ads/google_ads/{v2 => v6}/services/account_budget_proposal_service_client_config.py (93%) rename google/ads/google_ads/{v2 => v6}/services/account_budget_service_client.py (87%) rename google/ads/google_ads/{v2 => v6}/services/account_budget_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/account_link_service_client.py create mode 100644 google/ads/google_ads/v6/services/account_link_service_client_config.py rename google/ads/google_ads/{v2 => v6}/services/ad_group_ad_asset_view_service_client.py (87%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_ad_asset_view_service_client_config.py (92%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_ad_label_service_client.py (86%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_ad_label_service_client_config.py (93%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_ad_service_client.py (84%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_ad_service_client_config.py (93%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_audience_view_service_client.py (81%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_audience_view_service_client_config.py (92%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_bid_modifier_service_client.py (82%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_bid_modifier_service_client_config.py (93%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_criterion_label_service_client.py (80%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_criterion_label_service_client_config.py (93%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_criterion_service_client.py (79%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_criterion_service_client_config.py (93%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_criterion_simulation_service_client.py (75%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_criterion_simulation_service_client_config.py (92%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_extension_setting_service_client.py (77%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_extension_setting_service_client_config.py (93%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_feed_service_client.py (75%) rename google/ads/google_ads/{v2 => v6}/services/ad_group_feed_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/ad_group_label_service_client.py rename google/ads/google_ads/{v2 => v6}/services/ad_group_label_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/ad_group_service_client.py rename google/ads/google_ads/{v2 => v6}/services/ad_group_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/ad_group_simulation_service_client.py rename google/ads/google_ads/{v2 => v6}/services/ad_group_simulation_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/ad_parameter_service_client.py rename google/ads/google_ads/{v2 => v6}/services/ad_parameter_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/ad_schedule_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/ad_schedule_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/ad_service_client.py rename google/ads/google_ads/{v2 => v6}/services/ad_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/age_range_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/age_range_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/asset_service_client.py rename google/ads/google_ads/{v2 => v6}/services/asset_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/batch_job_service_client.py create mode 100644 google/ads/google_ads/v6/services/batch_job_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/bidding_strategy_service_client.py rename google/ads/google_ads/{v2 => v6}/services/bidding_strategy_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/billing_setup_service_client.py rename google/ads/google_ads/{v2 => v6}/services/billing_setup_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/campaign_asset_service_client.py create mode 100644 google/ads/google_ads/v6/services/campaign_asset_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/campaign_audience_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_audience_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/campaign_bid_modifier_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_bid_modifier_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/campaign_budget_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_budget_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/campaign_criterion_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_criterion_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/campaign_criterion_simulation_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_criterion_simulation_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/campaign_draft_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_draft_service_client_config.py (95%) create mode 100644 google/ads/google_ads/v6/services/campaign_experiment_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_experiment_service_client_config.py (96%) create mode 100644 google/ads/google_ads/v6/services/campaign_extension_setting_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_extension_setting_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/campaign_feed_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_feed_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/campaign_label_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_label_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/campaign_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/campaign_shared_set_service_client.py rename google/ads/google_ads/{v2 => v6}/services/campaign_shared_set_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/carrier_constant_service_client.py rename google/ads/google_ads/{v2 => v6}/services/carrier_constant_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/change_status_service_client.py rename google/ads/google_ads/{v2 => v6}/services/change_status_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/click_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/click_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/combined_audience_service_client.py create mode 100644 google/ads/google_ads/v6/services/combined_audience_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/conversion_action_service_client.py rename google/ads/google_ads/{v2 => v6}/services/conversion_action_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/conversion_adjustment_upload_service_client.py rename google/ads/google_ads/{v2 => v6}/services/conversion_adjustment_upload_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/conversion_upload_service_client.py rename google/ads/google_ads/{v2 => v6}/services/conversion_upload_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/currency_constant_service_client.py create mode 100644 google/ads/google_ads/v6/services/currency_constant_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/custom_audience_service_client.py create mode 100644 google/ads/google_ads/v6/services/custom_audience_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/custom_interest_service_client.py rename google/ads/google_ads/{v2 => v6}/services/custom_interest_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/customer_client_link_service_client.py rename google/ads/google_ads/{v2 => v6}/services/customer_client_link_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/customer_client_service_client.py rename google/ads/google_ads/{v2 => v6}/services/customer_client_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/customer_extension_setting_service_client.py rename google/ads/google_ads/{v2 => v6}/services/customer_extension_setting_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/customer_feed_service_client.py rename google/ads/google_ads/{v2 => v6}/services/customer_feed_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/customer_label_service_client.py rename google/ads/google_ads/{v2 => v6}/services/customer_label_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/customer_manager_link_service_client.py rename google/ads/google_ads/{v2 => v6}/services/customer_manager_link_service_client_config.py (80%) create mode 100644 google/ads/google_ads/v6/services/customer_negative_criterion_service_client.py rename google/ads/google_ads/{v2 => v6}/services/customer_negative_criterion_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/customer_service_client.py rename google/ads/google_ads/{v2 => v6}/services/customer_service_client_config.py (95%) create mode 100644 google/ads/google_ads/v6/services/customer_user_access_service_client.py create mode 100644 google/ads/google_ads/v6/services/customer_user_access_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/detail_placement_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/detail_placement_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/display_keyword_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/display_keyword_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/distance_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/distance_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/domain_category_service_client.py rename google/ads/google_ads/{v2 => v6}/services/domain_category_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/dynamic_search_ads_search_term_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/dynamic_search_ads_search_term_view_service_client_config.py (92%) rename google/ads/google_ads/{v2 => v6}/services/enums.py (85%) create mode 100644 google/ads/google_ads/v6/services/expanded_landing_page_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/expanded_landing_page_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/extension_feed_item_service_client.py rename google/ads/google_ads/{v2 => v6}/services/extension_feed_item_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/feed_item_service_client.py rename google/ads/google_ads/{v2 => v6}/services/feed_item_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/feed_item_set_link_service_client.py create mode 100644 google/ads/google_ads/v6/services/feed_item_set_link_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/feed_item_set_service_client.py create mode 100644 google/ads/google_ads/v6/services/feed_item_set_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/feed_item_target_service_client.py rename google/ads/google_ads/{v2 => v6}/services/feed_item_target_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/feed_mapping_service_client.py rename google/ads/google_ads/{v2 => v6}/services/feed_mapping_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/feed_placeholder_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/feed_placeholder_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/feed_service_client.py rename google/ads/google_ads/{v2 => v6}/services/feed_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/gender_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/gender_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/geo_target_constant_service_client.py rename google/ads/google_ads/{v2 => v6}/services/geo_target_constant_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/geographic_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/geographic_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/google_ads_field_service_client.py rename google/ads/google_ads/{v2 => v6}/services/google_ads_field_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/google_ads_service_client.py rename google/ads/google_ads/{v2 => v6}/services/google_ads_service_client_config.py (80%) create mode 100644 google/ads/google_ads/v6/services/group_placement_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/group_placement_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/hotel_group_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/hotel_group_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/hotel_performance_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/hotel_performance_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/income_range_view_service_client.py create mode 100644 google/ads/google_ads/v6/services/income_range_view_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/invoice_service_client.py rename google/ads/google_ads/{v2 => v6}/services/invoice_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/keyword_plan_ad_group_keyword_service_client.py create mode 100644 google/ads/google_ads/v6/services/keyword_plan_ad_group_keyword_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/keyword_plan_ad_group_service_client.py rename google/ads/google_ads/{v2 => v6}/services/keyword_plan_ad_group_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/keyword_plan_campaign_keyword_service_client.py create mode 100644 google/ads/google_ads/v6/services/keyword_plan_campaign_keyword_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/keyword_plan_campaign_service_client.py rename google/ads/google_ads/{v2 => v6}/services/keyword_plan_campaign_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/keyword_plan_idea_service_client.py rename google/ads/google_ads/{v2 => v6}/services/keyword_plan_idea_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/keyword_plan_service_client.py create mode 100644 google/ads/google_ads/v6/services/keyword_plan_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/keyword_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/keyword_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/label_service_client.py rename google/ads/google_ads/{v2 => v6}/services/label_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/landing_page_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/landing_page_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/language_constant_service_client.py rename google/ads/google_ads/{v2 => v6}/services/language_constant_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/location_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/location_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/managed_placement_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/managed_placement_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/media_file_service_client.py rename google/ads/google_ads/{v2 => v6}/services/media_file_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/merchant_center_link_service_client.py rename google/ads/google_ads/{v2 => v6}/services/merchant_center_link_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/mobile_app_category_constant_service_client.py rename google/ads/google_ads/{v2 => v6}/services/mobile_app_category_constant_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/mobile_device_constant_service_client.py rename google/ads/google_ads/{v2 => v6}/services/mobile_device_constant_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/offline_user_data_job_service_client.py create mode 100644 google/ads/google_ads/v6/services/offline_user_data_job_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/operating_system_version_constant_service_client.py rename google/ads/google_ads/{v2 => v6}/services/operating_system_version_constant_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/paid_organic_search_term_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/paid_organic_search_term_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/parental_status_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/parental_status_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/payments_account_service_client.py rename google/ads/google_ads/{v2 => v6}/services/payments_account_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/product_bidding_category_constant_service_client.py rename google/ads/google_ads/{v2 => v6}/services/product_bidding_category_constant_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/product_group_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/product_group_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/reach_plan_service_client.py rename google/ads/google_ads/{v2 => v6}/services/reach_plan_service_client_config.py (95%) create mode 100644 google/ads/google_ads/v6/services/recommendation_service_client.py rename google/ads/google_ads/{v2 => v6}/services/recommendation_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/remarketing_action_service_client.py rename google/ads/google_ads/{v2 => v6}/services/remarketing_action_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/search_term_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/search_term_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/shared_criterion_service_client.py rename google/ads/google_ads/{v2 => v6}/services/shared_criterion_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/shared_set_service_client.py rename google/ads/google_ads/{v2 => v6}/services/shared_set_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/services/shopping_performance_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/shopping_performance_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/third_party_app_analytics_link_service_client.py create mode 100644 google/ads/google_ads/v6/services/third_party_app_analytics_link_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/topic_constant_service_client.py rename google/ads/google_ads/{v2 => v6}/services/topic_constant_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/topic_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/topic_view_service_client_config.py (92%) rename google/ads/google_ads/{v2 => v6}/services/transports/__init__.py (100%) rename google/ads/google_ads/{v2 => v6}/services/transports/account_budget_proposal_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/account_budget_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/account_link_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_ad_asset_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_ad_label_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_ad_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_audience_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_bid_modifier_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_criterion_label_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_criterion_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_criterion_simulation_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_extension_setting_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_feed_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_label_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_group_simulation_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_parameter_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_schedule_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/ad_service_grpc_transport.py (90%) rename google/ads/google_ads/{v2 => v6}/services/transports/age_range_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/asset_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/batch_job_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/bidding_strategy_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/billing_setup_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/campaign_asset_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_audience_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_bid_modifier_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_budget_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_criterion_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_criterion_simulation_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_draft_service_grpc_transport.py (95%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_experiment_service_grpc_transport.py (96%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_extension_setting_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_feed_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_label_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/campaign_shared_set_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/carrier_constant_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/change_status_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/click_view_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/combined_audience_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/conversion_action_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/conversion_adjustment_upload_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/conversion_upload_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/currency_constant_service_grpc_transport.py create mode 100644 google/ads/google_ads/v6/services/transports/custom_audience_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/custom_interest_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/customer_client_link_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/customer_client_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/customer_extension_setting_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/customer_feed_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/customer_label_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/customer_manager_link_service_grpc_transport.py (81%) rename google/ads/google_ads/{v2 => v6}/services/transports/customer_negative_criterion_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/customer_service_grpc_transport.py (94%) create mode 100644 google/ads/google_ads/v6/services/transports/customer_user_access_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/detail_placement_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/display_keyword_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/distance_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/domain_category_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/dynamic_search_ads_search_term_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/expanded_landing_page_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/extension_feed_item_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/feed_item_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/feed_item_set_link_service_grpc_transport.py create mode 100644 google/ads/google_ads/v6/services/transports/feed_item_set_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/feed_item_target_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/feed_mapping_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/feed_placeholder_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/feed_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/gender_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/geo_target_constant_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/geographic_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/google_ads_field_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/google_ads_service_grpc_transport.py (90%) rename google/ads/google_ads/{v2 => v6}/services/transports/group_placement_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/hotel_group_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/hotel_performance_view_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/income_range_view_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/invoice_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/keyword_plan_ad_group_keyword_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/keyword_plan_ad_group_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/keyword_plan_campaign_keyword_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/keyword_plan_campaign_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/keyword_plan_idea_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/keyword_plan_service_grpc_transport.py (75%) rename google/ads/google_ads/{v2 => v6}/services/transports/keyword_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/label_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/landing_page_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/language_constant_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/location_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/managed_placement_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/media_file_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/merchant_center_link_service_grpc_transport.py (94%) rename google/ads/google_ads/{v2 => v6}/services/transports/mobile_app_category_constant_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/mobile_device_constant_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/offline_user_data_job_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/operating_system_version_constant_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/paid_organic_search_term_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/parental_status_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/payments_account_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/product_bidding_category_constant_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/product_group_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/reach_plan_service_grpc_transport.py (94%) rename google/ads/google_ads/{v2 => v6}/services/transports/recommendation_service_grpc_transport.py (94%) rename google/ads/google_ads/{v2 => v6}/services/transports/remarketing_action_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/search_term_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/shared_criterion_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/shared_set_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/shopping_performance_view_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/third_party_app_analytics_link_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/topic_constant_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/topic_view_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/transports/user_data_service_grpc_transport.py rename google/ads/google_ads/{v2 => v6}/services/transports/user_interest_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/user_list_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/user_location_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v2 => v6}/services/transports/video_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v6/services/user_data_service_client.py create mode 100644 google/ads/google_ads/v6/services/user_data_service_client_config.py create mode 100644 google/ads/google_ads/v6/services/user_interest_service_client.py rename google/ads/google_ads/{v2 => v6}/services/user_interest_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/user_list_service_client.py rename google/ads/google_ads/{v2 => v6}/services/user_list_service_client_config.py (94%) create mode 100644 google/ads/google_ads/v6/services/user_location_view_service_client.py rename google/ads/google_ads/{v2 => v6}/services/user_location_view_service_client_config.py (92%) create mode 100644 google/ads/google_ads/v6/services/video_service_client.py rename google/ads/google_ads/{v2 => v6}/services/video_service_client_config.py (93%) create mode 100644 google/ads/google_ads/v6/types.py diff --git a/ChangeLog b/ChangeLog index 304de06d2..3b5a28e25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +* 8.0.0 +- Google Ads v6_0 release +- Deprecate v2_0 +- Update all examples to support migration from wrapper types to primitives. +- Add masking logic to prevent PII in requests/responses from being logged. + * 7.0.0 - Google Ads v5_0 release - Updates to examples to support addition of field presence on certain diff --git a/README.rst b/README.rst index d60b2d7ae..5d6e35442 100644 --- a/README.rst +++ b/README.rst @@ -41,6 +41,7 @@ Authors * `Mark Saniscalchi`_ * `David Wihl`_ * `Ben Karl`_ +* `Andrew Burke`_ .. |build-status| image:: https://storage.googleapis.com/gaa-clientlibs/badges/google-ads-python/buildstatus_ubuntu.svg .. _Developer Site: https://developers.google.com/google-ads/api/docs/client-libs/python/ @@ -50,3 +51,4 @@ Authors .. _Mark Saniscalchi: https://github.com/msaniscalchi .. _David Wihl: https://github.com/wihl .. _Ben Karl: https://github.com/BenRKarl +.. _Andrew Burke: https://github.com/AndrewMBurke diff --git a/examples/account_management/create_customer.py b/examples/account_management/create_customer.py index 579e2847e..bf09fe5fd 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="v5") - customer = client.get_type("Customer", version="v5") + customer_service = client.get_service("CustomerService", version="v6") + customer = client.get_type("Customer", version="v6") today = datetime.today().strftime("%Y%m%d %H:%M:%S") customer.descriptive_name = ( "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 0cd00469d..5c1f0c552 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="v5") + ads_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT change_status.resource_name, @@ -77,10 +77,10 @@ def main(client, customer_id): ) resource_type_enum = client.get_type( - "ChangeStatusResourceTypeEnum", version="v5" + "ChangeStatusResourceTypeEnum", version="v6" ).ChangeStatusResourceType change_status_operation_enum = client.get_type( - "ChangeStatusOperationEnum", version="v5" + "ChangeStatusOperationEnum", version="v6" ).ChangeStatusOperation try: @@ -95,7 +95,7 @@ def main(client, customer_id): 'On "%s", change status "%s" shows a resource type of "%s" ' 'with resource name "%s" was "%s".' % ( - row.change_status.last_change_date_time.value, + row.change_status.last_change_date_time, row.change_status.resource_name, resource_type, resource_name_for_resource_type(resource_type, row), diff --git a/examples/account_management/get_account_hierarchy.py b/examples/account_management/get_account_hierarchy.py index fed6a0870..395ce66e7 100644 --- a/examples/account_management/get_account_hierarchy.py +++ b/examples/account_management/get_account_hierarchy.py @@ -40,8 +40,8 @@ def main(client, login_customer_id=None): """ # Gets instances of the GoogleAdsService and CustomerService clients. - google_ads_service = client.get_service("GoogleAdsService", version="v5") - customer_service = client.get_service("CustomerService", version="v5") + google_ads_service = client.get_service("GoogleAdsService", version="v6") + customer_service = client.get_service("CustomerService", version="v6") # A collection of customer IDs to handle. seed_customer_ids = [] @@ -99,7 +99,7 @@ def main(client, login_customer_id=None): # The customer client that with level 0 is the specified # customer. - if customer_client.level.value == 0: + if customer_client.level == 0: if root_customer_client is None: root_customer_client = customer_client continue @@ -115,23 +115,21 @@ def main(client, login_customer_id=None): customer_client ) - if customer_client.manager.value: + if customer_client.manager: # A customer can be managed by multiple managers, so to # prevent visiting the same customer many times, we # need to check if it's already in the Dictionary. if ( - customer_client.id.value + customer_client.id not in customer_ids_to_child_accounts - and customer_client.level.value == 1 + and customer_client.level == 1 ): - unprocessed_customer_ids.append( - customer_client.id.value - ) + unprocessed_customer_ids.append(customer_client.id) if root_customer_client is not None: print( "The hierarchy of customer ID " - f"{root_customer_client.id.value} is printed below:" + f"{root_customer_client.id} is printed below:" ) print_account_hierarchy( root_customer_client, customer_ids_to_child_accounts, 0 @@ -172,12 +170,12 @@ def print_account_hierarchy( if depth == 0: print("Customer ID (Descriptive Name, Currency Code, Time Zone)") - customer_id = str(customer_client.id.value) + customer_id = str(customer_client.id) print("-" * (depth * 2), end="") print( - f"{customer_id} ({customer_client.descriptive_name.value}, " - f"{customer_client.currency_code.value}, " - f"{customer_client.time_zone.value})" + f"{customer_id} ({customer_client.descriptive_name}, " + f"{customer_client.currency_code}, " + f"{customer_client.time_zone})" ) # Recursively call this function for all child accounts of customer_client. diff --git a/examples/account_management/get_account_information.py b/examples/account_management/get_account_information.py index d49a3c4c8..97bfcd692 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="v5") + customer_service = client.get_service("CustomerService", version="v6") 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 8c8e4195d..38ed303cf 100755 --- a/examples/account_management/link_manager_to_client.py +++ b/examples/account_management/link_manager_to_client.py @@ -32,14 +32,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="v5" + "CustomerClientLinkOperation", version="v6" ) client_link = client_link_operation.create - client_link.client_customer.value = "customers/{}".format(customer_id) + client_link.client_customer = "customers/{}".format(customer_id) client_link.status = client.get_type("ManagerLinkStatusEnum").PENDING customer_client_link_service = client.get_service( - "CustomerClientLinkService", version="v5" + "CustomerClientLinkService", version="v6" ) response = customer_client_link_service.mutate_customer_client_link( manager_customer_id, client_link_operation @@ -62,7 +62,7 @@ def main(client, customer_id, manager_customer_id): FROM customer_client_link WHERE customer_client_link.resource_name = '{resource_name}'""" - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") response = ga_service.search(manager_customer_id, query=query) # Since the google_ads_service.search method returns an iterator we need @@ -72,19 +72,19 @@ 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="v5" + "CustomerManagerLinkOperation", version="v6" ) manager_link = manager_link_operation.update manager_link.resource_name = "customers/{}/customerManagerLinks/{}~{}".format( customer_id, manager_customer_id, manager_link_id ) - manager_link.status = client.get_type("ManagerLinkStatusEnum", version="v5") + manager_link.status = client.get_type("ManagerLinkStatusEnum", version="v6") 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="v5" + "ManagerLinkService", version="v6" ) response = manager_link_service.mutate_manager_links( manager_customer_id, [manager_link_operation] @@ -105,7 +105,7 @@ def main(client, customer_id, manager_customer_id): parser = argparse.ArgumentParser( description=( - "Links and existing manager customer to an existing" + "Links an existing manager customer to an existing" "client customer" ) ) diff --git a/examples/account_management/list_accessible_customers.py b/examples/account_management/list_accessible_customers.py index 10ac51a70..82613b40c 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="v5") + customer_service = client.get_service("CustomerService", version="v6") try: accessible_customers = customer_service.list_accessible_customers() diff --git a/examples/account_management/reject_merchant_center_link.py b/examples/account_management/reject_merchant_center_link.py new file mode 100644 index 000000000..0503cfece --- /dev/null +++ b/examples/account_management/reject_merchant_center_link.py @@ -0,0 +1,170 @@ +#!/usr/bin/env python +# 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. +"""Demonstrates how to reject or unlink a Merchant Center link request. + +Prerequisite: You need to have access to a Merchant Center account. You can find +instructions to create a Merchant Center account here: +https://support.google.com/merchants/answer/188924. + +To run this example, you must use the Merchant Center UI or the Content API for +Shopping to send a link request between your Merchant Center and Google Ads +accounts. You can find detailed instructions to link your Merchant Center and +Google Ads accounts here: https://support.google.com/merchants/answer/6159060. +""" + +import argparse +import sys + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + + +def main(client, customer_id, merchant_center_account_id): + """Demonstrates how to reject a Merchant Center link request. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + merchant_center_account_id: The Merchant Center account ID for the + account requesting to link. + """ + # Get the MerchantCenterLinkService client. + merchant_center_link_service = client.get_service( + "MerchantCenterLinkService", version="v6" + ) + try: + # Get the extant customer account to Merchant Center account links. + list_merchant_center_links_response = merchant_center_link_service.list_merchant_center_links( + customer_id + ) + + number_of_links = len( + list_merchant_center_links_response.merchant_center_links + ) + + if number_of_links <= 0: + print( + "There are no current merchant center links to Google Ads " + f"account {customer_id}. This example will now exit." + ) + return + + print( + f"{number_of_links} Merchant Center link(s) found with the " + "following details:" + ) + + merchant_center_link_status_enum = client.get_type( + "MerchantCenterLinkStatusEnum", version="v6" + ).MerchantCenterLinkStatus + + for merchant_center_link in list_merchant_center_links_response.merchant_center_links: + print( + f"\tLink '{merchant_center_link.resource_name}' has status " + f"'{merchant_center_link_status_enum.Name(merchant_center_link.status)}'." + ) + + # Check if this is the link to the target Merchant Center account. + if merchant_center_link.id == merchant_center_account_id: + # A Merchant Center link can be pending or enabled; in both + # cases, we reject it by removing the link. + _remove_merchant_center_link( + client, + merchant_center_link_service, + customer_id, + merchant_center_link, + ) + + # We can terminate early since this example concerns only one + # Google Ads account to Merchant Center account link. + return + + # Raise an exception if no matching Merchant Center link was found. + raise ValueError( + "No link could was found between Google Ads account " + f"{customer_id} and Merchant Center account " + f"{merchant_center_account_id}." + ) + + 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(f'\tError with message "{error.message}".') + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _remove_merchant_center_link( + client, merchant_center_link_service, customer_id, merchant_center_link +): + """Removes a Merchant Center link from a Google Ads client customer account. + + Args: + client: An initialized Google Ads client. + merchant_center_link_service: An initialized + MerchantCenterLinkService client. + customer_id: The Google Ads customer ID of the account that has the link + request. + merchant_center_link: The MerchantCenterLink object to remove. + """ + # Create a single remove operation, specifying the Merchant Center link + # resource name. + operation = client.get_type("MerchantCenterLinkOperation", version="v6") + operation.remove = merchant_center_link.resource_name + + # Send the operation in a mutate request. + response = merchant_center_link_service.mutate_merchant_center_link( + customer_id, operation + ) + print( + "Removed Merchant Center link with resource name " + f"'{response.result.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 = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description=( + "Demonstrates how to reject a Merchant Center link request." + ) + ) + # 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( + "-m", + "--merchant_center_account_id", + type=int, + required=True, + help="The Merchant Center account ID for the account requesting to " + "link.", + ) + args = parser.parse_args() + + main(google_ads_client, args.customer_id, args.merchant_center_account_id) diff --git a/examples/account_management/update_user_access.py b/examples/account_management/update_user_access.py new file mode 100755 index 000000000..8d3215e93 --- /dev/null +++ b/examples/account_management/update_user_access.py @@ -0,0 +1,182 @@ +#!/usr/bin/env python +# 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. +"""Updates the access role of a user, given the email address. + +This code example should be run as a user who is an Administrator on the Google +Ads account with the specified customer ID. + +See https://support.google.com/google-ads/answer/9978556 to learn more about +account access levels. +""" + +import argparse +import sys + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + +from google.api_core import protobuf_helpers + +_ACCESS_ROLES = ["ADMIN", "STANDARD", "READ_ONLY", "EMAIL_ONLY"] + + +def main(client, customer_id, email_address, access_role): + """Runs the example. + + Args: + client: The Google Ads client. + customer_id: The customer ID. + email_address: The email address of the user whose access role should + be updated + access_role: The updated access role. + """ + + try: + user_id = _get_user_access(client, customer_id, email_address) + + if user_id: + _modify_user_access(client, customer_id, user_id, access_role) + 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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _get_user_access(client, customer_id, email_address): + """Gets the customer user access given an email address. + + Args: + client: The Google Ads client. + customer_id: The customer ID. + email_address: The email address of the user whose access role should + be updated. + + Returns: + The user ID integer if a customer is found, otherwise None. + """ + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + # Creates a query that retrieves all customer user accesses. + # Use the LIKE query for filtering to ignore the text case for email + # address when searching for a match. + query = f""" + SELECT + customer_user_access.user_id, + customer_user_access.email_address, + customer_user_access.access_role, + customer_user_access.access_creation_date_time + FROM customer_user_access + WHERE customer_user_access.email_address LIKE '{email_address}'""" + + response = google_ads_service.search(customer_id, query) + + try: + user_access = next(iter(response)).customer_user_access + print( + "Customer user access with " + f"User ID = '{user_access.user_id}', " + f"Access Role = '{user_access.access_role}', and " + f"Creation Time = {user_access.access_creation_date_time} " + f"was found in Customer ID: {customer_id}." + ) + return user_access.user_id + except StopIteration: + # If a StopIteration exception is raised it indicates that the response + # was empty, no results were found, and this method should return None. + print("No customer user access with requested email was found.") + return None + + +def _modify_user_access(client, customer_id, user_id, access_role): + """Modifies the user access role to a specified value. + + Args: + client: The Google Ads client. + customer_id: The customer ID. + user_id: ID of the user whose access role is being modified. + access_role: The updated access role. + """ + customer_user_access_service = client.get_service( + "CustomerUserAccessService", version="v6" + ) + customer_user_access_op = client.get_type( + "CustomerUserAccessOperation", version="v6" + ) + access_role_enum = client.get_type("AccessRoleEnum", version="v6") + customer_user_access = customer_user_access_op.update + customer_user_access.resource_name = customer_user_access_service.customer_user_access_path( + customer_id, user_id + ) + customer_user_access.access_role = getattr(access_role_enum, access_role) + field_mask = protobuf_helpers.field_mask(None, customer_user_access) + customer_user_access_op.update_mask.CopyFrom(field_mask) + + response = customer_user_access_service.mutate_customer_user_access( + customer_id, customer_user_access_op + ) + + print( + "Successfully modified customer user access with resource name: " + f"{response.result.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 = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="This code example updates the access role of a user, " + "given the email address." + ) + # 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( + "-e", + "--email_address", + type=str, + required=True, + help="The email address of the user whose access role should be " + "updated.", + ) + parser.add_argument( + "-a", + "--access_role", + type=str, + required=True, + help="The access role that the given email address should be set to.", + choices=_ACCESS_ROLES, + ) + args = parser.parse_args() + main( + google_ads_client, + args.customer_id, + args.email_address, + args.access_role, + ) diff --git a/examples/advanced_operations/add_ad_customizer.py b/examples/advanced_operations/add_ad_customizer.py index ac3608cf6..d9ba52dbb 100755 --- a/examples/advanced_operations/add_ad_customizer.py +++ b/examples/advanced_operations/add_ad_customizer.py @@ -80,28 +80,28 @@ def _create_add_customizer_feed(client, customer_id, feed_name): # Creates three feed attributes: a name, a price and a date. # The attribute names are arbitrary choices and will be used as # placeholders in the ad text fields. - feed_attr_type_enum = client.get_type("FeedAttributeTypeEnum", version="v5") + feed_attr_type_enum = client.get_type("FeedAttributeTypeEnum", version="v6") - name_attr = client.get_type("FeedAttribute", version="v5") + name_attr = client.get_type("FeedAttribute", version="v6") name_attr.type = feed_attr_type_enum.STRING - name_attr.name.value = "Name" + name_attr.name = "Name" - price_attr = client.get_type("FeedAttribute", version="v5") + price_attr = client.get_type("FeedAttribute", version="v6") price_attr.type = feed_attr_type_enum.STRING - price_attr.name.value = "Price" + price_attr.name = "Price" - date_attr = client.get_type("FeedAttribute", version="v5") + date_attr = client.get_type("FeedAttribute", version="v6") date_attr.type = feed_attr_type_enum.DATE_TIME - date_attr.name.value = "Date" + date_attr.name = "Date" - feed_operation = client.get_type("FeedOperation", version="v5") + feed_operation = client.get_type("FeedOperation", version="v6") feed = feed_operation.create - feed.name.value = feed_name + feed.name = feed_name feed.attributes.extend([name_attr, price_attr, date_attr]) - feed.origin = client.get_type("FeedOriginEnum", version="v5").USER + feed.origin = client.get_type("FeedOriginEnum", version="v6").USER - feed_service = client.get_service("FeedService", version="v5") + feed_service = client.get_service("FeedService", version="v6") try: response = feed_service.mutate_feeds(customer_id, [feed_operation]) @@ -131,23 +131,20 @@ def _get_feed_attributes(client, customer_id, feed_resource_name): WHERE feed.resource_name = "{feed_resource_name}" """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") try: results = ga_service.search(customer_id, query, page_size=1) feed = list(results)[0].feed - print( - "Found the following attributes for feed with name " - f"{feed.name.value}" - ) + print(f"Found the following attributes for feed with name {feed.name}") except GoogleAdsException as ex: _handle_google_ads_exception(ex) - feed_attr_type_enum = client.get_type("FeedAttributeTypeEnum", version="v5") + feed_attr_type_enum = client.get_type("FeedAttributeTypeEnum", version="v6") feed_details = {} for feed_attribute in feed.attributes: - name = feed_attribute.name.value - feed_attr_id = feed_attribute.id.value + name = feed_attribute.name + feed_attr_id = feed_attribute.id feed_type = feed_attr_type_enum.FeedAttributeType.Name( feed_attribute.type ) @@ -170,33 +167,36 @@ def _create_ad_customizer_mapping( feed_details: a dict mapping feed attribute names to their IDs. """ placeholder_field_enum = client.get_type( - "AdCustomizerPlaceholderFieldEnum", version="v5" + "AdCustomizerPlaceholderFieldEnum", version="v6" ) - name_field_mapping = client.get_type("AttributeFieldMapping", version="v5") - name_field_mapping.feed_attribute_id.value = feed_details["Name"] + # Map the feed attributes to ad customizer placeholder fields. For a full + # list of ad customizer placeholder fields, see: + # https://developers.google.com/google-ads/api/reference/rpc/latest/AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField + name_field_mapping = client.get_type("AttributeFieldMapping", version="v6") + name_field_mapping.feed_attribute_id = feed_details["Name"] name_field_mapping.ad_customizer_field = placeholder_field_enum.STRING - price_field_mapping = client.get_type("AttributeFieldMapping", version="v5") - price_field_mapping.feed_attribute_id.value = feed_details["Price"] + price_field_mapping = client.get_type("AttributeFieldMapping", version="v6") + price_field_mapping.feed_attribute_id = feed_details["Price"] price_field_mapping.ad_customizer_field = placeholder_field_enum.PRICE - date_field_mapping = client.get_type("AttributeFieldMapping", version="v5") - date_field_mapping.feed_attribute_id.value = feed_details["Date"] + date_field_mapping = client.get_type("AttributeFieldMapping", version="v6") + date_field_mapping.feed_attribute_id = feed_details["Date"] date_field_mapping.ad_customizer_field = placeholder_field_enum.DATE - feed_mapping_op = client.get_type("FeedMappingOperation", version="v5") + feed_mapping_op = client.get_type("FeedMappingOperation", version="v6") feed_mapping = feed_mapping_op.create - feed_mapping.feed.value = ad_customizer_feed_resource_name + feed_mapping.feed = ad_customizer_feed_resource_name feed_mapping.placeholder_type = client.get_type( - "PlaceholderTypeEnum", version="v5" + "PlaceholderTypeEnum", version="v6" ).AD_CUSTOMIZER feed_mapping.attribute_field_mappings.extend( [name_field_mapping, price_field_mapping, date_field_mapping] ) feed_mapping_service = client.get_service( - "FeedMappingService", version="v5" + "FeedMappingService", version="v6" ) try: @@ -255,7 +255,7 @@ def _create_feed_items( ) ) - feed_item_service = client.get_service("FeedItemService", version="v5") + feed_item_service = client.get_service("FeedItemService", version="v6") try: response = feed_item_service.mutate_feed_items( @@ -289,27 +289,21 @@ def _create_feed_item_operation( Returns: A FeedItemOperation that creates a FeedItem """ - name_attr_value = client.get_type("FeedItemAttributeValue", version="v5") - name_attr_value.feed_attribute_id.value = ad_customizer_feed_attributes[ - "Name" - ] - name_attr_value.string_value.value = name - - price_attr_value = client.get_type("FeedItemAttributeValue", version="v5") - price_attr_value.feed_attribute_id.value = ad_customizer_feed_attributes[ - "Price" - ] - price_attr_value.string_value.value = price - - date_attr_value = client.get_type("FeedItemAttributeValue", version="v5") - date_attr_value.feed_attribute_id.value = ad_customizer_feed_attributes[ - "Date" - ] - date_attr_value.string_value.value = date - - feed_item_op = client.get_type("FeedItemOperation", version="v5") + name_attr_value = client.get_type("FeedItemAttributeValue", version="v6") + name_attr_value.feed_attribute_id = ad_customizer_feed_attributes["Name"] + name_attr_value.string_value = name + + price_attr_value = client.get_type("FeedItemAttributeValue", version="v6") + price_attr_value.feed_attribute_id = ad_customizer_feed_attributes["Price"] + price_attr_value.string_value = price + + date_attr_value = client.get_type("FeedItemAttributeValue", version="v6") + date_attr_value.feed_attribute_id = ad_customizer_feed_attributes["Date"] + date_attr_value.string_value = date + + feed_item_op = client.get_type("FeedItemOperation", version="v6") feed_item = feed_item_op.create - feed_item.feed.value = ad_customizer_feed_resource_name + feed_item.feed = ad_customizer_feed_resource_name feed_item.attribute_values.extend( [name_attr_value, price_attr_value, date_attr_value] ) @@ -331,9 +325,9 @@ def _create_feed_item_targets( ad_group_ids: a list of ad group IDs. feed_item_resource_names: a list of feed item resource name strs. """ - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") feed_item_target_service = client.get_service( - "FeedItemTargetService", version="v5" + "FeedItemTargetService", version="v6" ) # Bind each feed item to a specific ad group to make sure it will only be # used to customize ads inside that ad group; using the feed item elsewhere @@ -342,11 +336,11 @@ def _create_feed_item_targets( ad_group_id = ad_group_ids[i] feed_item_target_op = client.get_type( - "FeedItemTargetOperation", version="v5" + "FeedItemTargetOperation", version="v6" ) feed_item_target = feed_item_target_op.create - feed_item_target.feed_item.value = resource_name - feed_item_target.ad_group.value = ad_group_service.ad_group_path( + feed_item_target.feed_item = resource_name + feed_item_target.ad_group = ad_group_service.ad_group_path( customer_id, ad_group_id ) @@ -376,13 +370,13 @@ def _create_ads_with_customizations( ad_group_ids: a list of ad group IDs. feed_name: the name of the feed to create. """ - ad_group_service = client.get_service("AdGroupService", version="v5") - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") ad_group_ad_operations = [] for ad_group_id in ad_group_ids: ad_group_ad_operation = client.get_type( - "AdGroupAdOperation", version="v5" + "AdGroupAdOperation", version="v6" ) ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group = ad_group_service.ad_group_path( diff --git a/examples/advanced_operations/add_ad_group_bid_modifier.py b/examples/advanced_operations/add_ad_group_bid_modifier.py index bef8925e3..8162db6d3 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="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") ad_group_bm_service = client.get_service( - "AdGroupBidModifierService", version="v5" + "AdGroupBidModifierService", version="v6" ) # Create ad group bid modifier for mobile devices with the specified ad @@ -47,7 +47,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="v5" + "DeviceEnum", version="v6" ).MOBILE # Add the ad group bid modifier. diff --git a/examples/advanced_operations/add_app_campaign.py b/examples/advanced_operations/add_app_campaign.py index d41e85ed7..3613f44b2 100755 --- a/examples/advanced_operations/add_app_campaign.py +++ b/examples/advanced_operations/add_app_campaign.py @@ -79,14 +79,14 @@ def _create_budget(client, customer_id): """ # Retrieves a new campaign budget operation object. campaign_budget_operation = client.get_type( - "CampaignBudgetOperation", version="v5" + "CampaignBudgetOperation", version="v6" ) # Creates a campaign budget. campaign_budget = campaign_budget_operation.create campaign_budget.name = f"Interplanetary Cruise #{uuid4()}" campaign_budget.amount_micros = 50000000 campaign_budget.delivery_method = client.get_type( - "BudgetDeliveryMethodEnum", version="v5" + "BudgetDeliveryMethodEnum", version="v6" ).STANDARD # An App campaign cannot use a shared campaign budget. # explicitly_shared must be set to false. @@ -94,7 +94,7 @@ def _create_budget(client, customer_id): # Retrieves the campaign budget service. campaign_budget_service = client.get_service( - "CampaignBudgetService", version="v5" + "CampaignBudgetService", version="v6" ) # Submits the campaign budget operation to add the campaign budget. response = campaign_budget_service.mutate_campaign_budgets( @@ -116,23 +116,23 @@ 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="v5") - campaign_operation = client.get_type("CampaignOperation", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") + campaign_operation = client.get_type("CampaignOperation", version="v6") campaign = campaign_operation.create campaign.name = f"Interplanetary Cruise App #{uuid4()}" campaign.campaign_budget = 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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").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="v5" + "AdvertisingChannelTypeEnum", version="v6" ).MULTI_CHANNEL campaign.advertising_channel_sub_type = client.get_type( - "AdvertisingChannelSubTypeEnum", version="v5" + "AdvertisingChannelSubTypeEnum", version="v6" ).APP_CAMPAIGN # Sets the target CPA to $1 / app install. # @@ -145,11 +145,11 @@ def _create_campaign(client, customer_id, budget_resource_name): # Sets the App Campaign Settings. campaign.app_campaign_setting.app_id = "com.google.android.apps.adwords" campaign.app_campaign_setting.app_store = client.get_type( - "AppCampaignAppStoreEnum", version="v5" + "AppCampaignAppStoreEnum", version="v6" ).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="v5" + "AppCampaignBiddingStrategyGoalTypeEnum", version="v6" ).OPTIMIZE_INSTALLS_TARGET_INSTALL_COST # Optional fields campaign.start_date = (datetime.now() + timedelta(1)).strftime("%Y%m%d") @@ -159,12 +159,10 @@ def _create_campaign(client, customer_id, budget_resource_name): # specify your in-app conversion types so the Google Ads API can focus # your campaign on people who are most likely to complete the # corresponding in-app actions. - # selective_optimization1 = (client.get_type('StringValue', - # version='v5')) - # selective_optimization1 = ( - # 'INSERT_CONVERSION_ACTION_RESOURCE_NAME_HERE') - # campaign.selective_optimization.conversion_actions.extend( - # [selective_optimization1]) + # + # campaign.selective_optimization.conversion_actions.append( + # INSERT_CONVERSION_ACTION_RESOURCE_NAME_HERE + # ) # Submits the campaign operation and print the results. campaign_response = campaign_service.mutate_campaigns( @@ -188,16 +186,16 @@ def _set_campaign_targeting_criteria( campaign_resource_name: the campaign to apply targeting to """ campaign_criterion_service = client.get_service( - "CampaignCriterionService", version="v5" + "CampaignCriterionService", version="v6" ) geo_target_constant_service = client.get_service( - "GeoTargetConstantService", version="v5" + "GeoTargetConstantService", version="v6" ) language_constant_service = client.get_service( - "LanguageConstantService", version="v5" + "LanguageConstantService", version="v6" ) - location_type = client.get_type("CriterionTypeEnum", version="v5").LOCATION - language_type = client.get_type("CriterionTypeEnum", version="v5").LANGUAGE + location_type = client.get_type("CriterionTypeEnum", version="v6").LOCATION + language_type = client.get_type("CriterionTypeEnum", version="v6").LANGUAGE campaign_criterion_operations = [] # Creates the location campaign criteria. @@ -207,7 +205,7 @@ def _set_campaign_targeting_criteria( # in targeting/get_geo_target_constant_by_names.py. for location_id in ["21137", "2484"]: # California # Mexico campaign_criterion_operation = client.get_type( - "CampaignCriterionOperation", version="v5" + "CampaignCriterionOperation", version="v6" ) campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign = campaign_resource_name @@ -220,7 +218,7 @@ def _set_campaign_targeting_criteria( # Creates the language campaign criteria. for language_id in ["1000", "1003"]: # English # Spanish campaign_criterion_operation = client.get_type( - "CampaignCriterionOperation", version="v5" + "CampaignCriterionOperation", version="v6" ) campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign = campaign_resource_name @@ -251,17 +249,17 @@ 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="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") # 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="v5") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") ad_group = ad_group_operation.create ad_group.name = f"Earth to Mars cruises {uuid4()}" - ad_group.status = client.get_type("AdGroupStatusEnum", version="v5").ENABLED + ad_group.status = client.get_type("AdGroupStatusEnum", version="v6").ENABLED ad_group.campaign = campaign_resource_name ad_group_response = ad_group_service.mutate_ad_groups( @@ -282,11 +280,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="v5") - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_operation.create ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).ENABLED ad_group_ad.ad_group = ad_group_resource_name # ad_data is a 'oneof' message so setting app_ad @@ -319,7 +317,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="v5") + ad_text_asset = client.get_type("AdTextAsset", version="v6") ad_text_asset.text = text return ad_text_asset diff --git a/examples/advanced_operations/add_display_upload_ad.py b/examples/advanced_operations/add_display_upload_ad.py new file mode 100644 index 000000000..67d5a6158 --- /dev/null +++ b/examples/advanced_operations/add_display_upload_ad.py @@ -0,0 +1,195 @@ +#!/usr/bin/env python +# 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. +"""Adds a display upload ad to a given ad group. + +To get ad groups, run get_ad_groups.py. +""" + + +import argparse +import sys + +import requests + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + + +BUNDLE_URL = "https://goo.gl/9Y7qI2" + + +def main(client, customer_id, ad_group_id): + """Adds a display upload ad to a given ad group. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + ad_group_id: The ID of the ad group to which the new ad will be added. + """ + # There are several types of display upload ads. For this example, we will + # create an HTML5 upload ad, which requires a media bundle. + # This feature is only available to allowlisted accounts. + # See https://support.google.com/google-ads/answer/1722096 for more details. + # The DisplayUploadProductType field lists the available display upload types: + # https://developers.google.com/google-ads/api/reference/rpc/latest/DisplayUploadAdInfo + + try: + # Creates a new media bundle asset and returns the resource name. + ad_asset_resource_name = _create_media_bundle_asset(client, customer_id) + + # Creates a new display upload ad and associates it with the specified + # ad group. + _create_display_upload_ad_group_ad( + client, customer_id, ad_group_id, ad_asset_resource_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(f'\tError with message "{error.message}".') + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _create_media_bundle_asset(client, customer_id): + """Creates a media bundle from the assets in a zip file. + + The zip file contains the HTML5 components. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID for which the call is made. + Returns: + The string resource name of the newly uploaded media bundle. + """ + # Get the AssetService client. + asset_service = client.get_service("AssetService", version="v6") + + # Construct an asset operation and populate its fields. + asset_operation = client.get_type("AssetOperation", version="v6") + media_bundle_asset = asset_operation.create + media_bundle_asset.type = client.get_type( + "AssetTypeEnum", version="v6" + ).MEDIA_BUNDLE + # The HTML5 zip file contains all the HTML, CSS, and images needed for the + # HTML5 ad. For help on creating an HTML5 zip file, check out Google Web + # Designer (https://www.google.com/webdesigner/). + # Download the ZIP as bytes from the URL + media_bundle_asset.media_bundle_asset.data = requests.get( + BUNDLE_URL + ).content + + # Adds the asset to the client account. + mutate_asset_response = asset_service.mutate_assets( + customer_id, [asset_operation] + ) + + # Display and return the resulting resource name. + uploaded_asset_resource_name = ( + mutate_asset_response.results[0].resource_name + ) + print(f"Uploaded file with resource name '{uploaded_asset_resource_name}'.") + + return uploaded_asset_resource_name + + +def _create_display_upload_ad_group_ad( + client, customer_id, ad_group_id, ad_asset_resource_name + ): + """Creates a new HTML5 display upload ad and adds it to the given ad group. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + ad_group_id: The ID of the ad group to which the new ad will be added. + ad_asset_resource_name: The resource name of the media bundle containing + the HTML5 components. + """ + # Get the AdGroupAdService client. + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") + + # Create an AdGroupAdOperation. + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") + + # Configure the ad group ad fields. + ad_group_ad = ad_group_ad_operation.create + ad_group_ad.status = client.get_type( + "AdGroupAdStatusEnum", version="v6" + ).PAUSED + ad_group_ad.ad_group = client.get_service( + "AdGroupService", version="v6" + ).ad_group_path(customer_id, ad_group_id) + + # Configured the ad as a display upload ad. + display_upload_ad = ad_group_ad.ad + display_upload_ad.name = "Ad for HTML5" + display_upload_ad.final_urls.append("http://example.com/html5") + # Exactly one ad data field must be included to specify the ad type. See + # https://developers.google.com/google-ads/api/reference/rpc/latest/Ad for + # the full list of available types. + display_upload_ad.display_upload_ad.CopyFrom( + client.get_type("DisplayUploadAdInfo", version="v6") + ) + display_upload_ad.display_upload_ad.media_bundle.asset = ( + ad_asset_resource_name + ) + display_upload_ad.display_upload_ad.display_upload_product_type = ( + client.get_type( + "DisplayUploadProductTypeEnum", version="v6" + ).HTML5_UPLOAD_AD + ) + + # Add the ad group ad to the client account and display the resulting + # ad's resource name. + mutate_ad_group_ads_response = ad_group_ad_service.mutate_ad_group_ads( + customer_id, [ad_group_ad_operation] + ) + print( + "Created new ad group ad with resource name " + f"'{mutate_ad_group_ads_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 = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Adds a display upload ad to a given ad group." + ) + # 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( + "-a", + "--ad_group_id", + type=int, + required=True, + help="The ID of the ad group to which the new ad will be added.", + ) + args = parser.parse_args() + + main(google_ads_client, args.customer_id, args.ad_group_id) diff --git a/examples/advanced_operations/add_dynamic_page_feed.py b/examples/advanced_operations/add_dynamic_page_feed.py index 57d391463..e0d327210 100755 --- a/examples/advanced_operations/add_dynamic_page_feed.py +++ b/examples/advanced_operations/add_dynamic_page_feed.py @@ -32,7 +32,6 @@ # Class to keep track of page feed details. class FeedDetails(object): - def __init__(self, resource_name, url_attribute_id, label_attribute_id): self.resource_name = resource_name self.url_attribute_id = url_attribute_id @@ -66,7 +65,7 @@ def main(client, customer_id, campaign_id, ad_group_id): update_campaign_dsa_setting( client, customer_id, campaign_id, feed_details ) - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") ad_group_resource_name = ad_group_service.ad_group_path( customer_id, ad_group_id ) @@ -101,29 +100,29 @@ 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="v5") + feed_operation = client.get_type("FeedOperation", version="v6") # Create a new feed. feed = feed_operation.create - feed.name.value = "DSA Feed #{}".format(uuid.uuid4()) - feed.origin = client.get_type("FeedOriginEnum", version="v5").USER + feed.name = f"DSA Feed #{uuid.uuid4()}" + feed.origin = client.get_type("FeedOriginEnum", version="v6").USER feed_attribute_type_enum = client.get_type( - "FeedAttributeTypeEnum", version="v5" + "FeedAttributeTypeEnum", version="v6" ) # Create the feed's attributes. - feed_attribute_url = client.get_type("FeedAttribute", version="v5") + feed_attribute_url = client.get_type("FeedAttribute", version="v6") feed_attribute_url.type = feed_attribute_type_enum.URL_LIST - feed_attribute_url.name.value = "Page URL" + feed_attribute_url.name = "Page URL" feed.attributes.append(feed_attribute_url) - feed_attribute_label = client.get_type("FeedAttribute", version="v5") + feed_attribute_label = client.get_type("FeedAttribute", version="v6") feed_attribute_label.type = feed_attribute_type_enum.STRING_LIST - feed_attribute_label.name.value = "Label" + feed_attribute_label.name = "Label" feed.attributes.append(feed_attribute_label) # Retrieve the feed service. - feed_service = client.get_service("FeedService", version="v5") + feed_service = client.get_service("FeedService", version="v6") # Send the feed operation and add the feed. response = feed_service.mutate_feeds(customer_id, [feed_operation]) @@ -147,7 +146,7 @@ def get_feed_details(client, customer_id, resource_name): FROM feed WHERE feed.resource_name = '{resource_name}'""" - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") response = ga_service.search(customer_id, query=query) # Maps specific fields in each row in the response to a dict. This would @@ -155,8 +154,7 @@ def get_feed_details(client, customer_id, resource_name): # only one row will be returned. for row in response: attribute_lookup = { - attribute.name.value: attribute.id.value - for attribute in row.feed.attributes + attribute.name: attribute.id for attribute in row.feed.attributes } return FeedDetails( @@ -174,33 +172,31 @@ def create_feed_mapping(client, customer_id, feed_details): """ # Retrieve a new feed mapping operation object. feed_mapping_operation = client.get_type( - "FeedMappingOperation", version="v5" + "FeedMappingOperation", version="v6" ) # Create a new feed mapping. feed_mapping = feed_mapping_operation.create feed_mapping.criterion_type = client.get_type( - "FeedMappingCriterionTypeEnum", version="v5" + "FeedMappingCriterionTypeEnum", version="v6" ).DSA_PAGE_FEED - feed_mapping.feed.value = feed_details.resource_name + feed_mapping.feed = feed_details.resource_name dsa_page_feed_field_enum = client.get_type( - "DsaPageFeedCriterionFieldEnum", version="v5" + "DsaPageFeedCriterionFieldEnum", version="v6" ) - url_field_mapping = client.get_type("AttributeFieldMapping", version="v5") - url_field_mapping.feed_attribute_id.value = feed_details.url_attribute_id + url_field_mapping = client.get_type("AttributeFieldMapping", version="v6") + url_field_mapping.feed_attribute_id = feed_details.url_attribute_id url_field_mapping.dsa_page_feed_field = dsa_page_feed_field_enum.PAGE_URL feed_mapping.attribute_field_mappings.append(url_field_mapping) - label_field_mapping = client.get_type("AttributeFieldMapping", version="v5") - label_field_mapping.feed_attribute_id.value = ( - feed_details.label_attribute_id - ) + label_field_mapping = client.get_type("AttributeFieldMapping", version="v6") + label_field_mapping.feed_attribute_id = feed_details.label_attribute_id label_field_mapping.dsa_page_feed_field = dsa_page_feed_field_enum.LABEL feed_mapping.attribute_field_mappings.append(label_field_mapping) # Retrieve the feed mapping service. feed_mapping_service = client.get_service( - "FeedMappingService", version="v5" + "FeedMappingService", version="v6" ) # Submit the feed mapping operation and add the feed mapping. response = feed_mapping_service.mutate_feed_mappings( @@ -230,30 +226,24 @@ def create_feed_items(client, customer_id, feed_details, label): ] def map_feed_urls(url): - feed_item_operation = client.get_type("FeedItemOperation", version="v5") + feed_item_operation = client.get_type("FeedItemOperation", version="v6") feed_item = feed_item_operation.create - feed_item.feed.value = feed_details.resource_name + feed_item.feed = feed_details.resource_name url_attribute_value = client.get_type( - "FeedItemAttributeValue", version="v5" - ) - url_attribute_value.feed_attribute_id.value = ( - feed_details.url_attribute_id + "FeedItemAttributeValue", version="v6" ) - url_string_val = client.get_type("StringValue", version="v5") - url_string_val.value = url - url_attribute_value.string_values.append(url_string_val) + url_attribute_value.feed_attribute_id = feed_details.url_attribute_id + url_attribute_value.string_values.append(url) feed_item.attribute_values.append(url_attribute_value) label_attribute_value = client.get_type( - "FeedItemAttributeValue", version="v5" + "FeedItemAttributeValue", version="v6" ) - label_attribute_value.feed_attribute_id.value = ( + label_attribute_value.feed_attribute_id = ( feed_details.label_attribute_id ) - label_string_val = client.get_type("StringValue", version="v5") - label_string_val.value = label - label_attribute_value.string_values.append(label_string_val) + label_attribute_value.string_values.append(label) feed_item.attribute_values.append(label_attribute_value) return feed_item_operation @@ -262,7 +252,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="v5") + feed_item_service = client.get_service("FeedItemService", version="v6") # Submit the feed item operations and add the feed items. response = feed_item_service.mutate_feed_items( customer_id, feed_item_operations @@ -297,7 +287,7 @@ def update_campaign_dsa_setting(client, customer_id, campaign_id, feed_details): WHERE campaign.id = {campaign_id} LIMIT 1""" - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") results = ga_service.search(customer_id, query=query) campaign = None @@ -315,7 +305,7 @@ def update_campaign_dsa_setting(client, customer_id, campaign_id, feed_details): ) # Retrieve a new campaign operation - campaign_operation = client.get_type("CampaignOperation", version="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") # Copy the retrieved campaign onto the new campaign operation. campaign_operation.update.CopyFrom(campaign) updated_campaign = campaign_operation.update @@ -339,7 +329,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="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Submit the campaign operation and update the campaign. response = campaign_service.mutate_campaigns( customer_id, [campaign_operation] @@ -361,7 +351,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="v5" + "AdGroupCriterionOperation", version="v6" ) # Create a new ad group criterion. ad_group_criterion = ad_group_criterion_operation.create @@ -373,12 +363,12 @@ 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 = label webpage_criterion_info.operand = client.get_type( - "WebpageConditionOperandEnum", version="v5" + "WebpageConditionOperandEnum", version="v6" ).CUSTOM_LABEL # Retrieve the ad group criterion service. ad_group_criterion_service = client.get_service( - "AdGroupCriterionService", version="v5" + "AdGroupCriterionService", version="v6" ) response = ad_group_criterion_service.mutate_ad_group_criteria( customer_id, [ad_group_criterion_operation] diff --git a/examples/advanced_operations/add_dynamic_search_ads.py b/examples/advanced_operations/add_dynamic_search_ads.py index 7e82e0cc8..e96a9ead0 100755 --- a/examples/advanced_operations/add_dynamic_search_ads.py +++ b/examples/advanced_operations/add_dynamic_search_ads.py @@ -69,19 +69,19 @@ def create_budget(client, customer_id): """ # Creates a campaign budget operation. campaign_budget_operation = client.get_type( - "CampaignBudgetOperation", version="v5" + "CampaignBudgetOperation", version="v6" ) # Issues a mutate request to add campaign budgets. campaign_budget = campaign_budget_operation.create campaign_budget.name = f"Interplanetary Cruise #{uuid4()}" campaign_budget.amount_micros = 50000000 campaign_budget.delivery_method = client.get_type( - "BudgetDeliveryMethodEnum", version="v5" + "BudgetDeliveryMethodEnum", version="v6" ).STANDARD # Retrieve the campaign budget service. campaign_budget_service = client.get_service( - "CampaignBudgetService", version="v5" + "CampaignBudgetService", version="v6" ) # Submit the campaign budget operation to add the campaign budget. response = campaign_budget_service.mutate_campaign_budgets( @@ -106,16 +106,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="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") campaign = campaign_operation.create campaign.name = f"Interplanetary Cruise #{uuid4()}" campaign.advertising_channel_type = client.get_type( - "AdvertisingChannelTypeEnum", version="v5" + "AdvertisingChannelTypeEnum", version="v6" ).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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED campaign.manual_cpc.enhanced_cpc_enabled = True campaign.campaign_budget = budget_resource_name # Required: Enable the campaign for DSAs by setting the campaign's dynamic @@ -130,7 +130,7 @@ def create_campaign(client, customer_id, budget_resource_name): campaign.end_date = (datetime.now() + timedelta(days=30)).strftime("%Y%m%d") # Retrieve the campaign service. - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Issues a mutate request to add campaign. response = campaign_service.mutate_campaigns( @@ -155,16 +155,16 @@ 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="v5") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") # 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="v5" + "AdGroupTypeEnum", version="v6" ).SEARCH_DYNAMIC_ADS ad_group.name = f"Earth to Mars Cruises {uuid4()}" ad_group.campaign = campaign_resource_name - ad_group.status = client.get_type("AdGroupStatusEnum", version="v5").PAUSED + ad_group.status = client.get_type("AdGroupStatusEnum", version="v6").PAUSED # Recommended: set a tracking URL template for your ad group if you want to # use URL tracking software. ad_group.tracking_url_template = ( @@ -174,7 +174,7 @@ def create_ad_group(client, customer_id, campaign_resource_name): ad_group.cpc_bid_micros = 10000000 # Retrieve the ad group service. - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") # Issues a mutate request to add the ad group. response = ad_group_service.mutate_ad_groups( @@ -196,7 +196,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="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") # 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 @@ -204,14 +204,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="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED # Set the ad description. ad_group_ad.ad.expanded_dynamic_search_ad.description = "Buy tickets now!" ad_group_ad.ad_group = ad_group_resource_name # Retrieve the ad group ad service. - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") # 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] @@ -231,7 +231,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="v5" + "AdGroupCriterionOperation", version="v6" ) # Create an ad group criterion for special offers for Mars Cruise. criterion = ad_group_criterion_operation.create @@ -240,30 +240,30 @@ def add_webpage_criterion(client, customer_id, ad_group_resource_name): criterion.cpc_bid_micros = 10000000 # Optional: set the status. criterion.status = client.get_type( - "AdGroupCriterionStatusEnum", version="v5" + "AdGroupCriterionStatusEnum", version="v6" ).PAUSED # Sets the criterion to match a specific page URL and title. criterion.webpage.criterion_name = "Special Offers" - webpage_info_url = client.get_type("WebpageConditionInfo", version="v5") + webpage_info_url = client.get_type("WebpageConditionInfo", version="v6") webpage_info_url.operand = client.get_type( - "WebpageConditionOperandEnum", version="v5" + "WebpageConditionOperandEnum", version="v6" ).URL webpage_info_url.argument = "/specialoffers" criterion.webpage.conditions.append(webpage_info_url) webpage_info_page_title = client.get_type( - "WebpageConditionInfo", version="v5" + "WebpageConditionInfo", version="v6" ) webpage_info_page_title.operand = client.get_type( - "WebpageConditionOperandEnum", version="v5" + "WebpageConditionOperandEnum", version="v6" ).PAGE_TITLE webpage_info_page_title.argument = "Special Offer" criterion.webpage.conditions.append(webpage_info_page_title) # Retrieve the ad group criterion service. ad_group_criterion_service = client.get_service( - "AdGroupCriterionService", version="v5" + "AdGroupCriterionService", version="v6" ) # Issues a mutate request to add the ad group criterion. response = ad_group_criterion_service.mutate_ad_group_criteria( 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 9f9e38d6f..e14d8c525 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,17 +22,17 @@ def main(client, customer_id, ad_group_id): - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") + ad_group_service = client.get_service("AdGroupService", version="v6") # Create ad group ad. - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group = ad_group_service.ad_group_path( customer_id, ad_group_id ) ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED # Set expanded text ad info diff --git a/examples/advanced_operations/add_gmail_ad.py b/examples/advanced_operations/add_gmail_ad.py index 4d7c82f03..de8d53e0a 100755 --- a/examples/advanced_operations/add_gmail_ad.py +++ b/examples/advanced_operations/add_gmail_ad.py @@ -43,27 +43,27 @@ 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", version="v5") + media_file_logo_op = client.get_type("MediaFileOperation", version="v6") media_file_logo = media_file_logo_op.create - media_file_logo.type = client.get_type("MediaTypeEnum", version="v5").IMAGE + media_file_logo.type = client.get_type("MediaTypeEnum", version="v6").IMAGE media_file_logo.image.data = logo_img_bytes media_file_logo.mime_type = client.get_type( - "MimeTypeEnum", version="v5" + "MimeTypeEnum", version="v6" ).IMAGE_PNG media_file_marketing_op = client.get_type( - "MediaFileOperation", version="v5" + "MediaFileOperation", version="v6" ) media_file_marketing = media_file_marketing_op.create media_file_marketing.type = client.get_type( - "MediaTypeEnum", version="v5" + "MediaTypeEnum", version="v6" ).IMAGE media_file_marketing.image.data = marketing_img_bytes media_file_marketing.mime_type = client.get_type( - "MimeTypeEnum", version="v5" + "MimeTypeEnum", version="v6" ).IMAGE_JPEG - media_file_service = client.get_service("MediaFileService", version="v5") + media_file_service = client.get_service("MediaFileService", version="v6") image_response = media_file_service.mutate_media_files( customer_id, [media_file_logo_op, media_file_marketing_op] ) @@ -72,9 +72,9 @@ def main(client, customer_id, ad_group_id): map(lambda response: response.resource_name, image_response.results) ) - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") - ad_group_service = client.get_service("AdGroupService", version="v5") - ad_group_ad_op = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") + ad_group_service = client.get_service("AdGroupService", version="v6") + ad_group_ad_op = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_op.create gmail_ad = ad_group_ad.ad.gmail_ad gmail_ad.teaser.headline = "Dream" @@ -89,7 +89,7 @@ def main(client, customer_id, ad_group_id): ad_group_ad.ad.name = "Gmail Ad #{}".format(str(uuid4())) ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED ad_group_ad.ad_group = ad_group_service.ad_group_path( customer_id, ad_group_id diff --git a/examples/advanced_operations/add_sitelink.py b/examples/advanced_operations/add_sitelink.py index 25df175f4..4853f8396 100755 --- a/examples/advanced_operations/add_sitelink.py +++ b/examples/advanced_operations/add_sitelink.py @@ -24,17 +24,16 @@ def main(client, customer_id): # Create an extension setting. - feed_service = client.get_service("ExtensionFeedItemService", version="v5") + feed_service = client.get_service("ExtensionFeedItemService", version="v6") extension_feed_item_operation = client.get_type( - "ExtensionFeedItemOperation", version="v5" + "ExtensionFeedItemOperation", version="v6" ) 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" - extension_feed_item.sitelink_feed_item.line2.value = "Line 2 Value" - final_url = extension_feed_item.sitelink_feed_item.final_urls.add() - final_url.value = "www.example.com" + extension_feed_item.sitelink_feed_item.link_text = "Text" + extension_feed_item.sitelink_feed_item.line1 = "Line 1 Value" + extension_feed_item.sitelink_feed_item.line2 = "Line 2 Value" + extension_feed_item.sitelink_feed_item.final_urls.append("www.example.com") # Add extension try: diff --git a/examples/advanced_operations/add_smart_display_ad.py b/examples/advanced_operations/add_smart_display_ad.py index 6a1731e06..3c29b41bf 100755 --- a/examples/advanced_operations/add_smart_display_ad.py +++ b/examples/advanced_operations/add_smart_display_ad.py @@ -121,7 +121,7 @@ def main( def _create_budget(client, customer_id): campaign_budget_operation = client.get_type( - "CampaignBudgetOperation", version="v5" + "CampaignBudgetOperation", version="v6" ) campaign_budget = campaign_budget_operation.create campaign_budget.name = f"Interplanetary Cruise Budget #{uuid4()}" @@ -131,7 +131,7 @@ def _create_budget(client, customer_id): campaign_budget.amount_micros = 500000 campaign_budget_service = client.get_service( - "CampaignBudgetService", version="v5" + "CampaignBudgetService", version="v6" ) try: @@ -144,22 +144,22 @@ def _create_budget(client, customer_id): def _create_smart_display_campaign(client, customer_id, budget_resource_name): - campaign_operation = client.get_type("CampaignOperation", version="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") campaign = campaign_operation.create campaign.name = f"Smart Display Campaign #{uuid4()}" advertising_channel_type_enum = client.get_type( - "AdvertisingChannelTypeEnum", version="v5" + "AdvertisingChannelTypeEnum", version="v6" ) campaign.advertising_channel_type = advertising_channel_type_enum.DISPLAY advertising_channel_sub_type_enum = client.get_type( - "AdvertisingChannelSubTypeEnum", version="v5" + "AdvertisingChannelSubTypeEnum", version="v6" ) # 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="v5") + campaign_status_enum = client.get_type("CampaignStatusEnum", version="v6") campaign.status = campaign_status_enum.PAUSED # Smart Display campaign requires the TargetCpa bidding strategy. campaign.target_cpa.target_cpa_micros = 5000000 @@ -170,7 +170,7 @@ def _create_smart_display_campaign(client, customer_id, budget_resource_name): end_date = start_date + datetime.timedelta(days=365) campaign.end_date = end_date.strftime(_DATE_FORMAT) - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") try: campaign_response = campaign_service.mutate_campaigns( @@ -182,14 +182,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="v5") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") ad_group = ad_group_operation.create ad_group.name = f"Earth to Mars Cruises #{uuid4()}" - ad_group_status_enum = client.get_type("AdGroupStatusEnum", version="v5") + ad_group_status_enum = client.get_type("AdGroupStatusEnum", version="v6") ad_group.status = ad_group_status_enum.PAUSED ad_group.campaign = campaign_resource_name - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") try: ad_group_response = ad_group_service.mutate_ad_groups( @@ -206,14 +206,14 @@ def _upload_image_asset( # Download image from URL image_content = requests.get(image_url).content - asset_operation = client.get_type("AssetOperation", version="v5") + asset_operation = client.get_type("AssetOperation", version="v6") 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 = f'Jupiter Trip #{uuid4()}' - asset_type_enum = client.get_type("AssetTypeEnum", version="v5") + asset_type_enum = client.get_type("AssetTypeEnum", version="v6") asset.type = asset_type_enum.IMAGE image_asset = asset.image_asset image_asset.data = image_content @@ -223,8 +223,8 @@ def _upload_image_asset( image_asset.full_size.height_pixels = image_height image_asset.full_size.url = image_url - asset_service = client.get_service("AssetService", version="v5") - content_type_enum = client.get_type("ResponseContentTypeEnum", version="v5") + asset_service = client.get_service("AssetService", version="v6") + content_type_enum = client.get_type("ResponseContentTypeEnum", version="v6") try: mutate_asset_response = asset_service.mutate_assets( @@ -247,11 +247,11 @@ def _create_responsive_display_ad( marketing_image_asset_id, square_marketing_image_asset_id, ): - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group = ad_group_resource_name ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED ad = ad_group_ad.ad ad.final_urls.append("https://www.example.com") @@ -263,7 +263,7 @@ def _create_responsive_display_ad( description.text = "Take to the air!" responsive_display_ad.business_name = "Google" - asset_service = client.get_service("AssetService", version="v5") + asset_service = client.get_service("AssetService", version="v6") marketing_image = responsive_display_ad.marketing_images.add() marketing_image.asset = asset_service.asset_path( customer_id, marketing_image_asset_id @@ -276,7 +276,7 @@ def _create_responsive_display_ad( responsive_display_ad.price_prefix = "as low as" responsive_display_ad.promo_text = "Free shipping!" - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") 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 e9da0d94b..daed65081 100755 --- a/examples/advanced_operations/create_and_attach_shared_keyword_set.py +++ b/examples/advanced_operations/create_and_attach_shared_keyword_set.py @@ -26,21 +26,21 @@ def main(client, customer_id, campaign_id): - campaign_service = client.get_service("CampaignService", version="v5") - shared_set_service = client.get_service("SharedSetService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") + shared_set_service = client.get_service("SharedSetService", version="v6") shared_criterion_service = client.get_service( - "SharedCriterionService", version="v5" + "SharedCriterionService", version="v6" ) campaign_shared_set_service = client.get_service( - "CampaignSharedSetService", version="v5" + "CampaignSharedSetService", version="v6" ) # Create shared negative keyword set. - shared_set_operation = client.get_type("SharedSetOperation", version="v5") + shared_set_operation = client.get_type("SharedSetOperation", version="v6") shared_set = shared_set_operation.create shared_set.name = "API Negative keyword list - %s" % uuid.uuid4() shared_set.type = client.get_type( - "SharedSetTypeEnum", version="v5" + "SharedSetTypeEnum", version="v6" ).NEGATIVE_KEYWORDS try: @@ -71,13 +71,13 @@ def main(client, customer_id, campaign_id): shared_criteria_operations = [] for keyword in keywords: shared_criterion_operation = client.get_type( - "SharedCriterionOperation", version="v5" + "SharedCriterionOperation", version="v6" ) shared_criterion = shared_criterion_operation.create keyword_info = shared_criterion.keyword keyword_info.text = keyword keyword_info.match_type = client.get_type( - "KeywordMatchTypeEnum", version="v5" + "KeywordMatchTypeEnum", version="v6" ).BROAD shared_criterion.shared_set = shared_set_resource_name shared_criteria_operations.append(shared_criterion_operation) @@ -102,7 +102,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="v5" + "CampaignSharedSetOperation", version="v6" ) campaign_set = campaign_set_operation.create campaign_set.campaign = campaign_service.campaign_path( 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 11701ceb1..4eb53b8d3 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") shared_criterion_service = client.get_service( - "SharedCriterionService", version="v5" + "SharedCriterionService", version="v6" ) # First, retrieve all shared sets associated with the campaign. @@ -91,7 +91,7 @@ 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="v5" + "KeywordMatchTypeEnum", version="v6" ).KeywordMatchType criterion_ids = [] @@ -100,7 +100,7 @@ def main(client, customer_id, page_size, campaign_id): shared_criterion_resource_name = shared_criterion.resource_name if ( shared_criterion.type - == client.get_type("CriterionTypeEnum", version="v5").KEYWORD + == client.get_type("CriterionTypeEnum", version="v6").KEYWORD ): keyword = shared_criterion.keyword print( @@ -119,7 +119,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="v5" + "SharedCriterionOperation", version="v6" ) 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 3d5900eb5..3344d146b 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT @@ -41,7 +41,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="v5").Device + device_enum = client.get_type("DeviceEnum", version="v6").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 b68072e20..05fe0bf88 100755 --- a/examples/advanced_operations/use_portfolio_bidding_strategy.py +++ b/examples/advanced_operations/use_portfolio_bidding_strategy.py @@ -24,16 +24,16 @@ def main(client, customer_id): campaign_budget_service = client.get_service( - "CampaignBudgetService", version="v5" + "CampaignBudgetService", version="v6" ) bidding_strategy_service = client.get_service( - "BiddingStrategyService", version="v5" + "BiddingStrategyService", version="v6" ) - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Create a budget, which can be shared by multiple campaigns. campaign_budget_operation = client.get_type( - "CampaignBudgetOperation", version="v5" + "CampaignBudgetOperation", version="v6" ) campaign_budget = campaign_budget_operation.create campaign_budget.name = "Interplanetary Budget %s" % uuid.uuid4() @@ -66,7 +66,7 @@ def main(client, customer_id): # Create a portfolio bidding strategy. bidding_strategy_operation = client.get_type( - "BiddingStrategyOperation", version="v5" + "BiddingStrategyOperation", version="v6" ) bidding_strategy = bidding_strategy_operation.create bidding_strategy.name = "Enhanced CPC %s" % uuid.uuid4() @@ -95,7 +95,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="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") campaign = campaign_operation.create campaign.name = "Interplanetary Cruise %s" % uuid.uuid4() campaign.advertising_channel_type = client.get_type( @@ -105,7 +105,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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED # Set the bidding strategy and budget. campaign.bidding_strategy = bidding_strategy_id diff --git a/examples/authentication/authenticate_in_standalone_application.py b/examples/authentication/authenticate_in_desktop_application.py similarity index 100% rename from examples/authentication/authenticate_in_standalone_application.py rename to examples/authentication/authenticate_in_desktop_application.py diff --git a/examples/basic_operations/add_ad_groups.py b/examples/basic_operations/add_ad_groups.py index 54b379c36..b4553ae92 100755 --- a/examples/basic_operations/add_ad_groups.py +++ b/examples/basic_operations/add_ad_groups.py @@ -26,17 +26,17 @@ def main(client, customer_id, campaign_id): - ad_group_service = client.get_service("AdGroupService", version="v5") - campaign_service = client.get_service("CampaignService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") + campaign_service = client.get_service("CampaignService", version="v6") # Create ad group. - ad_group_operation = client.get_type("AdGroupOperation", version="v5") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") ad_group = ad_group_operation.create ad_group.name = "Earth to Mars cruises %s" % uuid.uuid4() - ad_group.status = client.get_type("AdGroupStatusEnum", version="v5").ENABLED + ad_group.status = client.get_type("AdGroupStatusEnum", version="v6").ENABLED ad_group.campaign = campaign_service.campaign_path(customer_id, campaign_id) ad_group.type = client.get_type( - "AdGroupTypeEnum", version="v5" + "AdGroupTypeEnum", version="v6" ).SEARCH_STANDARD ad_group.cpc_bid_micros = 10000000 diff --git a/examples/basic_operations/add_campaigns.py b/examples/basic_operations/add_campaigns.py index 84b5becc3..8eacf81ef 100755 --- a/examples/basic_operations/add_campaigns.py +++ b/examples/basic_operations/add_campaigns.py @@ -31,13 +31,13 @@ def main(client, customer_id): campaign_budget_service = client.get_service( - "CampaignBudgetService", version="v5" + "CampaignBudgetService", version="v6" ) - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Create a budget, which can be shared by multiple campaigns. campaign_budget_operation = client.get_type( - "CampaignBudgetOperation", version="v5" + "CampaignBudgetOperation", version="v6" ) campaign_budget = campaign_budget_operation.create campaign_budget.name = "Interplanetary Budget %s" % uuid.uuid4() @@ -64,7 +64,7 @@ def main(client, customer_id): sys.exit(1) # Create campaign. - campaign_operation = client.get_type("CampaignOperation", version="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") campaign = campaign_operation.create campaign.name = "Interplanetary Cruise %s" % uuid.uuid4() campaign.advertising_channel_type = client.get_type( @@ -74,7 +74,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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED # Set the bidding strategy and budget. campaign.manual_cpc.enhanced_cpc_enabled = True diff --git a/examples/basic_operations/add_expanded_text_ads.py b/examples/basic_operations/add_expanded_text_ads.py index 41a11d614..01ce38b94 100755 --- a/examples/basic_operations/add_expanded_text_ads.py +++ b/examples/basic_operations/add_expanded_text_ads.py @@ -26,8 +26,8 @@ def main(client, customer_id, ad_group_id, number_of_ads): - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") + ad_group_service = client.get_service("AdGroupService", version="v6") ad_group_ad_operations = [] @@ -35,14 +35,14 @@ def main(client, customer_id, ad_group_id, number_of_ads): # Create ad group ad. ad_group_ad_operation = client.get_type( - "AdGroupAdOperation", version="v5" + "AdGroupAdOperation", version="v6" ) ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group = ad_group_service.ad_group_path( customer_id, ad_group_id ) ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED # Set expanded text ad info diff --git a/examples/basic_operations/add_keywords.py b/examples/basic_operations/add_keywords.py index 715055a6b..607f0a985 100755 --- a/examples/basic_operations/add_keywords.py +++ b/examples/basic_operations/add_keywords.py @@ -23,25 +23,25 @@ def main(client, customer_id, ad_group_id, keyword_text): - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") ad_group_criterion_service = client.get_service( - "AdGroupCriterionService", version="v5" + "AdGroupCriterionService", version="v6" ) # Create keyword. ad_group_criterion_operation = client.get_type( - "AdGroupCriterionOperation", version="v5" + "AdGroupCriterionOperation", version="v6" ) ad_group_criterion = ad_group_criterion_operation.create ad_group_criterion.ad_group = ad_group_service.ad_group_path( customer_id, ad_group_id ) ad_group_criterion.status = client.get_type( - "AdGroupCriterionStatusEnum", version="v5" + "AdGroupCriterionStatusEnum", version="v6" ).ENABLED ad_group_criterion.keyword.text = keyword_text ad_group_criterion.keyword.match_type = client.get_type( - "KeywordMatchTypeEnum", version="v5" + "KeywordMatchTypeEnum", version="v6" ).EXACT # Optional field diff --git a/examples/basic_operations/add_responsive_search_ad.py b/examples/basic_operations/add_responsive_search_ad.py index b45755e5b..652b58957 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="v5") - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") + ad_group_service = client.get_service("AdGroupService", version="v6") # Create the ad group ad. - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_operation.create ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED ad_group_ad.ad_group = ad_group_service.ad_group_path( customer_id, ad_group_id @@ -49,7 +49,7 @@ def main(client, customer_id, ad_group_id): pinned_headline = _create_ad_text_asset( client, f"Cruise to Mars #{str(uuid4())[:8]}", - client.get_type("ServedAssetFieldTypeEnum", version="v5").HEADLINE_1, + client.get_type("ServedAssetFieldTypeEnum", version="v6").HEADLINE_1, ) ad_group_ad.ad.responsive_search_ad.headlines.extend( @@ -94,7 +94,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="v5") + ad_text_asset = client.get_type("AdTextAsset", version="v6") ad_text_asset.text = 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 145e6c40e..071f7479a 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT campaign.id, ad_group.id, ad_group.name diff --git a/examples/basic_operations/get_artifact_metadata.py b/examples/basic_operations/get_artifact_metadata.py index 21df53b74..630f27f3d 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="v5") + gaf_service = client.get_service("GoogleAdsFieldService", version="v6") # Searches for an artifact with the specified name. query = f""" diff --git a/examples/basic_operations/get_campaigns.py b/examples/basic_operations/get_campaigns.py index 0856bc4b2..9a2ababba 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT campaign.id, campaign.name diff --git a/examples/basic_operations/get_expanded_text_ads.py b/examples/basic_operations/get_expanded_text_ads.py index 4d92da61b..ab132c7ef 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") ad_group_ad_status_enum = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).AdGroupAdStatus query = """ diff --git a/examples/basic_operations/get_keywords.py b/examples/basic_operations/get_keywords.py index 14a43ae15..b26c4d435 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT diff --git a/examples/basic_operations/get_responsive_search_ads.py b/examples/basic_operations/get_responsive_search_ads.py index fd7682bd1..231be4c16 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT @@ -50,7 +50,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="v5" + "AdGroupAdStatusEnum", version="v6" ).AdGroupAdStatus try: @@ -99,7 +99,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="v5" + "ServedAssetFieldTypeEnum", version="v6" ).ServedAssetFieldType s = [] for asset in assets: diff --git a/examples/basic_operations/pause_ad.py b/examples/basic_operations/pause_ad.py index 2307b3609..5cbc7b9d1 100755 --- a/examples/basic_operations/pause_ad.py +++ b/examples/basic_operations/pause_ad.py @@ -24,16 +24,16 @@ def main(client, customer_id, ad_group_id, ad_id): - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") 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="v5" + "AdGroupStatusEnum", version="v6" ).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 c1897a245..59245b06c 100755 --- a/examples/basic_operations/remove_ad.py +++ b/examples/basic_operations/remove_ad.py @@ -23,8 +23,8 @@ def main(client, customer_id, ad_group_id, ad_id): - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") 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 d094a4478..779e4e6d9 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="v5") - ad_group_operation = client.get_type("AdGroupOperation", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") 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 134984e31..2b4ccc7fa 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="v5") - campaign_operation = client.get_type("CampaignOperation", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") + campaign_operation = client.get_type("CampaignOperation", version="v6") 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 3438ff5b4..667c4f8da 100755 --- a/examples/basic_operations/remove_keyword.py +++ b/examples/basic_operations/remove_keyword.py @@ -24,8 +24,8 @@ def main(client, customer_id, ad_group_id, criterion_id): - agc_service = client.get_service("AdGroupCriterionService", version="v5") - agc_operation = client.get_type("AdGroupCriterionOperation", version="v5") + agc_service = client.get_service("AdGroupCriterionService", version="v6") + agc_operation = client.get_type("AdGroupCriterionOperation", version="v6") resource_name = agc_service.ad_group_criteria_path( customer_id, ResourceName.format_composite(ad_group_id, criterion_id) diff --git a/examples/basic_operations/update_ad_group.py b/examples/basic_operations/update_ad_group.py index 7d545fb7d..b4f98bd9b 100755 --- a/examples/basic_operations/update_ad_group.py +++ b/examples/basic_operations/update_ad_group.py @@ -27,15 +27,15 @@ def main(client, customer_id, ad_group_id, cpc_bid_micro_amount): - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") # Create ad group operation. - ad_group_operation = client.get_type("AdGroupOperation", version="v5") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") 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="v5").PAUSED + ad_group.status = client.get_type("AdGroupStatusEnum", version="v6").PAUSED ad_group.cpc_bid_micros = cpc_bid_micro_amount fm = protobuf_helpers.field_mask(None, ad_group) ad_group_operation.update_mask.CopyFrom(fm) diff --git a/examples/basic_operations/update_campaign.py b/examples/basic_operations/update_campaign.py index 236d5aac2..fb72e6a6a 100755 --- a/examples/basic_operations/update_campaign.py +++ b/examples/basic_operations/update_campaign.py @@ -27,14 +27,14 @@ def main(client, customer_id, campaign_id): - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Create campaign operation. - campaign_operation = client.get_type("CampaignOperation", version="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") campaign = campaign_operation.update campaign.resource_name = campaign_service.campaign_path( customer_id, campaign_id ) - campaign.status = client.get_type("CampaignStatusEnum", version="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED campaign.network_settings.target_search_network = 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 38d4b6f61..6fa72fb6e 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="v5") + ad_service = client.get_service("AdService", version="v6") - ad_operation = client.get_type("AdOperation", version="v5") + ad_operation = client.get_type("AdOperation", version="v6") # Update ad operation. ad = ad_operation.update diff --git a/examples/basic_operations/update_keyword.py b/examples/basic_operations/update_keyword.py index fcd15beee..52aed44ef 100755 --- a/examples/basic_operations/update_keyword.py +++ b/examples/basic_operations/update_keyword.py @@ -24,10 +24,10 @@ def main(client, customer_id, ad_group_id, criterion_id): - agc_service = client.get_service("AdGroupCriterionService", version="v5") + agc_service = client.get_service("AdGroupCriterionService", version="v6") ad_group_criterion_operation = client.get_type( - "AdGroupCriterionOperation", version="v5" + "AdGroupCriterionOperation", version="v6" ) ad_group_criterion = ad_group_criterion_operation.update @@ -35,7 +35,7 @@ def main(client, customer_id, ad_group_id, criterion_id): customer_id, ResourceName.format_composite(ad_group_id, criterion_id) ) ad_group_criterion.status = client.get_type( - "AdGroupCriterionStatusEnum", version="v5" + "AdGroupCriterionStatusEnum", version="v6" ).ENABLED al_url = ad_group_criterion.final_urls.append("https://www.example.com") fm = protobuf_helpers.field_mask(None, ad_group_criterion) diff --git a/examples/billing/add_account_budget_proposal.py b/examples/billing/add_account_budget_proposal.py index 56dd0f0eb..3d5ae7233 100755 --- a/examples/billing/add_account_budget_proposal.py +++ b/examples/billing/add_account_budget_proposal.py @@ -30,7 +30,7 @@ def main(client, customer_id, billing_setup_id): "AccountBudgetProposalService" ) billing_setup_service = client.get_service( - "BillingSetupService", version="v5" + "BillingSetupService", version="v6" ) account_budget_proposal_operation = client.get_type( @@ -41,14 +41,14 @@ def main(client, customer_id, billing_setup_id): proposal.proposal_type = client.get_type( "AccountBudgetProposalTypeEnum" ).CREATE - proposal.billing_setup.value = billing_setup_service.billing_setup_path( + proposal.billing_setup = billing_setup_service.billing_setup_path( customer_id, billing_setup_id ) - proposal.proposed_name.value = "Account Budget Proposal (example)" + proposal.proposed_name = "Account Budget Proposal (example)" # Specify the account budget starts immediately proposal.proposed_start_time_type = client.get_type( - "TimeTypeEnum", version="v5" + "TimeTypeEnum", version="v6" ).NOW # Alternatively you can specify a specific start time. Refer to the # AccountBudgetProposal resource documentation for allowed formats. @@ -57,7 +57,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="v5" + "TimeTypeEnum", version="v6" ).FOREVER # Alternatively you can specify a specific end time. Allowed formats are as # above. @@ -69,7 +69,7 @@ def main(client, customer_id, billing_setup_id): # # proposal.proposed_notes = client.wrapper # .string('Received prepayment of $0.01') - proposal.proposed_spending_limit_micros.value = 10000 + proposal.proposed_spending_limit_micros = 10000 try: account_budget_proposal_response = account_budget_proposal_service.mutate_account_budget_proposal( diff --git a/examples/billing/add_billing_setup.py b/examples/billing/add_billing_setup.py new file mode 100755 index 000000000..d97820de9 --- /dev/null +++ b/examples/billing/add_billing_setup.py @@ -0,0 +1,248 @@ +#!/usr/bin/env python +# 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. +"""This example creates a billing setup for a customer. + +A billing setup is a link between a payments account and a customer. The new +billing setup can either reuse an existing payments account, or create a new +payments account with a given payments profile. Billing setups are applicable +for clients on monthly invoicing only. See here for details about applying for +monthly invoicing: https://support.google.com/google-ads/answer/2375377. +In the case of consolidated billing, a payments account is linked to the +manager account and is linked to a customer account via a billing setup. +""" + + +import argparse +from datetime import datetime, timedelta +import sys +from uuid import uuid4 + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + + +def main( + client, customer_id, payments_account_id=None, payments_profile_id=None +): + """The main method that creates all necessary entities for the example. + + Args: + client: an initialized GoogleAdsClient instance. + customer_id: a client customer ID. + payments_account_id: payments account ID to attach to the new billing + setup. If provided it must be formatted as "1234-5678-9012-3456". + payments_profile_id: payments profile ID to attach to a new payments + account and to the new billing setup. If provided it must be + formatted as "1234-5678-9012". + """ + try: + billing_setup = _create_billing_setup( + client, customer_id, payments_account_id, payments_profile_id + ) + _set_billing_setup_date_times(client, customer_id, billing_setup) + billing_setup_operation = client.get_type( + "BillingSetupOperation", version="v6" + ) + billing_setup_operation.create.CopyFrom(billing_setup) + billing_setup_service = client.get_service( + "BillingSetupService", version="v6" + ) + response = billing_setup_service.mutate_billing_setup( + customer_id, billing_setup_operation + ) + print( + "Added new billing setup with resource name " + f"{response.result.resource_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(f'\tError with message "{error.message}".') + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _create_billing_setup( + client, customer_id, payments_account_id=None, payments_profile_id=None +): + """Creates and returns a new billing setup instance. + + The new billing setup will have its payment details populated. One of the + payments_account_id or payments_profile_id must be provided. + + Args: + client: an initialized GoogleAdsClient instance. + customer_id: a client customer ID. + payments_account_id: payments account ID to attach to the new billing + setup. If provided it must be formatted as "1234-5678-9012-3456". + payments_profile_id: payments profile ID to attach to a new payments + account and to the new billing setup. If provided it must be + formatted as "1234-5678-9012". + + Returns: + A newly created BillingSetup instance. + """ + billing_setup = client.get_type("BillingSetup", version="v6") + + # Sets the appropriate payments account field. + if payments_account_id != None: + # If a payments account ID has been provided, set the payments_account + # field to the full resource name of the given payments account ID. + # You can list available payments accounts via the + # PaymentsAccountService's ListPaymentsAccounts method. + billing_setup.payments_account = ( + f"customers/{customer_id}/paymentsAccounts/{payments_account_id}" + ) + elif payments_profile_id != None: + # Otherwise, create a new payments account by setting the + # payments_account_info field + # See https://support.google.com/google-ads/answer/7268503 + # for more information about payments profiles. + billing_setup.payments_account_info.payments_account_name = ( + f"Payments Account #{uuid4()}" + ) + billing_setup.payments_account_info.payments_profile_id = ( + payments_profile_id + ) + + return billing_setup + + +def _set_billing_setup_date_times(client, customer_id, billing_setup): + """Sets the starting and ending date times for the new billing setup. + + Queries the customer's account to see if there are any approved billing + setups. If there are any, the new billing setup starting date time is set to + one day after the last. If not, the billing setup is set to start + immediately. The ending date is set to one day after the starting date time. + + Args: + client: an initialized GoogleAdsClient instance. + customer_id: a client customer ID. + billing_setup: the billing setup whose starting and ending date times + will be set. + """ + # The query to search existing approved billing setups in the end date time + # descending order. See get_billing_setup.py for a more detailed example of + # how to retrieve billing setups. + query = """ + SELECT + billing_setup.end_date_time + FROM billing_setup + WHERE billing_setup.status = APPROVED + ORDER BY billing_setup.end_date_time DESC + LIMIT 1""" + + ga_service = client.get_service("GoogleAdsService", version="v6") + response = ga_service.search_stream(customer_id, query) + # Coercing the response iterator to a list causes the stream to be fully + # consumed so that we can easily access the last row in the request. + batches = list(response) + # Checks if any results were included in the response. + if batches: + # Retrieves the ending_date_time of the last BillingSetup. + last_batch = batches[0] + last_row = last_batch.results[0] + last_ending_date_time = last_row.billing_setup.end_date_time + + if not last_ending_date_time: + # A null ending date time indicates that the current billing setup + # is set to run indefinitely. Billing setups cannot overlap, so + # throw an exception in this case. + raise Exception( + "Cannot set starting and ending date times for the new billing " + "setup; the latest existing billing setup is set to run " + "indefinitely." + ) + + try: + # BillingSetup.end_date_time is a string that can be in the format + # %Y-%m-%d or %Y-%m-%d %H:%M:%S. This checks for the first format. + end_date_time_obj = datetime.strptime( + last_ending_date_time, "%Y-%m-%d" + ) + except ValueError: + # If a ValueError is raised then the end_date_time string is in the + # second format that includes hours, minutes and seconds. + end_date_time_obj = datetime.strptime( + last_ending_date_time, "%Y-%m-%d %H:%M:%S" + ) + + # Sets the new billing setup start date to one day after the end date. + start_date = end_date_time_obj + timedelta(days=1) + else: + # If there are no BillingSetup objecst to retrieve, the only acceptable + # start date time is today. + start_date = datetime.now() + + billing_setup.start_date_time = start_date.strftime("%Y-%m-%d %H:%M:%S") + billing_setup.end_date_time = (start_date + timedelta(days=1)).strftime( + "%Y-%m-%d %H:%M:%S" + ) + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description=("Creates a billing setup for a given customer.") + ) + # 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.", + ) + # Creates a mutually exclusive argument group to ensure that only one of the + # following two arguments are given, otherwise it will raise an error. + group = parser.add_mutually_exclusive_group(required=True) + group.add_argument( + "-a", + "--payments_account_id", + type=str, + help="Either a payments account ID or a payments profile ID must be " + "provided for the example to run successfully. " + "See: https://developers.google.com/google-ads/api/docs/billing/billing-setups#creating_new_billing_setups. " + "Provide an existing payments account ID to link to the new " + "billing setup. Must be formatted as '1234-5678-9012-3456'.", + ) + group.add_argument( + "-p", + "--payments_profile_id", + type=str, + help="Either a payments account ID or a payments profile ID must be " + "provided for the example to run successfully. " + "See: https://developers.google.com/google-ads/api/docs/billing/billing-setups#creating_new_billing_setups. " + "Provide an existing payments profile ID to link to a new payments " + "account and the new billing setup. Must be formatted as: " + "'1234-5678-9012-3456'.", + ) + args = parser.parse_args() + + main( + google_ads_client, + args.customer_id, + args.payments_account_id, + args.payments_profile_id, + ) diff --git a/examples/billing/get_account_budget_proposals.py b/examples/billing/get_account_budget_proposals.py index 5dba450eb..686fb5137 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT @@ -60,23 +60,19 @@ def main(client, customer_id, page_size): budget_proposal = row.account_budget_proposal print( - 'Account budget proposal with ID "%s", status "%s", ' - 'account_budget "%s", billing_setup "%s", ' - 'proposed_name "%s", proposed_notes "%s", ' - 'proposed_po_number "%s", proposal_type "%s", ' - 'approval_date_time "%s", creation_date_time "%s"' - % ( - budget_proposal.id.value, - proposal_status_enum.Name(budget_proposal.status), - budget_proposal.account_budget.value, - budget_proposal.billing_setup.value, - budget_proposal.proposed_name.value, - budget_proposal.proposed_notes.value, - budget_proposal.proposed_purchase_order_number.value, - proposal_type_enum.Name(budget_proposal.proposal_type), - budget_proposal.approval_date_time.value, - budget_proposal.creation_date_time.value, - ) + f'Account budget proposal with ID "{budget_proposal.id}", ' + "status " + f'"{proposal_status_enum.Name(budget_proposal.status)}", ' + f'account_budget "{budget_proposal.account_budget}", ' + f'billing_setup "{budget_proposal.billing_setup}", ' + f'proposed_name "{budget_proposal.proposed_name}", ' + f'proposed_notes "{budget_proposal.proposed_notes}", ' + "proposed_po_number " + f'"{budget_proposal.proposed_purchase_order_number}", ' + "proposal_type " + f'"{proposal_type_enum.Name(budget_proposal.proposal_type)}", ' + f'approval_date_time "{budget_proposal.approval_date_time}", ' + f'creation_date_time "{budget_proposal.creation_date_time}"' ) except google.ads.google_ads.errors.GoogleAdsException as ex: print( diff --git a/examples/billing/get_account_budgets.py b/examples/billing/get_account_budgets.py index f522b57ed..1dd66d71e 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT @@ -48,8 +48,11 @@ 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="v5" + "AccountBudgetStatusEnum", version="v6" ).AccountBudgetStatus + spending_limit_type_enum = client.get_type( + "SpendingLimitTypeEnum", version="v6" + ).SpendingLimitType for batch in response: for row in batch.results: @@ -57,27 +60,33 @@ def main(client, customer_id): approved_spending_limit = ( _micros_to_currency(budget.approved_spending_limit_micros) if budget.approved_spending_limit_micros - else budget.approved_spending_limit_type.name + else spending_limit_type_enum.Name( + budget.approved_spending_limit_type + ) ) proposed_spending_limit = ( _micros_to_currency(budget.proposed_spending_limit_micros) if budget.proposed_spending_limit_micros - else budget.proposed_spending_limit_type.name + else budget_status_enum.Name( + budget.proposed_spending_limit_type + ) ) adjusted_spending_limit = ( _micros_to_currency(budget.adjusted_spending_limit_micros) if budget.adjusted_spending_limit_micros - else budget.adjusted_spending_limit_type.name + else budget_status_enum.Name( + budget.adjusted_spending_limit_type + ) ) approved_end_date_time = ( budget.approved_end_date_time if budget.approved_end_date_time - else budget.approved_end_date_time_type + else budget.approved_end_time_type ) proposed_end_date_time = ( budget.proposed_end_date_time if budget.proposed_end_date_time - else budget.proposed_end_date_time_type + else budget.proposed_end_time_type ) print( diff --git a/examples/billing/get_billing_setup.py b/examples/billing/get_billing_setup.py index 50e7b846d..4cd86b99d 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT @@ -42,7 +42,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="v5" + "BillingSetupStatusEnum", version="v6" ).BillingSetupStatus print("Found the following billing setup results:") @@ -50,20 +50,20 @@ def main(client, customer_id): for row in batch.results: billing_setup = row.billing_setup pai = billing_setup.payments_account_info - if pai.secondary_payments_profile_id.value: + if pai.secondary_payments_profile_id: secondary_payments_profile_id = ( - pai.secondary_payments_profile_id.value + pai.secondary_payments_profile_id ) else: secondary_payments_profile_id = "None" print( - f"Billing setup with ID {billing_setup.id.value}, " + f"Billing setup with ID {billing_setup.id}, " f'status "{billing_setup_status_enum.Name(billing_setup.status)}", ' - f'payments_account "{billing_setup.payments_account.value}" ' - f"payments_account_id {pai.payments_account_id.value}, " - f'payments_account_name "{pai.payments_account_name.value}", ' - f"payments_profile_id {pai.payments_profile_id.value}, " - f'payments_profile_name "{pai.payments_profile_name.value}", ' + f'payments_account "{billing_setup.payments_account}" ' + f"payments_account_id {pai.payments_account_id}, " + f'payments_account_name "{pai.payments_account_name}", ' + f"payments_profile_id {pai.payments_profile_id}, " + f'payments_profile_name "{pai.payments_profile_name}", ' f"secondary_payments_profile_id {secondary_payments_profile_id}." ) except GoogleAdsException as ex: diff --git a/examples/billing/remove_billing_setup.py b/examples/billing/remove_billing_setup.py index 3d8bd42ae..240f4d053 100755 --- a/examples/billing/remove_billing_setup.py +++ b/examples/billing/remove_billing_setup.py @@ -26,12 +26,12 @@ def main(client, customer_id, billing_setup_id): billing_setup_service = client.get_service( - "BillingSetupService", version="v5" + "BillingSetupService", version="v6" ) # Create billing setup operation. billing_setup_operation = client.get_type( - "BillingSetupOperation", version="v5" + "BillingSetupOperation", version="v6" ) 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 854f9c337..2c2aa8d76 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="v5") + campaign_service = client.get_service("CampaignService", version="v6") campaign_bm_service = client.get_service( - "CampaignBidModifierService", version="v5" + "CampaignBidModifierService", version="v6" ) # Create campaign bid modifier for call interactions with the specified @@ -45,7 +45,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="v5" + "InteractionTypeEnum", version="v6" ).CALLS # Add the campaign bid modifier. diff --git a/examples/campaign_management/add_campaign_draft.py b/examples/campaign_management/add_campaign_draft.py index 8a5ece4ed..c7e2d6d4f 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="v5") + campaign_service = client.get_service("CampaignService", version="v6") campaign_draft_service = client.get_service( - "CampaignDraftService", version="v5" + "CampaignDraftService", version="v6" ) # Creates a campaign draft operation. @@ -37,10 +37,10 @@ def main(client, customer_id, base_campaign_id): campaign_draft = campaign_draft_operation.create # Creates a campaign draft. - campaign_draft.base_campaign.value = campaign_service.campaign_path( + campaign_draft.base_campaign = campaign_service.campaign_path( customer_id, base_campaign_id ) - campaign_draft.name.value = f"Campaign Draft #{uuid4()}" + campaign_draft.name = f"Campaign Draft #{uuid4()}" # Issues a mutate request to add the campaign draft. try: diff --git a/examples/campaign_management/add_campaign_labels.py b/examples/campaign_management/add_campaign_labels.py index 6e5b12b70..485c8f278 100755 --- a/examples/campaign_management/add_campaign_labels.py +++ b/examples/campaign_management/add_campaign_labels.py @@ -36,10 +36,10 @@ def main(client, customer_id, label_id, campaign_ids): # Get an instance of CampaignLabelService client. campaign_label_service = client.get_service( - "CampaignLabelService", version="v5" + "CampaignLabelService", version="v6" ) - campaign_service = client.get_service("CampaignService", version="v5") - label_service = client.get_service("LabelService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") + label_service = client.get_service("LabelService", version="v6") # Build the resource name of the label to be added across the campaigns. label_resource_name = label_service.label_path(customer_id, label_id) @@ -51,12 +51,12 @@ def main(client, customer_id, label_id, campaign_ids): customer_id, campaign_id ) campaign_label_operation = client.get_type( - "CampaignLabelOperation", version="v5" + "CampaignLabelOperation", version="v6" ) campaign_label = campaign_label_operation.create - campaign_label.campaign.value = campaign_resource_name - campaign_label.label.value = label_resource_name + campaign_label.campaign = campaign_resource_name + campaign_label.label = label_resource_name operations.append(campaign_label_operation) try: diff --git a/examples/campaign_management/add_complete_campaigns_using_batch_job.py b/examples/campaign_management/add_complete_campaigns_using_batch_job.py index d264ed4bf..c2a3716b2 100755 --- a/examples/campaign_management/add_complete_campaigns_using_batch_job.py +++ b/examples/campaign_management/add_complete_campaigns_using_batch_job.py @@ -77,7 +77,7 @@ def _build_mutate_operation(client, operation_type, operation): Returns: a MutateOperation instance """ - mutate_operation = client.get_type("MutateOperation", version="v5") + mutate_operation = client.get_type("MutateOperation", version="v6") getattr(mutate_operation, operation_type).CopyFrom(operation) return mutate_operation @@ -89,7 +89,7 @@ async def main(client, customer_id): client: an initialized GoogleAdsClient instance. customer_id: a str of a customer ID. """ - batch_job_service = client.get_service("BatchJobService", version="v5") + batch_job_service = client.get_service("BatchJobService", version="v6") batch_job_operation = _create_batch_job_operation(client) resource_name = _create_batch_job( batch_job_service, customer_id, batch_job_operation @@ -123,8 +123,8 @@ def _create_batch_job_operation(client): Returns: a BatchJobOperation with a BatchJob instance set in the "create" property. """ - batch_job_operation = client.get_type("BatchJobOperation", version="v5") - batch_job = client.get_type("BatchJob", version="v5") + batch_job_operation = client.get_type("BatchJobOperation", version="v6") + batch_job = client.get_type("BatchJob", version="v6") batch_job_operation.create.CopyFrom(batch_job) return batch_job_operation @@ -269,10 +269,10 @@ def _build_campaign_budget_operation(client, customer_id): Returns: a CampaignBudgetOperation instance. """ campaign_budget_service = client.get_service( - "CampaignBudgetService", version="v5" + "CampaignBudgetService", version="v6" ) campaign_budget_operation = client.get_type( - "CampaignBudgetOperation", version="v5" + "CampaignBudgetOperation", version="v6" ) campaign_budget = campaign_budget_operation.create resource_name = campaign_budget_service.campaign_budget_path( @@ -281,7 +281,7 @@ def _build_campaign_budget_operation(client, customer_id): campaign_budget.resource_name = resource_name campaign_budget.name = f"Interplanetary Cruise Budget #{uuid4()}" campaign_budget.delivery_method = client.get_type( - "BudgetDeliveryMethodEnum", version="v5" + "BudgetDeliveryMethodEnum", version="v6" ).STANDARD campaign_budget.amount_micros = 5000000 @@ -322,8 +322,8 @@ def _build_campaign_operation( Returns: a CampaignOperation instance. """ - campaign_operation = client.get_type("CampaignOperation", version="v5") - campaign_service = client.get_service("CampaignService", version="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") + campaign_service = client.get_service("CampaignService", version="v6") # Creates a campaign. campaign = campaign_operation.create campaign_id = _get_next_temporary_id() @@ -333,14 +333,14 @@ def _build_campaign_operation( ) campaign.name = f"Batch job campaign #{customer_id}.{campaign_id}" campaign.advertising_channel_type = client.get_type( - "AdvertisingChannelTypeEnum", version="v5" + "AdvertisingChannelTypeEnum", version="v6" ).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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED # Set the bidding strategy and type. - campaign.manual_cpc.CopyFrom(client.get_type("ManualCpc", version="v5")) + campaign.manual_cpc.CopyFrom(client.get_type("ManualCpc", version="v6")) campaign.campaign_budget = campaign_budget_resource_name return campaign_operation @@ -371,13 +371,13 @@ def _build_campaign_criterion_operation(client, campaign_operation): Returns: a CampaignCriterionOperation instance. """ campaign_criterion_operation = client.get_type( - "CampaignCriterionOperation", version="v5" + "CampaignCriterionOperation", version="v6" ) # Creates a campaign criterion. campaign_criterion = campaign_criterion_operation.create campaign_criterion.keyword.text = "venus" campaign_criterion.keyword.match_type = client.get_type( - "KeywordMatchTypeEnum", version="v5" + "KeywordMatchTypeEnum", version="v6" ).BROAD # Sets the campaign criterion as a negative criterion. campaign_criterion.negative = True @@ -419,8 +419,8 @@ def _build_ad_group_operation(client, customer_id, campaign_operation): Return: an AdGroupOperation instance. """ - ad_group_operation = client.get_type("AdGroupOperation", version="v5") - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") + ad_group_service = client.get_service("AdGroupService", version="v6") # Creates an ad group. ad_group = ad_group_operation.create ad_group_id = _get_next_temporary_id() @@ -431,7 +431,7 @@ def _build_ad_group_operation(client, customer_id, campaign_operation): ad_group.name = f"Batch job ad group #{uuid4()}.{ad_group_id}" ad_group.campaign = campaign_operation.create.resource_name ad_group.type = client.get_type( - "AdGroupTypeEnum", version="v5" + "AdGroupTypeEnum", version="v6" ).SEARCH_STANDARD ad_group.cpc_bid_micros = 10000000 @@ -485,7 +485,7 @@ def _build_ad_group_criterion_operation( Returns: an AdGroupCriterionOperation instance. """ ad_group_criterion_operation = client.get_type( - "AdGroupCriterionOperation", version="v5" + "AdGroupCriterionOperation", version="v6" ) # Creates an ad group criterion. ad_group_criterion = ad_group_criterion_operation.create @@ -497,11 +497,11 @@ def _build_ad_group_criterion_operation( ad_group_criterion.keyword.text += "!!!" ad_group_criterion.keyword.match_type = client.get_type( - "KeywordMatchTypeEnum", version="v5" + "KeywordMatchTypeEnum", version="v6" ).BROAD ad_group_criterion.ad_group = ad_group_operation.create.resource_name ad_group_criterion.status = client.get_type( - "AdGroupCriterionStatusEnum", version="v5" + "AdGroupCriterionStatusEnum", version="v6" ).ENABLED return ad_group_criterion_operation @@ -531,7 +531,7 @@ def _build_ad_group_ad_operation(client, ad_group_operation): Returns: an AdGroupAdOperation instance. """ - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") # Creates an ad group ad. ad_group_ad = ad_group_ad_operation.create # Creates the expanded text ad info. @@ -542,7 +542,7 @@ def _build_ad_group_ad_operation(client, ad_group_operation): final_url = ad_group_ad.ad.final_urls.append("http://www.example.com") ad_group_ad.ad_group = ad_group_operation.create.resource_name ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED return ad_group_ad_operation diff --git a/examples/campaign_management/create_campaign_experiment.py b/examples/campaign_management/create_campaign_experiment.py index 2a22bce0a..4ef1ab77f 100755 --- a/examples/campaign_management/create_campaign_experiment.py +++ b/examples/campaign_management/create_campaign_experiment.py @@ -29,24 +29,24 @@ def main(client, customer_id, base_campaign_id, draft_id): # Create the campaign experiment. - campaign_experiment = client.get_type("CampaignExperiment", version="v5") + campaign_experiment = client.get_type("CampaignExperiment", version="v6") campaign_draft_service = client.get_service( - "CampaignDraftService", version="v5" + "CampaignDraftService", version="v6" ) 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 = f"Campaign Experiment #{uuid.uuid4()}" - campaign_experiment.traffic_split_percent.value = 50 + campaign_experiment.campaign_draft = campaign_draft_resource_name + campaign_experiment.name = f"Campaign Experiment #{uuid.uuid4()}" + campaign_experiment.traffic_split_percent = 50 campaign_experiment.traffic_split_type = client.get_type( - "CampaignExperimentTrafficSplitTypeEnum", version="v5" + "CampaignExperimentTrafficSplitTypeEnum", version="v6" ).RANDOM_QUERY try: campaign_experiment_service = client.get_service( - "CampaignExperimentService", version="v5" + "CampaignExperimentService", version="v6" ) # A Long Running Operation (LRO) is returned from this @@ -77,7 +77,7 @@ def main(client, customer_id, base_campaign_id, draft_id): campaign_experiment_lro.result() # Retrieve the campaign experiment that has been created. - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign_experiment.experiment_campaign FROM campaign_experiment @@ -91,7 +91,7 @@ def main(client, customer_id, base_campaign_id, draft_id): for row in results: print( "Experiment campaign " - f'"{row.campaign_experiment.experiment_campaign.value}" ' + f'"{row.campaign_experiment.experiment_campaign}" ' "creation completed." ) except GoogleAdsException as ex: diff --git a/examples/campaign_management/get_all_disapproved_ads.py b/examples/campaign_management/get_all_disapproved_ads.py index ae3ebfec7..48e7ebf24 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT @@ -42,7 +42,7 @@ def main(client, customer_id, campaign_id, page_size): customer_id, query=query, page_size=page_size, ) - ad_type_enum = client.get_type("AdTypeEnum", version="v5").AdType + ad_type_enum = client.get_type("AdTypeEnum", version="v6").AdType policy_topic_entry_type_enum = client.get_type( "PolicyTopicEntryTypeEnum" ).PolicyTopicEntryType @@ -50,7 +50,7 @@ def main(client, customer_id, campaign_id, page_size): print("Disapproved ads:") approval_status_enum = client.get_type( - "PolicyApprovalStatusEnum", version="v5" + "PolicyApprovalStatusEnum", version="v6" ) # Iterate over all ads in all rows returned and count disapproved ads. @@ -79,7 +79,7 @@ def main(client, customer_id, campaign_id, page_size): # topic. for evidence in entry.evidences: for index, text in enumerate(evidence.text_list.texts): - print("\t\tevidence text[%s]: %s" % (index, text.value)) + print(f"\t\tevidence text[{index}]: {text}") # The "num_results" field returns the number of items that have been # iterated in the results not the total number of rows returned by the diff --git a/examples/campaign_management/get_campaigns_by_label.py b/examples/campaign_management/get_campaigns_by_label.py index a84cfeede..f38dff62f 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") # Creates a query that will retrieve all campaign labels with the # specified label ID. @@ -61,7 +61,7 @@ def main(client, customer_id, label_id, page_size): print( 'Campaign found with name "{}", ID "{}", and ' 'label "{}".'.format( - row.campaign.id, row.campaign.name, row.label.name.value + row.campaign.id, row.campaign.name, row.label.name ) ) except GoogleAdsException as ex: diff --git a/examples/campaign_management/graduate_campaign_experiment.py b/examples/campaign_management/graduate_campaign_experiment.py index b9456fe02..7dd4c8336 100644 --- a/examples/campaign_management/graduate_campaign_experiment.py +++ b/examples/campaign_management/graduate_campaign_experiment.py @@ -31,7 +31,7 @@ def main(client, customer_id, campaign_experiment_id): campaign_experiment_id: The campaign experiment ID to graduate. """ campaign_experiment_service = client.get_service( - "CampaignExperimentService", version="v5" + "CampaignExperimentService", version="v6" ) try: @@ -84,17 +84,17 @@ def _create_budget(client, customer_id): """ # Gets the CampaignBudgetService. campaign_budget_service = client.get_service( - "CampaignBudgetService", version="v5" + "CampaignBudgetService", version="v6" ) # Creates the campaign budget. campaign_budget_operation = client.get_type( - "CampaignBudgetOperation", version="v5" + "CampaignBudgetOperation", version="v6" ) campaign_budget = campaign_budget_operation.create campaign_budget.name = f"Interplanetary Cruise Budget {uuid.uuid4()}" campaign_budget.delivery_method = client.get_type( - "BudgetDeliveryMethodEnum", version="v5" + "BudgetDeliveryMethodEnum", version="v6" ).STANDARD campaign_budget.amount_micros = 5000000 diff --git a/examples/campaign_management/set_ad_parameters.py b/examples/campaign_management/set_ad_parameters.py index 7967de784..ea9db33d0 100755 --- a/examples/campaign_management/set_ad_parameters.py +++ b/examples/campaign_management/set_ad_parameters.py @@ -33,7 +33,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="v5" + "AdGroupCriterionService", version="v6" ) # Gets the resource name of the ad group criterion to be used. resource_name = ad_group_criterion_service.ad_group_criteria_path( @@ -45,7 +45,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="v5" + "AdParameterService", version="v6" ) # Add the ad parameter. @@ -93,7 +93,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="v5") + ad_param_operation = client.get_type("AdParameterOperation", version="v6") ad_param = ad_param_operation.create ad_param.ad_group_criterion = resource_name ad_param.parameter_index = 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 b47363031..93b1bceed 100755 --- a/examples/campaign_management/update_campaign_criterion_bid_modifier.py +++ b/examples/campaign_management/update_campaign_criterion_bid_modifier.py @@ -24,7 +24,7 @@ def main(client, customer_id, campaign_id, criterion_id, bid_modifier_value): campaign_criterion_service = client.get_service( - "CampaignCriterionService", version="v5" + "CampaignCriterionService", version="v6" ) criterion_rname = campaign_criterion_service.campaign_criteria_path( @@ -32,7 +32,7 @@ def main(client, customer_id, campaign_id, criterion_id, bid_modifier_value): ) campaign_criterion_operation = client.get_type( - "CampaignCriterionOperation", version="v5" + "CampaignCriterionOperation", version="v6" ) campaign_criterion = campaign_criterion_operation.update campaign_criterion.resource_name = criterion_rname diff --git a/examples/campaign_management/validate_text_ad.py b/examples/campaign_management/validate_text_ad.py index b9d23c42e..b95e5870e 100755 --- a/examples/campaign_management/validate_text_ad.py +++ b/examples/campaign_management/validate_text_ad.py @@ -26,14 +26,14 @@ def main(client, customer_id, ad_group_id): - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_operation.create - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") ad_group_ad.ad_group = ad_group_service.ad_group_path( customer_id, ad_group_id ) ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED # Create an expanded text ad. @@ -48,7 +48,7 @@ def main(client, customer_id, ad_group_id): ) final_url = ad_group_ad.ad.final_urls.append("http://www.example.com/") - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") # Attempt the mutate with validate_only=True. try: response = ad_group_ad_service.mutate_ad_group_ads( @@ -77,7 +77,7 @@ def main(client, customer_id, ad_group_id): if ( error.error_code.policy_finding_error == client.get_type( - "PolicyFindingErrorEnum", version="v5" + "PolicyFindingErrorEnum", version="v6" ).POLICY_FINDING ): if error.details.policy_finding_details: diff --git a/examples/error_handling/handle_expanded_text_ad_policy_violations.py b/examples/error_handling/handle_expanded_text_ad_policy_violations.py index 7050264d8..120d4f67e 100755 --- a/examples/error_handling/handle_expanded_text_ad_policy_violations.py +++ b/examples/error_handling/handle_expanded_text_ad_policy_violations.py @@ -36,7 +36,7 @@ def main(client, customer_id, ad_group_id): """ ad_group_ad_service_client = client.get_service( - "AdGroupAdService", version="v5" + "AdGroupAdService", version="v6" ) ad_group_ad_operation, ignorable_policy_topics = _create_expanded_text_ad( @@ -79,17 +79,17 @@ def _create_expanded_text_ad( policy topics. """ ad_group_resource_name = client.get_service( - "AdGroupService", version="v5" + "AdGroupService", version="v6" ).ad_group_path(customer_id, ad_group_id) # Creates an operation and ad group ad to create and hold the above ad. - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group = ad_group_resource_name # Set the ad group ad to PAUSED to prevent it from immediately serving. # Set to ENABLED once you've added targeting and the ad are ready to serve. ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED # Sets the expanded text ad info on an ad. expanded_text_ad_info = ad_group_ad.ad.expanded_text_ad @@ -136,7 +136,7 @@ def _fetch_ignorable_policy_topics(client, google_ads_exception): if ( error.error_code.policy_finding_error != client.get_type( - "PolicyFindingErrorEnum", version="v5" + "PolicyFindingErrorEnum", version="v6" ).POLICY_FINDING ): print( diff --git a/examples/error_handling/handle_keyword_policy_violations.py b/examples/error_handling/handle_keyword_policy_violations.py index 1b118e81c..e0d57f16f 100755 --- a/examples/error_handling/handle_keyword_policy_violations.py +++ b/examples/error_handling/handle_keyword_policy_violations.py @@ -43,17 +43,18 @@ def main(client, customer_id, ad_group_id, keyword_text): """ ad_group_criterion_service = client.get_service( - "AdGroupCriterionService", version="v5" + "AdGroupCriterionService", version="v6" ) - google_ads_exception, ad_group_criterion_operation = ( - _create_keyword_criterion( - client, - ad_group_criterion_service, - customer_id, - ad_group_id, - keyword_text, - ) + ( + google_ads_exception, + ad_group_criterion_operation, + ) = _create_keyword_criterion( + client, + ad_group_criterion_service, + customer_id, + ad_group_id, + keyword_text, ) try: @@ -101,18 +102,18 @@ def _create_keyword_criterion( """ # Constructs an ad group criterion using the keyword text provided. ad_group_criterion_operation = client.get_type( - "AdGroupCriterionOperation", version="v5" + "AdGroupCriterionOperation", version="v6" ) ad_group_criterion = ad_group_criterion_operation.create ad_group_criterion.ad_group = client.get_service( - "AdGroupService", version="v5" + "AdGroupService", version="v6" ).ad_group_path(customer_id, ad_group_id) ad_group_criterion.status = client.get_type( - "AdGroupCriterionStatusEnum", version="v5" + "AdGroupCriterionStatusEnum", version="v6" ).ENABLED ad_group_criterion.keyword.text = keyword_text ad_group_criterion.keyword.match_type = client.get_type( - "KeywordMatchTypeEnum", version="v5" + "KeywordMatchTypeEnum", version="v6" ).EXACT try: diff --git a/examples/error_handling/handle_partial_failure.py b/examples/error_handling/handle_partial_failure.py index 99a431666..0a5ef55ba 100755 --- a/examples/error_handling/handle_partial_failure.py +++ b/examples/error_handling/handle_partial_failure.py @@ -66,8 +66,8 @@ def create_ad_groups(client, customer_id, campaign_id): Returns: A MutateAdGroupsResponse message instance. """ - ad_group_service = client.get_service("AdGroupService", version="v5") - campaign_service = client.get_service("CampaignService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") + campaign_service = client.get_service("CampaignService", version="v6") resource_name = campaign_service.campaign_path(customer_id, campaign_id) invalid_resource_name = campaign_service.campaign_path(customer_id, 0) @@ -75,20 +75,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="v5") + ad_group_op1 = client.get_type("AdGroupOperation", version="v6") ad_group_op1.create.name = "Valid AdGroup: %s" % uuid.uuid4() ad_group_op1.create.campaign = 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="v5") + ad_group_op2 = client.get_type("AdGroupOperation", version="v6") ad_group_op2.create.name = "Broken AdGroup: %s" % (uuid.uuid4()) ad_group_op2.create.campaign = 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="v5") + ad_group_op3 = client.get_type("AdGroupOperation", version="v6") ad_group_op3.create.name = ad_group_op1.create.name ad_group_op3.create.campaign = resource_name ad_group_operations.append(ad_group_op3) @@ -166,7 +166,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="v5") + failure_message = client.get_type("GoogleAdsFailure", version="v6") # Parse the string into a GoogleAdsFailure message instance. failure_object = failure_message.FromString(error_detail.value) @@ -177,7 +177,7 @@ def print_results(client, response): print( "A partial failure at index {} occurred.\n" "Error message: {}\nError code: {}".format( - error.location.field_path_elements[0].index.value, + error.location.field_path_elements[0].index, error.message, error.error_code, ) diff --git a/examples/extensions/add_affiliate_location_extensions.py b/examples/extensions/add_affiliate_location_extensions.py new file mode 100644 index 000000000..a21e8144c --- /dev/null +++ b/examples/extensions/add_affiliate_location_extensions.py @@ -0,0 +1,469 @@ +#!/usr/bin/env python +# 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. +"""Demonstrates how to add Affiliate Location extensions. + +This example adds a feed that syncs retail addresses for a given retail chain ID +and associates the feed with a campaign for serving affiliate location +extensions. +""" + + +import argparse +import sys +from time import sleep +from uuid import uuid4 + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + +# The maximum number of attempts to retrieve the FeedMappings before throwing an +# exception. +MAX_FEEDMAPPING_RETRIEVAL_ATTEMPTS = 10 + + +def main(client, customer_id, chain_id, campaign_id): + """Demonstrates how to add Affiliate Location extensions. + + Args: + client: An initialized instance. + customer_id: The client customer ID. + chain_id: The retail chain ID. See + https://developers.google.com/adwords/api/docs/appendix/codes-formats#chain-ids + for a complete list of valid retail chain IDs. + campaign_id: The campaign ID for which the affiliate location extensions + will be added. + """ + try: + feed_resource_name = _create_affiliate_location_extension_feed( + client, customer_id, chain_id + ) + # After the completion of the feed creation operation above, the added + # feed will not be available for usage in a campaign feed until the feed + # mappings are created. We will wait with an exponential back-off policy + # until the feed mappings have been created. + feed_mapping = _wait_for_feed_to_be_ready( + client, customer_id, feed_resource_name + ) + _create_campaign_feed( + client, + customer_id, + campaign_id, + feed_mapping, + feed_resource_name, + chain_id, + ) + 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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _create_affiliate_location_extension_feed(client, customer_id, chain_id): + """Creates the Affiliate Location Extension feed. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + chain_id: The retail chain ID. + + Returns: + The string resource name of the newly created Affiliate Location + Extension feed. + """ + # Optional: Remove all existing location extension feeds. This is an + # optional step, and is required for this code example to run correctly more + # than once. + # This is because Google Ads only allows one location extension feed per + # email address, and a Google Ads account cannot have a location extension + # feed and an affiliate location extension feed at the same time. + _remove_location_extension_feeds(client, customer_id) + + # Get the FeedServiceClient. + feed_service = client.get_service("FeedService", version="v6") + + # Create a feed that will sync to retail addresses for a given retail chain + # ID. Do not add FeedAttributes to this object as Google Ads will add + # them automatically as this will be a system generated feed. + feed_operation = client.get_type("FeedOperation", version="v6") + feed = feed_operation.create + feed.name = f"Affiliate Location Extension feed #{uuid4()}" + feed.affiliate_location_feed_data.chain_ids.append(chain_id) + feed.affiliate_location_feed_data.relationship_type = client.get_type( + "AffiliateLocationFeedRelationshipTypeEnum", version="v6" + ).GENERAL_RETAILER + # Since this feed's contents will be managed by Google, you must set its + # origin to GOOGLE. + feed.origin = client.get_type("FeedOriginEnum", version="v6").GOOGLE + + # Add the feed. + mutate_feeds_response = feed_service.mutate_feeds( + customer_id, [feed_operation] + ) + + # Display the results. + feed_resource_name = mutate_feeds_response.results[0].resource_name + print( + "Affliate location extension feed created with resource name: " + f"{feed_resource_name}." + ) + return feed_resource_name + + +def _remove_location_extension_feeds(client, customer_id): + """Removes the old location extension feeds. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + """ + # To remove a location extension feed, you need to: + # 1. Remove the CustomerFeed so that the location extensions from the feed + # stop serving. + # 2. Remove the feed so that Google Ads will no longer sync from the GM + # account. + # Optional: You may also want to remove the CampaignFeeds and AdGroupFeeds. + old_customer_feeds = _get_location_extension_customer_feeds( + client, customer_id + ) + + if old_customer_feeds: + _remove_customer_feeds(client, customer_id, old_customer_feeds) + + feeds = _get_location_extension_feeds(client, customer_id) + + if feeds: + _remove_feeds(client, customer_id, feeds) + + +def _get_location_extension_feeds(client, customer_id): + """Gets the location extension feeds. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + Returns: + The list of location extension feeds. + """ + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + # Create the query. + query = """ + SELECT + feed.resource_name, + feed.status, + feed.places_location_feed_data.email_address, + feed.affiliate_location_feed_data.chain_ids + FROM feed + WHERE feed.status = ENABLED""" + + search_results = google_ads_service.search(customer_id, query) + + return [ + # A location extension feed can be identified by checking whether the + # PlacesLocationFeedData field is set (Location extensions feeds) or + # AffiliateLocationFeedData field is set (Affiliate location extension + # feeds) + row.feed for row in search_results if row.feed.places_location_feed_data + or row.feed.affiliate_location_feed_data + ] + + +def _remove_feeds(client, customer_id, feeds): + """Removes the feeds. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + feeds: The list of feeds to remove. + """ + operations = [] + + for feed in feeds: + operation = client.get_type("FeedOperation", version="v6") + operation.remove = feed.resource_name + operations.append(operation) + + feed_service = client.get_service("FeedService", version="v6") + feed_service.mutate_feeds(customer_id, operations) + + +def _get_location_extension_customer_feeds(client, customer_id): + """Gets the location extension customer feeds. + + Args: + client: The Google Ads API client. + customer_id: The customer ID from which to fetch feeds. + Returns: + A list of location extension customer feeds. + + """ + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + # Create the query. A location extension customer feed can be identified by + # filtering for placeholder_types=LOCATION (location extension feeds) or + # placeholder_types =AFFILIATE_LOCATION (affiliate location extension feeds) + query = """ + SELECT + customer_feed.resource_name, + customer_feed.feed, + customer_feed.status, + customer_feed.matching_function.function_string + FROM customer_feed + WHERE + customer_feed.placeholder_types CONTAINS ANY(LOCATION, AFFILIATE_LOCATION) + AND customer_feed.status=ENABLED""" + + search_results = google_ads_service.search(customer_id, query) + + return [row.customer_feed for row in search_results] + + +def _remove_customer_feeds(client, customer_id, customer_feeds): + """Removes the customer feeds. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + customer_feeds: The customer feeds to remove. + """ + operations = [] + + for customer_feed in customer_feeds: + operation = client.get_type("CustomerFeedOperation", version="v6") + operation.remove = customer_feed.resource_name + operations.append(operation) + + customer_feed_service = client.get_service( + "CustomerFeedService", version="v6" + ) + customer_feed_service.mutate_customer_feeds(customer_id, operations) + + +def _get_affiliate_location_extension_feed_mapping( + client, customer_id, feed_resource_name +): + """Gets the Affiliate Location Extension feed mapping. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + feed_resource_name: The feed resource name. + Returns: + The newly created feed mapping. + """ + # Get the GoogleAdsService. + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + # Create the query. + query = f""" + SELECT + feed_mapping.resource_name, + feed_mapping.attribute_field_mappings, + feed_mapping.status + FROM feed_mapping + WHERE + feed_mapping.feed = '{feed_resource_name}' + AND feed_mapping.status = ENABLED + AND feed_mapping.placeholder_type = AFFILIATE_LOCATION + LIMIT 1""" + + # Issue a search request. + search_results = google_ads_service.search(customer_id, query) + + # Return the feed mapping that results from the search. + # It is possible that the feed is not yet ready, so we catch the exception + # if there the feed mapping is not yet available. + try: + row = next(iter(search_results)) + except StopIteration: + return None + else: + return row.feed_mapping + + +def _wait_for_feed_to_be_ready(client, customer_id, feed_resource_name): + """Waits for the Affliate location extension feed to be ready. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + feed_resource_name: The resource name of the feed. + + Returns: + The newly created FeedMapping. + + Raises: + Exception: if the feed is not ready after the specified number of + retries. + """ + num_attempts = 0 + sleep_seconds = 0 + + while num_attempts < MAX_FEEDMAPPING_RETRIEVAL_ATTEMPTS: + # Once you create a feed, Google's servers will setup the feed by + # creating feed attributes and feed mapping. Once the feed mapping is + # created, it is ready to be used for creating customer feed. + # This process is asynchronous, so we wait until the feed mapping is + # created, peforming exponential backoff. + feed_mapping = _get_affiliate_location_extension_feed_mapping( + client, customer_id, feed_resource_name + ) + + if feed_mapping is None: + num_attempts += 1 + sleep_seconds = 5 * 2 ** num_attempts + print( + f"Checked {num_attempts} time(s). Feed is not ready " + f"yet. Waiting {sleep_seconds} seconds before trying again." + ) + sleep(sleep_seconds) + else: + print(f"Feed {feed_resource_name} is now ready.") + return feed_mapping + + raise Exception( + f"Feed is not ready after " + f"{MAX_FEEDMAPPING_RETRIEVAL_ATTEMPTS} retries." + ) + + +def _create_campaign_feed( + client, customer_id, campaign_id, feed_mapping, feed_resource_name, chain_id +): + """Creates the campaign feed. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + campaign_id: The campaign ID to which the affiliate location extensions + will be added. + feed_mapping: The affliate location extension feedmapping for the feed + resource name. + feed_resource_name: The feed resource name. + chain_id: The retail chain ID. + """ + # Get the CampaignFeedService. + campaign_feed_service = client.get_service( + "CampaignFeedService", version="v6" + ) + + attribute_id_for_chain_id = _get_attribute_id_for_chain_id( + client, feed_mapping + ) + feed_id = feed_resource_name[feed_resource_name.rindex("/") + 1 :] + + matching_function = ( + f"IN(FeedAttribute[{feed_id}, {attribute_id_for_chain_id}], {chain_id})" + ) + + # Add a CampaignFeed that associates the feed with this campaign for + # the AFFILIATE_LOCATION placeholder type. + campaign_feed_operation = client.get_type( + "CampaignFeedOperation", version="v6" + ) + campaign_feed = campaign_feed_operation.create + campaign_feed.feed = feed_resource_name + campaign_feed.placeholder_types.append( + client.get_type("PlaceholderTypeEnum", version="v6").AFFILIATE_LOCATION + ) + campaign_feed.matching_function.function_string = matching_function + campaign_feed.campaign = client.get_service( + "CampaignService", version="v6" + ).campaign_path(customer_id, campaign_id) + + mutate_campaign_feeds_response = campaign_feed_service.mutate_campaign_feeds( + customer_id, [campaign_feed_operation] + ) + + # Display the result. + print( + "Campaign feed created with resource name: " + f"{mutate_campaign_feeds_response.results[0].resource_name}." + ) + + +def _get_attribute_id_for_chain_id(client, feed_mapping): + """Gets the feed attribute ID for the retail chain ID. + + Args: + client: The Google Ads API client. + feed_mapping: The FeedMapping in which to search. + Returns: + The feed attribute ID. + Raises: + Exception: If no AffiliateLocationField with a retail chain ID is found + in the FeedMapping. + """ + for field_mapping in feed_mapping.attribute_field_mappings: + if ( + field_mapping.affiliate_location_field + == client.get_type( + "AffiliateLocationPlaceholderFieldEnum", version="v6" + ).CHAIN_ID + ): + return field_mapping.feed_attribute_id + + raise Exception( + "No AffiliateLocationField with a retail chain ID was " + "found in the FeedMapping." + ) + + +if __name__ == "__main__": + # will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Demonstrates how to add Affiliate Location extensions." + ) + # 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( + "-a", + "--chain_id", + type=int, + required=True, + help="The retail chain ID. See " + "https://developers.google.com/adwords/api/docs/appendix/codes-formats#chain-ids " + "for a complete list of valid retail chain IDs.", + ) + parser.add_argument( + "-i", + "--campaign_id", + type=int, + required=True, + help="The campaign ID for which the affiliate location extensions will " + "be added.", + ) + args = parser.parse_args() + + main( + google_ads_client, args.customer_id, args.chain_id, args.campaign_id, + ) + diff --git a/examples/extensions/add_geo_target.py b/examples/extensions/add_geo_target.py index 5bc4fb1ce..4c3390282 100755 --- a/examples/extensions/add_geo_target.py +++ b/examples/extensions/add_geo_target.py @@ -35,11 +35,11 @@ def main(client, customer_id, feed_item_id, geo_target_constant_id): extension feed item. """ extension_feed_item_service = client.get_service( - "ExtensionFeedItemService", version="v5" + "ExtensionFeedItemService", version="v6" ) extension_feed_item_operation = client.get_type( - "ExtensionFeedItemOperation", version="v5" + "ExtensionFeedItemOperation", version="v6" ) extension_feed_item = extension_feed_item_operation.update # Creates an extension feed item using the specified feed item ID and @@ -47,8 +47,8 @@ def main(client, customer_id, feed_item_id, geo_target_constant_id): extension_feed_item.resource_name = extension_feed_item_service.extension_feed_item_path( customer_id, feed_item_id ) - extension_feed_item.targeted_geo_target_constant.value = client.get_service( - "GeoTargetConstantService", version="v5" + extension_feed_item.targeted_geo_target_constant = client.get_service( + "GeoTargetConstantService", version="v6" ).geo_target_constant_path(geo_target_constant_id) fm = protobuf_helpers.field_mask(None, extension_feed_item) extension_feed_item_operation.update_mask.CopyFrom(fm) diff --git a/examples/extensions/add_google_my_business_location_extensions.py b/examples/extensions/add_google_my_business_location_extensions.py new file mode 100644 index 000000000..12f502238 --- /dev/null +++ b/examples/extensions/add_google_my_business_location_extensions.py @@ -0,0 +1,421 @@ +#!/usr/bin/env python +# 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. +"""Adds a feed that syncs feed items from a Google My Business (GMB) account. + +The feed will also be associated with a customer. +""" + + +import argparse +import sys +import time +from uuid import uuid4 + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + +MAX_CUSTOMER_FEED_ADD_ATTEMPTS = 9 +DEFAULT_OAUTH2_SCOPE = "https://www.googleapis.com/auth/adwords" + + +def main( + client, + customer_id, + gmb_email_address, + business_account_id, + gmb_access_token, +): + """Adds a feed that syncs feed items from a Google My Business (GMB) account. + + The feed will also be associated with a customer. + + Args: + client: An initialized GoogleAdsClient instance. + customer_id: The Google Ads customer ID. + gmb_email_address: The email address associated with the GMB account. + business_account_id: The account ID of the managed business. + gmb_access_token: The access token created using the 'AdWords' scope + and the client ID and client secret of with the Cloud project + associated with the GMB account. + """ + # Get the FeedService and CustomerFeedService clients. + feed_service = client.get_service("FeedService", version="v6") + customer_feed_service = client.get_service( + "CustomerFeedService", version="v6" + ) + + # Create a feed operation and configure the new feed. + # The feed will sync to the Google My Business account specified by + # gmb_email_address. Do not add FeedAttributes to this object as Google Ads + # will add them automatically because this will be a system generated feed. + # See here for more details: + # https://developers.google.com/google-ads/api/docs/location-extensions/google-ads-location-extensions + feed_operation = client.get_type("FeedOperation", version="v6") + gmb_feed = feed_operation.create + gmb_feed.name = f"Google My Business Feed #{uuid4()}" + # Configure the location feed populated from Google My Business Locations. + gmb_feed.places_location_feed_data.email_address = gmb_email_address + + if business_account_id is not None: + gmb_feed.places_location_feed_data.business_account_id = ( + business_account_id + ) + + # Used to filter Google My Business listings by labels. If entries exist in + # label_filters, only listings that have at least one of the labels set are + # candidates to be synchronized into FeedItems. If no entries exist in + # label_filters, then all listings are candidates for syncing. + gmb_feed.places_location_feed_data.label_filters.append( + "Stores in New York" + ) + + # Set the authentication info to be able to connect Google Ads to the GMB + # account. + gmb_feed.places_location_feed_data.oauth_info.http_method = "GET" + gmb_feed.places_location_feed_data.oauth_info.http_request_url = ( + DEFAULT_OAUTH2_SCOPE + ) + gmb_feed.places_location_feed_data.oauth_info.http_authorization_header = ( + f"Bearer {gmb_access_token}" + ) + # Since this feed's feed items will be managed by Google, you must set its + # origin to GOOGLE. + gmb_feed.origin = client.get_type("FeedOriginEnum", version="v6").GOOGLE + + try: + # Optional: Delete all existing location extension feeds. This is an + # optional step, and is required for this code example to run correctly + # more than once; Google Ads only allows one location extension feed + # per email address, and a Google Ads account cannot have a location + # extension feed and an affiliate location extension feed at the same + # time. + _delete_location_extension_feeds(client, customer_id) + + # Add the feed. Since it is a system generated feed, Google Ads will + # automatically: + # 1. Set up the FeedAttributes on the feed. + # 2. Set up a FeedMapping that associates the FeedAttributes of the feed + # with the placeholder fields of the LOCATION placeholder type. + feed_response = feed_service.mutate_feeds(customer_id, [feed_operation]) + feed_resource_name = feed_response.results[0].resource_name + print(f"GMB feed created with resource name '{feed_resource_name}'.") + + # After the completion of the Feed ADD operation above the added feed + # will not be available for usage in a CustomerFeed until the sync + # between the Google Ads and GMB accounts completes. + # This process is asynchronous, so we wait until the feed mapping is + # created, performing exponential backoff. + customer_feed_resource_name = None + number_of_attempts = 0 + + while number_of_attempts < MAX_CUSTOMER_FEED_ADD_ATTEMPTS: + feed_mapping = _get_gmb_feed_mapping( + client, customer_id, feed_resource_name + ) + + if feed_mapping is None: + number_of_attempts += 1 + sleep_seconds = 5 * (2 ** number_of_attempts) + + print( + f"Attempt #{number_of_attempts} was not successful. " + f"Waiting {sleep_seconds}s before trying again." + ) + + time.sleep(sleep_seconds) + else: + customer_feed_resource_name = feed_mapping.resource_name + print(f"GMB feed {feed_resource_name} is now ready.") + break + + if customer_feed_resource_name is None: + print( + "Could not create the CustomerFeed after " + f"{MAX_CUSTOMER_FEED_ADD_ATTEMPTS} attempts. Please retry " + "the CustomerFeed ADD operation later." + ) + sys.exit(1) + else: + # Create a CustomerFeed operation and configure the CustomerFeed to + # associate the feed with this customer for the LOCATION placeholder + # type. + customer_feed_operation = client.get_type( + "CustomerFeedOperation", version="v6" + ) + customer_feed = customer_feed_operation.create + customer_feed.feed = feed_resource_name + customer_feed.placeholder_types.append( + client.get_type("PlaceholderTypeEnum", version="v6").LOCATION + ) + # The function string IDENTITY(true) will enable this feed. + true_operand = client.get_type("Operand", version="v6") + true_operand.constant_operand.boolean_value = True + customer_feed.matching_function.left_operands.append(true_operand) + customer_feed.matching_function.function_string = "IDENTITY(true)" + customer_feed.matching_function.operator = client.get_type( + "MatchingFunctionOperatorEnum", version="v6" + ).IDENTITY + + customer_feed_response = customer_feed_service.mutate_customer_feeds( + customer_id, [customer_feed_operation] + ) + print( + "Customer feed created with resource name " + f"'{customer_feed_response.results[0].resource_name}'." + ) + + # OPTIONAL: Create a CampaignFeed to specify which FeedItems to use at + # the Campaign level. + + # OPTIONAL: Create an AdGroupFeed for even more fine grained control + # over which feed items are used at the AdGroup level. + 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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _delete_location_extension_feeds(client, customer_id): + """Deletes the existing location extension feeds. + + Args: + client: An initialized Google Ads API client. + customer_id: The Google Ads customer ID. + """ + # To delete a location extension feed, you need to: + # 1. Delete the CustomerFeed so that the location extensions from the feed + # stop serving. + # 2. Delete the feed so that Google Ads will no longer sync from the GMB + # account. + old_customer_feeds = _get_location_extension_customer_feeds( + client, customer_id + ) + if old_customer_feeds: + _delete_customer_feeds(client, customer_id, old_customer_feeds) + + old_feeds = _get_location_extension_feeds(client, customer_id) + if old_feeds: + _delete_feeds(client, customer_id, old_feeds) + + +def _get_location_extension_customer_feeds(client, customer_id): + """Gets the existing location extension customer feeds. + + Args: + client: An initialized Google Ads API client. + customer_id: The Google Ads customer ID. + Returns: + A list of location extension feeds. + """ + + customer_feeds = [] + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + # Create the query. A location extension customer feed can be identified by + # filtering for placeholder_types=LOCATION (location extension feeds) or + # placeholder_types=AFFILIATE_LOCATION (affiliate location extension feeds). + query = """ + SELECT + customer_feed.resource_name, + customer_feed.feed, + customer_feed.status, + customer_feed.matching_function.function_string + FROM customer_feed + WHERE + customer_feed.placeholder_types CONTAINS ANY(LOCATION, AFFILIATE_LOCATION) + AND customer_feed.status=ENABLED""" + + result = google_ads_service.search(customer_id, query) + + for row in result: + customer_feeds.append(row.customer_feed) + + return customer_feeds + + +def _get_location_extension_feeds(client, customer_id): + """Gets the existing location extension feeds. + + Args: + client: An initialized Google Ads API client. + customer_id: The Google Ads customer ID. + Returns: + A list of location extension feeds. + """ + + feeds = [] + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + # Create the query. + query = """ + SELECT + feed.resource_name, + feed.status, + feed.places_location_feed_data.email_address, + feed.affiliate_location_feed_data.chain_ids + FROM feed + WHERE feed.status = ENABLED""" + + result = google_ads_service.search(customer_id, query) + + for row in result: + # A location extension feed can be identified by checking whether the + # places_location_feed_data field is set or the + # affiliate_location_feed_data field is set. + if ( + row.feed.places_location_feed_data + or row.feed.affiliate_location_feed_data + ): + feeds.append(row.feed) + + return feeds + + +def _delete_customer_feeds(client, customer_id, old_customer_feeds): + """Removes the customer feeds. + + Args: + client: An initialized Google Ads API client. + customer_id: The Google Ads customer ID. + old_customer_feeds: The list of customer feeds to delete. + """ + operations = [] + customer_feed_service = client.get_service( + "CustomerFeedService", version="v6" + ) + + for customer_feed in old_customer_feeds: + operation = client.get_type("CustomerFeedOperation", version="v6") + operation.remove = customer_feed.resource_name + operations.append(operation) + + customer_feed_service.mutate_customer_feeds(customer_id, operations) + + +def _delete_feeds(client, customer_id, old_feeds): + """Removes the specified feeds. + + Args: + client: An initialized Google Ads API client. + customer_id: The Google Ads customer ID. + old_feeds: The list of feeds to delete. + """ + operations = [] + feed_service = client.get_service("FeedService", version="v6") + + for feed in old_feeds: + operation = client.get_type("FeedOperation", version="v6") + operation.remove = feed.resource_name + operations.append(operation) + + feed_service.mutate_feeds(customer_id, operations) + + +def _get_gmb_feed_mapping(client, customer_id, feed_resource_name): + """Gets a Google My Business Feed mapping. + + Args: + client: An initialized Google Ads client. + customer_id: The customer ID for which the call is made. + feed_resource_name: The string Google My Business feed resource name. + + Returns: + The requested FeedMapping, or None if it is not available. + """ + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + query = f""" + SELECT feed_mapping.resource_name, feed_mapping.status + FROM feed_mapping + WHERE + feed_mapping.feed = '{feed_resource_name}' + AND feed_mapping.status = ENABLED + AND feed_mapping.placeholder_type = LOCATION + LIMIT 1""" + + result = google_ads_service.search(customer_id, query) + try: + return next(iter(result)).feed_mapping + except StopIteration: + return None + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Adds a feed that syncs feed items from a Google My " + "Business (GMB) account." + ) + # 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( + "-e", + "--gmb_email_address", + type=str, + required=True, + help="The email address associated with the GMB account.", + ) + parser.add_argument( + "-b", + "--business_account_id", + type=str, + required=False, + help="The account ID of the managed business.\n" + "If the email_address is for a GMB manager instead of the GMB account " + "owner, then set business_account_id to the Google+ Page ID of a " + "location for which the manager has access. This information is " + "available through the Google My Business API. See " + "https://developers.google.com/my-business/reference/rest/v4/accounts.locations#locationkey" + "for details.", + ) + parser.add_argument( + "-t", + "--gmb_access_token", + type=str, + required=False, + default=google_ads_client.credentials.token, + help="If the gmb_email_address above is the same user you used to " + "generate your Google Ads API refresh token, do not pass a value to " + "this argument.\nOtherwise, to obtain an access token for your GMB " + "account, run the authenticate_in_standalone_application code example " + "while logged in as the same user as gmb_email_address. Pass the " + "Access Token value to this argument.", + ) + + args = parser.parse_args() + + main( + google_ads_client, + args.customer_id, + args.gmb_email_address, + args.business_account_id, + args.gmb_access_token, + ) diff --git a/examples/extensions/add_lead_form_extension.py b/examples/extensions/add_lead_form_extension.py new file mode 100755 index 000000000..01d91ed06 --- /dev/null +++ b/examples/extensions/add_lead_form_extension.py @@ -0,0 +1,219 @@ +#!/usr/bin/env python +# 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. +"""Creates a lead form and a lead form extension for a campaign. + +Run add_campaigns.py to create a campaign. +""" + + +import argparse +import sys +from uuid import uuid4 + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + + +def main(client, customer_id, campaign_id): + """Creates a lead form and lead form extension for the given campaign. + + Args: + client: An initialized GoogleAdsClient instance. + customer_id: The Google Ads customer ID. + campaign_id: The ID for a Campaign belonging to the given customer. + """ + try: + lead_form_asset_resource_name = _create_lead_form_asset( + client, customer_id + ) + _create_lead_form_extension( + client, customer_id, campaign_id, lead_form_asset_resource_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(f'\tError with message "{error.message}".') + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _create_lead_form_asset(client, customer_id): + """Creates a lead form asset using the given customer ID. + + Args: + client: An initialized GoogleAdsClient instance. + customer_id: The Google Ads customer ID. + + Returns: + A str of the resource name for the newly created lead form asset. + """ + asset_service = client.get_service("AssetService", version="v6") + asset_operation = client.get_type("AssetOperation", version="v6") + asset = asset_operation.create + asset.name = f"Interplanetary Cruise #{uuid4()} Lead Form" + asset.final_urls.append("http://example.com/jupiter") + + # Creates a new LeadFormAsset instance. + lead_form_asset = asset.lead_form_asset + + # Specify the details of the extension that the users will see. + lead_form_asset.call_to_action_type = client.get_type( + "LeadFormCallToActionTypeEnum", version="v6" + ).BOOK_NOW + lead_form_asset.call_to_action_description = "Latest trip to Jupiter!" + + # Define the form details. + lead_form_asset.business_name = "Interplanetary Cruise" + lead_form_asset.headline = "Trip to Jupiter" + lead_form_asset.description = ( + "Our latest trip to Jupiter is now open for booking." + ) + lead_form_asset.privacy_policy_url = "http://example.com/privacy" + + # Define the fields to be displayed to the user. + input_type_enum = client.get_type( + "LeadFormFieldUserInputTypeEnum", version="v6" + ) + lead_form_field_1 = client.get_type("LeadFormField", version="v6") + lead_form_field_1.input_type = input_type_enum.FULL_NAME + lead_form_asset.fields.append(lead_form_field_1) + + lead_form_field_2 = client.get_type("LeadFormField", version="v6") + lead_form_field_2.input_type = input_type_enum.EMAIL + lead_form_asset.fields.append(lead_form_field_2) + + lead_form_field_3 = client.get_type("LeadFormField", version="v6") + lead_form_field_3.input_type = input_type_enum.PHONE_NUMBER + lead_form_asset.fields.append(lead_form_field_3) + + lead_form_field_4 = client.get_type("LeadFormField", version="v6") + lead_form_field_4.input_type = input_type_enum.PREFERRED_CONTACT_TIME + lead_form_field_4.single_choice_answers.answers.extend( + ["Before 9 AM", "Anytime", "After 5 PM"] + ) + lead_form_asset.fields.append(lead_form_field_4) + + lead_form_field_5 = client.get_type("LeadFormField", version="v6") + lead_form_field_5.input_type = input_type_enum.PHONE_NUMBER + lead_form_asset.fields.append(lead_form_field_5) + + # Optional: You can also specify a background image asset. + # To upload an asset, see misc/upload_image.py. + # lead_form_asset.background_image_asset = "INSERT_IMAGE_ASSET_HERE" + + # Optional: Define the response page after the user signs up on the form. + lead_form_asset.post_submit_headline = "Thanks for signing up!" + lead_form_asset.post_submit_description = ( + "We will reach out to you shortly. Visit our website to see past trip " + "details." + ) + lead_form_asset.post_submit_call_to_action_type = client.get_type( + "LeadFormPostSubmitCallToActionTypeEnum", version="v6" + ).VISIT_SITE + + # Optional: Display a custom disclosure that displays along with the Google + # disclaimer on the form. + lead_form_asset.custom_disclosure = ( + "Trip may get cancelled due to meteor shower" + ) + + # Optional: Define a delivery method for the form response. See + # https://developers.google.com/google-ads/webhook/docs/overview for more + # details on how to define a webhook. + delivery_method = lead_form_asset.delivery_methods.add() + delivery_method.webhook.advertiser_webhook_url = ( + "http://example.com/webhook" + ) + delivery_method.webhook.google_secret = "interplanetary google secret" + delivery_method.webhook.payload_schema_version = 3 + + asset_service = client.get_service("AssetService", version="v6") + response = asset_service.mutate_assets(customer_id, [asset_operation]) + resource_name = response.results[0].resource_name + + print(f"Asset with resource name {resource_name} was created.") + + return resource_name + + +def _create_lead_form_extension( + client, customer_id, campaign_id, lead_form_asset_resource_name +): + """Creates the lead form extension. + + Args: + client: An initialized GoogleAdsClient instance. + customer_id: The Google Ads customer ID. + campaign_id: The ID for a Campaign belonging to the given customer. + """ + campaign_service = client.get_type("CampaignService", version="v6") + campaign_asset_service = client.get_service( + "CampaignAssetService", version="v6" + ) + campaign_asset_operation = client.get_type( + "CampaignAssetOperation", version="v6" + ) + campaign_asset = campaign_asset_operation.create + campaign_asset.asset = lead_form_asset_resource_name + campaign_asset.field_type = client.get_type( + "AssetFieldTypeEnum", version="v6" + ).LEAD_FORM + campaign_asset.campaign = campaign_service.campaign_path( + customer_id, campaign_id + ) + + response = campaign_asset_service.mutate_campaign_assets( + customer_id, [campaign_asset_operation] + ) + for result in response.results: + print( + "Created campaign asset with resource name " + f'"{result.resource_name}" for campaign with 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 = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="This code example creates a lead form and a lead form " + "extension for a campaign. Run add_campaigns.py to create a " + "campaign." + ) + # 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( + "-i", + "--campaign_id", + type=str, + required=True, + help="The ID of a Campaign belonging to the given customer.", + ) + args = parser.parse_args() + + main(google_ads_client, args.customer_id, args.campaign_id) diff --git a/examples/extensions/add_prices.py b/examples/extensions/add_prices.py index 259b962d8..32c7b2e85 100644 --- a/examples/extensions/add_prices.py +++ b/examples/extensions/add_prices.py @@ -29,18 +29,18 @@ 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="v5") + price_feed_item = client.get_type("PriceFeedItem", version="v6") price_feed_item.type = client.get_type( - "PriceExtensionTypeEnum", version="v5" + "PriceExtensionTypeEnum", version="v6" ).SERVICES # Optional: set price qualifier price_feed_item.price_qualifier = client.get_type( "PriceExtensionPriceQualifierEnum" ).FROM - price_feed_item.tracking_url_template.value = ( + price_feed_item.tracking_url_template = ( "http://tracker.example.com/?u={lpurl}" ) - price_feed_item.language_code.value = "en" + price_feed_item.language_code = "en" # To create a price extension, at least three price offerings are needed. price_extension_price_unit_enum = client.get_type( @@ -83,20 +83,20 @@ 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="v5") + campaign_service = client.get_service("CampaignService", version="v6") extension_feed_item_operation = client.get_type( - "ExtensionFeedItemOperation", version="v5" + "ExtensionFeedItemOperation", version="v6" ) 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( + extension_feed_item.targeted_campaign = campaign_service.campaign_path( customer_id, campaign_id ) - day_of_week_enum = client.get_type("DayOfWeekEnum", version="v5") - minute_of_hour_enum = client.get_type("MinuteOfHourEnum", version="v5") + day_of_week_enum = client.get_type("DayOfWeekEnum", version="v6") + minute_of_hour_enum = client.get_type("MinuteOfHourEnum", version="v6") extension_feed_item.ad_schedules.extend( [ _create_ad_schedule_info( @@ -121,7 +121,7 @@ def main(client, customer_id, campaign_id): # Add the extension try: feed_service = client.get_service( - "ExtensionFeedItemService", version="v5" + "ExtensionFeedItemService", version="v6" ) # Issues a mutate request to add the customer extension setting and # print its information. @@ -158,18 +158,16 @@ def _create_price_offer( in_final_mobile_url=None, ): """Create a price offer.""" - price_offer = client.get_type("PriceOffer", version="v5") - price_offer.header.value = header - price_offer.description.value = description - final_url = price_offer.final_urls.add() - final_url.value = in_final_url - price_offer.price.amount_micros.value = price_in_micros - price_offer.price.currency_code.value = currency_code + price_offer = client.get_type("PriceOffer", version="v6") + price_offer.header = header + price_offer.description = description + price_offer.final_urls.append(in_final_url) + price_offer.price.amount_micros = price_in_micros + price_offer.price.currency_code = currency_code price_offer.unit = unit # Optional: set the final mobile URLs if in_final_mobile_url: - final_mobile_url = price_offer.final_mobile_urls.add() - final_mobile_url.value = in_final_mobile_url + price_offer.final_mobile_urls.append(in_final_mobile_url) return price_offer @@ -177,7 +175,7 @@ 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="v5") + ad_schedule_info = client.get_type("AdScheduleInfo", version="v6") ad_schedule_info.day_of_week = day_of_week ad_schedule_info.start_hour = start_hour ad_schedule_info.start_minute = start_minute diff --git a/examples/extensions/add_sitelinks.py b/examples/extensions/add_sitelinks.py index eab76fd77..92a3c7332 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="v5") + campaign_service = client.get_service("CampaignService", version="v6") campaign_ext_setting_service = client.get_service( - "CampaignExtensionSettingService", version="v5" + "CampaignExtensionSettingService", version="v6" ) campaign_resource_name = campaign_service.campaign_path( @@ -48,12 +48,12 @@ def main(client, customer_id, campaign_id): ) campaign_ext_setting_operation = client.get_type( - "CampaignExtensionSettingOperation", version="v5" + "CampaignExtensionSettingOperation", version="v6" ) - extension_type_enum = client.get_type("ExtensionTypeEnum", version="v5") + extension_type_enum = client.get_type("ExtensionTypeEnum", version="v6") campaign_ext_setting = campaign_ext_setting_operation.create - campaign_ext_setting.campaign.value = campaign_resource_name + campaign_ext_setting.campaign = campaign_resource_name campaign_ext_setting.extension_type = extension_type_enum.SITELINK campaign_ext_setting.extension_feed_items.extend(feed_item_resource_names) @@ -92,14 +92,13 @@ def _create_extension_feed_items(client, customer_id, campaign_resource_name): be tracked by the created extension feed items. Returns: - A list containing StringValue resource names for the created extension - feed items. + A list containing resource names for the created extension feed items. """ extension_feed_item_service = client.get_service( - "ExtensionFeedItemService", version="v5" + "ExtensionFeedItemService", version="v6" ) geo_target_constant_service = client.get_service( - "GeoTargetConstantService", version="v5" + "GeoTargetConstantService", version="v6" ) extension_type_enum = client.get_type("ExtensionTypeEnum") feed_item_target_device_enum = client.get_type("FeedItemTargetDeviceEnum") @@ -107,56 +106,59 @@ def _create_extension_feed_items(client, customer_id, campaign_resource_name): minute_of_hour_enum = client.get_type("MinuteOfHourEnum") extension_feed_item_operation1 = client.get_type( - "ExtensionFeedItemOperation", version="v5" + "ExtensionFeedItemOperation", version="v6" ) 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" - extension_feed_item1.targeted_campaign.value = campaign_resource_name - final_url1 = extension_feed_item1.sitelink_feed_item.final_urls.add() - final_url1.value = "http://www.example.com/storehours" + extension_feed_item1.sitelink_feed_item.link_text = "Store Hours" + extension_feed_item1.targeted_campaign = campaign_resource_name + extension_feed_item1.sitelink_feed_item.final_urls.append( + "http://www.example.com/storehours" + ) extension_feed_item_operation2 = client.get_type( - "ExtensionFeedItemOperation", version="v5" + "ExtensionFeedItemOperation", version="v6" ) date_range = _get_thanksgiving_string_date_range() extension_feed_item2 = extension_feed_item_operation2.create extension_feed_item2.extension_type = extension_type_enum.SITELINK - extension_feed_item2.sitelink_feed_item.link_text.value = ( - "Thanksgiving Specials" - ) - extension_feed_item2.targeted_campaign.value = campaign_resource_name - extension_feed_item2.start_date_time.value = date_range.start_datetime - extension_feed_item2.end_date_time.value = date_range.end_datetime + extension_feed_item2.sitelink_feed_item.link_text = "Thanksgiving Specials" + extension_feed_item2.targeted_campaign = campaign_resource_name + extension_feed_item2.start_date_time = date_range.start_datetime + extension_feed_item2.end_date_time = date_range.end_datetime # Targets this sitelink for the United States only. # A list of country codes can be referenced here: # https://developers.google.com/adwords/api/docs/appendix/geotargeting united_states = geo_target_constant_service.geo_target_constant_path(2048) - extension_feed_item2.targeted_geo_target_constant.value = united_states - final_url2 = extension_feed_item2.sitelink_feed_item.final_urls.add() - final_url2.value = "http://www.example.com/thanksgiving" + extension_feed_item2.targeted_geo_target_constant = united_states + extension_feed_item2.sitelink_feed_item.final_urls.append( + "http://www.example.com/thanksgiving" + ) extension_feed_item_operation3 = client.get_type( - "ExtensionFeedItemOperation", version="v5" + "ExtensionFeedItemOperation", version="v6" ) 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" - extension_feed_item3.targeted_campaign.value = campaign_resource_name + extension_feed_item3.sitelink_feed_item.link_text = "Wifi available" + extension_feed_item3.targeted_campaign = campaign_resource_name extension_feed_item3.device = feed_item_target_device_enum.MOBILE - final_url3 = extension_feed_item3.sitelink_feed_item.final_urls.add() - final_url3.value = "http://www.example.com/mobile/wifi" + extension_feed_item3.sitelink_feed_item.final_urls.append( + "http://www.example.com/mobile/wifi" + ) extension_feed_item_operation4 = client.get_type( - "ExtensionFeedItemOperation", version="v5" + "ExtensionFeedItemOperation", version="v6" ) 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" - extension_feed_item4.targeted_campaign.value = campaign_resource_name + extension_feed_item4.sitelink_feed_item.link_text = "Happy hours" + extension_feed_item4.targeted_campaign = campaign_resource_name extension_feed_item4.device = feed_item_target_device_enum.MOBILE - final_url4 = extension_feed_item4.sitelink_feed_item.final_urls.add() - final_url4.value = "http://www.example.com/happyhours" + extension_feed_item4.sitelink_feed_item.final_urls.append( + "http://www.example.com/happyhours" + ) + for day_of_week in [ day_of_week_enum.MONDAY, day_of_week_enum.TUESDAY, @@ -200,19 +202,7 @@ def _create_extension_feed_items(client, customer_id, campaign_resource_name): for feed_item in feed_response.results: print(f"\tResource name: {feed_item.resource_name}") - resource_names = [result.resource_name for result in feed_response.results] - - return [ - _to_string_value(client, resource_name) - for resource_name in resource_names - ] - - -def _to_string_value(client, s): - """Helper method that converts a given str to a StringValue instance.""" - str_val = client.get_type("StringValue") - str_val.value = s - return str_val + return [result.resource_name for result in feed_response.results] def _get_thanksgiving_string_date_range(): diff --git a/examples/extensions/add_sitelinks_using_feeds.py b/examples/extensions/add_sitelinks_using_feeds.py index b30cf1f9b..bfe2b016b 100755 --- a/examples/extensions/add_sitelinks_using_feeds.py +++ b/examples/extensions/add_sitelinks_using_feeds.py @@ -84,18 +84,18 @@ def _create_feed(client, customer_id): Returns: The newly created feed. """ - feed_service = client.get_service("FeedService", version="v5") - google_ads_service = client.get_service("GoogleAdsService", version="v5") + feed_service = client.get_service("FeedService", version="v6") + google_ads_service = client.get_service("GoogleAdsService", version="v6") - feed_operation = client.get_type("FeedOperation", version="v5") + feed_operation = client.get_type("FeedOperation", version="v6") feed = feed_operation.create - feed.name.value = f"Sitelinks Feed {uuid.uuid4()}" - feed.origin = client.get_type("FeedOriginEnum", version="v5").USER + feed.name = f"Sitelinks Feed {uuid.uuid4()}" + feed.origin = client.get_type("FeedOriginEnum", version="v6").USER # Specify the column name and data type. This is just raw data at this # point, and not yet linked to any particular purpose. The names are used # to help us remember what they are intended for later. feed_attribute_type_enum = client.get_type( - "FeedAttributeTypeEnum", version="v5" + "FeedAttributeTypeEnum", version="v6" ) feed.attributes.extend( [ @@ -141,8 +141,8 @@ def _create_feed_attribute(client, name, attribute_type): Returns: A new FeedAttribute instance. """ - feed_attribute = client.get_type("FeedAttribute", version="v5") - feed_attribute.name.value = name + feed_attribute = client.get_type("FeedAttribute", version="v6") + feed_attribute.name = name feed_attribute.type = attribute_type return feed_attribute @@ -158,7 +158,7 @@ def _create_feed_items(client, customer_id, feed): Returns: A list of string Feed Item Resource Names. """ - feed_item_service = client.get_service("FeedItemService", version="v5") + feed_item_service = client.get_service("FeedItemService", version="v6") operations = [ _new_feed_item_operation( client, @@ -238,26 +238,23 @@ def _new_feed_item_operation(client, feed, text, final_url, line1, line2): Returns: The newly created FeedItemOperation instance. """ - final_url_string_value = client.get_type("StringValue", version="v5") - final_url_string_value.value = final_url - - feed_item_operation = client.get_type("FeedItemOperation", version="v5") + feed_item_operation = client.get_type("FeedItemOperation", version="v6") feed_item = feed_item_operation.create - feed_item.feed.value = feed.resource_name + feed_item.feed = feed.resource_name for i in range(0, 4): attribute_value = client.get_type( - "FeedItemAttributeValue", version="v5" + "FeedItemAttributeValue", version="v6" ) - attribute_value.feed_attribute_id.value = feed.attributes[i].id.value + attribute_value.feed_attribute_id = feed.attributes[i].id feed_item.attribute_values.append(attribute_value) # The attribute IDs come back in the same order that they were added. - feed_item.attribute_values[0].string_value.value = text - feed_item.attribute_values[1].string_values.append(final_url_string_value) - feed_item.attribute_values[2].string_value.value = line1 - feed_item.attribute_values[3].string_value.value = line2 + feed_item.attribute_values[0].string_value = text + feed_item.attribute_values[1].string_values.append(final_url) + feed_item.attribute_values[2].string_value = line1 + feed_item.attribute_values[3].string_value = line2 return feed_item_operation @@ -274,20 +271,20 @@ def _create_feed_mapping(client, customer_id, feed): feed: The feed for which the operation will be created. """ feed_mapping_service = client.get_service( - "FeedMappingService", version="v5" + "FeedMappingService", version="v6" ) feed_mapping_operation = client.get_type( - "FeedMappingOperation", version="v5" + "FeedMappingOperation", version="v6" ) feed_mapping = feed_mapping_operation.create feed_mapping.placeholder_type = client.get_type( - "PlaceholderTypeEnum", version="v5" + "PlaceholderTypeEnum", version="v6" ).SITELINK - feed_mapping.feed.value = feed.resource_name + feed_mapping.feed = feed.resource_name sitelink_placeholder_field_enum = client.get_type( - "SitelinkPlaceholderFieldEnum", version="v5" + "SitelinkPlaceholderFieldEnum", version="v6" ) field_names_map = { "Link Text": sitelink_placeholder_field_enum.TEXT, @@ -298,14 +295,12 @@ def _create_feed_mapping(client, customer_id, feed): for feed_attribute in feed.attributes: attribute_field_mapping = client.get_type( - "AttributeFieldMapping", version="v5" - ) - attribute_field_mapping.feed_attribute_id.value = ( - feed_attribute.id.value + "AttributeFieldMapping", version="v6" ) + attribute_field_mapping.feed_attribute_id = feed_attribute.id attribute_field_mapping.sitelink_field = field_names_map[ - feed_attribute.name.value + feed_attribute.name ] feed_mapping.attribute_field_mappings.append(attribute_field_mapping) @@ -329,28 +324,28 @@ def _create_campaign_feed(client, customer_id, campaign_id, feed): feed: The feed to connect to the campaign. """ campaign_feed_service = client.get_service( - "CampaignFeedService", version="v5" + "CampaignFeedService", version="v6" ) # Fetch the feed item IDs and collapse into a single comma-separated string. aggregated_feed_item_ids = ",".join( - [str(attribute.id.value) for attribute in feed.attributes] + [str(attribute.id) for attribute in feed.attributes] ) campaign_feed_operation = client.get_type( - "CampaignFeedOperation", version="v5" + "CampaignFeedOperation", version="v6" ) campaign_feed = campaign_feed_operation.create - campaign_feed.feed.value = feed.resource_name - campaign_feed.campaign.value = client.get_service( - "CampaignService", version="v5" + campaign_feed.feed = feed.resource_name + campaign_feed.campaign = client.get_service( + "CampaignService", version="v6" ).campaign_path(customer_id, campaign_id) - campaign_feed.matching_function.function_string.value = ( + campaign_feed.matching_function.function_string = ( f"AND(IN(FEED_ITEM_ID,{{ {aggregated_feed_item_ids} }})" ",EQUALS(CONTEXT.DEVICE,'Mobile'))" ) campaign_feed.placeholder_types.append( - client.get_type("PlaceholderTypeEnum", version="v5").SITELINK + client.get_type("PlaceholderTypeEnum", version="v6").SITELINK ) response = campaign_feed_service.mutate_campaign_feeds( @@ -369,16 +364,16 @@ def _create_ad_group_targeting(client, customer_id, ad_group_id, feed_item): feed_item: The feed item that was added to the feed. """ feed_item_target_service = client.get_service( - "FeedItemTargetService", version="v5" + "FeedItemTargetService", version="v6" ) feed_item_target_operation = client.get_type( - "FeedItemTargetOperation", version="v5" + "FeedItemTargetOperation", version="v6" ) feed_item_target = feed_item_target_operation.create - feed_item_target.feed_item.value = feed_item - feed_item_target.ad_group.value = client.get_service( - "AdGroupService", version="v5" + feed_item_target.feed_item = feed_item + feed_item_target.ad_group = client.get_service( + "AdGroupService", version="v6" ).ad_group_path(customer_id, ad_group_id) response = feed_item_target_service.mutate_feed_item_targets( diff --git a/examples/feeds/remove_feed_items.py b/examples/feeds/remove_feed_items.py index 6c7d1a54b..4d77adcb6 100755 --- a/examples/feeds/remove_feed_items.py +++ b/examples/feeds/remove_feed_items.py @@ -32,18 +32,17 @@ def main(client, customer_id, feed_id, feed_item_ids): feed_id: the ID for a Feed belonging to the given customer. feed_item_ids: a list of FeedItem IDs belonging to the given Feed. """ - feed_item_service = client.get_service("FeedItemService", version="v5") + feed_item_service = client.get_service("FeedItemService", version="v6") operations = [] for feed_item_id in feed_item_ids: # Constructs an operation that will remove the feed item based on the # resource name. - feed_item_operation = client.get_type("FeedItemOperation", version="v5") + feed_item_operation = client.get_type("FeedItemOperation", version="v6") # Constructs a resource name for a feed_item, which is in the # format: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} feed_item_operation.remove = feed_item_service.feed_item_path( - customer_id, - ResourceName.format_composite(feed_id, feed_item_id), + customer_id, ResourceName.format_composite(feed_id, feed_item_id), ) operations.append(feed_item_operation) diff --git a/examples/feeds/remove_flights_feed_item_attribute_value.py b/examples/feeds/remove_flights_feed_item_attribute_value.py new file mode 100644 index 000000000..ac21e3d57 --- /dev/null +++ b/examples/feeds/remove_flights_feed_item_attribute_value.py @@ -0,0 +1,312 @@ +#!/usr/bin/env python +# 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. +"""Removes a feed item attribute value of a feed item in a flights feed. + +To create a flights feed, run the remarketing/add_flights_feed.py example. This +example is specific to feeds of type DYNAMIC_FLIGHT. The attribute you are +removing must be present on the feed. + +This example is specifically for removing an attribute of a flights feed item, +but it can also be changed to work with other feed types. + +To make this work with other feed types, replace the FlightPlaceholderField enum +with the equivalent one of your feed type, and replace the appropriate attribute +names in the _get_feeds method. +""" + + +import argparse +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 +from google.api_core import protobuf_helpers + + +def main( + client, customer_id, feed_id, feed_item_id, flight_placeholder_field_name +): + """Removes a feed item attribute value of a feed item in a flights feed. + + Args: + client: An initialized GoogleAdsClient instance. + customer_id: The Google Ads customer ID. + feed_id: The feed ID to which the feed item belongs. + feed_item_id: The ID of the feed item to be updated. + flight_placeholder_field_name: The flight placeholder field name for the + attribute to be removed. + """ + # Get the FeedItemService client. + feed_item_service = client.get_service("FeedItemService", version="v6") + + # Create the FeedItemOperation. + feed_item_operation = client.get_type("FeedItemOperation", version="v6") + feed_item = feed_item_operation.update + + try: + # Get a map of the FlightPlaceholderFields to FeedAttributes. + placeholders_to_feed_attributes_map = _get_feed( + client, customer_id, feed_id + ) + + # Remove the attribute from the feed item. + flight_placeholder_field = client.get_type( + "FlightPlaceholderFieldEnum", version="v6" + ).FlightPlaceholderField.Value(flight_placeholder_field_name) + feed_item.CopyFrom( + _remove_attribute_value_from_feed_item( + client, + customer_id, + feed_id, + feed_item_id, + placeholders_to_feed_attributes_map, + flight_placeholder_field, + ) + ) + + # Configure the operation. + field_mask = protobuf_helpers.field_mask(None, feed_item) + feed_item_operation.update_mask.CopyFrom(field_mask) + + # Update the feed item and print the results. + response = feed_item_service.mutate_feed_items( + customer_id, [feed_item_operation] + ) + + for result in response.results: + print( + "Updated feed item with resource name: " + f"'{result.resource_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(f'\tError with message "{error.message}".') + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _get_feed(client, customer_id, feed_id): + """Retrieves details about a feed. + + Args: + client: An initialized GoogleAdsClient instance. + customer_id: The Google Ads customer ID. + feed_id: The feed ID to which the feed item belongs. + Returns: + A dictionary that maps FlightPlaceholderFieldEnum values to the + requested Feed's FeedAttributes. + """ + # Get the GoogleAdsService client. + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + feed_resource_name = client.get_service( + "FeedService", version="v6" + ).feed_path(customer_id, feed_id) + + # Construct the query. + query = f""" + SELECT feed.attributes + FROM feed + WHERE feed.resource_name = '{feed_resource_name}'""" + + # Issue the search request and get the first result, since we only need the + # single feed item we created previously. + row = next(iter(google_ads_service.search(customer_id, query=query))) + + # Get the attributes list from the feed and create a map with keys of each + # attribute and values of each corresponding ID. + flight_placeholder_field_enum = client.get_type( + "FlightPlaceholderFieldEnum", version="v6" + ) + feed_attributes = dict() + + # Loop through the feed attributes to populate the map. + # The full list of FlightPlaceholderFields can be found here: + # https://developers.google.com/google-ads/api/reference/rpc/latest/FlightPlaceholderFieldEnum.FlightPlaceholderField + for feed_attribute in row.feed.attributes: + if feed_attribute.name == "Flight Description": + feed_attributes[ + flight_placeholder_field_enum.FLIGHT_DESCRIPTION + ] = feed_attribute + elif feed_attribute.name == "Destination ID": + feed_attributes[ + flight_placeholder_field_enum.DESTINATION_ID + ] = feed_attribute + elif feed_attribute.name == "Flight Price": + feed_attributes[ + flight_placeholder_field_enum.FLIGHT_PRICE + ] = feed_attribute + elif feed_attribute.name == "Flight Sale Price": + feed_attributes[ + flight_placeholder_field_enum.FLIGHT_SALE_PRICE + ] = feed_attribute + elif feed_attribute.name == "Final URLs": + feed_attributes[ + flight_placeholder_field_enum.FINAL_URLS + ] = feed_attribute + else: + raise ValueError("Invalid attribute name.") + + return feed_attributes + + +def _remove_attribute_value_from_feed_item( + client, + customer_id, + feed_id, + feed_item_id, + placeholders_to_feed_attributes_map, + flight_placeholder_field_name, +): + """Removes an attribute value from the specified feed item. + + Args: + client: + customer_id: + feed_id: + feed_item_id: + placeholders_to_feed_attributes_map: + flight_placeholder_field_name: + Returns: + The modified FeedItem. + """ + # Gets the ID of the FeedAttribute for the placeholder field. + attribute_id = placeholders_to_feed_attributes_map[ + flight_placeholder_field_name + ].id + + # Retrieve the feed item and its associated attributes based on its resource + # name. + feed_item = _get_feed_item(client, customer_id, feed_id, feed_item_id) + + # Create the FeedItemAttributeValue that will be updated. + feed_item_attribute_value = client.get_type( + "FeedItemAttributeValue", version="v6" + ) + feed_item_attribute_value.feed_attribute_id = attribute_id + + # Loop through the attribute values to find the index of the + # FeedItemAttributeValue to update. + attribute_index = -1 + for attribute_value in feed_item.attribute_values: + attribute_index += 1 + if ( + attribute_value.feed_attribute_id + == feed_item_attribute_value.feed_attribute_id + ): + break + + if attribute_index == -1: + raise ValueError( + "No matching feed attribute found for value " + f"'{feed_item_attribute_value}'." + ) + + # Returns the feed item with the removed FeedItemAttributeValue. Any + # FeedItemAttributeValues that are not included in the updated FeedItem will + # be removed from the FeedItem; you can easily accomplish this by removing + # items from the AttributeValues list. + feed_item.attribute_values.pop(attribute_index) + return feed_item + + +def _get_feed_item(client, customer_id, feed_id, feed_item_id): + """Retrieves a feed item and its attribute values given a resource name. + + Args: + client: The Google Ads API client. + customer_id: The client customer ID. + feed_id: The feed ID that contains the target feed item. + feed_item_id: The feed item ID that will be updated. + Returns: + A FeedItem with the given resource name. + """ + # Get the GoogleAdsService client. + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + # Construct the resource name for the feed item. + feed_item_resource_name = client.get_service( + "FeedItemService", version="v6" + ).feed_item_path( + customer_id, ResourceName.format_composite(feed_id, feed_item_id), + ) + + # Construct the query. + query = f""" + SELECT feed_item.attribute_values + FROM feed_item + WHERE feed_item.resource_name = '{feed_item_resource_name}'""" + + # Issue the search request and return the first result, since the query will + # match only a single feed item. + return next( + iter(google_ads_service.search(customer_id, query=query)) + ).feed_item + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Removes a feed item attribute value of a feed item in a " + "flights feed." + ) + # 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( + "-f", + "--feed_id", + type=str, + required=True, + help="The ID of the feed to which the feed item belongs.", + ) + parser.add_argument( + "-i", + "--feed_item_id", + type=str, + required=True, + help="The ID of the feed item to be updated.", + ) + parser.add_argument( + "-p", + "--flight_placeholder_field_name", + type=str, + required=True, + help="The flight placeholder field name for the attribute to be removed.", + ) + args = parser.parse_args() + + main( + google_ads_client, + args.customer_id, + args.feed_id, + args.feed_item_id, + args.flight_placeholder_field_name, + ) diff --git a/examples/hotel_ads/add_hotel_ad.py b/examples/hotel_ads/add_hotel_ad.py index 0200720c4..3ace5f82d 100755 --- a/examples/hotel_ads/add_hotel_ad.py +++ b/examples/hotel_ads/add_hotel_ad.py @@ -51,12 +51,12 @@ def main( def add_budget(client, customer_id): campaign_budget_service = client.get_service( - "CampaignBudgetService", version="v5" + "CampaignBudgetService", version="v6" ) # Create a budget, which can be shared by multiple campaigns. campaign_budget_operation = client.get_type( - "CampaignBudgetOperation", version="v5" + "CampaignBudgetOperation", version="v6" ) campaign_budget = campaign_budget_operation.create campaign_budget.name = "Interplanetary Budget %s" % uuid.uuid4() @@ -90,20 +90,20 @@ 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="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") # Creates a new ad group ad and sets the hotel ad to it. - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group = 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="v5" + "AdGroupAdStatusEnum", version="v6" ).ENABLED ad_group_ad.ad.hotel_ad.CopyFrom( - client.get_type("HotelAdInfo", version="v5") + client.get_type("HotelAdInfo", version="v6") ) # Add the ad group ad. @@ -131,16 +131,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="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") # Create ad group. - ad_group_operation = client.get_type("AdGroupOperation", version="v5") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") ad_group = ad_group_operation.create ad_group.name = "Earth to Mars cruise %s" % uuid.uuid4() - ad_group.status = client.get_type("AdGroupStatusEnum", version="v5").ENABLED + ad_group.status = client.get_type("AdGroupStatusEnum", version="v6").ENABLED ad_group.campaign = 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="v5").HOTEL_ADS + ad_group.type = client.get_type("AdGroupTypeEnum", version="v6").HOTEL_ADS ad_group.cpc_bid_micros = 10000000 # Add the ad group. @@ -177,10 +177,10 @@ def add_hotel_campaign( hotel_center_account_id, bid_ceiling_micro_amount, ): - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Create campaign. - campaign_operation = client.get_type("CampaignOperation", version="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") campaign = campaign_operation.create campaign.name = "Interplanetary Cruise Campaign %s" % uuid.uuid4() @@ -194,7 +194,7 @@ def add_hotel_campaign( # 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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").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 c69db5b00..7f75d2ff1 100755 --- a/examples/hotel_ads/add_hotel_ad_group_bid_modifiers.py +++ b/examples/hotel_ads/add_hotel_ad_group_bid_modifiers.py @@ -25,18 +25,18 @@ def main(client, customer_id, ad_group_id): - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") ag_bm_service = client.get_service( - "AdGroupBidModifierService", version="v5" + "AdGroupBidModifierService", version="v6" ) # Create ad group bid modifier based on hotel check-in day. check_in_ag_bm_operation = client.get_type( - "AdGroupBidModifierOperation", version="v5" + "AdGroupBidModifierOperation", version="v6" ) 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="v5" + "DayOfWeekEnum", version="v6" ).MONDAY check_in_ag_bid_modifier.ad_group = ad_group_service.ad_group_path( customer_id, ad_group_id @@ -46,7 +46,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="v5" + "AdGroupBidModifierOperation", version="v6" ) los_ag_bid_modifier = los_ag_bm_operation.create los_ag_bid_modifier.ad_group = ad_group_service.ad_group_path( diff --git a/examples/hotel_ads/add_hotel_listing_group_tree.py b/examples/hotel_ads/add_hotel_listing_group_tree.py new file mode 100644 index 000000000..9b9e45a15 --- /dev/null +++ b/examples/hotel_ads/add_hotel_listing_group_tree.py @@ -0,0 +1,502 @@ +#!/usr/bin/env python +# 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. +"""Shows how to add a hotel listing group tree with two levels. + +The first level is partitioned by the hotel class. The second level is +partitioned by the country region. + +Each level is composed of two types of nodes: UNIT and SUBDIVISION. +UNIT nodes serve as a leaf node in a tree and can have bid amount set. +SUBDIVISION nodes serve as an internal node where a subtree will be built. The +SUBDIVISION node can't have bid amount set. +See https://developers.google.com/google-ads/api/docs/hotel-ads/create-listing-groups +for more information. + +Note: Only one listing group tree can be added. Attempting to add another +listing group tree to an ad group that already has one will fail. +""" + + +import argparse +import sys + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + +# The next temporary criterion ID to be used, which is a negative integer. +# +# When creating a tree, we need to specify the parent-child relationships +# between nodes. However, until a criterion has been created on the server we do +# not have a criterion ID with which to refer to it. +# +# Instead, we can specify temporary IDs that are specific to a single mutate +# request. Once a criterion is created, it is assigned an ID as normal and the +# temporary ID will no longer refer to it. +# +# See https://developers.google.com/google-ads/api/docs/mutating/best-practices +# for further details. +next_temp_id = -1 + + +def main(client, customer_id, ad_group_id, percent_cpc_bid_micro_amount): + """Shows how to add a hotel listing group tree with two levels. + + Args: + client: An initialized GoogleAdsClient instance. + customer_id: The client customer ID string. + ad_group_id: The ad group ID for which to the hotel listing will be + added. + percent_cpc_bid_micro_amount: The CPC bid micro amount to be set on a + created ad group criterion. + """ + # Get the AdGroupCriterionService client. + ad_group_criterion_service = client.get_service( + "AdGroupCriterionService", version="v6" + ) + + operations = [] + + try: + # Creates the root of the tree as a SUBDIVISION node. + root_resource_name = _add_root_node( + client, + customer_id, + ad_group_id, + operations, + percent_cpc_bid_micro_amount, + ) + + # Creates child nodes of level 1, partitioned by the hotel class info. + other_hotel_resource_name = _add_level1_nodes( + client, + customer_id, + ad_group_id, + root_resource_name, + operations, + percent_cpc_bid_micro_amount, + ) + + # Creates child nodes of level 2, partitioned by the hotel country + # region info. + _add_level2_nodes( + client, + customer_id, + ad_group_id, + other_hotel_resource_name, + operations, + percent_cpc_bid_micro_amount, + ) + + # Adds the listing group and prints the resulting node resource names. + mutate_ad_group_criteria_response = ( + ad_group_criterion_service.mutate_ad_group_criteria( + customer_id, operations + ) + ) + results = mutate_ad_group_criteria_response.results + print( + f"Added {len(results)} listing group info entities with resource " + "names:" + ) + for ( + ad_group_criterion_result + ) in mutate_ad_group_criteria_response.results: + print(f"\t'{ad_group_criterion_result.resource_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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _add_root_node( + client, + customer_id, + ad_group_id, + operations, + percent_cpc_bid_micro_amount + ): + """Creates the root node of the listing group tree. + + Also adds its create operation to the operations list. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + ad_group_id: The ad group ID to which the hotel listing group will be + added. + operations: A list of AdGroupCriterionOperations. + percent_cpc_bid_micro_amount: The CPC bid micro amount to be set on + created ad group criteria. + Returns: + The string resource name of the root of the tree. + """ + global next_temp_id + + # Create the root of the tree as a SUBDIVISION node. + root_listing_group_info = _create_listing_group_info( + client, + client.get_type("ListingGroupTypeEnum", version="v6").SUBDIVISION, + ) + + root_ad_group_criterion = _create_ad_group_criterion( + client, + customer_id, + ad_group_id, + root_listing_group_info, + percent_cpc_bid_micro_amount, + ) + + # Create an operation and add it to the list of operations. + root_ad_group_criterion_operation = client.get_type( + "AdGroupCriterionOperation", version="v6" + ) + root_ad_group_criterion_operation.create.CopyFrom(root_ad_group_criterion) + operations.append(root_ad_group_criterion_operation) + + # Decrement the temp ID for the next ad group criterion. + next_temp_id -= 1 + + return root_ad_group_criterion.resource_name + + +def _add_level1_nodes( + client, + customer_id, + ad_group_id, + root_resource_name, + operations, + percent_cpc_bid_micro_amount, + ): + """Creates child nodes on level 1, partitioned by the hotel class info. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + ad_group_id: The ad group ID to which the hotel listing group will be + added. + root_resource_name: The string resource name of the listing group's root + node. + operations: A list of AdGroupCriterionOperations. + percent_cpc_bid_micro_amount: The CPC bid micro amount to be set on + created ad group criteria. + Returns: + The string resource name of the "other hotel classes" node, which serves + as the parent node for the next level of the listing tree. + """ + global next_temp_id + + # Create listing dimension info for 5-star class hotels. + five_starred_listing_dimension_info = client.get_type( + "ListingDimensionInfo", version="v6" + ) + five_starred_listing_dimension_info.hotel_class.value = 5 + + # Create a listing group info for 5-star hotels as a UNIT node. + five_starred_unit = _create_listing_group_info( + client, + client.get_type("ListingGroupTypeEnum", version="v6").UNIT, + root_resource_name, + five_starred_listing_dimension_info, + ) + + # Create an ad group criterion for 5-star hotels. + five_starred_ad_group_criterion = _create_ad_group_criterion( + client, + customer_id, + ad_group_id, + five_starred_unit, + percent_cpc_bid_micro_amount, + ) + + # Create an operation and add it to the list of operations. + five_starred_ad_group_criterion_operation = client.get_type( + "AdGroupCriterionOperation", version="v6" + ) + five_starred_ad_group_criterion_operation.create.CopyFrom( + five_starred_ad_group_criterion + ) + operations.append(five_starred_ad_group_criterion_operation) + + # Decrement the temp ID for the next ad group criterion. + next_temp_id -= 1 + + # You can also create more UNIT nodes for other hotel classes by copying the + # above code in this method and modifying the hotel class value. + # For instance, passing 4 instead of 5 in the above code will instead create + # a UNIT node of 4-star hotels. + + # Create hotel class info and dimension info without any specifying + # attributes. This node will then represent hotel classes other than those + # already covered by UNIT nodes at this level. + other_hotels_listing_dimension_info = client.get_type( + "ListingDimensionInfo", version="v6" + ) + + # Create listing group info for other hotel classes as a SUBDIVISION node, + # which will be used as a parent node for children nodes of the next level. + other_hotels_subdivision_listing_group_info = _create_listing_group_info( + client, + client.get_type("ListingGroupTypeEnum", version="v6").SUBDIVISION, + root_resource_name, + other_hotels_listing_dimension_info, + ) + + # Create an ad group criterion for other hotel classes. + other_hotels_ad_group_criterion = _create_ad_group_criterion( + client, + customer_id, + ad_group_id, + other_hotels_subdivision_listing_group_info, + percent_cpc_bid_micro_amount, + ) + + # Create an operation and add it to the list of operations. + other_hotels_ad_group_criterion_operation = client.get_type( + "AdGroupCriterionOperation", version="v6" + ) + other_hotels_ad_group_criterion_operation.create.CopyFrom( + other_hotels_ad_group_criterion + ) + operations.append(other_hotels_ad_group_criterion_operation) + + # Decrement the temp ID for the next ad group criterion. + next_temp_id -= 1 + + return other_hotels_ad_group_criterion.resource_name + + +def _add_level2_nodes( + client, + customer_id, + ad_group_id, + parent_resource_name, + operations, + percent_cpc_bid_micro_amount, + ): + """Creates child nodes on level 2, partitioned by the country region. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + ad_group_id: The ad group ID to which the hotel listing group will be + added. + parent_resource_name: The string resource name of the parent criterion + for the nodes to be added at this level. + operations: A list of AdGroupCriterionOperations. + percent_cpc_bid_micro_amount: The CPC bid micro amount to be set on + created ad group criteria. + Returns: + The string resource name of the "other hotel classes" node, which serves + as the parent node for the next level of the listing tree. + """ + global next_temp_id + + # Create hotel dimension info for hotels in Japan. The criterion ID for + # Japan is 2392. See + # https://developers.google.com/adwords/api/docs/appendix/geotargeting for + # criteria ID of other countries. + japan_listing_dimension_info = client.get_type( + "ListingDimensionInfo", version="v6" + ) + japan_listing_dimension_info.hotel_country_region.country_region_criterion = client.get_service( + "GeoTargetConstantService", version="v6").geo_target_constant_path(2392) + + # Create listing group info for hotels in Japan as a UNIT node. + japan_hotels_unit = _create_listing_group_info( + client, + client.get_type("ListingGroupTypeEnum", version="v6").UNIT, + parent_resource_name, + japan_listing_dimension_info, + ) + + # Create an ad group criterion for hotels in Japan. + japan_hotels_ad_group_criterion = _create_ad_group_criterion( + client, + customer_id, + ad_group_id, + japan_hotels_unit, + percent_cpc_bid_micro_amount, + ) + + # Create an operation and add it to the list of operations. + japan_hotels_ad_group_criterion_operation = client.get_type( + "AdGroupCriterionOperation", version="v6" + ) + japan_hotels_ad_group_criterion_operation.create.CopyFrom( + japan_hotels_ad_group_criterion + ) + operations.append(japan_hotels_ad_group_criterion_operation) + + # Decrement the temp ID for the next ad group criterion. + next_temp_id -= 1 + + # Create hotel class info and dimension info for hotels in other regions. + other_hotel_regions_listing_dimension_info = client.get_type( + "ListingDimensionInfo", version="v6" + ) + + # Create listing group info for hotels in other regions as a UNIT node. + # The "others" node is always required for every level of the tree. + other_hotel_regions_unit = _create_listing_group_info( + client, + client.get_type("ListingGroupTypeEnum", version="v6").UNIT, + parent_resource_name, + other_hotel_regions_listing_dimension_info, + ) + + # Create an ad group criterion for other hotel country regions. + other_hotel_regions_ad_group_criterion = _create_ad_group_criterion( + client, + customer_id, + ad_group_id, + other_hotel_regions_unit, + percent_cpc_bid_micro_amount, + ) + + # Create an operation and add it to the list of operations. + other_hotel_regions_ad_group_criterion_operation = client.get_type( + "AdGroupCriterionOperation", version="v6" + ) + other_hotel_regions_ad_group_criterion_operation.create.CopyFrom( + other_hotel_regions_ad_group_criterion + ) + operations.append(other_hotel_regions_ad_group_criterion_operation) + + # Decrement the temp ID for the next ad group criterion. + next_temp_id -= 1 + + +def _create_listing_group_info( + client, + listing_group_type, + parent_criterion_resource_name=None, + case_value=None, + ): + """Creates the listing group info with the provided parameters. + + Args: + client: The Google Ads API client. + listing_group_type: The listing group type. + parent_criterion_resource_name: Optional resource name of the parent + criterion ID to set for this listing group info. + case_value: Optional dimension info for the listing group. + Returns: + A populated ListingGroupInfo object. + """ + listing_group_info = client.get_type("ListingGroupInfo", version="v6") + listing_group_info.type = listing_group_type + + if parent_criterion_resource_name is not None and case_value is not None: + listing_group_info.parent_ad_group_criterion = ( + parent_criterion_resource_name + ) + listing_group_info.case_value.CopyFrom(case_value) + + return listing_group_info + + +def _create_ad_group_criterion( + client, + customer_id, + ad_group_id, + listing_group_info, + percent_cpc_bid_micro_amount, + ): + """Creates an ad group criterion from the provided listing group info. + + Bid amount will be set on the created ad group criterion when listing group + info type is UNIT. Setting bid amount for SUBDIVISION types is not + allowed. + + Args: + client: The Google Ads API client. + customer_id: The Google Ads customer ID. + ad_group_id: The ad group ID to which the hotel listing group will be + added. + listing_group_info: The listing group info to apply to the criterion. + percent_cpc_bid_micro_amount: The CPC bid micro amount to be set on + created ad group criteria. + Returns: + A populated AdGroupCriterion object. + """ + ad_group_criterion = client.get_type("AdGroupCriterion", version="v6") + ad_group_criterion.status = client.get_type( + "AdGroupCriterionStatusEnum", version="v6" + ).ENABLED + ad_group_criterion.listing_group.CopyFrom(listing_group_info) + ad_group_criterion.resource_name = client.get_service( + "AdGroupCriterionService", version="v6" + ).ad_group_criteria_path(customer_id, f"{ad_group_id}~{next_temp_id}") + + # Bids are only valid for UNIT nodes. + if ( + listing_group_info.type + == client.get_type("ListingGroupTypeEnum", version="v6").UNIT + ): + ad_group_criterion.percent_cpc_bid_micros = percent_cpc_bid_micro_amount + + return ad_group_criterion + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Shows how to add a hotel listing group tree with two " + "levels." + ) + # 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( + "-a", + "--ad_group_id", + type=int, + required=True, + help="The ad group ID to which the hotel listing will be added.", + ) + parser.add_argument( + "-p", + "--percent_cpc_bid_micro_amount", + type=int, + required=True, + help="Specify the CPC bid micro amount to be set on a created ad group " + "criterion. For simplicity, each ad group criterion will use the below " + "amount equally. In practice, you probably want to use different values " + "for each ad group criterion.", + ) + args = parser.parse_args() + + main( + google_ads_client, + args.customer_id, + args.ad_group_id, + args.percent_cpc_bid_micro_amount, + ) 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 19d43466a..3cebe5371 100755 --- a/examples/migration/create_complete_campaign_both_apis_phase_1.py +++ b/examples/migration/create_complete_campaign_both_apis_phase_1.py @@ -53,15 +53,15 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service("CampaignBudgetService", version="v5") - operation = client.get_type("CampaignBudgetOperation", version="v5") + campaign_service = client.get_service("CampaignBudgetService", version="v6") + operation = client.get_type("CampaignBudgetOperation", version="v6") criterion = operation.create criterion.name = "Interplanetary Cruise Budget #{}".format(uuid.uuid4()) criterion.delivery_method = client.get_type( - "BudgetDeliveryMethodEnum", version="v5" + "BudgetDeliveryMethodEnum", version="v6" ).STANDARD criterion.amount_micros = 500000 response = campaign_service.mutate_campaign_budgets( @@ -85,10 +85,10 @@ def get_campaign_budget(client, customer_id, resource_name): campaign. Returns: - An instance of google.ads.google_ads.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign_budget.id, 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 c047a3f41..fd9152cc0 100755 --- a/examples/migration/create_complete_campaign_both_apis_phase_2.py +++ b/examples/migration/create_complete_campaign_both_apis_phase_2.py @@ -52,15 +52,15 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service("CampaignBudgetService", version="v5") - operation = client.get_type("CampaignBudgetOperation", version="v5") + campaign_service = client.get_service("CampaignBudgetService", version="v6") + operation = client.get_type("CampaignBudgetOperation", version="v6") criterion = operation.create criterion.name = "Interplanetary Cruise Budget #{}".format(uuid.uuid4()) criterion.delivery_method = client.get_type( - "BudgetDeliveryMethodEnum", version="v5" + "BudgetDeliveryMethodEnum", version="v6" ).STANDARD criterion.amount_micros = 500000 response = campaign_service.mutate_campaign_budgets( @@ -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.v5.types.CampaignBudget instance. + """Retrieves a google.ads.google_ads.v6.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. Returns: - An instance of google.ads.google_ads.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign_budget.id, @@ -106,23 +106,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.v5.types.CampaignBudget + campaign_budget: A google.ads.google_ads.v6.types.CampaignBudget message class instance. Returns: A google.ads.google_ads.client.GoogleAdsClient message class instance. """ - operation = client.get_type("CampaignOperation", version="v5") + operation = client.get_type("CampaignOperation", version="v6") campaign = operation.create - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") campaign.name = "Interplanetary Cruise#{}".format(uuid.uuid4()) campaign.advertising_channel_type = client.get_type( - "AdvertisingChannelTypeEnum", version="v5" + "AdvertisingChannelTypeEnum", version="v6" ).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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED campaign.manual_cpc.enhanced_cpc_enabled = True campaign.campaign_budget = campaign_budget.resource_name campaign.network_settings.target_google_search = True @@ -143,7 +143,7 @@ def create_campaign(client, customer_id, campaign_budget): def get_campaign(client, customer_id, campaign_resource_name): - """Retrieves a google.ads.google_ads.v5.types.Campaign instance. + """Retrieves a google.ads.google_ads.v6.types.Campaign instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -154,7 +154,7 @@ def get_campaign(client, customer_id, campaign_resource_name): Returns: A google.ads.google_ads.client.GoogleAdsClient message class instance. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign.id, campaign.name, campaign.resource_name FROM campaign 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 d9a9ca11e..ad9785c50 100755 --- a/examples/migration/create_complete_campaign_both_apis_phase_3.py +++ b/examples/migration/create_complete_campaign_both_apis_phase_3.py @@ -52,15 +52,15 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service("CampaignBudgetService", version="v5") - operation = client.get_type("CampaignBudgetOperation", version="v5") + campaign_service = client.get_service("CampaignBudgetService", version="v6") + operation = client.get_type("CampaignBudgetOperation", version="v6") criterion = operation.create criterion.name = "Interplanetary Cruise Budget #{}".format(uuid.uuid4()) criterion.delivery_method = client.get_type( - "BudgetDeliveryMethodEnum", version="v5" + "BudgetDeliveryMethodEnum", version="v6" ).STANDARD criterion.amount_micros = 500000 response = campaign_service.mutate_campaign_budgets( @@ -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.v5.types.CampaignBudget instance. + """Retrieves a google.ads.google_ads.v6.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.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign_budget.id, @@ -107,23 +107,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.v5.types.CampaignBudget + campaign_budget: A google.ads.google_ads.v6.types.CampaignBudget instance. Returns: - A google.ads.google_ads.v5.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v6.types.GoogleAdsClient message class instance. """ - operation = client.get_type("CampaignOperation", version="v5") + operation = client.get_type("CampaignOperation", version="v6") campaign = operation.create - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") campaign.name = "Interplanetary Cruise#{}".format(uuid.uuid4()) campaign.advertising_channel_type = client.get_type( - "AdvertisingChannelTypeEnum", version="v5" + "AdvertisingChannelTypeEnum", version="v6" ).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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED campaign.manual_cpc.enhanced_cpc_enabled = True campaign.campaign_budget = campaign_budget.resource_name campaign.network_settings.target_google_search = True @@ -144,7 +144,7 @@ def create_campaign(client, customer_id, campaign_budget): def get_campaign(client, customer_id, campaign_resource_name): - """Retrieves a google.ads.google_ads.v5.types.Campaign instance. + """Retrieves a google.ads.google_ads.v6.types.Campaign instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -155,7 +155,7 @@ def get_campaign(client, customer_id, campaign_resource_name): Returns: A google.ads.google_ads.client.GoogleAdsClient message class instance. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign.id, campaign.name, campaign.resource_name FROM campaign @@ -172,21 +172,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: An instance of the google.ads.google_ads.v5.types.Campaign + campaign: An instance of the google.ads.google_ads.v6.types.Campaign message class. Returns: - An instance of the google.ads.google_ads.v5.types.AdGroup message class + An instance of the google.ads.google_ads.v6.types.AdGroup message class of the newly created ad group. """ - operation = client.get_type("AdGroupOperation", version="v5") + operation = client.get_type("AdGroupOperation", version="v6") adgroup = operation.create - adgroup_service = client.get_service("AdGroupService", version="v5") + adgroup_service = client.get_service("AdGroupService", version="v6") adgroup.name = "Earth to Mars Cruises #{}".format(uuid.uuid4()) adgroup.campaign = campaign.resource_name - adgroup.status = client.get_type("AdGroupStatusEnum", version="v5").ENABLED + adgroup.status = client.get_type("AdGroupStatusEnum", version="v6").ENABLED adgroup.type = client.get_type( - "AdGroupTypeEnum", version="v5" + "AdGroupTypeEnum", version="v6" ).SEARCH_STANDARD adgroup.cpc_bid_micros = 10000000 response = adgroup_service.mutate_ad_groups(customer_id, [operation]) @@ -197,7 +197,7 @@ def create_ad_group(client, customer_id, campaign): def get_ad_group(client, customer_id, ad_group_resource_name): - """Retrieves a google.ads.google_ads.v5.types.AdGroup instance. + """Retrieves a google.ads.google_ads.v6.types.AdGroup instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -206,10 +206,10 @@ def get_ad_group(client, customer_id, ad_group_resource_name): created Ad group. Returns: - An instance of the google.ads.google_ads.v5.types.AdGroup message class + An instance of the google.ads.google_ads.v6.types.AdGroup message class of the newly created ad group. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT ad_group.id, ad_group.name, ad_group.resource_name FROM ad_group 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 cb8eacbd8..285752279 100755 --- a/examples/migration/create_complete_campaign_both_apis_phase_4.py +++ b/examples/migration/create_complete_campaign_both_apis_phase_4.py @@ -52,15 +52,15 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service("CampaignBudgetService", version="v5") - operation = client.get_type("CampaignBudgetOperation", version="v5") + campaign_service = client.get_service("CampaignBudgetService", version="v6") + operation = client.get_type("CampaignBudgetOperation", version="v6") criterion = operation.create criterion.name = "Interplanetary Cruise Budget #{}".format(uuid.uuid4()) criterion.delivery_method = client.get_type( - "BudgetDeliveryMethodEnum", version="v5" + "BudgetDeliveryMethodEnum", version="v6" ).STANDARD criterion.amount_micros = 500000 response = campaign_service.mutate_campaign_budgets( @@ -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.v5.types.CampaignBudget instance . + """Retrieves a google.ads.google_ads.v6.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.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign_budget.id, @@ -107,23 +107,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.v5.types.CampaignBudget + campaign_budget: A google.ads.google_ads.v6.types.CampaignBudget instance. Returns: - A google.ads.google_ads.v5.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v6.types.GoogleAdsClient message class instance. """ - operation = client.get_type("CampaignOperation", version="v5") + operation = client.get_type("CampaignOperation", version="v6") campaign = operation.create - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") campaign.name = "Interplanetary Cruise#{}".format(uuid.uuid4()) campaign.advertising_channel_type = client.get_type( - "AdvertisingChannelTypeEnum", version="v5" + "AdvertisingChannelTypeEnum", version="v6" ).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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED campaign.manual_cpc.enhanced_cpc_enabled = True campaign.campaign_budget = campaign_budget.resource_name campaign.network_settings.target_google_search = True @@ -144,7 +144,7 @@ def create_campaign(client, customer_id, campaign_budget): def get_campaign(client, customer_id, campaign_resource_name): - """Retrieves a google.ads.google_ads.v5.types.Campaign instance. + """Retrieves a google.ads.google_ads.v6.types.Campaign instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -155,7 +155,7 @@ def get_campaign(client, customer_id, campaign_resource_name): Returns: A google.ads.google_ads.client.GoogleAdsClient message class instance. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign.id, campaign.name, campaign.resource_name FROM campaign @@ -172,20 +172,20 @@ 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.v5.types.Campaign instance. + campaign: A google.ads.google_ads.v6.types.Campaign instance. Returns: - An instance of the google.ads.google_ads.v5.types.AdGroup message class + An instance of the google.ads.google_ads.v6.types.AdGroup message class of the newly created ad group. """ - operation = client.get_type("AdGroupOperation", version="v5") + operation = client.get_type("AdGroupOperation", version="v6") adgroup = operation.create - adgroup_service = client.get_service("AdGroupService", version="v5") + adgroup_service = client.get_service("AdGroupService", version="v6") adgroup.name = "Earth to Mars Cruises #{}".format(uuid.uuid4()) adgroup.campaign = campaign.resource_name - adgroup.status = client.get_type("AdGroupStatusEnum", version="v5").ENABLED + adgroup.status = client.get_type("AdGroupStatusEnum", version="v6").ENABLED adgroup.type = client.get_type( - "AdGroupTypeEnum", version="v5" + "AdGroupTypeEnum", version="v6" ).SEARCH_STANDARD adgroup.cpc_bid_micros = 10000000 response = adgroup_service.mutate_ad_groups(customer_id, [operation]) @@ -196,7 +196,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_v5.types.AdGroup instance. + """Retrieves a google.ads.googleads_v6.types.AdGroup instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -205,10 +205,10 @@ def get_ad_group(client, customer_id, ad_group_resource_name): created Ad group. Returns: - An instance of the google.ads.google_ads.v5.types.AdGroup message class + An instance of the google.ads.google_ads.v6.types.AdGroup message class of the newly created ad group. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT ad_group.id, ad_group.name, ad_group.resource_name FROM ad_group @@ -225,15 +225,15 @@ 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.v5.types.AdGroup instance. + ad_group: A google.ads.google_ads.v6.types.AdGroup instance. """ operations = [] for i in range(0, NUMBER_OF_ADS): - operation = client.get_type("AdGroupAdOperation", version="v5") + operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_operation = operation.create ad_group_operation.ad_group = ad_group.resource_name ad_group_operation.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED ad_group_operation.ad.expanded_text_ad.headline_part1 = ( f"Cruise to Mars #{str(uuid.uuid4())[:4]}" @@ -247,7 +247,7 @@ def create_text_ads(client, customer_id, ad_group): ad_group_operation.ad.final_urls.append("http://www.example.com") operations.append(operation) - adgroup_service = client.get_service("AdGroupAdService", version="v5") + adgroup_service = client.get_service("AdGroupAdService", version="v6") ad_group_ad_response = adgroup_service.mutate_ad_group_ads( customer_id, operations ) @@ -271,7 +271,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.v5.types.AdGroupAd instance . + """Retrieves a google.ads.google_ads.v6.types.AdGroupAd instance . Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -279,7 +279,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.v5.types.AdGroupAd message + An instance of the google.ads.google_ads.v6.types.AdGroupAd message class of the newly created ad group ad. """ @@ -299,7 +299,7 @@ def formatter(given_string): resource_names = formatter(new_ad_resource_names) - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT ad_group_ad.ad.id, 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 f749b25ca..84ce2f1a2 100755 --- a/examples/migration/create_complete_campaign_google_ads_api_only.py +++ b/examples/migration/create_complete_campaign_google_ads_api_only.py @@ -49,15 +49,15 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service("CampaignBudgetService", version="v5") - operation = client.get_type("CampaignBudgetOperation", version="v5") + campaign_service = client.get_service("CampaignBudgetService", version="v6") + operation = client.get_type("CampaignBudgetOperation", version="v6") criterion = operation.create criterion.name = "Interplanetary Cruise Budget #{}".format(uuid.uuid4()) criterion.delivery_method = client.get_type( - "BudgetDeliveryMethodEnum", version="v5" + "BudgetDeliveryMethodEnum", version="v6" ).STANDARD criterion.amount_micros = 500000 response = campaign_service.mutate_campaign_budgets( @@ -72,7 +72,7 @@ def create_campaign_budget(client, customer_id): def get_campaign_budget(client, customer_id, resource_name): - """Retrieves a google.ads.google_ads.v5.types.CampaignBudget instance. + """Retrieves a google.ads.google_ads.v6.types.CampaignBudget instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -81,10 +81,10 @@ def get_campaign_budget(client, customer_id, resource_name): campaign. Returns: - An instance of google.ads.google_ads.v5.types.CampaignBudget for the + An instance of google.ads.google_ads.v6.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign_budget.id, @@ -104,23 +104,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.v5.types.CampaignBudget + campaign_budget: A google.ads.google_ads.v6.types.CampaignBudget instance. Returns: A google.ads.google_ads.client.GoogleAdsClient message class instance. """ - operation = client.get_type("CampaignOperation", version="v5") + operation = client.get_type("CampaignOperation", version="v6") campaign = operation.create - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") campaign.name = "Interplanetary Cruise#{}".format(uuid.uuid4()) campaign.advertising_channel_type = client.get_type( - "AdvertisingChannelTypeEnum", version="v5" + "AdvertisingChannelTypeEnum", version="v6" ).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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED campaign.manual_cpc.enhanced_cpc_enabled = True campaign.campaign_budget = campaign_budget.resource_name campaign.network_settings.target_google_search = True @@ -141,7 +141,7 @@ def create_campaign(client, customer_id, campaign_budget): def get_campaign(client, customer_id, campaign_resource_name): - """Retrieves a google.ads.google_ads.v5.types.Campaign instance. + """Retrieves a google.ads.google_ads.v6.types.Campaign instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -152,7 +152,7 @@ def get_campaign(client, customer_id, campaign_resource_name): Returns: A google.ads.google_ads.client.GoogleAdsClient message class instance. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT campaign.id, campaign.name, campaign.resource_name FROM campaign @@ -169,20 +169,20 @@ 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.v5.types.Campaign instance. + campaign: A google.ads.google_ads.v6.types.Campaign instance. Returns: - An instance of the google.ads.google_ads.v5.types.AdGroup message class + An instance of the google.ads.google_ads.v6.types.AdGroup message class of the newly created ad group. """ - operation = client.get_type("AdGroupOperation", version="v5") + operation = client.get_type("AdGroupOperation", version="v6") adgroup = operation.create - adgroup_service = client.get_service("AdGroupService", version="v5") + adgroup_service = client.get_service("AdGroupService", version="v6") adgroup.name = "Earth to Mars Cruises #{}".format(uuid.uuid4()) adgroup.campaign = campaign.resource_name - adgroup.status = client.get_type("AdGroupStatusEnum", version="v5").ENABLED + adgroup.status = client.get_type("AdGroupStatusEnum", version="v6").ENABLED adgroup.type = client.get_type( - "AdGroupTypeEnum", version="v5" + "AdGroupTypeEnum", version="v6" ).SEARCH_STANDARD adgroup.cpc_bid_micros = 10000000 response = adgroup_service.mutate_ad_groups(customer_id, [operation]) @@ -193,7 +193,7 @@ def create_ad_group(client, customer_id, campaign): def get_ad_group(client, customer_id, ad_group_resource_name): - """Retrieves a google.ads.google_ads.v5.types.AdGroup instance. + """Retrieves a google.ads.google_ads.v6.types.AdGroup instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -202,10 +202,10 @@ def get_ad_group(client, customer_id, ad_group_resource_name): created Ad group. Returns: - An instance of the google.ads.google_ads.v5.types.AdGroup message class + An instance of the google.ads.google_ads.v6.types.AdGroup message class of the newly created ad group. """ - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT ad_group.id, ad_group.name, ad_group.resource_name FROM ad_group @@ -222,15 +222,15 @@ 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.v5.types.AdGroup instance. + ad_group: A google.ads.google_ads.v6.types.AdGroup instance. """ operations = [] for i in range(0, NUMBER_OF_ADS): - operation = client.get_type("AdGroupAdOperation", version="v5") + operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_operation = operation.create ad_group_operation.ad_group = ad_group.resource_name ad_group_operation.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED ad_group_operation.ad.expanded_text_ad.headline_part1 = ( f"Cruise to Mars #{str(uuid.uuid4())[:4]}" @@ -244,7 +244,7 @@ def create_text_ads(client, customer_id, ad_group): ad_group_operation.ad.final_urls.append("http://www.example.com") operations.append(operation) - adgroup_service = client.get_service("AdGroupAdService", version="v5") + adgroup_service = client.get_service("AdGroupAdService", version="v6") ad_group_ad_response = adgroup_service.mutate_ad_group_ads( customer_id, operations ) @@ -268,7 +268,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.v5.types.AdGroupAd instance. + """Retrieves a google.ads.google_ads.v6.types.AdGroupAd instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instanc e. @@ -276,7 +276,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.v5.types.AdGroupAd message + An instance of the google.ads.google_ads.v6.types.AdGroupAd message class of the newly created ad group ad. """ @@ -296,7 +296,7 @@ def formatter(given_string): resource_names = formatter(new_ad_resource_names) - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT ad_group_ad.ad.id, @@ -327,26 +327,26 @@ 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.v5.types.AdGroup instance. + ad_group: A google.ads.google_ads.v6.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="v5") + operation = client.get_type("AdGroupCriterionOperation", version="v6") ad_group_criterion_operation = operation.create ad_group_criterion_operation.ad_group = ad_group.resource_name ad_group_criterion_operation.status = client.get_type( - "AdGroupCriterionStatusEnum", version="v5" + "AdGroupCriterionStatusEnum", version="v6" ).ENABLED ad_group_criterion_operation.keyword.text = keyword ad_group_criterion_operation.keyword.match_type = client.get_type( - "KeywordMatchTypeEnum", version="v5" + "KeywordMatchTypeEnum", version="v6" ).EXACT ad_group_criterion_operations.append(operation) ad_group_criterion_service_client = client.get_service( - "AdGroupCriterionService", version="v5" + "AdGroupCriterionService", version="v6" ) ad_group_criterion_response = ad_group_criterion_service_client.mutate_ad_group_criteria( customer_id, ad_group_criterion_operations @@ -371,7 +371,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.v5.types.AdGroupCriterion instance. + """Retrieves a google.ads.google_ads.v6.types.AdGroupCriterion instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -380,7 +380,7 @@ def get_keywords(client, customer_id, keyword_resource_names): created ad group criterion. Returns: - An instance of the google.ads.google_ads.v5.types.AdGroupCriterion + An instance of the google.ads.google_ads.v6.types.AdGroupCriterion message class of the newly created ad group criterion. """ @@ -399,7 +399,7 @@ def formatter(given_string): return ",".join(results) resource_names = formatter(keyword_resource_names) - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT ad_group.id, diff --git a/examples/misc/get_all_image_assets.py b/examples/misc/get_all_image_assets.py index 7a58356c0..83e3b220f 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT diff --git a/examples/misc/get_all_videos_and_images.py b/examples/misc/get_all_videos_and_images.py index 0369f0776..2c8a72db1 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") # Creates a query that will retrieve all video and image files. query = """ @@ -36,7 +36,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="v5").MediaType + media_type_enum = client.get_type("MediaTypeEnum", version="v6").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 af3f70c76..4cfef181a 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="v5") + media_file_operation = client.get_type("MediaFileOperation", version="v6") media_file = media_file_operation.create media_file.name = "Ad Image" - media_file.type = client.get_type("MediaTypeEnum", version="v5").IMAGE + media_file.type = client.get_type("MediaTypeEnum", version="v6").IMAGE media_file.source_url = URL # Download the image as bytes from the URL media_file.image.data = requests.get(URL).content - media_file_service = client.get_service("MediaFileService", version="v5") + media_file_service = client.get_service("MediaFileService", version="v6") try: mutate_media_files_response = media_file_service.mutate_media_files( diff --git a/examples/misc/upload_image_asset.py b/examples/misc/upload_image_asset.py index 3822b77b7..7b3c998cf 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="v5") + asset_operation = client.get_type("AssetOperation", version="v6") asset = asset_operation.create - asset.type = client.get_type("AssetTypeEnum", version="v5").IMAGE + asset.type = client.get_type("AssetTypeEnum", version="v6").IMAGE asset.image_asset.data = image_content asset.image_asset.file_size = 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="v5") + asset_service = client.get_service("AssetService", version="v6") try: mutate_asset_response = asset_service.mutate_assets( diff --git a/examples/misc/upload_media_bundle.py b/examples/misc/upload_media_bundle.py index 5dc12559e..12906084c 100755 --- a/examples/misc/upload_media_bundle.py +++ b/examples/misc/upload_media_bundle.py @@ -28,16 +28,16 @@ def main(client, customer_id): - media_file_operation = client.get_type("MediaFileOperation", version="v5") + media_file_operation = client.get_type("MediaFileOperation", version="v6") media_file = media_file_operation.create media_file.name = "Ad Media Bundle" media_file.type = client.get_type( - "MediaTypeEnum", version="v5" + "MediaTypeEnum", version="v6" ).MEDIA_BUNDLE # Download the ZIP as bytes from the URL media_file.media_bundle.data = requests.get(BUNDLE_URL).content - media_file_service = client.get_service("MediaFileService", version="v5") + media_file_service = client.get_service("MediaFileService", version="v6") try: mutate_media_files_response = media_file_service.mutate_media_files( diff --git a/examples/planning/add_keyword_plan.py b/examples/planning/add_keyword_plan.py index a840763d4..ab10e9265 100755 --- a/examples/planning/add_keyword_plan.py +++ b/examples/planning/add_keyword_plan.py @@ -89,20 +89,18 @@ def create_keyword_plan(client, customer_id): Raises: GoogleAdsException: If an error is returned from the API. """ - operation = client.get_type("KeywordPlanOperation", version="v5") + operation = client.get_type("KeywordPlanOperation", version="v6") keyword_plan = operation.create - keyword_plan.name.value = ( - f"Keyword plan for traffic estimate {uuid.uuid4()}" - ) + keyword_plan.name = f"Keyword plan for traffic estimate {uuid.uuid4()}" forecast_interval = client.get_type( - "KeywordPlanForecastIntervalEnum", version="v5" + "KeywordPlanForecastIntervalEnum", version="v6" ).NEXT_QUARTER keyword_plan.forecast_period.date_interval = forecast_interval keyword_plan_service = client.get_service( - "KeywordPlanService", version="v5" + "KeywordPlanService", version="v6" ) response = keyword_plan_service.mutate_keyword_plans( customer_id, [operation] @@ -129,32 +127,29 @@ 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="v5") + operation = client.get_type("KeywordPlanCampaignOperation", version="v6") keyword_plan_campaign = operation.create - 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_campaign.name = f"Keyword plan campaign {uuid.uuid4()}" + keyword_plan_campaign.cpc_bid_micros = 1000000 + keyword_plan_campaign.keyword_plan = keyword_plan keyword_plan_network = client.get_type( - "KeywordPlanNetworkEnum", version="v5" + "KeywordPlanNetworkEnum", version="v6" ) network = keyword_plan_network.GOOGLE_SEARCH keyword_plan_campaign.keyword_plan_network = network - geo_target = client.get_type("KeywordPlanGeoTarget", version="v5") + geo_target = client.get_type("KeywordPlanGeoTarget", version="v6") # 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]) + geo_target.geo_target_constant = "geoTargetConstants/2840" + keyword_plan_campaign.geo_targets.append(geo_target) - language = client.get_type("StringValue", version="v5") - # Constant for English - language.value = "languageConstants/1000" - keyword_plan_campaign.language_constants.extend([language]) + keyword_plan_campaign.language_constants.append("languageConstants/1000") keyword_plan_campaign_service = client.get_service( - "KeywordPlanCampaignService", version="v5" + "KeywordPlanCampaignService", version="v6" ) response = keyword_plan_campaign_service.mutate_keyword_plan_campaigns( customer_id, [operation] @@ -182,15 +177,15 @@ 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="v5") + operation = client.get_type("KeywordPlanAdGroupOperation", version="v6") keyword_plan_ad_group = operation.create - 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.name = f"Keyword plan ad group {uuid.uuid4()}" + keyword_plan_ad_group.cpc_bid_micros = 2500000 + keyword_plan_ad_group.keyword_plan_campaign = keyword_plan_campaign keyword_plan_ad_group_service = client.get_service( - "KeywordPlanAdGroupService", version="v5" + "KeywordPlanAdGroupService", version="v6" ) response = keyword_plan_ad_group_service.mutate_keyword_plan_ad_groups( customer_id, [operation] @@ -215,31 +210,31 @@ def create_keyword_plan_ad_group_keywords(client, customer_id, plan_ad_group): Raises: GoogleAdsException: If an error is returned from the API. """ - match_types = client.get_type("KeywordMatchTypeEnum", version="v5") + match_types = client.get_type("KeywordMatchTypeEnum", version="v6") keyword_plan_ad_group_keyword1 = client.get_type( - "KeywordPlanAdGroupKeyword", version="v5" + "KeywordPlanAdGroupKeyword", version="v6" ) - keyword_plan_ad_group_keyword1.text.value = "mars cruise" - keyword_plan_ad_group_keyword1.cpc_bid_micros.value = 2000000 + keyword_plan_ad_group_keyword1.text = "mars cruise" + keyword_plan_ad_group_keyword1.cpc_bid_micros = 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_keyword1.keyword_plan_ad_group = plan_ad_group keyword_plan_ad_group_keyword2 = client.get_type( - "KeywordPlanAdGroupKeyword", version="v5" + "KeywordPlanAdGroupKeyword", version="v6" ) - keyword_plan_ad_group_keyword2.text.value = "cheap cruise" - keyword_plan_ad_group_keyword2.cpc_bid_micros.value = 1500000 + keyword_plan_ad_group_keyword2.text = "cheap cruise" + keyword_plan_ad_group_keyword2.cpc_bid_micros = 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_keyword2.keyword_plan_ad_group = plan_ad_group keyword_plan_ad_group_keyword3 = client.get_type( - "KeywordPlanAdGroupKeyword", version="v5" + "KeywordPlanAdGroupKeyword", version="v6" ) - keyword_plan_ad_group_keyword3.text.value = "jupiter cruise" - keyword_plan_ad_group_keyword3.cpc_bid_micros.value = 1990000 + keyword_plan_ad_group_keyword3.text = "jupiter cruise" + keyword_plan_ad_group_keyword3.cpc_bid_micros = 1990000 keyword_plan_ad_group_keyword3.match_type = match_types.EXACT - keyword_plan_ad_group_keyword3.keyword_plan_ad_group.value = plan_ad_group + keyword_plan_ad_group_keyword3.keyword_plan_ad_group = plan_ad_group operations = [] for keyword in [ @@ -248,13 +243,13 @@ def create_keyword_plan_ad_group_keywords(client, customer_id, plan_ad_group): keyword_plan_ad_group_keyword3, ]: operation = client.get_type( - "KeywordPlanAdGroupKeywordOperation", version="v5" + "KeywordPlanAdGroupKeywordOperation", version="v6" ) operation.create.CopyFrom(keyword) operations.append(operation) keyword_plan_ad_group_keyword_service = client.get_service( - "KeywordPlanAdGroupKeywordService", version="v5" + "KeywordPlanAdGroupKeywordService", version="v6" ) response = keyword_plan_ad_group_keyword_service.mutate_keyword_plan_ad_group_keywords( @@ -283,19 +278,19 @@ def create_keyword_plan_negative_campaign_keywords( Raises: GoogleAdsException: If an error is returned from the API. """ - match_types = client.get_type("KeywordMatchTypeEnum", version="v5") + match_types = client.get_type("KeywordMatchTypeEnum", version="v6") operation = client.get_type( - "KeywordPlanCampaignKeywordOperation", version="v5" + "KeywordPlanCampaignKeywordOperation", version="v6" ) keyword_plan_campaign_keyword = operation.create - keyword_plan_campaign_keyword.text.value = "moon walk" + keyword_plan_campaign_keyword.text = "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_campaign_keyword.keyword_plan_campaign = plan_campaign + keyword_plan_campaign_keyword.negative = True keyword_plan_campaign_keyword_service = client.get_service( - "KeywordPlanCampaignKeywordService", version="v5" + "KeywordPlanCampaignKeywordService", version="v6" ) response = keyword_plan_campaign_keyword_service.mutate_keyword_plan_campaign_keywords( customer_id, [operation] diff --git a/examples/planning/forecast_reach.py b/examples/planning/forecast_reach.py index 481da9f08..c4e68575a 100755 --- a/examples/planning/forecast_reach.py +++ b/examples/planning/forecast_reach.py @@ -27,61 +27,13 @@ ONE_MILLION = 1.0e6 -def _string_value(client, value): - """Converts a value to a protocol buffer string wrapper. - - Args: - client: A google.ads.google_ads.client.GoogleAdsClient instance. - value: A string value to wrap. - - Returns: - An instance of google.protobuf.wrappers_pb2.StringValue with its "value" - property updates with the given value. - """ - string_val = client.get_type("StringValue", version="v5") - string_val.value = value - return string_val - - -def _int_32_value(client, value): - """Converts a value to a protocol buffer Int32 wrapper. - - Args: - client: A google.ads.google_ads.client.GoogleAdsClient instance. - value: A number to wrap, truncated to the nearest integer. - - Returns: - 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="v5") - int_32_val.value = math.trunc(value) - return int_32_val - - -def _int_64_value(client, value): - """Converts a value to a protocol buffer Int64 wrapper. - - Args: - client: A google.ads.google_ads.client.GoogleAdsClient instance. - value: A number to wrap, truncated to the nearest integer. - - Returns: - 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="v5") - int_64_val.value = math.trunc(value) - return int_64_val - - -def show_plannable_locations(client): +def _show_plannable_locations(client): """Shows map of plannable locations to their IDs. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. """ - reach_plan_service = client.get_service("ReachPlanService", version="v5") + reach_plan_service = client.get_service("ReachPlanService", version="v6") response = reach_plan_service.list_plannable_locations() print("Plannable Locations") @@ -89,14 +41,12 @@ def show_plannable_locations(client): for location in response.plannable_locations: print( '"{}",\t{},\t{}'.format( - location.name.value, - location.id.value, - location.parent_country_id.value, + location.name, location.id, location.parent_country_id, ) ) -def show_plannable_products(client, location_id): +def _show_plannable_products(client, location_id): """Lists plannable products for a given location. Args: @@ -105,12 +55,34 @@ 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="v5") + reach_plan_service = client.get_service("ReachPlanService", version="v6") response = reach_plan_service.list_plannable_products( - plannable_location_id=_string_value(client, location_id) + plannable_location_id=location_id ) - print("Plannable Products for Location ID {}".format(location_id)) - print(response) + + print(f"Plannable Products for Location ID {location_id}") + + age_range_enum = client.get_type("ReachPlanAgeRangeEnum", version="v6") + gender_type_enum = client.get_type("GenderTypeEnum", version="v6") + device_enum = client.get_type("DeviceEnum", version="v6") + + for product_metadata in response.product_metadata: + print( + f"{product_metadata.plannable_product_code} : " + f"{product_metadata.plannable_product_name}" + ) + + print("Age Ranges:") + for age_range in product_metadata.plannable_targeting.age_ranges: + print(f"\t- {age_range_enum.ReachPlanAgeRange.Name(age_range)}") + + print("Genders:") + for gender in product_metadata.plannable_targeting.genders: + print(f"\t- {gender_type_enum.GenderType.Name(gender.type)}") + + print("Devices:") + for device in product_metadata.plannable_targeting.devices: + print(f"\t- {device_enum.Device.Name(device.type)}") def _request_reach_curve( @@ -128,43 +100,43 @@ def _request_reach_curve( currency_code: Three-character ISO 4217 currency code. """ reach_request = client.get_type( - "GenerateReachForecastRequest", version="v5" + "GenerateReachForecastRequest", version="v6" ) reach_request.customer_id = customer_id # Valid durations are between 1 and 90 days. campaign_duration = reach_request.campaign_duration - campaign_duration.duration_in_days.value = 28 + campaign_duration.duration_in_days = 28 targeting = reach_request.targeting - targeting.plannable_location_id.value = location_id + targeting.plannable_location_id = location_id targeting.age_range = client.get_type( - "ReachPlanAgeRangeEnum", version="v5" + "ReachPlanAgeRangeEnum", version="v6" ).AGE_RANGE_18_65_UP genders = targeting.genders gender_types = [ - client.get_type("GenderTypeEnum", version="v5").FEMALE, - client.get_type("GenderTypeEnum", version="v5").MALE, + client.get_type("GenderTypeEnum", version="v6").FEMALE, + client.get_type("GenderTypeEnum", version="v6").MALE, ] for gender_type in gender_types: - gender = client.get_type("GenderInfo", version="v5") + gender = client.get_type("GenderInfo", version="v6") gender.type = gender_type genders.append(gender) devices = targeting.devices device_types = [ - client.get_type("DeviceEnum", version="v5").DESKTOP, - client.get_type("DeviceEnum", version="v5").MOBILE, - client.get_type("DeviceEnum", version="v5").TABLET, + client.get_type("DeviceEnum", version="v6").DESKTOP, + client.get_type("DeviceEnum", version="v6").MOBILE, + client.get_type("DeviceEnum", version="v6").TABLET, ] for device_type in device_types: - device = client.get_type("DeviceInfo", version="v5") + device = client.get_type("DeviceInfo", version="v6") device.type = device_type devices.append(device) - reach_plan_service = client.get_service("ReachPlanService", version="v5") + reach_plan_service = client.get_service("ReachPlanService", version="v6") # See the docs for defaults and valid ranges: # https://developers.google.com/google-ads/api/reference/rpc/latest/GenerateReachForecastRequest @@ -172,34 +144,29 @@ def _request_reach_curve( customer_id, campaign_duration, product_mix, - currency_code=_string_value(client, currency_code), - cookie_frequency_cap=_int_32_value(client, 0), - min_effective_frequency=_int_32_value(client, 1), + currency_code=currency_code, + cookie_frequency_cap=0, + min_effective_frequency=1, targeting=targeting, ) print( - "Currency, Cost, On-Target Reach, On-Target Imprs, Total Reach," + "Currency, Cost, On-Target Reach, On-Target Imprs, Total Reach, " " Total Imprs, Products" ) for point in response.reach_curve.reach_forecasts: - product_splits = [] - for p in point.forecasted_product_allocations: - product_splits.append( - { - p.plannable_product_code.value: p.budget_micros.value - / ONE_MILLION - } - ) print( [ currency_code, - point.cost_micros.value / ONE_MILLION, - point.forecast.on_target_reach.value, - point.forecast.on_target_impressions.value, - point.forecast.total_reach.value, - point.forecast.total_impressions.value, - product_splits, + point.cost_micros / ONE_MILLION, + point.forecast.on_target_reach, + point.forecast.on_target_impressions, + point.forecast.total_reach, + point.forecast.total_impressions, + [ + {p.plannable_product_code: p.cost_micros / ONE_MILLION} + for p in point.planned_product_reach_forecasts + ], ] ) @@ -226,11 +193,9 @@ def forecast_manual_mix( ("BUMPER", bumper_allocation), ] for product, split in product_splits: - planned_product = client.get_type("PlannedProduct", version="v5") - planned_product.plannable_product_code.value = product - planned_product.budget_micros.value = math.trunc( - budget * ONE_MILLION * split - ) + planned_product = client.get_type("PlannedProduct", version="v6") + planned_product.plannable_product_code = product + planned_product.budget_micros = math.trunc(budget * ONE_MILLION * split) product_mix.append(planned_product) _request_reach_curve( @@ -252,31 +217,29 @@ 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="v5") - preferences.has_guaranteed_price.value = True - preferences.starts_with_sound.value = True - preferences.is_skippable.value = False - preferences.top_content_only.value = True + preferences = client.get_type("Preferences", version="v6") + preferences.has_guaranteed_price = True + preferences.starts_with_sound = True + preferences.is_skippable = False + preferences.top_content_only = True preferences.ad_length = client.get_type( - "ReachPlanAdLengthEnum", version="v5" + "ReachPlanAdLengthEnum", version="v6" ).FIFTEEN_OR_TWENTY_SECONDS - reach_plan_service = client.get_service("ReachPlanService", version="v5") + reach_plan_service = client.get_service("ReachPlanService", version="v6") mix_response = reach_plan_service.generate_product_mix_ideas( customer_id=customer_id, - plannable_location_id=_string_value(client, location_id), + plannable_location_id=location_id, preferences=preferences, - currency_code=_string_value(client, currency_code), - budget_micros=_int_64_value(client, budget * ONE_MILLION), + currency_code=currency_code, + budget_micros=math.trunc(budget * ONE_MILLION), ) product_mix = [] for product in mix_response.product_allocation: - planned_product = client.get_type("PlannedProduct", version="v5") - planned_product.plannable_product_code.value = ( - product.plannable_product_code.value - ) - planned_product.budget_micros.value = product.budget_micros.value + planned_product = client.get_type("PlannedProduct", version="v6") + planned_product.plannable_product_code = product.plannable_product_code + planned_product.budget_micros = product.budget_micros product_mix.append(planned_product) _request_reach_curve( @@ -293,8 +256,8 @@ def main(client, customer_id): budget = 500000 try: - show_plannable_locations(client) - show_plannable_products(client, location_id) + _show_plannable_locations(client) + _show_plannable_products(client, location_id) forecast_manual_mix( client, customer_id, location_id, currency_code, budget ) diff --git a/examples/planning/generate_forecast_metrics.py b/examples/planning/generate_forecast_metrics.py index fdcd1a5e4..2e8ea485b 100755 --- a/examples/planning/generate_forecast_metrics.py +++ b/examples/planning/generate_forecast_metrics.py @@ -50,21 +50,21 @@ def main(client, customer_id, keyword_plan_id): for i, forecast in enumerate(response.keyword_forecasts): print( "#{} Keyword ID: {}".format( - i + 1, forecast.keyword_plan_ad_group_keyword.value + i + 1, forecast.keyword_plan_ad_group_keyword ) ) metrics = forecast.keyword_forecast - click_val = metrics.clicks.value + click_val = metrics.clicks clicks = "{:.2f}".format(click_val) if click_val else "unspecified" print("Estimated daily clicks: {}".format(clicks)) - imp_val = metrics.impressions.value + imp_val = metrics.impressions impressions = "{:.2f}".format(imp_val) if imp_val else "unspecified" print("Estimated daily impressions: {}".format(impressions)) - cpc_val = metrics.average_cpc.value + cpc_val = metrics.average_cpc cpc = "{:.2f}".format(cpc_val) if cpc_val else "unspecified" print("Estimated average cpc: {}\n".format(cpc)) diff --git a/examples/planning/generate_keyword_ideas.py b/examples/planning/generate_keyword_ideas.py index 61deb9619..d3556b3cc 100755 --- a/examples/planning/generate_keyword_ideas.py +++ b/examples/planning/generate_keyword_ideas.py @@ -34,16 +34,23 @@ def main( client, customer_id, location_ids, language_id, keyword_texts, page_url ): keyword_plan_idea_service = client.get_service( - "KeywordPlanIdeaService", version="v5" + "KeywordPlanIdeaService", version="v6" ) keyword_competition_level_enum = client.get_type( - "KeywordPlanCompetitionLevelEnum", version="v5" + "KeywordPlanCompetitionLevelEnum", version="v6" ).KeywordPlanCompetitionLevel keyword_plan_network = client.get_type( - "KeywordPlanNetworkEnum", version="v5" + "KeywordPlanNetworkEnum", version="v6" ).GOOGLE_SEARCH_AND_PARTNERS - locations = map_locations_to_string_values(client, location_ids) - language = map_language_to_string_value(client, language_id) + + gtc_service = client.get_service("GeoTargetConstantService", version="v6") + locations = [ + gtc_service.geo_target_constant_path(location_id) + for location_id in location_ids + ] + language = client.get_service( + "LanguageConstantService", version="v6" + ).language_constant_path(language_id) # Only one of these values will be passed to the KeywordPlanIdeaService # depending on whether keywords, a page_url or both were given. @@ -62,33 +69,31 @@ def main( # 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 keyword_texts and page_url: - url_seed = client.get_type("UrlSeed", version="v5") - url_seed.url.value = page_url + url_seed = client.get_type("UrlSeed", version="v6") + url_seed.url = 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. + # to be a list of strings. if keyword_texts and not page_url: - keyword_seed = client.get_type("KeywordSeed", version="v5") - keyword_protos = map_keywords_to_string_values(client, keyword_texts) - keyword_seed.keywords.extend(keyword_protos) + keyword_seed = client.get_type("KeywordSeed", version="v6") + keyword_seed.keywords.extend(keyword_texts) # 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 keyword_texts and page_url: - keyword_url_seed = client.get_type("KeywordAndUrlSeed", version="v5") - keyword_url_seed.url.value = page_url - keyword_protos = map_keywords_to_string_values(client, keyword_textss) - keyword_url_seed.keywords.extend(keyword_protos) + keyword_url_seed = client.get_type("KeywordAndUrlSeed", version="v6") + keyword_url_seed.url = page_url + keyword_url_seed.keywords.extend(keyword_texts) try: keyword_ideas = keyword_plan_idea_service.generate_keyword_ideas( customer_id, - language, locations, False, keyword_plan_network, + language=language, url_seed=url_seed, keyword_seed=keyword_seed, keyword_and_url_seed=keyword_url_seed, @@ -99,8 +104,8 @@ def main( idea.keyword_idea_metrics.competition ) print( - f'Keyword idea text "{idea.text.value}" has ' - f'"{idea.keyword_idea_metrics.avg_monthly_searches.value}" ' + f'Keyword idea text "{idea.text}" has ' + f'"{idea.keyword_idea_metrics.avg_monthly_searches}" ' f'average monthly searches and "{competition_value}" ' "competition.\n" ) @@ -117,33 +122,6 @@ def main( sys.exit(1) -def map_keywords_to_string_values(client, keyword_texts): - keyword_protos = [] - for keyword in keyword_texts: - string_val = client.get_type("StringValue", version="v5") - 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="v5") - locations = [] - for location_id in location_ids: - location = client.get_type("StringValue", version="v5") - location.value = gtc_service.geo_target_constant_path(location_id) - locations.append(location) - return locations - - -def map_language_to_string_value(client, language_id): - language = client.get_type("StringValue") - language.value = client.get_service( - "LanguageConstantService", version="v5" - ).language_constant_path(language_id) - return language - - if __name__ == "__main__": # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. diff --git a/examples/planning/get_ad_group_criterion_cpc_bid_simulations.py b/examples/planning/get_ad_group_criterion_cpc_bid_simulations.py index 2a8c72c7c..9552502a3 100755 --- a/examples/planning/get_ad_group_criterion_cpc_bid_simulations.py +++ b/examples/planning/get_ad_group_criterion_cpc_bid_simulations.py @@ -26,7 +26,7 @@ def main(client, customer_id, ad_group_id): - google_ads_service = client.get_service("GoogleAdsService", version="v5") + google_ads_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT diff --git a/examples/planning/get_campaign_criterion_bid_modifier_simulations.py b/examples/planning/get_campaign_criterion_bid_modifier_simulations.py index 699f04365..86928cfc3 100755 --- a/examples/planning/get_campaign_criterion_bid_modifier_simulations.py +++ b/examples/planning/get_campaign_criterion_bid_modifier_simulations.py @@ -33,7 +33,7 @@ def main(client, customer_id, campaign_id): customer_id: The customer ID for which to get the simulations. campaign_id: The campaign ID from which to get the simulations. """ - google_ads_service = client.get_service("GoogleAdsService", version="v5") + google_ads_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT diff --git a/examples/recommendations/apply_recommendation.py b/examples/recommendations/apply_recommendation.py index 7baa1347e..0286fa68c 100755 --- a/examples/recommendations/apply_recommendation.py +++ b/examples/recommendations/apply_recommendation.py @@ -26,17 +26,24 @@ def main(client, customer_id, recommendation_id): recommendation_service = client.get_service( - "RecommendationService", version="v5" + "RecommendationService", version="v6" ) apply_recommendation_operation = client.get_type( - "ApplyRecommendationOperation" + "ApplyRecommendationOperation", version="v6" ) apply_recommendation_operation.resource_name = recommendation_service.recommendation_path( customer_id, recommendation_id ) + # Each recommendation type has optional parameters to override the + # recommended values. Below is an example to override a recommended ad when + # a TextAdRecommendation is applied. For details, please read: + # https://developers.google.com/google-ads/api/reference/rpc/latest/ApplyRecommendationOperation + + # apply_recommendation_operation.text_ad.ad.id = int(INSERT_AD_ID_HERE) + try: recommendation_response = recommendation_service.apply_recommendation( customer_id, [apply_recommendation_operation] diff --git a/examples/recommendations/get_text_ad_recommendations.py b/examples/recommendations/get_text_ad_recommendations.py index bdad9784e..ef2a2bf70 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT diff --git a/examples/remarketing/add_combined_rule_user_list.py b/examples/remarketing/add_combined_rule_user_list.py new file mode 100644 index 000000000..d4ceb9bf7 --- /dev/null +++ b/examples/remarketing/add_combined_rule_user_list.py @@ -0,0 +1,164 @@ +#!/usr/bin/env python +# 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. +"""Creates a rule-based user list. + +The list will be defined by a combination of rules for users who have visited +two different pages of a website. +""" + +import argparse +import sys +from uuid import uuid4 + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + + +def main(client, customer_id): + """Creates a rule-based user list. + + The list will be defined by a combination of rules for users who have + visited two different pages of a website. + + Args: + client: The Google Ads client. + customer_id: The customer ID for which to add the user list. + """ + # Get the UserListService client. + user_list_service = client.get_service("UserListService", version="v6") + + rule_infos = [] + + # Create rules targeting any user that visits "http://example.com/example1" + # and "http://example.com/example2". + for url in ["http://example.com/example1", "http://example.com/example2"]: + rule_infos.append(_build_visited_site_rule_info(client, url)) + + # The two rules are combined by joining the first AND second URLs. See + # https://developers.google.com/google-ads/api/reference/rpc/latest/CombinedRuleUserListInfo + # for more details. + # This rule will create a user list where "Visitors of a page who did visit + # another page". To create a user list where "Visitors of a page who did not + # visit another page", change the UserListCombinedRuleOperator from AND to + # AND_NOT. + combined_rule_user_list_info = client.get_type( + "CombinedRuleUserListInfo", version="v6" + ) + combined_rule_user_list_info.left_operand.CopyFrom(rule_infos[0]) + combined_rule_user_list_info.right_operand.CopyFrom(rule_infos[1]) + combined_rule_user_list_info.rule_operator = client.get_type( + "UserListCombinedRuleOperatorEnum", version="v6" + ).AND + + # Define a representation of a user list that is generated by a rule. + rule_based_user_list_info = client.get_type( + "RuleBasedUserListInfo", version="v6" + ) + # Optional: To include past users in the user list, set the + # prepopulation_status to REQUESTED. + rule_based_user_list_info.prepopulation_status = client.get_type( + "UserListPrepopulationStatusEnum", version="v6" + ).REQUESTED + rule_based_user_list_info.combined_rule_user_list.CopyFrom( + combined_rule_user_list_info + ) + + # Create a UserListOperation and populate the UserList. + user_list_operation = client.get_type("UserListOperation", version="v6") + user_list = user_list_operation.create + user_list.name = ( + "All visitors to http://example.com/example1 AND " + f"http://example.com/example2 #{uuid4()}" + ) + user_list.description = ( + "Visitors of both http://example.com/example1 AND " + "http://example.com/example2" + ) + user_list.membership_status = client.get_type( + "UserListMembershipStatusEnum", version="v6" + ).OPEN + user_list.membership_life_span = 365 + user_list.rule_based_user_list.CopyFrom(rule_based_user_list_info) + + try: + # Issue a mutate request to add the user list, then print the results. + response = user_list_service.mutate_user_lists( + customer_id, [user_list_operation] + ) + print( + "Created combined user list with resource name " + f"'{response.results[0].resource_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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _build_visited_site_rule_info(client, url): + """Creates a UserListRuleInfo object targeting a visit to a specified URL. + + Args: + client: An initialized Google Ads client. + url: The string URL at which the rule will be targeted. + Returns: + A populated UserListRuleInfo object. + """ + user_visited_site_rule = client.get_type( + "UserListRuleItemInfo", version="v6" + ) + # Use a built-in parameter to create a domain URL rule. + user_visited_site_rule.name = "url__" + user_visited_site_rule.string_rule_item.operator = client.get_type( + "UserListStringRuleItemOperatorEnum", version="v6" + ).EQUALS + user_visited_site_rule.string_rule_item.value = url + + user_visited_site_rule_info = client.get_type( + "UserListRuleInfo", version="v6" + ) + rule_item_group_info = user_visited_site_rule_info.rule_item_groups.add() + rule_item_group_info.rule_items.append(user_visited_site_rule) + + return user_visited_site_rule_info + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Creates a combination user list containing users that are " + "present on any one of the provided user lists." + ) + # 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.", + ) + args = parser.parse_args() + + main(google_ads_client, args.customer_id) diff --git a/examples/remarketing/add_conversion_action.py b/examples/remarketing/add_conversion_action.py index 71184a9bf..0d14ace62 100755 --- a/examples/remarketing/add_conversion_action.py +++ b/examples/remarketing/add_conversion_action.py @@ -24,12 +24,12 @@ def main(client, customer_id): conversion_action_service = client.get_service( - "ConversionActionService", version="v5" + "ConversionActionService", version="v6" ) # Create the operation. conversion_action_operation = client.get_type( - "ConversionActionOperation", version="v5" + "ConversionActionOperation", version="v6" ) # Create conversion action. diff --git a/examples/remarketing/add_conversion_based_user_list.py b/examples/remarketing/add_conversion_based_user_list.py new file mode 100644 index 000000000..12215711f --- /dev/null +++ b/examples/remarketing/add_conversion_based_user_list.py @@ -0,0 +1,120 @@ +#!/usr/bin/env python +# 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. +"""Creates a basic user list based on conversion actions. + +The given conversion action IDs will be associated with the new user list. +A user will be added to the list upon triggering more than one of the actions, +e.g. by visiting a site and making a purchase. +""" + +import argparse +import sys +from uuid import uuid4 + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + + +def main(client, customer_id, conversion_action_ids): + """Creates a combination user list. + + Args: + client: The Google Ads client. + customer_id: The customer ID for which to add the user list. + conversion_action_ids: The IDs of the conversion actions for the basic + user list. + """ + # Get the UserListService and ConversionActionService clients. + user_list_service = client.get_service("UserListService", version="v6") + conversion_action_service = client.get_service( + "ConversionActionService", version="v6" + ) + + # Create a list of UserListActionInfo objects for the given conversion + # actions. These specify the conversion actions that, when triggered, will + # cause a user to be added to a UserList. + user_list_action_info_list = [] + for conversion_action_id in conversion_action_ids: + user_list_action_info = client.get_type( + "UserListActionInfo", version="v6" + ) + user_list_action_info.conversion_action = conversion_action_service.conversion_action_path( + customer_id, conversion_action_id + ) + user_list_action_info_list.append(user_list_action_info) + + # Create a UserListOperation and populate the UserList. + user_list_operation = client.get_type("UserListOperation", version="v6") + user_list = user_list_operation.create + user_list.name = f"Example BasicUserList #{uuid4()}" + user_list.description = ( + "A list of people who have triggered one or more conversion actions" + ) + user_list.membership_status = client.get_type( + "UserListMembershipStatusEnum", version="v6" + ).OPEN + user_list.membership_life_span = 365 + # The basic user list info object contains the conversion action info. + user_list.basic_user_list.actions.extend(user_list_action_info_list) + + try: + # Issue a mutate request to add the user list, then print the results. + response = user_list_service.mutate_user_lists( + customer_id, [user_list_operation] + ) + print( + "Created basic user list with resource name " + f"'{response.results[0].resource_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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Creates a basic user list based on conversion actions." + ) + # 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( + "-a", + "--conversion_action_ids", + nargs="+", + type=str, + required=True, + help="The IDs of the conversion actions for the basic user list.", + ) + args = parser.parse_args() + + main(google_ads_client, args.customer_id, args.conversion_action_ids) diff --git a/examples/remarketing/add_customer_match_user_list.py b/examples/remarketing/add_customer_match_user_list.py index 4efbc0b1e..f9b7bd39c 100755 --- a/examples/remarketing/add_customer_match_user_list.py +++ b/examples/remarketing/add_customer_match_user_list.py @@ -72,27 +72,27 @@ def _create_customer_match_user_list(client, customer_id): """ # Creates the UserListService client. user_list_service_client = client.get_service( - "UserListService", version="v5" + "UserListService", version="v6" ) # Creates the user list operation. - user_list_operation = client.get_type("UserListOperation", version="v5") + user_list_operation = client.get_type("UserListOperation", version="v6") # Creates the new user list. user_list = user_list_operation.create - user_list.name.value = f"Customer Match list #{uuid.uuid4()}" - user_list.description.value = ( + user_list.name = f"Customer Match list #{uuid.uuid4()}" + user_list.description = ( "A list of customers that originated from email and physical addresses" ) user_list.crm_based_user_list.upload_key_type = client.get_type( - "CustomerMatchUploadKeyTypeEnum", version="v5" + "CustomerMatchUploadKeyTypeEnum", version="v6" ).CONTACT_INFO # Customer Match user lists can set an unlimited membership life span; # to do so, use the special life span value 10000. Otherwise, membership # life span must be between 0 and 540 days inclusive. See: # https://developers.devsite.corp.google.com/google-ads/api/reference/rpc/latest/UserList#membership_life_span # Sets the membership life span to 30 days. - user_list.membership_life_span.value = 30 + user_list.membership_life_span = 30 response = user_list_service_client.mutate_user_lists( customer_id, operations=[user_list_operation] @@ -118,15 +118,15 @@ def _add_users_to_customer_match_user_list( """ # Creates the OfflineUserDataJobService client. offline_user_data_job_service_client = client.get_service( - "OfflineUserDataJobService", version="v5" + "OfflineUserDataJobService", version="v6" ) # Creates a new offline user data job. - offline_user_data_job = client.get_type("OfflineUserDataJob", version="v5") + offline_user_data_job = client.get_type("OfflineUserDataJob", version="v6") offline_user_data_job.type = client.get_type( - "OfflineUserDataJobTypeEnum", version="v5" + "OfflineUserDataJobTypeEnum", version="v6" ).CUSTOMER_MATCH_USER_LIST - offline_user_data_job.customer_match_user_list_metadata.user_list.value = ( + offline_user_data_job.customer_match_user_list_metadata.user_list = ( user_list_resource_name ) @@ -142,16 +142,14 @@ def _add_users_to_customer_match_user_list( f"'{offline_user_data_job_resource_name}'." ) - true_value = client.get_type("BoolValue", version="v5") - true_value.value = True + true_value = client.get_type("BoolValue", version="v6") + true_value = True # Issues a request to add the operations to the offline user data job. - response = ( - offline_user_data_job_service_client.add_offline_user_data_job_operations( - resource_name=offline_user_data_job_resource_name, - operations=_build_offline_user_data_job_operations(client), - enable_partial_failure=true_value, - ) + response = offline_user_data_job_service_client.add_offline_user_data_job_operations( + resource_name=offline_user_data_job_resource_name, + operations=_build_offline_user_data_job_operations(client), + enable_partial_failure=true_value, ) # Prints the status message if any partial failure error is returned. @@ -163,14 +161,14 @@ def _add_users_to_customer_match_user_list( if getattr(partial_failure, "code", None) != 0: error_details = getattr(partial_failure, "details", []) for error_detail in error_details: - failure_message = client.get_type("GoogleAdsFailure", version="v5") - failure_object = failure_message.FromString(error_detail.value) + failure_message = client.get_type("GoogleAdsFailure", version="v6") + failure_object = failure_message.FromString(error_detail) for error in failure_object.errors: print( "A partial failure at index {} occurred.\n" "Error message: {}\nError code: {}".format( - error.location.field_path_elements[0].index.value, + error.location.field_path_elements[0].index, error.message, error.error_code, ) @@ -206,14 +204,14 @@ def _build_offline_user_data_job_operations(client): """ # Creates a first user data based on an email address. user_data_with_email_address_operation = client.get_type( - "OfflineUserDataJobOperation", version="v5" + "OfflineUserDataJobOperation", version="v6" ) user_data_with_email_address = user_data_with_email_address_operation.create user_identifier_with_hashed_email = client.get_type( - "UserIdentifier", version="v5" + "UserIdentifier", version="v6" ) # Hash normalized email addresses based on SHA-256 hashing algorithm. - user_identifier_with_hashed_email.hashed_email.value = _normalize_and_hash( + user_identifier_with_hashed_email.hashed_email = _normalize_and_hash( "customer@example.com" ) user_data_with_email_address.user_identifiers.append( @@ -222,24 +220,24 @@ def _build_offline_user_data_job_operations(client): # Creates a second user data based on a physical address. user_data_with_physical_address_operation = client.get_type( - "OfflineUserDataJobOperation", version="v5" + "OfflineUserDataJobOperation", version="v6" ) user_data_with_physical_address = ( user_data_with_physical_address_operation.create ) user_identifier_with_address = client.get_type( - "UserIdentifier", version="v5" + "UserIdentifier", version="v6" ) # First and last name must be normalized and hashed. - user_identifier_with_address.address_info.hashed_first_name.value = _normalize_and_hash( + user_identifier_with_address.address_info.hashed_first_name = _normalize_and_hash( "John" ) - user_identifier_with_address.address_info.hashed_last_name.value = _normalize_and_hash( + user_identifier_with_address.address_info.hashed_last_name = _normalize_and_hash( "Doe" ) # Country and zip codes are sent in plain text. - user_identifier_with_address.address_info.country_code.value = "US" - user_identifier_with_address.address_info.postal_code.value = "10011" + user_identifier_with_address.address_info.country_code = "US" + user_identifier_with_address.address_info.postal_code = "10011" user_data_with_physical_address.user_identifiers.append( user_identifier_with_address ) @@ -262,7 +260,7 @@ def _print_customer_match_user_list_info( add users. """ google_ads_service_client = client.get_service( - "GoogleAdsService", version="v5" + "GoogleAdsService", version="v6" ) # Creates a query that retrieves the user list. @@ -279,8 +277,8 @@ def _print_customer_match_user_list_info( print( "The estimated number of users that the user list " f"'{user_list.resource_name}' has is " - f"{user_list.size_for_display.value} for Display and " - f"{user_list.size_for_search.value} for Search." + f"{user_list.size_for_display} for Display and " + f"{user_list.size_for_search} for Search." ) print( "Reminder: It may take several hours for the user list to be " diff --git a/examples/remarketing/add_expression_rule_user_list.py b/examples/remarketing/add_expression_rule_user_list.py new file mode 100644 index 000000000..53d4b9d07 --- /dev/null +++ b/examples/remarketing/add_expression_rule_user_list.py @@ -0,0 +1,155 @@ +#!/usr/bin/env python +# 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. +"""Creates a rule-based user list. + +The list will be defined by an expression rule for users who have visited two +different pages of a website. +""" + +import argparse +import sys +from uuid import uuid4 + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + +URL_LIST = ["http://example.com/section1", "http://example.com/section2"] + + +def main(client, customer_id): + """Creates a rule-based user list. + + The list will be defined by an expression rule for users who have visited + two different pages of a website. + + Args: + client: The Google Ads client. + customer_id: The customer ID for which to add the user list. + """ + # Get the UserListService client. + user_list_service = client.get_service("UserListService", version="v6") + + user_list_rule_info = client.get_type("UserListRuleInfo", version="v6") + + # Combine the two rule items into a UserListRuleItemGroupInfo object so + # Google Ads will AND their rules together. To instead OR the rules + # together, each rule should be placed in its own rule item group. + user_list_rule_item_group_info = user_list_rule_info.rule_item_groups.add() + + # Create rules targeting any user that visits the URLs in URL_LIST. + for url in URL_LIST: + user_list_rule_item_group_info.rule_items.append( + _build_visited_site_rule_info(client, url) + ) + + # Creates an ExpressionRuleUserListInfo object, or a boolean rule that + # defines this user list. The default rule_type for a UserListRuleInfo + # object is OR of ANDs (disjunctive normal form). That is, rule items will + # be ANDed together within rule item groups and the groups themselves will + # be ORed together. + expression_rule_user_list_info = client.get_type( + "ExpressionRuleUserListInfo", version="v6" + ) + expression_rule_user_list_info.rule.CopyFrom(user_list_rule_info) + + # Define a representation of a user list that is generated by a rule. + rule_based_user_list_info = client.get_type( + "RuleBasedUserListInfo", version="v6" + ) + # Optional: To include past users in the user list, set the + # prepopulation_status to REQUESTED. + rule_based_user_list_info.prepopulation_status = client.get_type( + "UserListPrepopulationStatusEnum", version="v6" + ).REQUESTED + rule_based_user_list_info.expression_rule_user_list.CopyFrom( + expression_rule_user_list_info + ) + + # Create a UserListOperation and populate the UserList. + user_list_operation = client.get_type("UserListOperation", version="v6") + user_list = user_list_operation.create + joined_urls = " AND ".join(URL_LIST) + user_list.name = f"All visitors to {joined_urls} #{uuid4()}" + user_list.description = f"Visitors of {joined_urls}" + user_list.membership_status = client.get_type( + "UserListMembershipStatusEnum", version="v6" + ).OPEN + user_list.membership_life_span = 365 + user_list.rule_based_user_list.CopyFrom(rule_based_user_list_info) + + try: + # Issue a mutate request to add the user list, then print the results. + response = user_list_service.mutate_user_lists( + customer_id, [user_list_operation] + ) + print( + "Created expression rule user list with resource name " + f"'{response.results[0].resource_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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _build_visited_site_rule_info(client, url): + """Creates a UserListRuleItemInfo object targeting a visit to a given URL. + + Args: + client: An initialized Google Ads client. + url: The URL at which the rule will be targeted. + Returns: + A populated UserListRuleItemInfo object. + """ + user_visited_site_rule = client.get_type( + "UserListRuleItemInfo", version="v6" + ) + # Use a built-in parameter to create a domain URL rule. + user_visited_site_rule.name = "url__" + user_visited_site_rule.string_rule_item.operator = client.get_type( + "UserListStringRuleItemOperatorEnum", version="v6" + ).CONTAINS + user_visited_site_rule.string_rule_item.value = url + + return user_visited_site_rule + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Creates a rule-based user list defined by an expression " + "rule for users who have visited two different sections of a website." + ) + # 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.", + ) + args = parser.parse_args() + + main(google_ads_client, args.customer_id) diff --git a/examples/remarketing/add_logical_user_list.py b/examples/remarketing/add_logical_user_list.py new file mode 100644 index 000000000..4b27eca05 --- /dev/null +++ b/examples/remarketing/add_logical_user_list.py @@ -0,0 +1,122 @@ +#!/usr/bin/env python +# 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. +"""Creates a combination user list. + +The list will contain users that are present on any one of the provided user +lists. +""" + +import argparse +import sys +from uuid import uuid4 + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + + +def main(client, customer_id, user_list_ids): + """Creates a combination user list. + + Args: + client: The Google Ads client. + customer_id: The customer ID for which to add the user list. + user_list_ids: A list of user list IDs to logically combine. + """ + # Get the UserListService client. + user_list_service = client.get_service("UserListService", version="v6") + + # Add each of the provided list IDs to a list of rule operands specifying + # which lists the operator should target. + logical_user_list_operand_info_list = [] + for user_list_id in user_list_ids: + logical_user_list_operand_info = client.get_type( + "LogicalUserListOperandInfo", version="v6" + ) + logical_user_list_operand_info.user_list = user_list_service.user_list_path( + customer_id, user_list_id + ) + logical_user_list_operand_info_list.append( + logical_user_list_operand_info + ) + + # Create a UserListOperation and populate the UserList. + user_list_operation = client.get_type("UserListOperation", version="v6") + user_list = user_list_operation.create + user_list.name = f"My combination list of other user lists #{uuid4()}" + # Create a UserListLogicalRuleInfo specifying that a user should be added to + # the new list if they are present in any of the provided lists. + user_list_logical_rule_info = user_list.logical_user_list.rules.add() + # Using ANY means that a user should be added to the combined list if they + # are present on any of the lists targeted in the + # LogicalUserListOperandInfo. Use ALL to add users present on all of the + # provided lists or NONE to add users that aren't present on any of the + # targeted lists. + user_list_logical_rule_info.operator = client.get_type( + "UserListLogicalRuleOperatorEnum", version="v6" + ).ANY + user_list_logical_rule_info.rule_operands.extend( + logical_user_list_operand_info_list + ) + + try: + # Issue a mutate request to add the user list, then print the results. + response = user_list_service.mutate_user_lists( + customer_id, [user_list_operation] + ) + print( + "Created logical user list with resource name " + f"'{response.results[0].resource_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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Creates a combination user list containing users that are " + "present on any one of the provided user lists." + ) + # 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( + "-l", + "--user_list_ids", + nargs="+", + type=str, + required=True, + help="The user list IDs logically combine.", + ) + args = parser.parse_args() + + main(google_ads_client, args.customer_id, args.user_list_ids) diff --git a/examples/remarketing/add_merchant_center_dynamic_remarketing_campaign.py b/examples/remarketing/add_merchant_center_dynamic_remarketing_campaign.py index 3b9b7c6ad..44a5e5532 100644 --- a/examples/remarketing/add_merchant_center_dynamic_remarketing_campaign.py +++ b/examples/remarketing/add_merchant_center_dynamic_remarketing_campaign.py @@ -29,12 +29,12 @@ def main( - client, - customer_id, - merchant_center_account_id, - campaign_budget_id, - user_list_id, - ): + client, + customer_id, + merchant_center_account_id, + campaign_budget_id, + user_list_id, +): """Creates a campaign associated with an existing Merchant Center account. Args: @@ -78,8 +78,8 @@ def main( def _create_campaign( - client, customer_id, merchant_center_account_id, campaign_budget_id - ): + client, customer_id, merchant_center_account_id, campaign_budget_id +): """Creates a campaign linked to a Merchant Center product feed. Args: @@ -91,10 +91,10 @@ def _create_campaign( The string resource name of the newly created campaign. """ # Gets the CampaignService client. - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Creates a campaign operation and configures the new campaign. - campaign_operation = client.get_type("CampaignOperation", version="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") campaign = campaign_operation.create campaign.name = f"Shopping campaign #{uuid4()}" # Configures the settings for the shopping campaign. @@ -110,13 +110,13 @@ def _create_campaign( # Dynamic remarketing campaigns are only available on the Google Display # Network. campaign.advertising_channel_type = client.get_type( - "AdvertisingChannelTypeEnum", version="v5" + "AdvertisingChannelTypeEnum", version="v6" ).DISPLAY - campaign.status = client.get_type("CampaignStatusEnum", version="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED campaign.campaign_budget = client.get_service( - "CampaignBudgetService", version="v5" + "CampaignBudgetService", version="v6" ).campaign_budget_path(customer_id, campaign_budget_id) - campaign.manual_cpc.CopyFrom(client.get_type("ManualCpc", version="v5")) + campaign.manual_cpc.CopyFrom(client.get_type("ManualCpc", version="v6")) # Issues a mutate request to add the campaign. campaign_response = campaign_service.mutate_campaigns( @@ -139,14 +139,14 @@ def _create_ad_group(client, customer_id, campaign_resource_name): The string resource name of the newly created ad group. """ # Gets the AdGroupService. - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") # Creates an ad group operation and configures the new ad group. - ad_group_operation = client.get_type("AdGroupOperation", version="v5") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") ad_group = ad_group_operation.create ad_group.name = "Dynamic remarketing ad group" ad_group.campaign = campaign_resource_name - ad_group.status = client.get_type("AdGroupStatusEnum", version="v5").ENABLED + ad_group.status = client.get_type("AdGroupStatusEnum", version="v6").ENABLED # Issues a mutate request to add the ad group. ad_group_response = ad_group_service.mutate_ad_groups( @@ -166,7 +166,7 @@ def _create_ad(client, customer_id, ad_group_resource_name): ad_group_resource_name: The resource name of the target ad group. """ # Get the AdGroupAdService client. - ad_group_ad_service = client.get_service("AdGroupAdService", version="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") # Upload image assets for the ad. marketing_image_resource_name = _upload_image_asset( @@ -177,17 +177,17 @@ def _create_ad(client, customer_id, ad_group_resource_name): ) # Create the relevant asset objects for the ad. - marketing_image = client.get_type("AdImageAsset", version="v5") + marketing_image = client.get_type("AdImageAsset", version="v6") marketing_image.asset = marketing_image_resource_name - square_marketing_image = client.get_type("AdImageAsset", version="v5") + square_marketing_image = client.get_type("AdImageAsset", version="v6") square_marketing_image.asset = square_marketing_image_resource_name - headline = client.get_type("AdTextAsset", version="v5") + headline = client.get_type("AdTextAsset", version="v6") headline.text = "Travel" - description = client.get_type("AdTextAsset", version="v5") + description = client.get_type("AdTextAsset", version="v6") description.text = "Take to the air!" # Create an ad group ad operation and set the ad group ad values. - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group = ad_group_resource_name ad_group_ad.ad.final_urls.append("http://www.example.com/") @@ -212,14 +212,14 @@ def _create_ad(client, customer_id, ad_group_resource_name): responsive_display_ad_info.allow_flexible_color = False # Optional: Set the format setting that the ad will be served in. responsive_display_ad_info.format_setting = client.get_type( - "DisplayAdFormatSettingEnum", version="v5" + "DisplayAdFormatSettingEnum", version="v6" ).NON_NATIVE # Optional: Create a logo image and set it to the ad. - # logo_image = client.get_type("AdImageAsset", version="v5") + # logo_image = client.get_type("AdImageAsset", version="v6") # logo_image.asset = "INSERT_LOGO_IMAGE_RESOURCE_NAME_HERE" # responsive_display_ad_info.logo_images.append(logo_image) # Optional: Create a square logo image and set it to the ad. - # square_logo_image = client.get_type("AdImageAsset", version="v5") + # square_logo_image = client.get_type("AdImageAsset", version="v6") # square_logo_image.asset = "INSERT_SQUARE_LOGO_IMAGE_RESOURCE_NAME_HERE" # responsive_display_ad_info.square_logo_images.append(square_logo_image) @@ -245,15 +245,15 @@ def _upload_image_asset(client, customer_id, image_url, asset_name): The string resource name of the newly uploaded image asset. """ # Get the AssetService client. - asset_service = client.get_service("AssetService", version="v5") + asset_service = client.get_service("AssetService", version="v6") # Fetch the image data. image_data = requests.get(image_url).content # Create an asset operation and set the image asset values. - asset_operation = client.get_type("AssetOperation", version="v5") + asset_operation = client.get_type("AssetOperation", version="v6") asset = asset_operation.create - asset.type = client.get_type("AssetTypeEnum", version="v5").IMAGE + asset.type = client.get_type("AssetTypeEnum", version="v6").IMAGE asset.image_asset.data = image_data asset.name = asset_name @@ -270,8 +270,8 @@ def _upload_image_asset(client, customer_id, image_url, asset_name): def _attach_user_list( - client, customer_id, ad_group_resource_name, user_list_id - ): + client, customer_id, ad_group_resource_name, user_list_id +): """Targets a user list with an ad group. Args: @@ -282,18 +282,18 @@ def _attach_user_list( """ # Get the AdGroupCriterionService client. ad_group_criterion_service = client.get_service( - "AdGroupCriterionService", version="v5" + "AdGroupCriterionService", version="v6" ) # Create an ad group criterion operation and set the ad group criterion # values. ad_group_criterion_operation = client.get_type( - "AdGroupCriterionOperation", version="v5" + "AdGroupCriterionOperation", version="v6" ) ad_group_criterion = ad_group_criterion_operation.create ad_group_criterion.ad_group = ad_group_resource_name ad_group_criterion.user_list.user_list = client.get_service( - "UserListService", version="v5" + "UserListService", version="v6" ).user_list_path(customer_id, user_list_id) # Issue a mutate request to add the ad group criterion. @@ -355,4 +355,3 @@ def _attach_user_list( args.campaign_budget_id, args.user_list_id, ) - diff --git a/examples/remarketing/add_remarketing_action.py b/examples/remarketing/add_remarketing_action.py index 57516b922..6d5c2eef9 100755 --- a/examples/remarketing/add_remarketing_action.py +++ b/examples/remarketing/add_remarketing_action.py @@ -42,10 +42,10 @@ def main(client, customer_id, page_size): def _add_remarketing_action(client, customer_id): remarketing_action_service = client.get_service( - "RemarketingActionService", version="v5" + "RemarketingActionService", version="v6" ) remarketing_action_operation = client.get_type( - "RemarketingActionOperation", version="v5" + "RemarketingActionOperation", version="v6" ) remarketing_action = remarketing_action_operation.create @@ -82,7 +82,7 @@ def _query_remarketing_action(client, customer_id, resource_name, page_size): WHERE remarketing_action.resource_name = '{resource_name}'""" google_ads_service_client = client.get_service( - "GoogleAdsService", version="v5" + "GoogleAdsService", version="v6" ) results = google_ads_service_client.search( @@ -106,10 +106,10 @@ 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="v5" + "TrackingCodeTypeEnum", version="v6" ).TrackingCodeType tracking_code_page_format_enum = client.get_type( - "TrackingCodePageFormatEnum", version="v5" + "TrackingCodePageFormatEnum", version="v6" ).TrackingCodePageFormat print( diff --git a/examples/remarketing/update_audience_target_restriction.py b/examples/remarketing/update_audience_target_restriction.py new file mode 100644 index 000000000..549fcbe0f --- /dev/null +++ b/examples/remarketing/update_audience_target_restriction.py @@ -0,0 +1,203 @@ +#!/usr/bin/env python +# 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. +"""Updates the audience target restriction of a given ad group to bid only.""" + + +import argparse +import sys + +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): + """Updates the audience target restriction of a given ad group to bid only. + + Args: + client: An initialized GoogleAdsClient instance. + customer_id: The client customer ID string. + ad_group_id: The ad group ID for which to update the audience targeting + restriction. + """ + # Get the GoogleAdsService client. + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + # Create a search request that retrieves the targeting settings from a given + # ad group. + query = f""" + SELECT + ad_group.id, + ad_group.name, + ad_group.targeting_setting.target_restrictions + FROM ad_group + WHERE ad_group.id = {ad_group_id}""" + + try: + # Issue the search request. + search_response = google_ads_service.search(customer_id, query) + + targeting_dimension_enum = client.get_type( + "TargetingDimensionEnum", version="v6" + ).TargetingDimension + + # Create an empty TargetingSetting instance. + targeting_setting = client.get_type("TargetingSetting", version="v6") + + # Create a flag that specifies whether or not we should update the + # targeting setting. We should only do this if we find an audience + # target restriction with bid_only set to false. + should_update_targeting_setting = False + + ad_group = next(iter(search_response)).ad_group + + print( + f"Ad group with ID {ad_group.id} and name '{ad_group.name}' " + "was found with the following targeting restrictions:" + ) + + target_restrictions = ad_group.targeting_setting.target_restrictions + + # Loop through and print each of the target restrictions. + # Reconstruct the TargetingSetting object with the updated audience + # target restriction because Google Ads will overwrite the entire + # targeting_setting field of the ad group when the field mask + # includes targeting_setting in an update operation. + for target_restriction in target_restrictions: + targeting_dimension = target_restriction.targeting_dimension + bid_only = target_restriction.bid_only + + print( + "\tTargeting restriction with targeting dimension " + f"'{targeting_dimension_enum.Name(targeting_dimension)}' " + f"and bid only set to '{bid_only}'." + ) + + # Add the target restriction to the TargetingSetting object as + # is if the targeting dimension has a value other than audience + # because those should not change. + if targeting_dimension != targeting_dimension_enum.AUDIENCE: + targeting_setting.target_restrictions.append(target_restriction) + elif not bid_only: + should_update_targeting_setting = True + + # Add an audience target restriction with bid_only set to + # true to the targeting setting object. This has the effect + # of setting the audience target restriction to + # "Observation". For more details about the targeting + # setting, visit + # https://support.google.com/google-ads/answer/7365594. + new_target_restriction = ( + targeting_setting.target_restrictions.add() + ) + new_target_restriction.targeting_dimension = ( + targeting_dimension_enum.AUDIENCE + ) + new_target_restriction.bid_only = True + + # Only update the TargetSetting on the ad group if there is an audience + # TargetRestriction with bid_only set to false. + if should_update_targeting_setting: + _update_targeting_setting( + client, customer_id, ad_group_id, targeting_setting + ) + else: + print("No target restrictions to update.") + + 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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _update_targeting_setting( + client, customer_id, ad_group_id, targeting_setting +): + """Updates the given TargetingSetting of an ad group. + + Args: + client: The Google Ads client. + customer_id: The Google Ads customer ID. + ad_group_id: The ad group ID for which to update the audience targeting + restriction. + targeting_setting: The updated targeting setting. + """ + # Get the AdGroupService client. + ad_group_service = client.get_service("AdGroupService", version="v6") + + # Construct an operation that will update the ad group. + ad_group_operation = client.get_type("AdGroupOperation", version="v6") + + # Populate the ad group object with the updated targeting setting. + ad_group = ad_group_operation.update + ad_group.resource_name = ad_group_service.ad_group_path( + customer_id, ad_group_id + ) + ad_group.targeting_setting.target_restrictions.extend( + targeting_setting.target_restrictions + ) + # Use the field_mask utility to derive the update mask. This mask tells the + # Google Ads API which attributes of the ad group you want to change. + ad_group_operation.update_mask.CopyFrom( + protobuf_helpers.field_mask(None, ad_group) + ) + + # Send the operation in a mutate request and print the resource name of the + # updated object. + mutate_ad_groups_response = ad_group_service.mutate_ad_groups( + customer_id, [ad_group_operation] + ) + print( + "Updated targeting setting of ad group with resource name " + f"'{mutate_ad_groups_response.results[0].resource_name}'; set the " + "audience target restriction to 'Observation'." + ) + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Updates the audience target restriction of a given ad " + "group to bid only." + ) + # 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( + "-a", + "--ad_group_id", + type=str, + required=True, + help="The ad group ID for which to update the audience targeting " + "restriction.", + ) + args = parser.parse_args() + + main(google_ads_client, args.customer_id, args.ad_group_id) diff --git a/examples/remarketing/upload_call_conversion.py b/examples/remarketing/upload_call_conversion.py index 0047e1dae..4b8f45582 100644 --- a/examples/remarketing/upload_call_conversion.py +++ b/examples/remarketing/upload_call_conversion.py @@ -26,14 +26,14 @@ def main( - client, - customer_id, - conversion_action_id, - caller_id, - call_start_date_time, - conversion_date_time, - conversion_value, - ): + client, + customer_id, + conversion_action_id, + caller_id, + call_start_date_time, + conversion_date_time, + conversion_value, +): """Imports offline call conversion values for calls related to your ads. Args: @@ -53,13 +53,13 @@ def main( """ # Get the ConversionUploadService client. conversion_upload_service = client.get_service( - "ConversionUploadService", version="v5" + "ConversionUploadService", version="v6" ) # Create a call conversion in USD currency. - call_conversion = client.get_type("CallConversion", version="v5") + call_conversion = client.get_type("CallConversion", version="v6") call_conversion.conversion_action = client.get_service( - "ConversionActionService", version="v5" + "ConversionActionService", version="v6" ).conversion_action_path(customer_id, conversion_action_id) call_conversion.caller_id = caller_id call_conversion.call_start_date_time = call_start_date_time @@ -69,10 +69,9 @@ def main( try: # Issue a request to upload the call conversion. - upload_call_conversions_response = ( - conversion_upload_service.upload_call_conversions( - customer_id, [call_conversion], partial_failure=True - )) + upload_call_conversions_response = conversion_upload_service.upload_call_conversions( + customer_id, [call_conversion], partial_failure=True + ) # Print any partial errors returned. if upload_call_conversions_response.partial_failure_error: diff --git a/examples/remarketing/upload_conversion_adjustment.py b/examples/remarketing/upload_conversion_adjustment.py index 27f9c1d1e..1609bb15d 100644 --- a/examples/remarketing/upload_conversion_adjustment.py +++ b/examples/remarketing/upload_conversion_adjustment.py @@ -49,10 +49,10 @@ def main( # 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="v5" + "ConversionAdjustment", version="v6" ) conversion_action_service = client.get_service( - "ConversionActionService", version="v5" + "ConversionActionService", version="v6" ) conversion_adjustment.conversion_action = conversion_action_service.conversion_action_path( customer_id, conversion_action_id @@ -77,7 +77,7 @@ def main( ) conversion_adjustment_upload_service = client.get_service( - "ConversionAdjustmentUploadService", version="v5" + "ConversionAdjustmentUploadService", version="v6" ) try: response = conversion_adjustment_upload_service.upload_conversion_adjustments( diff --git a/examples/remarketing/upload_offline_conversion.py b/examples/remarketing/upload_offline_conversion.py index 1847973b0..47580c8b3 100644 --- a/examples/remarketing/upload_offline_conversion.py +++ b/examples/remarketing/upload_offline_conversion.py @@ -37,9 +37,9 @@ def main( ): """Creates a click conversion with a default currency of USD.""" - click_conversion = client.get_type("ClickConversion", version="v5") + click_conversion = client.get_type("ClickConversion", version="v6") conversion_action_service = client.get_service( - "ConversionActionService", version="v5" + "ConversionActionService", version="v6" ) click_conversion.conversion_action = conversion_action_service.conversion_action_path( customer_id, conversion_action_id @@ -50,7 +50,7 @@ def main( click_conversion.currency_code = "USD" conversion_upload_service = client.get_service( - "ConversionUploadService", version="v5" + "ConversionUploadService", version="v6" ) try: diff --git a/examples/remarketing/upload_store_sales_transactions.py b/examples/remarketing/upload_store_sales_transactions.py new file mode 100644 index 000000000..34c793f73 --- /dev/null +++ b/examples/remarketing/upload_store_sales_transactions.py @@ -0,0 +1,517 @@ +#!/usr/bin/env python +# 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. +"""This example uploads offline conversion data for store sales transactions. + +This feature is only available to allowlisted accounts. +See https://support.google.com/google-ads/answer/7620302 for more details. +""" + +import argparse +from datetime import datetime +import hashlib +import sys + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + + +def main( + client, + customer_id, + conversion_action_id, + offline_user_data_job_type, + external_id, + advertiser_upload_date_time, + bridge_map_version_id, + partner_id, +): + """Uploads offline conversion data for store sales transactions. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + conversion_action_id: The ID of a store sales conversion action. + offline_user_data_job_type: Optional type of offline user data in the + job (first party or third party). If you have an official store + sales partnership with Google, use STORE_SALES_UPLOAD_THIRD_PARTY. + Otherwise, use STORE_SALES_UPLOAD_FIRST_PARTY. + external_id: Optional, but recommended, external ID for the offline + user data job. + advertiser_upload_date_time: Optional date and time the advertiser + uploaded data to the partner. Only required for third party uploads. + The format is 'yyyy-mm-dd hh:mm:ss+|-hh:mm', e.g. + '2019-01-01 12:32:45-08:00'. + bridge_map_version_id: Optional version of partner IDs to be used for + uploads. Only required for third party uploads. + partner_id: Optional ID of the third party partner. Only required for + third party uploads. + """ + # Get the OfflineUserDataJobService and OperationService clients. + offline_user_data_job_service = client.get_service( + "OfflineUserDataJobService", version="v6" + ) + + try: + # Create an offline user data job for uploading transactions. + offline_user_data_job_resource_name = _create_offline_user_data_job( + client, + offline_user_data_job_service, + customer_id, + offline_user_data_job_type, + external_id, + advertiser_upload_date_time, + bridge_map_version_id, + partner_id, + ) + + # Add transactions to the job. + _add_transactions_to_offline_user_data_job( + client, + offline_user_data_job_service, + customer_id, + offline_user_data_job_resource_name, + conversion_action_id, + ) + + # Issue an asynchronous request to run the offline user data job. + offline_user_data_job_service.run_offline_user_data_job( + offline_user_data_job_resource_name + ) + + # Offline user data jobs may take up to 24 hours to complete, so + # instead of waiting for the job to complete, retrieves and displays + # the job status once and then prints the query to use to check the job + # again later. + _check_job_status( + client, customer_id, offline_user_data_job_resource_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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _create_offline_user_data_job( + client, + offline_user_data_job_service, + customer_id, + offline_user_data_job_type, + external_id, + advertiser_upload_date_time, + bridge_map_version_id, + partner_id, +): + """Creates an offline user data job for uploading store sales transactions. + + Args: + client: An initialized Google Ads API client. + offline_user_data_job_service: The offline user data job service client. + customer_id: The Google Ads customer ID. + offline_user_data_job_type: Optional type of offline user data in the + job (first party or third party). + external_id: Optional external ID for the offline user data job. + advertiser_upload_date_time: Optional date and time the advertiser + uploaded data to the partner. Only required for third party uploads. + bridge_map_version_id: Optional version of partner IDs to be used for + uploads. Only required for third party uploads. + partner_id: Optional ID of the third party partner. Only required for + third party uploads. + Returns: + The string resource name of the created job. + """ + # TIP: If you are migrating from the AdWords API, please note that Google + # Ads API uses the term "fraction" instead of "rate". For example, + # loyalty_rate in the AdWords API is called loyalty_fraction in the Google + # Ads API. + + # Create a new offline user data job. + offline_user_data_job = client.get_type("OfflineUserDataJob", version="v6") + offline_user_data_job.type = offline_user_data_job_type + if external_id is not None: + offline_user_data_job.external_id = external_id + + # Please refer to https://support.google.com/google-ads/answer/7506124 for + # additional details. + store_sales_metadata = offline_user_data_job.store_sales_metadata + # Set the fraction of your overall sales that you (or the advertiser, + # in the third party case) can associate with a customer (email, phone + # number, address, etc.) in your database or loyalty program. + # For example, set this to 0.7 if you have 100 transactions over 30 + # days, and out of those 100 transactions, you can identify 70 by an + # email address or phone number. + store_sales_metadata.loyalty_fraction = 0.7 + # Set the fraction of sales you're uploading out of the overall sales + # that you (or the advertiser, in the third party case) can associate + # with a customer. In most cases, you will set this to 1.0. + # Continuing the example above for loyalty fraction, a value of 1.0 here + # indicates that you are uploading all 70 of the transactions that can + # be identified by an email address or phone number. + store_sales_metadata.transaction_upload_fraction = 1.0 + + if ( + offline_user_data_job_type + == client.get_type( + "OfflineUserDataJobTypeEnum", version="v6" + ).STORE_SALES_UPLOAD_THIRD_PARTY + ): + # Create additional metadata required for uploading third party data. + store_sales_third_party_metadata = ( + store_sales_metadata.third_party_metadata + ) + # The date/time must be in the format "yyyy-MM-dd hh:mm:ss". + store_sales_third_party_metadata.advertiser_upload_date_time = ( + advertiser_upload_date_time + ) + # Set the fraction of transactions you received from the advertiser + # that have valid formatting and values. This captures any transactions + # the advertiser provided to you but which you are unable to upload to + # Google due to formatting errors or missing data. + # In most cases, you will set this to 1.0. + store_sales_third_party_metadata.valid_transaction_fraction = 1.0 + # Set the fraction of valid transactions (as defined above) you + # received from the advertiser that you (the third party) have matched + # to an external user ID on your side. + # In most cases, you will set this to 1.0. + store_sales_third_party_metadata.partner_match_fraction = 1.0 + # Set the fraction of transactions you (the third party) are uploading + # out of the transactions you received from the advertiser that meet + # both of the following criteria: + # 1. Are valid in terms of formatting and values. See valid transaction + # fraction above. + # 2. You matched to an external user ID on your side. See partner match + # fraction above. + # In most cases, you will set this to 1.0. + store_sales_third_party_metadata.partner_upload_fraction = 1.0 + # Set the version of partner IDs to be used for uploads. + # Please speak with your Google representative to get the values to use + # for the bridge map version and partner IDs. + store_sales_third_party_metadata.bridge_map_version_id = ( + bridge_map_version_id + ) + # Set the third party partner ID uploading the transactions. + store_sales_third_party_metadata.partner_id = partner_id + + create_offline_user_data_job_response = offline_user_data_job_service.create_offline_user_data_job( + customer_id, offline_user_data_job + ) + offline_user_data_job_resource_name = ( + create_offline_user_data_job_response.resource_name + ) + print( + "Created an offline user data job with resource name " + f"'{offline_user_data_job_resource_name}'." + ) + return offline_user_data_job_resource_name + + +def _add_transactions_to_offline_user_data_job( + client, + offline_user_data_job_service, + customer_id, + offline_user_data_job_resource_name, + conversion_action_id, +): + """Add operations to the job for a set of sample transactions. + + Args: + client: An initialized Google Ads API client. + offline_user_data_job_service: The offline user data job service client. + customer_id: The Google Ads customer ID. + offline_user_data_job_resource_name: The string resource name of the + offline user data job that will receive the transactions. + conversion_action_id: The ID of a store sales conversion action. + """ + # Construct some sample transactions. + operations = _build_offline_user_data_job_operations( + client, customer_id, conversion_action_id + ) + + # Issue a request to add the operations to the offline user data job. + response = offline_user_data_job_service.add_offline_user_data_job_operations( + resource_name=offline_user_data_job_resource_name, + enable_partial_failure=True, + operations=operations, + ) + + # Print the status message if any partial failure error is returned. + # Note: The details of each partial failure error are not printed here, you + # can refer to the example handle_partial_failure.py to learn more. + num_partial_failures = len(response.partial_failure_error.details) + if response.partial_failure_error: + print( + f"{num_partial_failures} partial failure error(s) occurred: " + f"{response.partial_failure_error.message}." + ) + + print( + f"{len(operations) - num_partial_failures} operations were " + "successfully added to the offline user data job." + ) + + +def _build_offline_user_data_job_operations( + client, customer_id, conversion_action_id +): + """Create offline user data job operations for sample transactions. + + Args: + client: An initialized Google Ads API client. + customer_id: The Google Ads customer ID. + conversion_action_id: The ID of a store sales conversion action. + Returns: + A list of OfflineUserDataJobOperations. + """ + # Create the first transaction for upload with an email address and state. + user_data_with_email_address_operation = client.get_type( + "OfflineUserDataJobOperation", version="v6" + ) + user_data_with_email_address = user_data_with_email_address_operation.create + email_identifier = client.get_type("UserIdentifier", version="v6") + # Hash normalized email addresses based on SHA-256 hashing algorithm. + email_identifier.hashed_email = _normalize_and_hash("customer@example.com") + state_identifier = client.get_type("UserIdentifier", version="v6") + state_identifier.address_info.state = "NY" + user_data_with_email_address.user_identifiers.extend( + [email_identifier, state_identifier] + ) + user_data_with_email_address.transaction_attribute.conversion_action = client.get_service( + "ConversionActionService", version="v6" + ).conversion_action_path( + customer_id, conversion_action_id + ) + user_data_with_email_address.transaction_attribute.currency_code = "USD" + # Convert the transaction amount from $200 USD to micros. + user_data_with_email_address.transaction_attribute.transaction_amount_micros = ( + 200000000 + ) + # Specify the date and time of the transaction. The format is + # "YYYY-MM-DD HH:MM:SS[+HH:MM]", where [+HH:MM] is an optional timezone + # offset from UTC. If the offset is absent, the API will use the account's + # timezone as default. Examples: "2018-03-05 09:15:00" or + # "2018-02-01 14:34:30+03:00". + user_data_with_email_address.transaction_attribute.transaction_date_time = ( + datetime.now() - datetime.timedelta(months=1) + ).strftime("%Y-%m-%d %H:%M:%S") + + # Create the second transaction for upload based on a physical address. + user_data_with_physical_address_operation = client.get_type( + "OfflineUserDataJobOperation", version="v6" + ) + user_data_with_physical_address = ( + user_data_with_physical_address_operation.create + ) + address_identifier = client.get_type("UserIdentifier", version="v6") + # First and last name must be normalized and hashed. + address_identifier.address_info.hashed_first_name = _normalize_and_hash( + "John" + ) + address_identifier.address_info.hashed_last_name = _normalize_and_hash( + "Doe" + ) + # Country and zip codes are sent in plain text. + address_identifier.address_info.country_code = "US" + address_identifier.address_info.postal_code = "10011" + user_data_with_physical_address.user_identifiers.append(address_identifier) + user_data_with_physical_address.transaction_attribute.conversion_action = client.get_service( + "ConversionActionService", version="v6" + ).conversion_action_path( + customer_id, conversion_action_id + ) + user_data_with_physical_address.transaction_attribute.currency_code = "EUR" + # Convert the transaction amount from 450 EUR to micros. + user_data_with_physical_address.transaction_attribute.transaction_amount_micros = ( + 450000000 + ) + # Specify the date and time of the transaction. This date and time + # will be interpreted by the API using the Google Ads customer's + # time zone. The date/time must be in the format + # "yyyy-MM-dd hh:mm:ss". + user_data_with_physical_address.transaction_attribute.transaction_date_time = ( + datetime.now() - datetime.timedelta(days=1) + ).strftime( + "%Y-%m-%d %H:%M:%S" + ) + + return [ + user_data_with_email_address_operation, + user_data_with_physical_address_operation, + ] + + +def _normalize_and_hash(s): + """Normalizes and hashes a string with SHA-256. + + Args: + s: The string to perform this operation on. + + Returns: + A normalized (lowercase, remove whitespace) and SHA-256 hashed string. + """ + return hashlib.sha256(s.strip().lower().encode()).hexdigest() + + +def _check_job_status(client, customer_id, offline_user_data_job_resource_name): + """Retrieves, checks, and prints the status of the offline user data job. + + Args: + client: An initialized Google Ads API client. + customer_id: The Google Ads customer ID. + offline_user_data_job_resource_name: The resource name of the job whose + status you wish to check. + """ + # Get the GoogleAdsService client. + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + # Construct a query to fetch the job status. + query = f""" + SELECT + offline_user_data_job.resource_name, + offline_user_data_job.id, + offline_user_data_job.status, + offline_user_data_job.type, + offline_user_data_job.failure_reason + FROM offline_user_data_job + WHERE offline_user_data_job.resource_name = + '{offline_user_data_job_resource_name}'""" + + # Issue the query and get the GoogleAdsRow containing the job. + google_ads_row = next(iter(google_ads_service.search(customer_id, query))) + offline_user_data_job = google_ads_row.offline_user_data_job + + offline_user_data_job_type_enum = client.get_type( + "OfflineUserDataJobTypeEnum", version="v6" + ).OfflineUserDataJobType + offline_user_data_job_status_enum = client.get_type( + "OfflineUserDataJobStatusEnum", version="v6" + ).OfflineUserDataJobStatus + + job_status = offline_user_data_job.status + print( + f"Offline user data job ID {offline_user_data_job.id} with type " + f"'{offline_user_data_job_type_enum.Name(offline_user_data_job.type)}' " + f"has status {offline_user_data_job_status_enum.Name(job_status)}." + ) + + offline_user_data_job_status_enum = client.get_type( + "OfflineUserDataJobStatusEnum", version="v6" + ) + if job_status == offline_user_data_job_status_enum.FAILED: + print(f"\tFailure reason: {offline_user_data_job.failure_reason}") + elif ( + job_status == offline_user_data_job_status_enum.PENDING + or job_status == offline_user_data_job_status_enum.RUNNING + ): + print( + "\nTo check the status of the job periodically, use the " + f"following GAQL query with GoogleAdsService.Search:\n{query}\n" + ) + elif job_status == offline_user_data_job_status_enum.SUCCESS: + print("\nThe requested job has completed successfully.") + else: + raise ValueError("Requested job has UNKNOWN or UNSPECIFIED status.") + + +if __name__ == "__main__": + # GoogleAdsClient will read the google-ads.yaml configuration file in the + # home directory if none is specified. + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="This example uploads offline data for store sales " + "transactions." + ) + # 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( + "-a", + "--conversion_action_id", + type=int, + required=True, + help="The ID of a store sales conversion action.", + ) + parser.add_argument( + "-o", + "--offline_user_data_job_type", + type=int, + required=False, + default=google_ads_client.get_type( + "OfflineUserDataJobTypeEnum", version="v6" + ).STORE_SALES_UPLOAD_FIRST_PARTY, + help="Optional type of offline user data in the job (first party or " + "third party). If you have an official store sales partnership with " + "Google, use STORE_SALES_UPLOAD_THIRD_PARTY. Otherwise, defaults to " + "STORE_SALES_UPLOAD_FIRST_PARTY.", + ) + parser.add_argument( + "-e", + "--external_id", + type=int, + required=False, + default=None, + help="Optional, but recommended, external ID for the offline user data " + "job.", + ) + parser.add_argument( + "-d", + "--advertiser_upload_date_time", + type=str, + required=False, + default=None, + help="Optional date and time the advertiser uploaded data to the " + "partner. Only required for third party uploads. The format is " + "'yyyy-mm-dd hh:mm:ss+|-hh:mm', e.g. '2019-01-01 12:32:45-08:00'.", + ) + parser.add_argument( + "-b", + "--bridge_map_version_id", + type=str, + required=False, + default=None, + help="Optional version of partner IDs to be used for uploads. Only " + "required for third party uploads.", + ) + parser.add_argument( + "-p", + "--partner_id", + type=int, + required=False, + default=None, + help="Optional ID of the third party partner. Only required for third " + "party uploads.", + ) + args = parser.parse_args() + main( + google_ads_client, + args.customer_id, + args.conversion_action_id, + args.offline_user_data_job_type, + args.external_id, + args.advertiser_upload_date_time, + args.bridge_map_version_id, + args.partner_id, + ) diff --git a/examples/reporting/get_hotel_ads_performance.py b/examples/reporting/get_hotel_ads_performance.py index 989789467..06445fa33 100755 --- a/examples/reporting/get_hotel_ads_performance.py +++ b/examples/reporting/get_hotel_ads_performance.py @@ -29,7 +29,7 @@ def main(client, customer_id, page_size): - ga_service = client.get_service("GoogleAdsService", version="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT diff --git a/examples/reporting/get_keyword_stats.py b/examples/reporting/get_keyword_stats.py index d3bdc3c6e..cbf77ad97 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT @@ -51,7 +51,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="v5" + "KeywordMatchTypeEnum", version="v6" ).KeywordMatchType try: for batch in response: diff --git a/examples/shopping_ads/add_listing_scope.py b/examples/shopping_ads/add_listing_scope.py index 52a2a97c5..194c2199d 100755 --- a/examples/shopping_ads/add_listing_scope.py +++ b/examples/shopping_ads/add_listing_scope.py @@ -35,14 +35,14 @@ def main(client, customer_id, campaign_id): - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") campaign_resource_name = campaign_service.campaign_path( customer_id, campaign_id ) campaign_criterion_operation = client.get_type( - "CampaignCriterionOperation", version="v5" + "CampaignCriterionOperation", version="v6" ) campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign = campaign_resource_name @@ -57,7 +57,7 @@ def main(client, customer_id, campaign_id): ) campaign_criterion_service = client.get_service( - "CampaignCriterionService", version="v5" + "CampaignCriterionService", version="v6" ) try: @@ -86,21 +86,20 @@ def main(client, customer_id, campaign_id): def _build_listing_scope_dimensions(client, dimensions): product_brand_dimension = dimensions.add() - product_brand_dimension.product_brand.value = "google" + product_brand_dimension.product_brand = "google" product_custom_attribute_index_enum = client.get_type( - "ProductCustomAttributeIndexEnum", version="v5" + "ProductCustomAttributeIndexEnum", version="v6" ) - product_custom_attribute_dimension = dimensions.add() - product_custom_attribute = ( + dimensions.append( product_custom_attribute_dimension.product_custom_attribute ) product_custom_attribute.index = product_custom_attribute_index_enum.INDEX0 - product_custom_attribute.value = "top_selling_products" + product_custom_attribute = "top_selling_products" product_type_level_enum = client.get_type( - "ProductTypeLevelEnum", version="v5" + "ProductTypeLevelEnum", version="v6" ) product_type_dimension_1 = dimensions.add() diff --git a/examples/shopping_ads/add_shopping_product_ad.py b/examples/shopping_ads/add_shopping_product_ad.py index 65615edb6..3a365a85f 100755 --- a/examples/shopping_ads/add_shopping_product_ad.py +++ b/examples/shopping_ads/add_shopping_product_ad.py @@ -68,12 +68,12 @@ def main( 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="v5" + "CampaignBudgetService", version="v6" ) # Create a budget, which can be shared by multiple campaigns. campaign_budget_operation = client.get_type( - "CampaignBudgetOperation", version="v5" + "CampaignBudgetOperation", version="v6" ) campaign_budget = campaign_budget_operation.create campaign_budget.name = "Interplanetary Budget %s" % uuid.uuid4() @@ -110,14 +110,14 @@ 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="v5") + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") # Creates a new ad group ad and sets the product ad to it. - ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v5") + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group = ad_group_resource_name ad_group_ad.status = client.get_type( - "AdGroupAdStatusEnum", version="v5" + "AdGroupAdStatusEnum", version="v6" ).PAUSED ad_group_ad.ad.shopping_product_ad.CopyFrom( client.get_type("ShoppingProductAdInfo") @@ -151,18 +151,18 @@ def add_shopping_product_ad_group_ad( 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="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") # Create ad group. - ad_group_operation = client.get_type("AdGroupOperation", version="v5") + ad_group_operation = client.get_type("AdGroupOperation", version="v6") ad_group = ad_group_operation.create ad_group.name = "Earth to Mars cruise %s" % uuid.uuid4() - ad_group.status = client.get_type("AdGroupStatusEnum", version="v5").ENABLED + ad_group.status = client.get_type("AdGroupStatusEnum", version="v6").ENABLED ad_group.campaign = 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="v5" + "AdGroupTypeEnum", version="v6" ).SHOPPING_PRODUCT_ADS ad_group.cpc_bid_micros = 10000000 @@ -198,10 +198,10 @@ def add_standard_shopping_campaign( ): """Creates a new standard shopping campaign in the specified client account. """ - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Create standard shoppping campaign. - campaign_operation = client.get_type("CampaignOperation", version="v5") + campaign_operation = client.get_type("CampaignOperation", version="v6") campaign = campaign_operation.create campaign.name = "Interplanetary Cruise Campaign %s" % uuid.uuid4() @@ -226,7 +226,7 @@ def add_standard_shopping_campaign( # 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="v5").PAUSED + campaign.status = client.get_type("CampaignStatusEnum", version="v6").PAUSED # Sets the bidding strategy to Manual CPC (with eCPC enabled) # Recommendation: Use one of the automated bidding strategies for Shopping @@ -275,13 +275,13 @@ def add_default_shopping_listing_group( the bid for a given listing group. """ ad_group_criterion_service = client.get_service( - "AdGroupCriterionService", version="v5" + "AdGroupCriterionService", version="v6" ) # Creates a new ad group criterion. This will contain the "default" listing # group (All products). ad_group_criterion_operation = client.get_type( - "AdGroupCriterionOperation", version="v5" + "AdGroupCriterionOperation", version="v6" ) ad_group_criterion = ad_group_criterion_operation.create ad_group_criterion.ad_group = ad_group_resource_name diff --git a/examples/shopping_ads/add_shopping_product_listing_group_tree.py b/examples/shopping_ads/add_shopping_product_listing_group_tree.py new file mode 100644 index 000000000..acb50f2b8 --- /dev/null +++ b/examples/shopping_ads/add_shopping_product_listing_group_tree.py @@ -0,0 +1,446 @@ +#!/usr/bin/env python +# 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. +"""Adds a shopping listing group tree to a shopping ad group. + +The example will clear an existing listing group tree and rebuild it include the +following tree structure: + +ProductCanonicalCondition NEW $0.20 +ProductCanonicalCondition USED $0.10 +ProductCanonicalCondition null (everything else) + ProductBrand CoolBrand $0.90 + ProductBrand CheapBrand $0.01 + ProductBrand null (everything else) $0.50 +""" + +import argparse +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 + +last_criterion_id = 0 + + +def next_id(): + """Returns a decreasing negative number for temporary ad group criteria IDs. + + The ad group criteria will get real IDs when created on the server. + Returns -1, -2, -3, etc. on subsequent calls. + + Returns: + The string representation of a negative integer. + """ + global last_criterion_id + last_criterion_id -= 1 + return str(last_criterion_id) + + +def main(client, customer_id, ad_group_id, replace_existing_tree): + """Adds a shopping listing group tree to a shopping ad group. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + ad_group_id: The ad group ID to which the node will be added. + replace_existing_tree: Boolean, whether to replace the existing listing + group tree on the ad group. Defaults to false. + """ + # Get the AdGroupCriterionService client. + ad_group_criterion_service = client.get_service( + "AdGroupCriterionService", version="v6" + ) + + try: + # Optional: Remove the existing listing group tree, if it already exists + # on the ad group. The example will throw a LISTING_GROUP_ALREADY_EXISTS + # error if a listing group tree already exists and this option is not + # set to true. + if replace_existing_tree: + _remove_listing_group_tree(client, customer_id, ad_group_id) + + # Create a list of ad group criteria operations. + operations = [] + + # Construct the listing group tree "root" node. + # Subdivision node: (Root node) + ad_group_criterion_root_operation = _create_listing_group_subdivision( + client, customer_id, ad_group_id + ) + + # Get the resource name that will be used for the root node. + # This resource has not been created yet and will include the temporary + # ID as part of the criterion ID. + ad_group_criterion_root_resource_name = ( + ad_group_criterion_root_operation.create.resource_name + ) + operations.append(ad_group_criterion_root_operation) + + # Construct the listing group unit nodes for NEW, USED, and other. + product_condition_enum = client.get_type( + "ProductConditionEnum", version="v6" + ) + condition_dimension_info = client.get_type( + "ListingDimensionInfo", version="v6" + ) + + # Biddable Unit node: (Condition NEW node) + # * Product Condition: NEW + # * CPC bid: $0.20 + condition_dimension_info.product_condition.condition = ( + product_condition_enum.NEW + ) + operations.append( + _create_listing_group_unit_biddable( + client, + customer_id, + ad_group_id, + ad_group_criterion_root_resource_name, + condition_dimension_info, + 200_000, + ) + ) + + # Biddable Unit node: (Condition USED node) + # * Product Condition: USED + # * CPC bid: $0.10 + condition_dimension_info.product_condition.condition = ( + product_condition_enum.USED + ) + operations.append( + _create_listing_group_unit_biddable( + client, + customer_id, + ad_group_id, + ad_group_criterion_root_resource_name, + condition_dimension_info, + 100_000, + ) + ) + + # Sub-division node: (Condition "other" node) + # * Product Condition: (not specified) + # Note that all sibling nodes must have the same dimension type, even if + # they don't contain a bid. + condition_dimension_info.product_condition.CopyFrom( + client.get_type("ProductConditionInfo", version="v6") + ) + ad_group_criterion_other_operation = _create_listing_group_subdivision( + client, + customer_id, + ad_group_id, + ad_group_criterion_root_resource_name, + condition_dimension_info, + ) + # Get the resource name that will be used for the condition other node. + # This resource has not been created yet and will include the temporary + # ID as part of the criterion ID. + ad_group_criterion_other_resource_name = ( + ad_group_criterion_other_operation.create.resource_name + ) + operations.append(ad_group_criterion_other_operation) + + # Build the listing group nodes for CoolBrand, CheapBrand, and other. + brand_dimension_info = client.get_type( + "ListingDimensionInfo", version="v6" + ) + + # Biddable Unit node: (Brand CoolBrand node) + # * Brand: CoolBrand + # * CPC bid: $0.90 + brand_dimension_info.product_brand = "CoolBrand" + operations.append( + _create_listing_group_unit_biddable( + client, + customer_id, + ad_group_id, + ad_group_criterion_other_resource_name, + brand_dimension_info, + 900_000, + ) + ) + + # Biddable Unit node: (Brand CheapBrand node) + # * Brand: CheapBrand + # * CPC bid: $0.01 + brand_dimension_info.product_brand = "CheapBrand" + operations.append( + _create_listing_group_unit_biddable( + client, + customer_id, + ad_group_id, + ad_group_criterion_other_resource_name, + brand_dimension_info, + 10_000, + ) + ) + + # Biddable Unit node: (Brand other node) + # * CPC bid: $0.05 + brand_dimension_info.product_brand.CopyFrom( + client.get_type("ProductBrandInfo", version="v6") + ) + operations.append( + _create_listing_group_unit_biddable( + client, + customer_id, + ad_group_id, + ad_group_criterion_other_resource_name, + brand_dimension_info, + 50_000, + ) + ) + + # Add the ad group criteria. + mutate_ad_group_criteria_response = ad_group_criterion_service.mutate_ad_group_criteria( + customer_id, operations + ) + 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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + else: + # Print the results of the successful mutates. + print( + "Added ad group criteria for the listing group tree with the " + "following resource names:" + ) + for result in mutate_ad_group_criteria_response.results: + print(f"\t{result.resource_name}") + + print( + f"{len(mutate_ad_group_criteria_response.results)} criteria added." + ) + + +def _remove_listing_group_tree(client, customer_id, ad_group_id): + """Removes ad group criteria for an ad group's existing listing group tree. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + ad_group_id: The ad group ID from which to remove the listing group + tree. + """ + # Get the GoogleAdsService client. + google_ads_service = client.get_service("GoogleAdsService", version="v6") + + print("Removing existing listing group tree...") + # Create a search Google Ads request that will retrieve all listing groups + # where the parent ad group criterion is NULL (and hence the root node in + # the tree) for a given ad group id. + query = f""" + SELECT ad_group_criterion.resource_name + FROM ad_group_criterion + WHERE + ad_group_criterion.type = LISTING_GROUP + AND ad_group_criterion.listing_group.parent_ad_group_criterion IS NULL + AND ad_group.id = {ad_group_id}""" + + results = google_ads_service.search(customer_id, query) + ad_group_criterion_operations = [] + + # Iterate over all rows to find the ad group criteria to remove. + for row in results: + criterion = row.ad_group_criterion + print( + "Found an ad group criterion with resource name: " + f"'{criterion.resource_name}'." + ) + ad_group_criterion_operation = client.get_type( + "AdGroupCriterionOperation", version="v6" + ) + ad_group_criterion_operation.remove = criterion.resource_name + ad_group_criterion_operations.append(ad_group_criterion_operation) + + if ad_group_criterion_operations: + # Remove the ad group criteria that define the listing group tree. + ad_group_criterion_service = client.get_service( + "AdGroupCriterionService", version="v6" + ) + response = ad_group_criterion_service.mutate_ad_group_criteria( + customer_id, ad_group_criterion_operations + ) + print(f"Removed {len(response.results)} ad group criteria.") + + +def _create_listing_group_subdivision( + client, + customer_id, + ad_group_id, + parent_ad_group_criterion_resource_name=None, + listing_dimension_info=None, +): + """Creates a new criterion containing a subdivision listing group node. + + If the parent ad group criterion resource name or listing dimension info are + not specified, this method creates a root node. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + ad_group_id: The ad group ID to which the node will be added. + parent_ad_group_criterion_resource_name: The string resource name of the + parent node to which this listing will be attached. + listing_dimension_info: A ListingDimensionInfo object containing details + for this listing. + + Returns: + An AdGroupCriterionOperation containing a populated ad group criterion. + """ + # Create an ad group criterion operation and populate the criterion. + operation = client.get_type("AdGroupCriterionOperation", version="v6") + ad_group_criterion = operation.create + # The resource name the criterion will be created with. This will define + # the ID for the ad group criterion. + ad_group_criterion.resource_name = client.get_service( + "AdGroupCriterionService", version="v6" + ).ad_group_criteria_path( + customer_id, ResourceName.format_composite(ad_group_id, next_id()) + ) + ad_group_criterion.status = client.get_type( + "AdGroupCriterionStatusEnum", version="v6" + ).ENABLED + + listing_group_info = ad_group_criterion.listing_group + # Set the type as a SUBDIVISION, which will allow the node to be the + # parent of another sub-tree. + listing_group_info.type = client.get_type( + "ListingGroupTypeEnum", version="v6" + ).SUBDIVISION + # If parent_ad_group_criterion_resource_name and listing_dimension_info + # are not null, create a non-root division by setting its parent and case + # value. + if parent_ad_group_criterion_resource_name and listing_dimension_info: + # Set the ad group criterion resource name for the parent listing group. + # This can include a temporary ID if the parent criterion is not yet + # created. + listing_group_info.parent_ad_group_criterion = ( + parent_ad_group_criterion_resource_name + ) + + # Case values contain the listing dimension used for the node. + listing_group_info.case_value.CopyFrom(listing_dimension_info) + + return operation + + +def _create_listing_group_unit_biddable( + client, + customer_id, + ad_group_id, + parent_ad_group_criterion_resource_name, + listing_dimension_info, + cpc_bid_micros=None, +): + """Creates a new criterion containing a biddable unit listing group node. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + ad_group_id: The ad group ID to which the node will be added. + parent_ad_group_criterion_resource_name: The string resource name of the + parent node to which this listing will be attached. + listing_dimension_info: A ListingDimensionInfo object containing details + for this listing. + cpc_bid_micros: The cost-per-click bid for this listing in micros. + + Returns: + An AdGroupCriterionOperation with a populated create field. + """ + # Note: There are two approaches for creating new unit nodes: + # (1) Set the ad group resource name on the criterion (no temporary ID + # required). + # (2) Use a temporary ID to construct the criterion resource name and set + # it to the 'resourceName' attribute. + # In both cases you must set the parent ad group criterion's resource name + # on the listing group for non-root nodes. + # This example demonstrates method (1). + operation = client.get_type("AdGroupCriterionOperation", version="v6") + + criterion = operation.create + criterion.ad_group = client.get_service("AdGroupService").ad_group_path( + customer_id, ad_group_id + ) + criterion.status = client.get_type("AdGroupCriterionStatusEnum").ENABLED + # Set the bid for this listing group unit. + # This will be used as the CPC bid for items that are included in this + # listing group. + if cpc_bid_micros: + criterion.cpc_bid_micros = cpc_bid_micros + + listing_group = criterion.listing_group + # Set the type as a UNIT, which will allow the group to be biddable. + listing_group.type = client.get_type("ListingGroupTypeEnum").UNIT + # Set the ad group criterion resource name for the parent listing group. + # This can have a temporary ID if the parent criterion is not yet created. + listing_group.parent_ad_group_criterion = ( + parent_ad_group_criterion_resource_name + ) + # Case values contain the listing dimension used for the node. + if listing_dimension_info: + listing_group.case_value.CopyFrom(listing_dimension_info) + + return operation + + +if __name__ == "__main__": + google_ads_client = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description="Add shopping product listing group tree to a shopping ad " + "group." + ) + # 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( + "-a", + "--ad_group_id", + type=str, + required=True, + help="The ID of the ad group that will receive the listing group tree.", + ) + parser.add_argument( + "-r", + "--replace_existing_tree", + action="store_true", + required=False, + default=False, + help="Optional, whether to replace the existing listing group tree on " + "the ad group if one already exists. Defaults to false.", + ) + + args = parser.parse_args() + + main( + google_ads_client, + args.customer_id, + args.ad_group_id, + args.replace_existing_tree, + ) diff --git a/examples/shopping_ads/add_shopping_smart_ad.py b/examples/shopping_ads/add_shopping_smart_ad.py new file mode 100644 index 000000000..0c5d2cf4f --- /dev/null +++ b/examples/shopping_ads/add_shopping_smart_ad.py @@ -0,0 +1,379 @@ +#!/usr/bin/env python +# 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. +"""Creates a smart shopping campaign, ad group, ad, and listing group. + +These will be created for "All products". + +Prerequisites: +- You need to have access to a Merchant Center account. You can find + instructions to create a Merchant Center account here: + https://support.google.com/merchants/answer/188924. + This account must be linked to your Google Ads account. The integration + instructions can be found at: + https://developers.google.com/adwords/shopping/full-automation/articles/t15. +- You need your Google Ads account to track conversions. The different ways + to track conversions can be found here: + https://support.google.com/google-ads/answer/1722054. +""" + + +import argparse +import sys +from uuid import uuid4 + +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException + + +def main( + client, + customer_id, + merchant_center_account_id, + create_default_listing_group, +): + """Creates a smart shopping campaign, ad group, ad, and listing group. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + merchant_center_account_id: The Merchant Center account ID. + create_default_listing_group: Boolean, whether to create a default + listing group. + """ + try: + # Create a budget to be used by the campaign that will be created below. + budget_resource_name = _add_campaign_budget(client, customer_id) + + # Create a smart shopping campaign. + campaign_resource_name = _add_smart_shopping_campaign( + client, + customer_id, + budget_resource_name, + merchant_center_account_id, + ) + + # Create a smart shopping ad group. + ad_group_resource_name = _add_smart_shopping_ad_group( + client, customer_id, campaign_resource_name + ) + + # Creates a smart shopping ad group ad. + _add_smart_shopping_ad_group_ad( + client, customer_id, ad_group_resource_name + ) + + if create_default_listing_group: + # A product group is a subset of inventory. Listing groups are the + # equivalent of product groups in the API and allow you to bid on + # the chosen group or exclude a group from bidding. + # This method creates an ad group criterion containing a listing + # group. + _add_shopping_listing_group( + client, customer_id, ad_group_resource_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(f"\tError with message '{error.message}'.") + if error.location: + for field_path_element in error.location.field_path_elements: + print(f"\t\tOn field: {field_path_element.field_name}") + sys.exit(1) + + +def _add_campaign_budget(client, customer_id): + """Creates a campaign budget in the specified client account. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + Returns: + The string resource name of the newly created campaign budget. + """ + # Get the CampaignBudgetService client. + campaign_budget_service = client.get_service( + "CampaignBudgetService", version="v6" + ) + + # Create a campaign budget operation and configure the smart shopping + # campaign budget. + campaign_budget_operation = client.get_type( + "CampaignBudgetOperation", version="v6" + ) + campaign_budget = campaign_budget_operation.create + campaign_budget.name = f"Interplanetary Cruise Budget #{uuid4()}" + campaign_budget.delivery_method = client.get_type( + "BudgetDeliveryMethodEnum" + ).STANDARD + # The budget is specified in the local currency of the account. The amount + # should be specified in micros; one million is equivalent to one unit. + campaign_budget.amount_micros = 5000000 + # Budgets for smart shopping campaigns cannot be shared. + campaign_budget.explicitly_shared = False + + # Add the campaign budget, then print and return the resulting campaign + # budget's resource name. + campaign_budget_response = campaign_budget_service.mutate_campaign_budgets( + customer_id, [campaign_budget_operation] + ) + campaign_budget_resource_name = ( + campaign_budget_response.results[0].resource_name + ) + print( + "Added a smart shopping campaign budget with resource name: " + f"'{campaign_budget_resource_name}'." + ) + + return campaign_budget_resource_name + + +def _add_smart_shopping_campaign( + client, customer_id, budget_resource_name, merchant_center_account_id +): + """Creates a new shopping campaign for smart shopping ads. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + budget_resource_name: The target campaign budget for the new campaign. + merchant_center_account_id: The Merchant Center account to which the + campaign will be linked. + + Returns: + The string resource name of the newly created ad group. + """ + # Get the CampaignService client. + campaign_service = client.get_service("CampaignService", version="v6") + + # Create a campaign operation and configure the smart shopping campaign. + campaign_operation = client.get_type("CampaignOperation", version="v6") + campaign = campaign_operation.create + campaign.name = f"Interplanetary Cruise Campaign #{uuid4()}" + campaign.campaign_budget = budget_resource_name + # Configure settings related to shopping campaigns including advertising + # channel type, advertising channel sub-type and shopping setting. + campaign.advertising_channel_type = client.get_type( + "AdvertisingChannelTypeEnum" + ).SHOPPING + campaign.advertising_channel_sub_type = client.get_type( + "AdvertisingChannelSubTypeEnum" + ).SHOPPING_SMART_ADS + campaign.shopping_setting.merchant_id = merchant_center_account_id + # Set the sales country of products to include in the campaign. + # Only products from Merchant Center targeting this country will + # appear in the campaign. + campaign.shopping_setting.sales_country = "US" + # 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").PAUSED + # Bidding strategy must be set directly on the campaign. + # Setting a portfolio bidding strategy by resource name is not supported. + # Maximize conversion value is the only strategy supported for smart + # shopping campaigns. An optional ROAS (Return on Advertising Spend) can be + # set for maximize_conversion_value. The ROAS value must be specified as a + # ratio in the API. It is calculated by dividing "total value" by + # "total spend". For more information on maximize conversion value, see the + # support article: http://support.google.com/google-ads/answer/7684216. + campaign.maximize_conversion_value.target_roas = 3.5 + + # Add the campaign, then print and return the resulting campaign's resource + # name. + campaign_response = campaign_service.mutate_campaigns( + customer_id, [campaign_operation] + ) + campaign_resource_name = campaign_response.results[0].resource_name + print( + "Added a smart shopping campaign with resource name: " + f"'{campaign_resource_name}'." + ) + + return campaign_resource_name + + +def _add_smart_shopping_ad_group(client, customer_id, campaign_resource_name): + """Creates a new ad group in the specified smart shopping campaign. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + campaign_resource_name: The target campaign for the new ad group. + Returns: + The string resource name of the newly created ad group. + """ + # Get the AdGroupCriterionService client. + ad_group_service = client.get_service("AdGroupService", version="v6") + + # Create an ad group operation and configure the new ad group. + ad_group_operation = client.get_type("AdGroupOperation", version="v6") + ad_group = ad_group_operation.create + ad_group.name = f"Earth to Mars Cruises #{uuid4()}" + ad_group.campaign = campaign_resource_name + # Set the ad group type to SHOPPING_SMART_ADS. + ad_group.type = client.get_type("AdGroupTypeEnum").SHOPPING_SMART_ADS + ad_group.status = client.get_type("AdGroupStatusEnum").ENABLED + + # Add the ad group, then print and return the resulting ad group's resource + # name. + ad_group_response = ad_group_service.mutate_ad_groups( + customer_id, [ad_group_operation] + ) + ad_group_resource_name = ad_group_response.results[0].resource_name + print( + "Added a smart shopping ad group with resource name: " + f"'{ad_group_resource_name}'." + ) + + return ad_group_resource_name + + +def _add_smart_shopping_ad_group_ad( + client, customer_id, ad_group_resource_name +): + """Creates a new ad group ad in the specified smart shopping ad group. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + ad_group_resource_name: The target ad group for the new listing group. + Returns: + The string resource name of the newly created ad group ad. + """ + # Get the AdGroupCriterionService client. + ad_group_ad_service = client.get_service("AdGroupAdService", version="v6") + + # Create an ad group ad operation and configure the ad group ad. + ad_group_ad_operation = client.get_type("AdGroupAdOperation", version="v6") + ad_group_ad = ad_group_ad_operation.create + # Set the ad group. + ad_group_ad.ad_group = ad_group_resource_name + # Set a new smart shopping ad. + ad_group_ad.ad.shopping_smart_ad.CopyFrom( + client.get_type("ShoppingSmartAdInfo", version="v6") + ) + ad_group_ad.status = client.get_type("AdGroupAdStatusEnum").PAUSED + + # Add the ad group ad, then print and return the resulting ad group ad's + # resource name. + ad_group_ad_response = ad_group_ad_service.mutate_ad_group_ads( + customer_id, [ad_group_ad_operation] + ) + ad_group_ad_resource_name = ad_group_ad_response.results[0].resource_name + print( + "Added a smart shopping ad group ad with resource name: " + f"'{ad_group_ad_resource_name}'." + ) + + return ad_group_ad_resource_name + + +def _add_shopping_listing_group(client, customer_id, ad_group_resource_name): + """Creates a new shopping listing group for the specified ad group. + + This is known as a "product group" in the Google Ads user interface. The + listing group will be added to the ad group using an "ad group criterion". + See the Google Ads API Shopping guide for more information on listing groups: + https://developers.google.com/google-ads/api/docs/shopping-ads/overview. + + Args: + client: An initialized Google Ads client. + customer_id: The Google Ads customer ID. + ad_group_resource_name: The target ad group for the new listing group. + Returns: + The string resource name of the newly created ad group criterion. + """ + # Get the AdGroupCriterionService client. + ad_group_criterion_service = client.get_service( + "AdGroupCriterionService", version="v6" + ) + + # Creates a new ad group criterion. This will contain a listing group. + # This will be the listing group for 'All products' and will contain a + # single root node. + ad_group_criterion_operation = client.get_type( + "AdGroupCriterionOperation", version="v6" + ) + ad_group_criterion = ad_group_criterion_operation.create + ad_group_criterion.ad_group = ad_group_resource_name + ad_group_criterion.status = client.get_type( + "AdGroupCriterionStatusEnum" + ).ENABLED + ad_group_criterion.listing_group.type = client.get_type( + "ListingGroupTypeEnum" + ).UNIT + + # Ad the listing group criterion, then display and return the resulting + # ad group criterion's resource name. + ad_group_criterion_response = ( + ad_group_criterion_service.mutate_ad_group_criteria( + customer_id, [ad_group_criterion_operation] + ) + ) + ad_group_criterion_resource_name = ( + ad_group_criterion_response.results[0].resource_name + ) + print( + "Added an ad group criterion containing a listing group with resource " + f"name: '{ad_group_criterion_resource_name}'." + ) + + return ad_group_criterion_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 = GoogleAdsClient.load_from_storage() + + parser = argparse.ArgumentParser( + description=( + "Creates a smart shopping campaign, ad group, ad, and listing " + "group for 'All products'." + ) + ) + # 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( + "-m", + "--merchant_center_account_id", + type=int, + required=True, + help="The Merchant Center account ID.", + ) + parser.add_argument( + "-d", + "--create_default_listing_group", + action="store_true", + default=False, + help="Optional, whether to create a default listing group. " + "Default is false.", + ) + args = parser.parse_args() + + main( + google_ads_client, + args.customer_id, + args.merchant_center_account_id, + args.create_default_listing_group, + ) diff --git a/examples/shopping_ads/approve_merchant_center_link.py b/examples/shopping_ads/approve_merchant_center_link.py index ed8674356..03bcd6a37 100644 --- a/examples/shopping_ads/approve_merchant_center_link.py +++ b/examples/shopping_ads/approve_merchant_center_link.py @@ -41,7 +41,7 @@ def main(client, customer_id, merchant_center_account_id): is to be approved. """ merchant_center_link_service = client.get_service( - "MerchantCenterLinkService", version="v5" + "MerchantCenterLinkService", version="v6" ) try: @@ -55,7 +55,7 @@ def main(client, customer_id, merchant_center_account_id): ) merchant_center_link_status_enum = client.get_type( - "MerchantCenterLinkStatusEnum", version="v5" + "MerchantCenterLinkStatusEnum", version="v6" ).MerchantCenterLinkStatus # Iterate through the results and filter for links with pending states. @@ -65,10 +65,11 @@ def main(client, customer_id, merchant_center_account_id): f"'{merchant_center_link_status_enum.Name(merchant_center_link.status)}'." ) - if (merchant_center_link.status == - merchant_center_link_status_enum.PENDING and - str(merchant_center_link.id) == merchant_center_account_id - ): + if ( + merchant_center_link.status + == merchant_center_link_status_enum.PENDING + and str(merchant_center_link.id) == merchant_center_account_id + ): _update_merchant_center_link_status( client, customer_id, @@ -90,12 +91,12 @@ def main(client, customer_id, merchant_center_account_id): def _update_merchant_center_link_status( - client, - customer_id, - merchant_center_link_service, - merchant_center_link, - status, - ): + client, + customer_id, + merchant_center_link_service, + merchant_center_link, + status, +): """Updates the status of a Merchant Center link request. Args: @@ -106,7 +107,7 @@ def _update_merchant_center_link_status( status: The updated status to apply to the merchant center link. """ # Creates an operation. - operation = client.get_type("MerchantCenterLinkOperation", version="v5") + operation = client.get_type("MerchantCenterLinkOperation", version="v6") link_to_update = operation.update link_to_update.resource_name = merchant_center_link.resource_name # Enables the pending link. @@ -121,7 +122,7 @@ def _update_merchant_center_link_status( ) merchant_center_link_status_enum = client.get_type( - "MerchantCenterLinkStatusEnum", version="v5" + "MerchantCenterLinkStatusEnum", version="v6" ).MerchantCenterLinkStatus # Displays the result. diff --git a/examples/shopping_ads/get_product_bidding_category_constant.py b/examples/shopping_ads/get_product_bidding_category_constant.py index beca4ccd7..bc85e9a31 100755 --- a/examples/shopping_ads/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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = """ SELECT product_bidding_category_constant.localized_name, @@ -57,7 +57,7 @@ def __init__(self, name=None, id=None, children=[]): product_bidding_category = row.product_bidding_category_constant category = Category( - product_bidding_category.localized_name.value, + product_bidding_category.localized_name, product_bidding_category.resource_name, ) diff --git a/examples/targeting/add_campaign_targeting_criteria.py b/examples/targeting/add_campaign_targeting_criteria.py index 1d603878b..5a6de0cab 100755 --- a/examples/targeting/add_campaign_targeting_criteria.py +++ b/examples/targeting/add_campaign_targeting_criteria.py @@ -24,7 +24,7 @@ def main(client, customer_id, campaign_id, keyword_text, location_id): campaign_criterion_service = client.get_service( - "CampaignCriterionService", version="v5" + "CampaignCriterionService", version="v6" ) operations = [ @@ -56,14 +56,14 @@ def main(client, customer_id, campaign_id, keyword_text, location_id): def create_location_op(client, customer_id, campaign_id, location_id): - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") geo_target_constant_service = client.get_service( - "GeoTargetConstantService", version="v5" + "GeoTargetConstantService", version="v6" ) # Create the campaign criterion. campaign_criterion_operation = client.get_type( - "CampaignCriterionOperation", version="v5" + "CampaignCriterionOperation", version="v6" ) campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign = campaign_service.campaign_path( @@ -82,11 +82,11 @@ def create_location_op(client, customer_id, campaign_id, location_id): def create_negative_keyword_op(client, customer_id, campaign_id, keyword_text): - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Create the campaign criterion. campaign_criterion_operation = client.get_type( - "CampaignCriterionOperation", version="v5" + "CampaignCriterionOperation", version="v6" ) campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign = campaign_service.campaign_path( @@ -96,18 +96,18 @@ def create_negative_keyword_op(client, customer_id, campaign_id, keyword_text): criterion_keyword = campaign_criterion.keyword criterion_keyword.text = keyword_text criterion_keyword.match_type = client.get_type( - "KeywordMatchTypeEnum", version="v5" + "KeywordMatchTypeEnum", version="v6" ).BROAD return campaign_criterion_operation def create_proximity_op(client, customer_id, campaign_id): - campaign_service = client.get_service("CampaignService", version="v5") + campaign_service = client.get_service("CampaignService", version="v6") # Create the campaign criterion. campaign_criterion_operation = client.get_type( - "CampaignCriterionOperation", version="v5" + "CampaignCriterionOperation", version="v6" ) campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign = campaign_service.campaign_path( diff --git a/examples/targeting/add_customer_negative_criteria.py b/examples/targeting/add_customer_negative_criteria.py index e2f9ce193..fcdf83348 100755 --- a/examples/targeting/add_customer_negative_criteria.py +++ b/examples/targeting/add_customer_negative_criteria.py @@ -33,17 +33,17 @@ def main(client, customer_id): customer_id: a client customer ID. """ tragedy_criterion_op = client.get_type( - "CustomerNegativeCriterionOperation", version="v5" + "CustomerNegativeCriterionOperation", version="v6" ) tragedy_criterion = tragedy_criterion_op.create # Creates a negative customer criterion excluding the content label type # of 'TRAGEDY'. tragedy_criterion.content_label.type = client.get_type( - "ContentLabelTypeEnum", version="v5" + "ContentLabelTypeEnum", version="v6" ).TRAGEDY placement_criterion_op = client.get_type( - "CustomerNegativeCriterionOperation", version="v5" + "CustomerNegativeCriterionOperation", version="v6" ) placement_criterion = placement_criterion_op.create # Creates a negative customer criterion excluding the placement with URL @@ -51,7 +51,7 @@ def main(client, customer_id): placement_criterion.placement.url = "http://www.example.com" customer_negative_criterion_service = client.get_service( - "CustomerNegativeCriterionService", version="v5" + "CustomerNegativeCriterionService", version="v6" ) try: diff --git a/examples/targeting/add_demographic_targeting_criteria.py b/examples/targeting/add_demographic_targeting_criteria.py index 2fbe2e9ec..73eb4642f 100755 --- a/examples/targeting/add_demographic_targeting_criteria.py +++ b/examples/targeting/add_demographic_targeting_criteria.py @@ -24,9 +24,9 @@ def main(client, customer_id, ad_group_id): - ad_group_service = client.get_service("AdGroupService", version="v5") + ad_group_service = client.get_service("AdGroupService", version="v6") ad_group_criterion_service = client.get_service( - "AdGroupCriterionService", version="v5" + "AdGroupCriterionService", version="v6" ) ad_group_resource_name = ad_group_service.ad_group_path( @@ -34,7 +34,7 @@ def main(client, 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="v5" + "AdGroupCriterionOperation", version="v6" ) gender_ad_group_criterion = gender_ad_group_criterion_operation.create gender_ad_group_criterion.ad_group = ad_group_resource_name @@ -44,7 +44,7 @@ def main(client, customer_id, ad_group_id): # Create a negative ad group criterion for age range of 18 to 24. age_range_ad_group_criterion_operation = client.get_type( - "AdGroupCriterionOperation", version="v5" + "AdGroupCriterionOperation", version="v6" ) age_range_ad_group_criterion = age_range_ad_group_criterion_operation.create age_range_ad_group_criterion.ad_group = ad_group_resource_name diff --git a/examples/targeting/get_campaign_targeting_criteria.py b/examples/targeting/get_campaign_targeting_criteria.py index 9339f581d..6a063e1dd 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="v5") + ga_service = client.get_service("GoogleAdsService", version="v6") query = f""" SELECT @@ -52,7 +52,7 @@ def main(client, customer_id, campaign_id, page_size): if ( criterion.type - == client.get_type("CriterionTypeEnum", version="v5").KEYWORD + == client.get_type("CriterionTypeEnum", version="v6").KEYWORD ): print( '\t%sKeyword with text "%s" and match type %s.' diff --git a/examples/targeting/get_geo_target_constants_by_names.py b/examples/targeting/get_geo_target_constants_by_names.py index 7c502c61d..96870fbda 100755 --- a/examples/targeting/get_geo_target_constants_by_names.py +++ b/examples/targeting/get_geo_target_constants_by_names.py @@ -30,10 +30,10 @@ def main(client): - gtc_service = client.get_service("GeoTargetConstantService", version="v5") + gtc_service = client.get_service("GeoTargetConstantService", version="v6") location_names = client.get_type( - "SuggestGeoTargetConstantsRequest", version="v5" + "SuggestGeoTargetConstantsRequest", version="v6" ).LocationNames() location_names.names.extend(["Paris", "Quebec", "Spain", "Deutschland"]) diff --git a/examples/targeting/search_for_language_and_carrier_constants.py b/examples/targeting/search_for_language_and_carrier_constants.py index 4bb0de443..5905dce01 100644 --- a/examples/targeting/search_for_language_and_carrier_constants.py +++ b/examples/targeting/search_for_language_and_carrier_constants.py @@ -63,7 +63,7 @@ def _search_for_language_constants(client, customer_id, language_name): language_name: String included in the language name to search for. """ # Get the GoogleAdsService client. - google_ads_service = client.get_service("GoogleAdsService", version="v5") + google_ads_service = client.get_service("GoogleAdsService", version="v6") # Create a query that retrieves the language constants where the name # includes a given string. @@ -101,7 +101,7 @@ def _search_for_carrier_constants(client, customer_id, carrier_country_code): carriers are located. """ # Get the GoogleAdsService client. - google_ads_service = client.get_service("GoogleAdsService", version="v5") + google_ads_service = client.get_service("GoogleAdsService", version="v6") # Create a query that retrieves the targetable carrier constants by country # code. @@ -152,7 +152,7 @@ def _search_for_carrier_constants(client, customer_id, carrier_country_code): type=str, required=False, default="eng", - help="Optional, string included in the language name to search for." + help="Optional, string included in the language name to search for.", ) parser.add_argument( "-p", @@ -173,5 +173,5 @@ def _search_for_carrier_constants(client, customer_id, carrier_country_code): google_ads_client, args.customer_id, args.language_name, - args.carrier_country_code + args.carrier_country_code, ) diff --git a/google/ads/google_ads/__init__.py b/google/ads/google_ads/__init__.py index 6659336c2..637a0c352 100644 --- a/google/ads/google_ads/__init__.py +++ b/google/ads/google_ads/__init__.py @@ -18,4 +18,4 @@ import google.ads.google_ads.util -VERSION = "7.0.0" +VERSION = "8.0.0" diff --git a/google/ads/google_ads/client.py b/google/ads/google_ads/client.py index 430fcaecb..7de294bc7 100644 --- a/google/ads/google_ads/client.py +++ b/google/ads/google_ads/client.py @@ -16,7 +16,7 @@ from importlib import import_module import logging.config -import grpc +import grpc.experimental from google.ads.google_ads import config, oauth2, util from google.ads.google_ads.interceptors import ( @@ -31,7 +31,7 @@ _SERVICE_CLIENT_TEMPLATE = "{}Client" _SERVICE_GRPC_TRANSPORT_TEMPLATE = "{}GrpcTransport" -_VALID_API_VERSIONS = ["v5", "v4", "v3", "v2"] +_VALID_API_VERSIONS = ["v6", "v5", "v4", "v3"] _DEFAULT_VERSION = _VALID_API_VERSIONS[0] _GRPC_CHANNEL_OPTIONS = [ diff --git a/google/ads/google_ads/interceptors/interceptor.py b/google/ads/google_ads/interceptors/interceptor.py index 43453ed6f..6813dc528 100644 --- a/google/ads/google_ads/interceptors/interceptor.py +++ b/google/ads/google_ads/interceptors/interceptor.py @@ -30,10 +30,11 @@ _REQUEST_ID_KEY = "request-id" # Codes that are retried upon by google.api_core. _RETRY_STATUS_CODES = (StatusCode.INTERNAL, StatusCode.RESOURCE_EXHAUSTED) -_SENSITIVE_INFO_MASK = "REDACTED" class Interceptor: + _SENSITIVE_INFO_MASK = "REDACTED" + @classmethod def get_request_id_from_metadata(cls, trailing_metadata): """Gets the request ID for the Google Ads API request. @@ -71,7 +72,7 @@ def parse_metadata_to_json(cls, metadata): for datum in metadata: key = datum[0] if key == "developer-token": - metadata_dict[key] = _SENSITIVE_INFO_MASK + metadata_dict[key] = cls._SENSITIVE_INFO_MASK else: value = datum[1] metadata_dict[key] = value diff --git a/google/ads/google_ads/interceptors/logging_interceptor.py b/google/ads/google_ads/interceptors/logging_interceptor.py index 413c7e3de..c2b2c4d12 100644 --- a/google/ads/google_ads/interceptors/logging_interceptor.py +++ b/google/ads/google_ads/interceptors/logging_interceptor.py @@ -25,6 +25,35 @@ from grpc import UnaryUnaryClientInterceptor, UnaryStreamClientInterceptor from .interceptor import Interceptor +from ..util import set_nested_message_field, get_nested_attr + +# The keys in this dict represent messages that have fields that may contain +# sensitive information, such as PII like an email address, that shouldn't +# be logged. The values are a list of dot-delimited field paths on the message +# where the sensitive information may exist. Messages listed here will have +# their sensitive fields redacted in logs when transmitted in the following +# scenarios: +# 1. They are returned as part of a Search or SearchStream request. +# 2. They are returned individually in a Get request. +# 3. They are sent to the API as part of a Mutate request. +_MESSAGES_WITH_SENSITIVE_FIELDS = { + "CustomerUserAccess": ["email_address", "inviter_user_email_address"], + "MutateCustomerUserAccessRequest": [ + "operation.update.email_address", + "operation.update.inviter_user_email_address", + ], + "ChangeEvent": ["user_email"], + "CreateCustomerClientRequest": ["email_address"], + "Feed": ["places_location_feed_data.email_address"], +} + +# This is a list of the names of messages that return search results from the +# API. These messages contain other messages that may contain sensitive +# information that needs to be masked before being logged. +_SEARCH_RESPONSE_MESSAGE_NAMES = [ + "SearchGoogleAdsResponse", + "SearchGoogleAdsStreamResponse", +] class LoggingInterceptor( @@ -204,6 +233,8 @@ def _log_successful_request( trailing_metadata_json: A JSON str of trailing_metadata. response: A grpc.Call/grpc.Future instance. """ + result = _mask_message(response.result(), self._SENSITIVE_INFO_MASK) + self.logger.debug( self._FULL_REQUEST_LOG_LINE.format( method, @@ -211,7 +242,7 @@ def _log_successful_request( metadata_json, request, trailing_metadata_json, - response.result(), + result, ) ) @@ -283,6 +314,7 @@ def _log_request(self, client_call_details, request, response): trailing_metadata = self._get_trailing_metadata(response) request_id = self.get_request_id_from_metadata(trailing_metadata) trailing_metadata_json = self.parse_metadata_to_json(trailing_metadata) + request = _mask_message(request, self._SENSITIVE_INFO_MASK) if response.exception(): self._log_failed_request( @@ -354,3 +386,121 @@ def on_rpc_complete(response_future): response.add_done_callback(on_rpc_complete) return response + + +def _copy_message(message): + """Returns a copy of the given message. + + Args: + message: An object containing information from an API request + or response. + + Returns: + A copy of the given message. + """ + copy = message.__class__() + copy.CopyFrom(message) + + return copy + + +def _mask_message_fields(field_list, message, mask): + """Copies the given message and masks sensitive fields. + + Sensitive fields are given as a list of strings and are overridden + with the word "REDACTED" to protect PII from being logged. + + Args: + field_list: A list of strings specifying the fields on the message + that should be masked. + message: An object containing information from an API request + or response. + mask: A str that should replace the sensitive information in the + message. + + Returns: + A new instance of the message object with fields copied and masked + where necessary. + """ + copy = _copy_message(message) + + for field_path in field_list: + try: + # Only mask the field if it's been set on the message. + if get_nested_attr(copy, field_path): + set_nested_message_field(copy, field_path, mask) + except AttributeError: + # AttributeError is raised when the field is not defined on the + # message. In this case there's nothing to mask and the field + # should be skipped. + break + + return copy + + +def _mask_google_ads_search_response(message, mask): + """Copies and masks sensitive data in a Search response + + Response messages include instances of GoogleAdsSearchResponse and + GoogleAdsSearchStreamResponse. + + Args: + message: A SearchGoogleAdsResponse or SearchGoogleAdsStreamResponse + instance. + mask: A str that should replace the sensitive information in the + message. + + Returns: + A copy of the message with sensitive fields masked. + """ + copy = _copy_message(message) + + for row in copy.results: + # Each row is an instance of GoogleAdsRow. The ListFields method + # returns a list of (FieldDescriptor, value) tuples for all fields in + # the message which are not empty + row_fields = row.ListFields() + for field in row_fields: + field_descriptor = field[0] + # field_name is the name of the field on the GoogleAdsRow instance, + # for example "campaign" or "customer_user_access" + field_name = field_descriptor.name + # message_name is the name of the message, similar to the class + # name, for example "Campaign" or "CustomerUserAccess" + message_name = field_descriptor.message_type.name + if message_name in _MESSAGES_WITH_SENSITIVE_FIELDS.keys(): + nested_message = getattr(row, field_name) + # Overwrites the nested message with an exact copy of itself, + # where sensitive fields have been masked. + nested_message.CopyFrom( + _mask_message_fields( + _MESSAGES_WITH_SENSITIVE_FIELDS[message_name], + nested_message, + mask, + ) + ) + + return copy + + +def _mask_message(message, mask): + """Copies and returns a message with sensitive fields masked. + + Args: + message: An object containing information from an API request + or response. + mask: A str that should replace the sensitive information in the + message. + + Returns: + A copy of the message instance with sensitive fields masked. + """ + class_name = message.__class__.__name__ + + if class_name in _SEARCH_RESPONSE_MESSAGE_NAMES: + return _mask_google_ads_search_response(message, mask) + elif class_name in _MESSAGES_WITH_SENSITIVE_FIELDS.keys(): + sensitive_fields = _MESSAGES_WITH_SENSITIVE_FIELDS[class_name] + return _mask_message_fields(sensitive_fields, message, mask) + else: + return message diff --git a/google/ads/google_ads/util.py b/google/ads/google_ads/util.py index 795c5f32f..5243fab17 100644 --- a/google/ads/google_ads/util.py +++ b/google/ads/google_ads/util.py @@ -43,7 +43,7 @@ def format_composite(cls, *arg): delimiter. Raises: - TypeError: If anything other than a string is passed in. + TypeError: If anything other than a string is passed in. """ return cls._COMPOSITE_DELIMITER.join(arg) @@ -52,11 +52,11 @@ def get_nested_attr(obj, attr, *args): """Gets the value of a nested attribute from an object. Args: - obj: an object to retrieve an attribute value from. - attr: a string of the attribute separated by dots. + obj: an object to retrieve an attribute value from. + attr: a string of the attribute separated by dots. Returns: - The object attribute value or the given *args if the attr isn't present. + The object attribute value or the given *args if the attr isn't present. """ def _getattr(obj, attr): @@ -65,6 +65,48 @@ def _getattr(obj, attr): return functools.reduce(_getattr, [obj] + attr.split(".")) +def set_nested_message_field(message, field_path, value): + """Sets the value of a nested attribute on a protobuf message instance. + + This method uses "setattr" to update a given field on a protobuf message + instance, which means it can only be used to set fields that are of a + primitive type, (i.e. "string" or "int64"). Additionally the given value + must be of the same type as the target field. + + For example, consider the following Campaign message instance: + + campaign { + app_campaign_setting { + app_id: "123" + } + } + + The field "app_campaign_setting" has the type AppCampaignSetting and cannot + be set with this method, however the field "app_campaign_setting.app_id" + has the type "string" and thus can be set with this method, assuming that + the given value is also a "string". + + The given field path can either be a dot-delimited string, such as + "app_campaign_setting.app_id" or a list of strings, for example + ["app_campaign_setting", "app_id"]. + + Args: + message: A protobuf message instance to set an attribute value on. + field_path: The attribute path, either a dot-delimited string of field + names or a list of strings. + value: The value that the nested attribute should be set to. + """ + if type(field_path) == str: + field_path = field_path.split(".") + + if len(field_path) == 1: + setattr(message, field_path[0], value) + else: + set_nested_message_field( + getattr(message, field_path[0]), field_path[1:], value + ) + + def convert_upper_case_to_snake_case(string): """Converts a string from UpperCase to snake_case. @@ -73,6 +115,9 @@ def convert_upper_case_to_snake_case(string): Args: string: an arbitrary string to convert. + + Returns: + A new snake_case representation of the given string. """ new_string = "" index = 0 diff --git a/google/ads/google_ads/v2/__init__.py b/google/ads/google_ads/v2/__init__.py deleted file mode 100644 index 0de2fc507..000000000 --- a/google/ads/google_ads/v2/__init__.py +++ /dev/null @@ -1,283 +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 __future__ import absolute_import -import importlib -import sys - -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( - account_budget_proposal_service_client='google.ads.google_ads.v2.services', - account_budget_service_client='google.ads.google_ads.v2.services', - ad_group_ad_asset_view_service_client='google.ads.google_ads.v2.services', - ad_group_ad_label_service_client='google.ads.google_ads.v2.services', - ad_group_ad_service_client='google.ads.google_ads.v2.services', - ad_group_audience_view_service_client='google.ads.google_ads.v2.services', - ad_group_bid_modifier_service_client='google.ads.google_ads.v2.services', - ad_group_criterion_label_service_client='google.ads.google_ads.v2.services', - ad_group_criterion_service_client='google.ads.google_ads.v2.services', - ad_group_criterion_simulation_service_client='google.ads.google_ads.v2.services', - ad_group_extension_setting_service_client='google.ads.google_ads.v2.services', - ad_group_feed_service_client='google.ads.google_ads.v2.services', - ad_group_label_service_client='google.ads.google_ads.v2.services', - ad_group_service_client='google.ads.google_ads.v2.services', - ad_group_simulation_service_client='google.ads.google_ads.v2.services', - ad_parameter_service_client='google.ads.google_ads.v2.services', - ad_schedule_view_service_client='google.ads.google_ads.v2.services', - ad_service_client='google.ads.google_ads.v2.services', - age_range_view_service_client='google.ads.google_ads.v2.services', - asset_service_client='google.ads.google_ads.v2.services', - bidding_strategy_service_client='google.ads.google_ads.v2.services', - billing_setup_service_client='google.ads.google_ads.v2.services', - campaign_audience_view_service_client='google.ads.google_ads.v2.services', - campaign_bid_modifier_service_client='google.ads.google_ads.v2.services', - campaign_budget_service_client='google.ads.google_ads.v2.services', - campaign_criterion_service_client='google.ads.google_ads.v2.services', - campaign_criterion_simulation_service_client='google.ads.google_ads.v2.services', - campaign_draft_service_client='google.ads.google_ads.v2.services', - campaign_experiment_service_client='google.ads.google_ads.v2.services', - campaign_extension_setting_service_client='google.ads.google_ads.v2.services', - campaign_feed_service_client='google.ads.google_ads.v2.services', - campaign_label_service_client='google.ads.google_ads.v2.services', - campaign_service_client='google.ads.google_ads.v2.services', - campaign_shared_set_service_client='google.ads.google_ads.v2.services', - carrier_constant_service_client='google.ads.google_ads.v2.services', - change_status_service_client='google.ads.google_ads.v2.services', - click_view_service_client='google.ads.google_ads.v2.services', - conversion_action_service_client='google.ads.google_ads.v2.services', - conversion_adjustment_upload_service_client='google.ads.google_ads.v2.services', - conversion_upload_service_client='google.ads.google_ads.v2.services', - custom_interest_service_client='google.ads.google_ads.v2.services', - customer_client_link_service_client='google.ads.google_ads.v2.services', - customer_client_service_client='google.ads.google_ads.v2.services', - customer_extension_setting_service_client='google.ads.google_ads.v2.services', - customer_feed_service_client='google.ads.google_ads.v2.services', - customer_label_service_client='google.ads.google_ads.v2.services', - customer_manager_link_service_client='google.ads.google_ads.v2.services', - customer_negative_criterion_service_client='google.ads.google_ads.v2.services', - customer_service_client='google.ads.google_ads.v2.services', - detail_placement_view_service_client='google.ads.google_ads.v2.services', - display_keyword_view_service_client='google.ads.google_ads.v2.services', - distance_view_service_client='google.ads.google_ads.v2.services', - domain_category_service_client='google.ads.google_ads.v2.services', - dynamic_search_ads_search_term_view_service_client='google.ads.google_ads.v2.services', - expanded_landing_page_view_service_client='google.ads.google_ads.v2.services', - extension_feed_item_service_client='google.ads.google_ads.v2.services', - feed_item_service_client='google.ads.google_ads.v2.services', - feed_item_target_service_client='google.ads.google_ads.v2.services', - feed_mapping_service_client='google.ads.google_ads.v2.services', - feed_placeholder_view_service_client='google.ads.google_ads.v2.services', - feed_service_client='google.ads.google_ads.v2.services', - gender_view_service_client='google.ads.google_ads.v2.services', - geo_target_constant_service_client='google.ads.google_ads.v2.services', - geographic_view_service_client='google.ads.google_ads.v2.services', - google_ads_field_service_client='google.ads.google_ads.v2.services', - google_ads_service_client='google.ads.google_ads.v2.services', - group_placement_view_service_client='google.ads.google_ads.v2.services', - hotel_group_view_service_client='google.ads.google_ads.v2.services', - hotel_performance_view_service_client='google.ads.google_ads.v2.services', - invoice_service_client='google.ads.google_ads.v2.services', - keyword_plan_ad_group_service_client='google.ads.google_ads.v2.services', - keyword_plan_campaign_service_client='google.ads.google_ads.v2.services', - keyword_plan_idea_service_client='google.ads.google_ads.v2.services', - keyword_plan_keyword_service_client='google.ads.google_ads.v2.services', - keyword_plan_negative_keyword_service_client='google.ads.google_ads.v2.services', - keyword_plan_service_client='google.ads.google_ads.v2.services', - keyword_view_service_client='google.ads.google_ads.v2.services', - label_service_client='google.ads.google_ads.v2.services', - landing_page_view_service_client='google.ads.google_ads.v2.services', - language_constant_service_client='google.ads.google_ads.v2.services', - location_view_service_client='google.ads.google_ads.v2.services', - managed_placement_view_service_client='google.ads.google_ads.v2.services', - media_file_service_client='google.ads.google_ads.v2.services', - merchant_center_link_service_client='google.ads.google_ads.v2.services', - mobile_app_category_constant_service_client='google.ads.google_ads.v2.services', - mobile_device_constant_service_client='google.ads.google_ads.v2.services', - mutate_job_service_client='google.ads.google_ads.v2.services', - operating_system_version_constant_service_client='google.ads.google_ads.v2.services', - paid_organic_search_term_view_service_client='google.ads.google_ads.v2.services', - parental_status_view_service_client='google.ads.google_ads.v2.services', - payments_account_service_client='google.ads.google_ads.v2.services', - product_bidding_category_constant_service_client='google.ads.google_ads.v2.services', - product_group_view_service_client='google.ads.google_ads.v2.services', - reach_plan_service_client='google.ads.google_ads.v2.services', - recommendation_service_client='google.ads.google_ads.v2.services', - remarketing_action_service_client='google.ads.google_ads.v2.services', - search_term_view_service_client='google.ads.google_ads.v2.services', - shared_criterion_service_client='google.ads.google_ads.v2.services', - shared_set_service_client='google.ads.google_ads.v2.services', - shopping_performance_view_service_client='google.ads.google_ads.v2.services', - topic_constant_service_client='google.ads.google_ads.v2.services', - topic_view_service_client='google.ads.google_ads.v2.services', - user_interest_service_client='google.ads.google_ads.v2.services', - user_list_service_client='google.ads.google_ads.v2.services', - user_location_view_service_client='google.ads.google_ads.v2.services', - video_service_client='google.ads.google_ads.v2.services', - account_budget_proposal_service_grpc_transport='google.ads.google_ads.v2.services.transports', - account_budget_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_ad_asset_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_ad_label_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_ad_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_audience_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_bid_modifier_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_criterion_label_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_criterion_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_criterion_simulation_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_extension_setting_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_feed_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_label_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_group_simulation_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_parameter_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_schedule_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - ad_service_grpc_transport='google.ads.google_ads.v2.services.transports', - age_range_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - asset_service_grpc_transport='google.ads.google_ads.v2.services.transports', - bidding_strategy_service_grpc_transport='google.ads.google_ads.v2.services.transports', - billing_setup_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_audience_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_bid_modifier_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_budget_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_criterion_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_criterion_simulation_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_draft_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_experiment_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_extension_setting_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_feed_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_label_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_service_grpc_transport='google.ads.google_ads.v2.services.transports', - campaign_shared_set_service_grpc_transport='google.ads.google_ads.v2.services.transports', - carrier_constant_service_grpc_transport='google.ads.google_ads.v2.services.transports', - change_status_service_grpc_transport='google.ads.google_ads.v2.services.transports', - click_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - conversion_action_service_grpc_transport='google.ads.google_ads.v2.services.transports', - conversion_adjustment_upload_service_grpc_transport='google.ads.google_ads.v2.services.transports', - conversion_upload_service_grpc_transport='google.ads.google_ads.v2.services.transports', - custom_interest_service_grpc_transport='google.ads.google_ads.v2.services.transports', - customer_client_link_service_grpc_transport='google.ads.google_ads.v2.services.transports', - customer_client_service_grpc_transport='google.ads.google_ads.v2.services.transports', - customer_extension_setting_service_grpc_transport='google.ads.google_ads.v2.services.transports', - customer_feed_service_grpc_transport='google.ads.google_ads.v2.services.transports', - customer_label_service_grpc_transport='google.ads.google_ads.v2.services.transports', - customer_manager_link_service_grpc_transport='google.ads.google_ads.v2.services.transports', - customer_negative_criterion_service_grpc_transport='google.ads.google_ads.v2.services.transports', - customer_service_grpc_transport='google.ads.google_ads.v2.services.transports', - detail_placement_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - display_keyword_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - distance_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - domain_category_service_grpc_transport='google.ads.google_ads.v2.services.transports', - dynamic_search_ads_search_term_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - expanded_landing_page_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - extension_feed_item_service_grpc_transport='google.ads.google_ads.v2.services.transports', - feed_item_service_grpc_transport='google.ads.google_ads.v2.services.transports', - feed_item_target_service_grpc_transport='google.ads.google_ads.v2.services.transports', - feed_mapping_service_grpc_transport='google.ads.google_ads.v2.services.transports', - feed_placeholder_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - feed_service_grpc_transport='google.ads.google_ads.v2.services.transports', - gender_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - geo_target_constant_service_grpc_transport='google.ads.google_ads.v2.services.transports', - geographic_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - google_ads_field_service_grpc_transport='google.ads.google_ads.v2.services.transports', - google_ads_service_grpc_transport='google.ads.google_ads.v2.services.transports', - group_placement_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - hotel_group_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - hotel_performance_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - invoice_service_grpc_transport='google.ads.google_ads.v2.services.transports', - keyword_plan_ad_group_service_grpc_transport='google.ads.google_ads.v2.services.transports', - keyword_plan_campaign_service_grpc_transport='google.ads.google_ads.v2.services.transports', - keyword_plan_idea_service_grpc_transport='google.ads.google_ads.v2.services.transports', - keyword_plan_keyword_service_grpc_transport='google.ads.google_ads.v2.services.transports', - keyword_plan_negative_keyword_service_grpc_transport='google.ads.google_ads.v2.services.transports', - keyword_plan_service_grpc_transport='google.ads.google_ads.v2.services.transports', - keyword_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - label_service_grpc_transport='google.ads.google_ads.v2.services.transports', - landing_page_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - language_constant_service_grpc_transport='google.ads.google_ads.v2.services.transports', - location_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - managed_placement_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - media_file_service_grpc_transport='google.ads.google_ads.v2.services.transports', - merchant_center_link_service_grpc_transport='google.ads.google_ads.v2.services.transports', - mobile_app_category_constant_service_grpc_transport='google.ads.google_ads.v2.services.transports', - mobile_device_constant_service_grpc_transport='google.ads.google_ads.v2.services.transports', - mutate_job_service_grpc_transport='google.ads.google_ads.v2.services.transports', - operating_system_version_constant_service_grpc_transport='google.ads.google_ads.v2.services.transports', - paid_organic_search_term_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - parental_status_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - payments_account_service_grpc_transport='google.ads.google_ads.v2.services.transports', - product_bidding_category_constant_service_grpc_transport='google.ads.google_ads.v2.services.transports', - product_group_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - reach_plan_service_grpc_transport='google.ads.google_ads.v2.services.transports', - recommendation_service_grpc_transport='google.ads.google_ads.v2.services.transports', - remarketing_action_service_grpc_transport='google.ads.google_ads.v2.services.transports', - search_term_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - shared_criterion_service_grpc_transport='google.ads.google_ads.v2.services.transports', - shared_set_service_grpc_transport='google.ads.google_ads.v2.services.transports', - shopping_performance_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - topic_constant_service_grpc_transport='google.ads.google_ads.v2.services.transports', - topic_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - user_interest_service_grpc_transport='google.ads.google_ads.v2.services.transports', - user_list_service_grpc_transport='google.ads.google_ads.v2.services.transports', - user_location_view_service_grpc_transport='google.ads.google_ads.v2.services.transports', - video_service_grpc_transport='google.ads.google_ads.v2.services.transports', -) - - -# 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 _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': - module = importlib.import_module('google.ads.google_ads.v2.services.enums') - globals()[name] = module - return module - elif name == 'types': - module = importlib.import_module('google.ads.google_ads.v2.types') - 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/v2/proto/common/ad_asset_pb2.py b/google/ads/google_ads/v2/proto/common/ad_asset_pb2.py deleted file mode 100644 index f45ff741e..000000000 --- a/google/ads/google_ads/v2/proto/common/ad_asset_pb2.py +++ /dev/null @@ -1,242 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/ad_asset.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.v2.proto.enums import served_asset_field_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/ad_asset.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\014AdAssetProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n3google/ads/googleads_v2/proto/common/ad_asset.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x41google/ads/googleads_v2/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.v2.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.v2.commonB\x0c\x41\x64\x41ssetProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.common.AdTextAsset', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v2.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.v2.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, - 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=374, -) - - -_ADIMAGEASSET = _descriptor.Descriptor( - name='AdImageAsset', - full_name='google.ads.googleads.v2.common.AdImageAsset', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='asset', full_name='google.ads.googleads.v2.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, - 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=376, - serialized_end=435, -) - - -_ADVIDEOASSET = _descriptor.Descriptor( - name='AdVideoAsset', - full_name='google.ads.googleads.v2.common.AdVideoAsset', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='asset', full_name='google.ads.googleads.v2.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, - 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=437, - serialized_end=496, -) - - -_ADMEDIABUNDLEASSET = _descriptor.Descriptor( - name='AdMediaBundleAsset', - full_name='google.ads.googleads.v2.common.AdMediaBundleAsset', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='asset', full_name='google.ads.googleads.v2.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, - 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=498, - serialized_end=563, -) - -_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__v2_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 -DESCRIPTOR.message_types_by_name['AdTextAsset'] = _ADTEXTASSET -DESCRIPTOR.message_types_by_name['AdImageAsset'] = _ADIMAGEASSET -DESCRIPTOR.message_types_by_name['AdVideoAsset'] = _ADVIDEOASSET -DESCRIPTOR.message_types_by_name['AdMediaBundleAsset'] = _ADMEDIABUNDLEASSET -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdTextAsset = _reflection.GeneratedProtocolMessageType('AdTextAsset', (_message.Message,), dict( - DESCRIPTOR = _ADTEXTASSET, - __module__ = 'google.ads.googleads_v2.proto.common.ad_asset_pb2' - , - __doc__ = """A text asset used inside an ad. - - - Attributes: - text: - Asset text. - pinned_field: - The pinned field of the asset. This restricts the asset to - only serve within this field. Multiple assets can be pinned to - the same field. An asset that is unpinned or pinned to a - different field will not serve in a field where some other - asset has been pinned. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AdTextAsset) - )) -_sym_db.RegisterMessage(AdTextAsset) - -AdImageAsset = _reflection.GeneratedProtocolMessageType('AdImageAsset', (_message.Message,), dict( - DESCRIPTOR = _ADIMAGEASSET, - __module__ = 'google.ads.googleads_v2.proto.common.ad_asset_pb2' - , - __doc__ = """An image asset used inside an ad. - - - Attributes: - asset: - The Asset resource name of this image. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AdImageAsset) - )) -_sym_db.RegisterMessage(AdImageAsset) - -AdVideoAsset = _reflection.GeneratedProtocolMessageType('AdVideoAsset', (_message.Message,), dict( - DESCRIPTOR = _ADVIDEOASSET, - __module__ = 'google.ads.googleads_v2.proto.common.ad_asset_pb2' - , - __doc__ = """A video asset used inside an ad. - - - Attributes: - asset: - The Asset resource name of this video. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AdVideoAsset) - )) -_sym_db.RegisterMessage(AdVideoAsset) - -AdMediaBundleAsset = _reflection.GeneratedProtocolMessageType('AdMediaBundleAsset', (_message.Message,), dict( - DESCRIPTOR = _ADMEDIABUNDLEASSET, - __module__ = 'google.ads.googleads_v2.proto.common.ad_asset_pb2' - , - __doc__ = """A media bundle asset used inside an ad. - - - Attributes: - asset: - The Asset resource name of this media bundle. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AdMediaBundleAsset) - )) -_sym_db.RegisterMessage(AdMediaBundleAsset) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/ad_asset_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/ad_asset_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/ad_asset_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/ad_type_infos_pb2.py b/google/ads/google_ads/v2/proto/common/ad_type_infos_pb2.py deleted file mode 100644 index 850c83e73..000000000 --- a/google/ads/google_ads/v2/proto/common/ad_type_infos_pb2.py +++ /dev/null @@ -1,2370 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/ad_type_infos.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.v2.proto.common import ad_asset_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2 -from google.ads.google_ads.v2.proto.enums import call_conversion_reporting_state_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2 -from google.ads.google_ads.v2.proto.enums import display_ad_format_setting_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_display__ad__format__setting__pb2 -from google.ads.google_ads.v2.proto.enums import display_upload_product_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_display__upload__product__type__pb2 -from google.ads.google_ads.v2.proto.enums import legacy_app_install_ad_app_store_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2 -from google.ads.google_ads.v2.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/ad_type_infos.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\020AdTypeInfosProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/common/ad_type_infos.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x33google/ads/googleads_v2/proto/common/ad_asset.proto\x1aIgoogle/ads/googleads_v2/proto/enums/call_conversion_reporting_state.proto\x1a\x43google/ads/googleads_v2/proto/enums/display_ad_format_setting.proto\x1a\x45google/ads/googleads_v2/proto/enums/display_upload_product_type.proto\x1aIgoogle/ads/googleads_v2/proto/enums/legacy_app_install_ad_app_store.proto\x1a\x33google/ads/googleads_v2/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.v2.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.v2.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.v2.common.DisplayCallToAction\x12\x44\n\x0eproduct_images\x18\x07 \x03(\x0b\x32,.google.ads.googleads.v2.common.ProductImage\x12\x44\n\x0eproduct_videos\x18\x08 \x03(\x0b\x32,.google.ads.googleads.v2.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.v2.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.v2.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\"\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.v2.common.VideoTrueViewInStreamAdInfoH\x00\x12K\n\x06\x62umper\x18\x03 \x01(\x0b\x32\x39.google.ads.googleads.v2.common.VideoBumperInStreamAdInfoH\x00\x12J\n\nout_stream\x18\x04 \x01(\x0b\x32\x34.google.ads.googleads.v2.common.VideoOutstreamAdInfoH\x00\x12X\n\rnon_skippable\x18\x05 \x01(\x0b\x32?.google.ads.googleads.v2.common.VideoNonSkippableInStreamAdInfoH\x00\x42\x08\n\x06\x66ormat\"\xf5\x01\n\x16ResponsiveSearchAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v2.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v2.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.v2.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.v2.common.AdTextAsset\x12>\n\theadlines\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v2.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x03 \x03(\x0b\x32+.google.ads.googleads.v2.common.AdTextAsset\x12<\n\x06images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v2.common.AdImageAsset\x12\x44\n\x0eyoutube_videos\x18\x05 \x03(\x0b\x32,.google.ads.googleads.v2.common.AdVideoAsset\x12O\n\x13html5_media_bundles\x18\x06 \x03(\x0b\x32\x32.google.ads.googleads.v2.common.AdMediaBundleAsset\"\x94\x02\n\x13\x41ppEngagementAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v2.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v2.common.AdTextAsset\x12<\n\x06images\x18\x03 \x03(\x0b\x32,.google.ads.googleads.v2.common.AdImageAsset\x12<\n\x06videos\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v2.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.v2.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.v2.common.AdImageAsset\x12M\n\x17square_marketing_images\x18\x02 \x03(\x0b\x32,.google.ads.googleads.v2.common.AdImageAsset\x12\x41\n\x0blogo_images\x18\x03 \x03(\x0b\x32,.google.ads.googleads.v2.common.AdImageAsset\x12H\n\x12square_logo_images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v2.common.AdImageAsset\x12>\n\theadlines\x18\x05 \x03(\x0b\x32+.google.ads.googleads.v2.common.AdTextAsset\x12\x42\n\rlong_headline\x18\x06 \x01(\x0b\x32+.google.ads.googleads.v2.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x07 \x03(\x0b\x32+.google.ads.googleads.v2.common.AdTextAsset\x12\x44\n\x0eyoutube_videos\x18\x08 \x03(\x0b\x32,.google.ads.googleads.v2.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.v2.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting\"\xeb\x01\n\x13\x44isplayUploadAdInfo\x12y\n\x1b\x64isplay_upload_product_type\x18\x01 \x01(\x0e\x32T.google.ads.googleads.v2.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType\x12J\n\x0cmedia_bundle\x18\x02 \x01(\x0b\x32\x32.google.ads.googleads.v2.common.AdMediaBundleAssetH\x00\x42\r\n\x0bmedia_assetB\xeb\x01\n\"com.google.ads.googleads.v2.commonB\x10\x41\x64TypeInfosProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_display__ad__format__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_display__upload__product__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.TextAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=551, - serialized_end=715, -) - - -_EXPANDEDTEXTADINFO = _descriptor.Descriptor( - name='ExpandedTextAdInfo', - full_name='google.ads.googleads.v2.common.ExpandedTextAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='headline_part1', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=718, - serialized_end=1093, -) - - -_CALLONLYADINFO = _descriptor.Descriptor( - name='CallOnlyAdInfo', - full_name='google.ads.googleads.v2.common.CallOnlyAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=1096, - serialized_end=1839, -) - - -_EXPANDEDDYNAMICSEARCHADINFO = _descriptor.Descriptor( - name='ExpandedDynamicSearchAdInfo', - full_name='google.ads.googleads.v2.common.ExpandedDynamicSearchAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v2.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.v2.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=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1842, - serialized_end=1974, -) - - -_HOTELADINFO = _descriptor.Descriptor( - name='HotelAdInfo', - full_name='google.ads.googleads.v2.common.HotelAdInfo', - 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=1976, - serialized_end=1989, -) - - -_SHOPPINGSMARTADINFO = _descriptor.Descriptor( - name='ShoppingSmartAdInfo', - full_name='google.ads.googleads.v2.common.ShoppingSmartAdInfo', - 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=1991, - serialized_end=2012, -) - - -_SHOPPINGPRODUCTADINFO = _descriptor.Descriptor( - name='ShoppingProductAdInfo', - full_name='google.ads.googleads.v2.common.ShoppingProductAdInfo', - 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=2014, - serialized_end=2037, -) - - -_SHOPPINGCOMPARISONLISTINGADINFO = _descriptor.Descriptor( - name='ShoppingComparisonListingAdInfo', - full_name='google.ads.googleads.v2.common.ShoppingComparisonListingAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v2.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, - 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=2039, - serialized_end=2120, -) - - -_GMAILADINFO = _descriptor.Descriptor( - name='GmailAdInfo', - full_name='google.ads.googleads.v2.common.GmailAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='teaser', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=2123, - serialized_end=2676, -) - - -_GMAILTEASER = _descriptor.Descriptor( - name='GmailTeaser', - full_name='google.ads.googleads.v2.common.GmailTeaser', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=2679, - serialized_end=2894, -) - - -_DISPLAYCALLTOACTION = _descriptor.Descriptor( - name='DisplayCallToAction', - full_name='google.ads.googleads.v2.common.DisplayCallToAction', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=2897, - serialized_end=3069, -) - - -_PRODUCTIMAGE = _descriptor.Descriptor( - name='ProductImage', - full_name='google.ads.googleads.v2.common.ProductImage', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='product_image', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=3072, - serialized_end=3275, -) - - -_PRODUCTVIDEO = _descriptor.Descriptor( - name='ProductVideo', - full_name='google.ads.googleads.v2.common.ProductVideo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='product_video', full_name='google.ads.googleads.v2.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, - 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=3277, - serialized_end=3344, -) - - -_IMAGEADINFO = _descriptor.Descriptor( - name='ImageAdInfo', - full_name='google.ads.googleads.v2.common.ImageAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='pixel_width', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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='image', full_name='google.ads.googleads.v2.common.ImageAdInfo.image', - index=0, containing_type=None, fields=[]), - ], - serialized_start=3347, - serialized_end=3972, -) - - -_VIDEOBUMPERINSTREAMADINFO = _descriptor.Descriptor( - name='VideoBumperInStreamAdInfo', - full_name='google.ads.googleads.v2.common.VideoBumperInStreamAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='companion_banner', full_name='google.ads.googleads.v2.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=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3974, - serialized_end=4057, -) - - -_VIDEONONSKIPPABLEINSTREAMADINFO = _descriptor.Descriptor( - name='VideoNonSkippableInStreamAdInfo', - full_name='google.ads.googleads.v2.common.VideoNonSkippableInStreamAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='companion_banner', full_name='google.ads.googleads.v2.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=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4059, - serialized_end=4148, -) - - -_VIDEOTRUEVIEWINSTREAMADINFO = _descriptor.Descriptor( - name='VideoTrueViewInStreamAdInfo', - full_name='google.ads.googleads.v2.common.VideoTrueViewInStreamAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='action_button_label', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=4151, - serialized_end=4350, -) - - -_VIDEOOUTSTREAMADINFO = _descriptor.Descriptor( - name='VideoOutstreamAdInfo', - full_name='google.ads.googleads.v2.common.VideoOutstreamAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v2.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.v2.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, -) - - -_VIDEOADINFO = _descriptor.Descriptor( - name='VideoAdInfo', - full_name='google.ads.googleads.v2.common.VideoAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='media_file', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='format', full_name='google.ads.googleads.v2.common.VideoAdInfo.format', - index=0, containing_type=None, fields=[]), - ], - serialized_start=4476, - serialized_end=4874, -) - - -_RESPONSIVESEARCHADINFO = _descriptor.Descriptor( - name='ResponsiveSearchAdInfo', - full_name='google.ads.googleads.v2.common.ResponsiveSearchAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='headlines', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=4877, - serialized_end=5122, -) - - -_LEGACYRESPONSIVEDISPLAYADINFO = _descriptor.Descriptor( - name='LegacyResponsiveDisplayAdInfo', - full_name='google.ads.googleads.v2.common.LegacyResponsiveDisplayAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='short_headline', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=5125, - serialized_end=6018, -) - - -_APPADINFO = _descriptor.Descriptor( - name='AppAdInfo', - full_name='google.ads.googleads.v2.common.AppAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='mandatory_ad_text', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=6021, - serialized_end=6448, -) - - -_APPENGAGEMENTADINFO = _descriptor.Descriptor( - name='AppEngagementAdInfo', - full_name='google.ads.googleads.v2.common.AppEngagementAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='headlines', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=6451, - serialized_end=6727, -) - - -_LEGACYAPPINSTALLADINFO = _descriptor.Descriptor( - name='LegacyAppInstallAdInfo', - full_name='google.ads.googleads.v2.common.LegacyAppInstallAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='app_id', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=6730, - serialized_end=7061, -) - - -_RESPONSIVEDISPLAYADINFO = _descriptor.Descriptor( - name='ResponsiveDisplayAdInfo', - full_name='google.ads.googleads.v2.common.ResponsiveDisplayAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='marketing_images', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=7064, - serialized_end=8130, -) - - -_DISPLAYUPLOADADINFO = _descriptor.Descriptor( - name='DisplayUploadAdInfo', - full_name='google.ads.googleads.v2.common.DisplayUploadAdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='display_upload_product_type', full_name='google.ads.googleads.v2.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.v2.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, - 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='media_asset', full_name='google.ads.googleads.v2.common.DisplayUploadAdInfo.media_asset', - index=0, containing_type=None, fields=[]), - ], - serialized_start=8133, - serialized_end=8368, -) - -_TEXTADINFO.fields_by_name['headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_TEXTADINFO.fields_by_name['description1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_TEXTADINFO.fields_by_name['description2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXPANDEDTEXTADINFO.fields_by_name['headline_part1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXPANDEDTEXTADINFO.fields_by_name['headline_part2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXPANDEDTEXTADINFO.fields_by_name['headline_part3'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXPANDEDTEXTADINFO.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXPANDEDTEXTADINFO.fields_by_name['description2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXPANDEDTEXTADINFO.fields_by_name['path1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXPANDEDTEXTADINFO.fields_by_name['path2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLONLYADINFO.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLONLYADINFO.fields_by_name['phone_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLONLYADINFO.fields_by_name['business_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLONLYADINFO.fields_by_name['headline1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLONLYADINFO.fields_by_name['headline2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLONLYADINFO.fields_by_name['description1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLONLYADINFO.fields_by_name['description2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLONLYADINFO.fields_by_name['call_tracked'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_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__v2_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 -_GMAILADINFO.fields_by_name['marketing_image'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GMAILADINFO.fields_by_name['marketing_image_headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GMAILADINFO.fields_by_name['marketing_image_description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GMAILADINFO.fields_by_name['marketing_image_display_call_to_action'].message_type = _DISPLAYCALLTOACTION -_GMAILADINFO.fields_by_name['product_images'].message_type = _PRODUCTIMAGE -_GMAILADINFO.fields_by_name['product_videos'].message_type = _PRODUCTVIDEO -_GMAILTEASER.fields_by_name['headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GMAILTEASER.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GMAILTEASER.fields_by_name['business_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GMAILTEASER.fields_by_name['logo_image'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DISPLAYCALLTOACTION.fields_by_name['text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DISPLAYCALLTOACTION.fields_by_name['text_color'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DISPLAYCALLTOACTION.fields_by_name['url_collection_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRODUCTIMAGE.fields_by_name['product_image'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRODUCTIMAGE.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRODUCTIMAGE.fields_by_name['display_call_to_action'].message_type = _DISPLAYCALLTOACTION -_PRODUCTVIDEO.fields_by_name['product_video'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_IMAGEADINFO.fields_by_name['pixel_width'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_IMAGEADINFO.fields_by_name['pixel_height'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_IMAGEADINFO.fields_by_name['image_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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 -_IMAGEADINFO.fields_by_name['ad_id_to_copy_image_from'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_IMAGEADINFO.oneofs_by_name['image'].fields.append( - _IMAGEADINFO.fields_by_name['media_file']) -_IMAGEADINFO.fields_by_name['media_file'].containing_oneof = _IMAGEADINFO.oneofs_by_name['image'] -_IMAGEADINFO.oneofs_by_name['image'].fields.append( - _IMAGEADINFO.fields_by_name['data']) -_IMAGEADINFO.fields_by_name['data'].containing_oneof = _IMAGEADINFO.oneofs_by_name['image'] -_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 -_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.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'] -_VIDEOADINFO.oneofs_by_name['format'].fields.append( - _VIDEOADINFO.fields_by_name['bumper']) -_VIDEOADINFO.fields_by_name['bumper'].containing_oneof = _VIDEOADINFO.oneofs_by_name['format'] -_VIDEOADINFO.oneofs_by_name['format'].fields.append( - _VIDEOADINFO.fields_by_name['out_stream']) -_VIDEOADINFO.fields_by_name['out_stream'].containing_oneof = _VIDEOADINFO.oneofs_by_name['format'] -_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__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_RESPONSIVESEARCHADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v2_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 -_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['long_headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['business_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['allow_flexible_color'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['accent_color'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['main_color'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['call_to_action_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['logo_image'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPADINFO.fields_by_name['images'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_APPADINFO.fields_by_name['youtube_videos'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET -_APPADINFO.fields_by_name['html5_media_bundles'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADMEDIABUNDLEASSET -_APPENGAGEMENTADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPENGAGEMENTADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPENGAGEMENTADINFO.fields_by_name['images'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_APPENGAGEMENTADINFO.fields_by_name['videos'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['square_marketing_images'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['logo_images'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['square_logo_images'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['long_headline'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['youtube_videos'].message_type = google_dot_ads_dot_googleads__v2_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 -_RESPONSIVEDISPLAYADINFO.fields_by_name['allow_flexible_color'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_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__v2_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__v2_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__v2_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'] -DESCRIPTOR.message_types_by_name['TextAdInfo'] = _TEXTADINFO -DESCRIPTOR.message_types_by_name['ExpandedTextAdInfo'] = _EXPANDEDTEXTADINFO -DESCRIPTOR.message_types_by_name['CallOnlyAdInfo'] = _CALLONLYADINFO -DESCRIPTOR.message_types_by_name['ExpandedDynamicSearchAdInfo'] = _EXPANDEDDYNAMICSEARCHADINFO -DESCRIPTOR.message_types_by_name['HotelAdInfo'] = _HOTELADINFO -DESCRIPTOR.message_types_by_name['ShoppingSmartAdInfo'] = _SHOPPINGSMARTADINFO -DESCRIPTOR.message_types_by_name['ShoppingProductAdInfo'] = _SHOPPINGPRODUCTADINFO -DESCRIPTOR.message_types_by_name['ShoppingComparisonListingAdInfo'] = _SHOPPINGCOMPARISONLISTINGADINFO -DESCRIPTOR.message_types_by_name['GmailAdInfo'] = _GMAILADINFO -DESCRIPTOR.message_types_by_name['GmailTeaser'] = _GMAILTEASER -DESCRIPTOR.message_types_by_name['DisplayCallToAction'] = _DISPLAYCALLTOACTION -DESCRIPTOR.message_types_by_name['ProductImage'] = _PRODUCTIMAGE -DESCRIPTOR.message_types_by_name['ProductVideo'] = _PRODUCTVIDEO -DESCRIPTOR.message_types_by_name['ImageAdInfo'] = _IMAGEADINFO -DESCRIPTOR.message_types_by_name['VideoBumperInStreamAdInfo'] = _VIDEOBUMPERINSTREAMADINFO -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['VideoAdInfo'] = _VIDEOADINFO -DESCRIPTOR.message_types_by_name['ResponsiveSearchAdInfo'] = _RESPONSIVESEARCHADINFO -DESCRIPTOR.message_types_by_name['LegacyResponsiveDisplayAdInfo'] = _LEGACYRESPONSIVEDISPLAYADINFO -DESCRIPTOR.message_types_by_name['AppAdInfo'] = _APPADINFO -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['DisplayUploadAdInfo'] = _DISPLAYUPLOADADINFO -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -TextAdInfo = _reflection.GeneratedProtocolMessageType('TextAdInfo', (_message.Message,), dict( - DESCRIPTOR = _TEXTADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A text ad. - - - Attributes: - headline: - The headline of the ad. - description1: - The first line of the ad's description. - description2: - The second line of the ad's description. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.TextAdInfo) - )) -_sym_db.RegisterMessage(TextAdInfo) - -ExpandedTextAdInfo = _reflection.GeneratedProtocolMessageType('ExpandedTextAdInfo', (_message.Message,), dict( - DESCRIPTOR = _EXPANDEDTEXTADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """An expanded text ad. - - - Attributes: - headline_part1: - The first part of the ad's headline. - headline_part2: - The second part of the ad's headline. - headline_part3: - The third part of the ad's headline. - description: - The description of the ad. - description2: - The second description of the ad. - path1: - The text that can appear alongside the ad's displayed URL. - path2: - Additional text that can appear alongside the ad's displayed - URL. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ExpandedTextAdInfo) - )) -_sym_db.RegisterMessage(ExpandedTextAdInfo) - -CallOnlyAdInfo = _reflection.GeneratedProtocolMessageType('CallOnlyAdInfo', (_message.Message,), dict( - DESCRIPTOR = _CALLONLYADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A call-only ad. - - - Attributes: - country_code: - The country code in the ad. - phone_number: - The phone number in the ad. - business_name: - The business name in the ad. - headline1: - First headline in the ad. - headline2: - Second headline in the ad. - description1: - The first line of the ad's description. - description2: - The second line of the ad's description. - call_tracked: - Whether to enable call tracking for the creative. Enabling - call tracking also enables call conversions. - disable_call_conversion: - Whether to disable call conversion for the creative. If set to - ``true``, disables call conversions even when ``call_tracked`` - is ``true``. If ``call_tracked`` is ``false``, this field is - ignored. - phone_number_verification_url: - The URL to be used for phone number verification. - conversion_action: - The conversion action to attribute a call conversion to. If - not set a default conversion action is used. This field only - has effect if call\_tracked is set to true. Otherwise this - field is ignored. - conversion_reporting_state: - The call conversion behavior of this call only ad. It can use - its own call conversion setting, inherit the account level - setting, or be disabled. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CallOnlyAdInfo) - )) -_sym_db.RegisterMessage(CallOnlyAdInfo) - -ExpandedDynamicSearchAdInfo = _reflection.GeneratedProtocolMessageType('ExpandedDynamicSearchAdInfo', (_message.Message,), dict( - DESCRIPTOR = _EXPANDEDDYNAMICSEARCHADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """An expanded dynamic search ad. - - - Attributes: - description: - The description of the ad. - description2: - The second description of the ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ExpandedDynamicSearchAdInfo) - )) -_sym_db.RegisterMessage(ExpandedDynamicSearchAdInfo) - -HotelAdInfo = _reflection.GeneratedProtocolMessageType('HotelAdInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A hotel ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelAdInfo) - )) -_sym_db.RegisterMessage(HotelAdInfo) - -ShoppingSmartAdInfo = _reflection.GeneratedProtocolMessageType('ShoppingSmartAdInfo', (_message.Message,), dict( - DESCRIPTOR = _SHOPPINGSMARTADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A Smart Shopping ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ShoppingSmartAdInfo) - )) -_sym_db.RegisterMessage(ShoppingSmartAdInfo) - -ShoppingProductAdInfo = _reflection.GeneratedProtocolMessageType('ShoppingProductAdInfo', (_message.Message,), dict( - DESCRIPTOR = _SHOPPINGPRODUCTADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A standard Shopping ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ShoppingProductAdInfo) - )) -_sym_db.RegisterMessage(ShoppingProductAdInfo) - -ShoppingComparisonListingAdInfo = _reflection.GeneratedProtocolMessageType('ShoppingComparisonListingAdInfo', (_message.Message,), dict( - DESCRIPTOR = _SHOPPINGCOMPARISONLISTINGADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A Shopping Comparison Listing ad. - - - Attributes: - headline: - Headline of the ad. This field is required. Allowed length is - between 25 and 45 characters. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ShoppingComparisonListingAdInfo) - )) -_sym_db.RegisterMessage(ShoppingComparisonListingAdInfo) - -GmailAdInfo = _reflection.GeneratedProtocolMessageType('GmailAdInfo', (_message.Message,), dict( - DESCRIPTOR = _GMAILADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A Gmail ad. - - - Attributes: - teaser: - The Gmail teaser. - header_image: - The MediaFile resource name of the header image. Valid image - types are GIF, JPEG and PNG. The minimum size is 300x100 - pixels and the aspect ratio must be between 3:1 and 5:1 - (+-1%). - marketing_image: - The MediaFile resource name of the marketing image. Valid - image types are GIF, JPEG and PNG. The image must either be - landscape with a minimum size of 600x314 pixels and aspect - ratio of 600:314 (+-1%) or square with a minimum size of - 300x300 pixels and aspect ratio of 1:1 (+-1%) - marketing_image_headline: - Headline of the marketing image. - marketing_image_description: - Description of the marketing image. - marketing_image_display_call_to_action: - Display-call-to-action of the marketing image. - product_images: - Product images. Up to 15 images are supported. - product_videos: - 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.v2.common.GmailAdInfo) - )) -_sym_db.RegisterMessage(GmailAdInfo) - -GmailTeaser = _reflection.GeneratedProtocolMessageType('GmailTeaser', (_message.Message,), dict( - DESCRIPTOR = _GMAILTEASER, - __module__ = 'google.ads.googleads_v2.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). - - - Attributes: - headline: - Headline of the teaser. - description: - Description of the teaser. - business_name: - Business name of the advertiser. - logo_image: - The MediaFile resource name of the logo image. Valid image - 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.v2.common.GmailTeaser) - )) -_sym_db.RegisterMessage(GmailTeaser) - -DisplayCallToAction = _reflection.GeneratedProtocolMessageType('DisplayCallToAction', (_message.Message,), dict( - DESCRIPTOR = _DISPLAYCALLTOACTION, - __module__ = 'google.ads.googleads_v2.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 - phone call. - - - Attributes: - text: - Text for the display-call-to-action. - text_color: - Text color for the display-call-to-action in hexadecimal, e.g. - #ffffff for white. - url_collection_id: - 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.v2.common.DisplayCallToAction) - )) -_sym_db.RegisterMessage(DisplayCallToAction) - -ProductImage = _reflection.GeneratedProtocolMessageType('ProductImage', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTIMAGE, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """Product image specific data. - - - Attributes: - product_image: - The MediaFile resource name of the product image. Valid image - types are GIF, JPEG and PNG. The minimum size is 300x300 - pixels and the aspect ratio must be 1:1 (+-1%). - description: - Description of the product. - display_call_to_action: - Display-call-to-action of the product image. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ProductImage) - )) -_sym_db.RegisterMessage(ProductImage) - -ProductVideo = _reflection.GeneratedProtocolMessageType('ProductVideo', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTVIDEO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """Product video specific data. - - - Attributes: - product_video: - The MediaFile resource name of a video which must be hosted on - YouTube. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ProductVideo) - )) -_sym_db.RegisterMessage(ProductVideo) - -ImageAdInfo = _reflection.GeneratedProtocolMessageType('ImageAdInfo', (_message.Message,), dict( - DESCRIPTOR = _IMAGEADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """An image ad. - - - Attributes: - pixel_width: - Width in pixels of the full size image. - pixel_height: - Height in pixels of the full size image. - image_url: - URL of the full size image. - preview_pixel_width: - Width in pixels of the preview size image. - preview_pixel_height: - Height in pixels of the preview size image. - preview_image_url: - URL of the preview size image. - mime_type: - The mime type of the image. - name: - The name of the image. If the image was created from a - MediaFile, this is the MediaFile's name. If the image was - created from bytes, this is empty. - image: - The image to create the ImageAd from. This can be specified in - one of two ways. 1. An existing MediaFile resource. 2. The raw - image data as bytes. - media_file: - The MediaFile resource to use for the image. - data: - Raw image data as bytes. - ad_id_to_copy_image_from: - An ad ID to copy the image from. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ImageAdInfo) - )) -_sym_db.RegisterMessage(ImageAdInfo) - -VideoBumperInStreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoBumperInStreamAdInfo', (_message.Message,), dict( - DESCRIPTOR = _VIDEOBUMPERINSTREAMADINFO, - __module__ = 'google.ads.googleads_v2.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.v2.common.VideoBumperInStreamAdInfo) - )) -_sym_db.RegisterMessage(VideoBumperInStreamAdInfo) - -VideoNonSkippableInStreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoNonSkippableInStreamAdInfo', (_message.Message,), dict( - DESCRIPTOR = _VIDEONONSKIPPABLEINSTREAMADINFO, - __module__ = 'google.ads.googleads_v2.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.v2.common.VideoNonSkippableInStreamAdInfo) - )) -_sym_db.RegisterMessage(VideoNonSkippableInStreamAdInfo) - -VideoTrueViewInStreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoTrueViewInStreamAdInfo', (_message.Message,), dict( - DESCRIPTOR = _VIDEOTRUEVIEWINSTREAMADINFO, - __module__ = 'google.ads.googleads_v2.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 - seconds into the video). - - - Attributes: - action_button_label: - Label on the CTA (call-to-action) button taking the user to - the video ad's final URL. Required for TrueView for action - campaigns, optional otherwise. - action_headline: - Additional text displayed with the CTA (call-to-action) button - to give context and encourage clicking on the button. - companion_banner: - The MediaFile resource name of the companion banner used with - the ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.VideoTrueViewInStreamAdInfo) - )) -_sym_db.RegisterMessage(VideoTrueViewInStreamAdInfo) - -VideoOutstreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoOutstreamAdInfo', (_message.Message,), dict( - DESCRIPTOR = _VIDEOOUTSTREAMADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """Representation of video out-stream ad format (ad shown alongside a feed - with automatic playback, without sound). - - - Attributes: - headline: - The headline of the ad. - description: - The description line. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.VideoOutstreamAdInfo) - )) -_sym_db.RegisterMessage(VideoOutstreamAdInfo) - -VideoAdInfo = _reflection.GeneratedProtocolMessageType('VideoAdInfo', (_message.Message,), dict( - DESCRIPTOR = _VIDEOADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A video ad. - - - Attributes: - media_file: - The MediaFile resource to use for the video. - format: - Format-specific schema for the different video formats. - in_stream: - Video TrueView in-stream ad format. - bumper: - Video bumper in-stream ad format. - out_stream: - Video out-stream ad format. - non_skippable: - Video non-skippable in-stream ad format. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.VideoAdInfo) - )) -_sym_db.RegisterMessage(VideoAdInfo) - -ResponsiveSearchAdInfo = _reflection.GeneratedProtocolMessageType('ResponsiveSearchAdInfo', (_message.Message,), dict( - DESCRIPTOR = _RESPONSIVESEARCHADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A responsive search ad. - - Responsive search ads let you create an ad that adapts to show more - text, and more relevant messages, to your customers. Enter multiple - headlines and descriptions when creating a responsive search ad, and - over time, Google Ads will automatically test different combinations and - learn which combinations perform best. By adapting your ad's content to - more closely match potential customers' search terms, responsive search - ads may improve your campaign's performance. - - More information at https://support.google.com/google-ads/answer/7684791 - - - Attributes: - headlines: - List of text assets for headlines. When the ad serves the - headlines will be selected from this list. - descriptions: - List of text assets for descriptions. When the ad serves the - descriptions will be selected from this list. - path1: - First part of text that may appear appended to the url - displayed in the ad. - path2: - Second part of 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.v2.common.ResponsiveSearchAdInfo) - )) -_sym_db.RegisterMessage(ResponsiveSearchAdInfo) - -LegacyResponsiveDisplayAdInfo = _reflection.GeneratedProtocolMessageType('LegacyResponsiveDisplayAdInfo', (_message.Message,), dict( - DESCRIPTOR = _LEGACYRESPONSIVEDISPLAYADINFO, - __module__ = 'google.ads.googleads_v2.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. - - - Attributes: - short_headline: - The short version of the ad's headline. - long_headline: - The long version of the ad's headline. - description: - The description of the ad. - business_name: - The business name in the ad. - allow_flexible_color: - Advertiser's consent to allow flexible color. When true, the - ad may be served with different color if necessary. When - false, the ad will be served with the specified colors or a - neutral color. The default value is true. Must be true if - main\_color and accent\_color are not set. - accent_color: - The accent color of the ad in hexadecimal, e.g. #ffffff for - white. If one of main\_color and accent\_color is set, the - other is required as well. - main_color: - The main color of the ad in hexadecimal, e.g. #ffffff for - white. If one of main\_color and accent\_color is set, the - other is required as well. - call_to_action_text: - The call-to-action text for the ad. - logo_image: - The MediaFile resource name of the logo image used in the ad. - square_logo_image: - The MediaFile resource name of the square logo image used in - the ad. - marketing_image: - The MediaFile resource name of the marketing image used in the - ad. - square_marketing_image: - The MediaFile resource name of the square marketing image used - in the ad. - format_setting: - Specifies which format the ad will be served in. Default is - ALL\_FORMATS. - price_prefix: - Prefix before price. E.g. 'as low as'. - promo_text: - Promotion text used for dyanmic formats of responsive ads. For - example 'Free two-day shipping'. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.LegacyResponsiveDisplayAdInfo) - )) -_sym_db.RegisterMessage(LegacyResponsiveDisplayAdInfo) - -AppAdInfo = _reflection.GeneratedProtocolMessageType('AppAdInfo', (_message.Message,), dict( - DESCRIPTOR = _APPADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """An app ad. - - - Attributes: - mandatory_ad_text: - An optional text asset that, if specified, must always be - displayed when the ad is served. - headlines: - List of text assets for headlines. When the ad serves the - headlines will be selected from this list. - descriptions: - List of text assets for descriptions. When the ad serves the - descriptions will be selected from this list. - images: - List of image assets that may be displayed with the ad. - youtube_videos: - List of YouTube video assets that may be displayed with the - ad. - html5_media_bundles: - List of media bundle assets that may be used with the ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AppAdInfo) - )) -_sym_db.RegisterMessage(AppAdInfo) - -AppEngagementAdInfo = _reflection.GeneratedProtocolMessageType('AppEngagementAdInfo', (_message.Message,), dict( - DESCRIPTOR = _APPENGAGEMENTADINFO, - __module__ = 'google.ads.googleads_v2.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. - They allow you to send users to a specific part of your app where they - can find what they're looking for easier and faster. - - - Attributes: - headlines: - List of text assets for headlines. When the ad serves the - headlines will be selected from this list. - descriptions: - List of text assets for descriptions. When the ad serves the - descriptions will be selected from this list. - images: - List of image assets that may be displayed with the ad. - videos: - List of video assets that may be displayed with the ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AppEngagementAdInfo) - )) -_sym_db.RegisterMessage(AppEngagementAdInfo) - -LegacyAppInstallAdInfo = _reflection.GeneratedProtocolMessageType('LegacyAppInstallAdInfo', (_message.Message,), dict( - DESCRIPTOR = _LEGACYAPPINSTALLADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A legacy app install ad that only can be used by a few select customers. - - - Attributes: - app_id: - The id of the mobile app. - app_store: - The app store the mobile app is available in. - headline: - The headline of the ad. - description1: - The first description line of the ad. - description2: - The second description line of the ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.LegacyAppInstallAdInfo) - )) -_sym_db.RegisterMessage(LegacyAppInstallAdInfo) - -ResponsiveDisplayAdInfo = _reflection.GeneratedProtocolMessageType('ResponsiveDisplayAdInfo', (_message.Message,), dict( - DESCRIPTOR = _RESPONSIVEDISPLAYADINFO, - __module__ = 'google.ads.googleads_v2.proto.common.ad_type_infos_pb2' - , - __doc__ = """A responsive display ad. - - - Attributes: - marketing_images: - Marketing images to be used in the ad. Valid image types are - GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect - ratio must be 1.91:1 (+-1%). At least one marketing\_image is - required. Combined with square\_marketing\_images the maximum - is 15. - square_marketing_images: - Square marketing images to be used in the ad. Valid image - types are GIF, JPEG, and PNG. The minimum size is 300x300 and - the aspect ratio must be 1:1 (+-1%). At least one square - marketing\_image is required. Combined with marketing\_images - the maximum is 15. - logo_images: - Logo images to be used in the ad. Valid image types are GIF, - JPEG, and PNG. The minimum size is 512x128 and the aspect - ratio must be 4:1 (+-1%). Combined with square\_logo\_images - the maximum is 5. - square_logo_images: - Square logo images to be used in the ad. Valid image types are - GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect - ratio must be 1:1 (+-1%). Combined with square\_logo\_images - the maximum is 5. - headlines: - Short format headlines for the ad. The maximum length is 30 - characters. At least 1 and max 5 headlines can be specified. - long_headline: - A required long format headline. The maximum length is 90 - characters. - descriptions: - 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 - be specified. - business_name: - The advertiser/brand name. Maximum display width is 25. - main_color: - The main color of the ad in hexadecimal, e.g. #ffffff for - white. If one of main\_color and accent\_color is set, the - other is required as well. - accent_color: - The accent color of the ad in hexadecimal, e.g. #ffffff for - white. If one of main\_color and accent\_color is set, the - other is required as well. - allow_flexible_color: - Advertiser's consent to allow flexible color. When true, the - ad may be served with different color if necessary. When - false, the ad will be served with the specified colors or a - neutral color. The default value is true. Must be true if - main\_color and accent\_color are not set. - call_to_action_text: - The call-to-action text for the ad. Maximum display width is - 30. - price_prefix: - Prefix before price. E.g. 'as low as'. - promo_text: - Promotion text used for dyanmic formats of responsive ads. For - example 'Free two-day shipping'. - format_setting: - Specifies which format the ad will be served in. Default is - ALL\_FORMATS. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ResponsiveDisplayAdInfo) - )) -_sym_db.RegisterMessage(ResponsiveDisplayAdInfo) - -DisplayUploadAdInfo = _reflection.GeneratedProtocolMessageType('DisplayUploadAdInfo', (_message.Message,), dict( - DESCRIPTOR = _DISPLAYUPLOADADINFO, - __module__ = 'google.ads.googleads_v2.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 - data need to be included with the ad. - - - Attributes: - display_upload_product_type: - The product type of this ad. See comments on the enum for - details. - media_asset: - The asset data that makes up the ad. - media_bundle: - A media bundle asset to be used in the ad. For information - about the media bundle for HTML5\_UPLOAD\_AD see - https://support.google.com/google-ads/answer/1722096 Media - bundles that are part of dynamic product types use a special - format that needs to be created through the Google Web - Designer. See - https://support.google.com/webdesigner/answer/7543898 for more - information. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.DisplayUploadAdInfo) - )) -_sym_db.RegisterMessage(DisplayUploadAdInfo) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/ad_type_infos_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/ad_type_infos_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/ad_type_infos_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/asset_types_pb2.py b/google/ads/google_ads/v2/proto/common/asset_types_pb2.py deleted file mode 100644 index 8301983e7..000000000 --- a/google/ads/google_ads/v2/proto/common/asset_types_pb2.py +++ /dev/null @@ -1,331 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/asset_types.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.v2.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/asset_types.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\017AssetTypesProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/common/asset_types.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x33google/ads/googleads_v2/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.v2.enums.MimeTypeEnum.MimeType\x12\x41\n\tfull_size\x18\x04 \x01(\x0b\x32..google.ads.googleads.v2.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.v2.commonB\x0f\x41ssetTypesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.common.YoutubeVideoAsset', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='youtube_video_id', full_name='google.ads.googleads.v2.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, - 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=280, -) - - -_MEDIABUNDLEASSET = _descriptor.Descriptor( - name='MediaBundleAsset', - full_name='google.ads.googleads.v2.common.MediaBundleAsset', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='data', full_name='google.ads.googleads.v2.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, - 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=282, - serialized_end=343, -) - - -_IMAGEASSET = _descriptor.Descriptor( - name='ImageAsset', - full_name='google.ads.googleads.v2.common.ImageAsset', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='data', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=346, - serialized_end=589, -) - - -_IMAGEDIMENSION = _descriptor.Descriptor( - name='ImageDimension', - full_name='google.ads.googleads.v2.common.ImageDimension', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='height_pixels', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=592, - serialized_end=754, -) - - -_TEXTASSET = _descriptor.Descriptor( - name='TextAsset', - full_name='google.ads.googleads.v2.common.TextAsset', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v2.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, - 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=756, - serialized_end=811, -) - -_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__v2_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 -_IMAGEDIMENSION.fields_by_name['url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_TEXTASSET.fields_by_name['text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['YoutubeVideoAsset'] = _YOUTUBEVIDEOASSET -DESCRIPTOR.message_types_by_name['MediaBundleAsset'] = _MEDIABUNDLEASSET -DESCRIPTOR.message_types_by_name['ImageAsset'] = _IMAGEASSET -DESCRIPTOR.message_types_by_name['ImageDimension'] = _IMAGEDIMENSION -DESCRIPTOR.message_types_by_name['TextAsset'] = _TEXTASSET -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -YoutubeVideoAsset = _reflection.GeneratedProtocolMessageType('YoutubeVideoAsset', (_message.Message,), dict( - DESCRIPTOR = _YOUTUBEVIDEOASSET, - __module__ = 'google.ads.googleads_v2.proto.common.asset_types_pb2' - , - __doc__ = """A YouTube asset. - - - Attributes: - youtube_video_id: - YouTube video id. This is the 11 character string value used - in the YouTube video URL. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.YoutubeVideoAsset) - )) -_sym_db.RegisterMessage(YoutubeVideoAsset) - -MediaBundleAsset = _reflection.GeneratedProtocolMessageType('MediaBundleAsset', (_message.Message,), dict( - DESCRIPTOR = _MEDIABUNDLEASSET, - __module__ = 'google.ads.googleads_v2.proto.common.asset_types_pb2' - , - __doc__ = """A MediaBundle asset. - - - Attributes: - data: - Media bundle (ZIP file) asset data. The format of the uploaded - ZIP file depends on the ad field where it will be used. For - more information on the format, see the documentation of the - ad field where you plan on using the MediaBundleAsset. This - field is mutate only. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.MediaBundleAsset) - )) -_sym_db.RegisterMessage(MediaBundleAsset) - -ImageAsset = _reflection.GeneratedProtocolMessageType('ImageAsset', (_message.Message,), dict( - DESCRIPTOR = _IMAGEASSET, - __module__ = 'google.ads.googleads_v2.proto.common.asset_types_pb2' - , - __doc__ = """An Image asset. - - - Attributes: - data: - The raw bytes data of an image. This field is mutate only. - file_size: - File size of the image asset in bytes. - mime_type: - MIME type of the image asset. - full_size: - Metadata for this image at its original size. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ImageAsset) - )) -_sym_db.RegisterMessage(ImageAsset) - -ImageDimension = _reflection.GeneratedProtocolMessageType('ImageDimension', (_message.Message,), dict( - DESCRIPTOR = _IMAGEDIMENSION, - __module__ = 'google.ads.googleads_v2.proto.common.asset_types_pb2' - , - __doc__ = """Metadata for an image at a certain size, either original or resized. - - - Attributes: - height_pixels: - Height of the image. - width_pixels: - Width of the image. - url: - A URL that returns the image with this height and width. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ImageDimension) - )) -_sym_db.RegisterMessage(ImageDimension) - -TextAsset = _reflection.GeneratedProtocolMessageType('TextAsset', (_message.Message,), dict( - DESCRIPTOR = _TEXTASSET, - __module__ = 'google.ads.googleads_v2.proto.common.asset_types_pb2' - , - __doc__ = """A Text asset. - - - Attributes: - text: - Text content of the text asset. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.TextAsset) - )) -_sym_db.RegisterMessage(TextAsset) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/asset_types_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/asset_types_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/asset_types_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/bidding_pb2.py b/google/ads/google_ads/v2/proto/common/bidding_pb2.py deleted file mode 100644 index c1da69ca0..000000000 --- a/google/ads/google_ads/v2/proto/common/bidding_pb2.py +++ /dev/null @@ -1,933 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/bidding.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.v2.proto.enums import page_one_promoted_strategy_goal_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_page__one__promoted__strategy__goal__pb2 -from google.ads.google_ads.v2.proto.enums import target_impression_share_location_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/bidding.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\014BiddingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n2google/ads/googleads_v2/proto/common/bidding.proto\x12\x1egoogle.ads.googleads.v2.common\x1aIgoogle/ads/googleads_v2/proto/enums/page_one_promoted_strategy_goal.proto\x1aJgoogle/ads/googleads_v2/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.v2.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.v2.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.v2.commonB\x0c\x42iddingProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_page__one__promoted__strategy__goal__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.Commission', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='commission_rate_micros', full_name='google.ads.googleads.v2.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, - 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=372, -) - - -_ENHANCEDCPC = _descriptor.Descriptor( - name='EnhancedCpc', - full_name='google.ads.googleads.v2.common.EnhancedCpc', - 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=374, - serialized_end=387, -) - - -_MANUALCPC = _descriptor.Descriptor( - name='ManualCpc', - full_name='google.ads.googleads.v2.common.ManualCpc', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='enhanced_cpc_enabled', full_name='google.ads.googleads.v2.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, - 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=389, - serialized_end=458, -) - - -_MANUALCPM = _descriptor.Descriptor( - name='ManualCpm', - full_name='google.ads.googleads.v2.common.ManualCpm', - 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=460, - serialized_end=471, -) - - -_MANUALCPV = _descriptor.Descriptor( - name='ManualCpv', - full_name='google.ads.googleads.v2.common.ManualCpv', - 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=473, - serialized_end=484, -) - - -_MAXIMIZECONVERSIONS = _descriptor.Descriptor( - name='MaximizeConversions', - full_name='google.ads.googleads.v2.common.MaximizeConversions', - 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=486, - serialized_end=507, -) - - -_MAXIMIZECONVERSIONVALUE = _descriptor.Descriptor( - name='MaximizeConversionValue', - full_name='google.ads.googleads.v2.common.MaximizeConversionValue', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='target_roas', full_name='google.ads.googleads.v2.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, - 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=509, - serialized_end=585, -) - - -_PAGEONEPROMOTED = _descriptor.Descriptor( - name='PageOnePromoted', - full_name='google.ads.googleads.v2.common.PageOnePromoted', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='strategy_goal', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, -) - - -_TARGETCPA = _descriptor.Descriptor( - name='TargetCpa', - full_name='google.ads.googleads.v2.common.TargetCpa', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='target_cpa_micros', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=1045, - serialized_end=1232, -) - - -_TARGETCPM = _descriptor.Descriptor( - name='TargetCpm', - full_name='google.ads.googleads.v2.common.TargetCpm', - 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=1234, - serialized_end=1245, -) - - -_TARGETIMPRESSIONSHARE = _descriptor.Descriptor( - name='TargetImpressionShare', - full_name='google.ads.googleads.v2.common.TargetImpressionShare', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='location', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=1248, - serialized_end=1509, -) - - -_TARGETOUTRANKSHARE = _descriptor.Descriptor( - name='TargetOutrankShare', - full_name='google.ads.googleads.v2.common.TargetOutrankShare', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='target_outrank_share_micros', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, -) - - -_TARGETROAS = _descriptor.Descriptor( - name='TargetRoas', - full_name='google.ads.googleads.v2.common.TargetRoas', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='target_roas', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=2036, -) - - -_TARGETSPEND = _descriptor.Descriptor( - name='TargetSpend', - full_name='google.ads.googleads.v2.common.TargetSpend', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='target_spend_micros', full_name='google.ads.googleads.v2.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.v2.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, - 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=2039, - serialized_end=2171, -) - - -_PERCENTCPC = _descriptor.Descriptor( - name='PercentCpc', - full_name='google.ads.googleads.v2.common.PercentCpc', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v2.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.v2.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, - 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=2174, - serialized_end=2305, -) - -_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__v2_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__v2_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 -_TARGETSPEND.fields_by_name['target_spend_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_TARGETSPEND.fields_by_name['cpc_bid_ceiling_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_PERCENTCPC.fields_by_name['cpc_bid_ceiling_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_PERCENTCPC.fields_by_name['enhanced_cpc_enabled'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -DESCRIPTOR.message_types_by_name['Commission'] = _COMMISSION -DESCRIPTOR.message_types_by_name['EnhancedCpc'] = _ENHANCEDCPC -DESCRIPTOR.message_types_by_name['ManualCpc'] = _MANUALCPC -DESCRIPTOR.message_types_by_name['ManualCpm'] = _MANUALCPM -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 -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Commission = _reflection.GeneratedProtocolMessageType('Commission', (_message.Message,), dict( - DESCRIPTOR = _COMMISSION, - __module__ = 'google.ads.googleads_v2.proto.common.bidding_pb2' - , - __doc__ = """Commission is an automatic bidding strategy in which the advertiser pays - a certain portion of the conversion value. - - - Attributes: - commission_rate_micros: - Commission rate defines the portion of the conversion value - that the advertiser will be billed. A commission rate of x - should be passed into this field as (x \* 1,000,000). For - example, 106,000 represents a commission rate of 0.106 - (10.6%). - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Commission) - )) -_sym_db.RegisterMessage(Commission) - -EnhancedCpc = _reflection.GeneratedProtocolMessageType('EnhancedCpc', (_message.Message,), dict( - DESCRIPTOR = _ENHANCEDCPC, - __module__ = 'google.ads.googleads_v2.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.v2.common.EnhancedCpc) - )) -_sym_db.RegisterMessage(EnhancedCpc) - -ManualCpc = _reflection.GeneratedProtocolMessageType('ManualCpc', (_message.Message,), dict( - DESCRIPTOR = _MANUALCPC, - __module__ = 'google.ads.googleads_v2.proto.common.bidding_pb2' - , - __doc__ = """Manual click-based bidding where user pays per click. - - - Attributes: - enhanced_cpc_enabled: - Whether bids are to be enhanced based on conversion optimizer - data. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ManualCpc) - )) -_sym_db.RegisterMessage(ManualCpc) - -ManualCpm = _reflection.GeneratedProtocolMessageType('ManualCpm', (_message.Message,), dict( - DESCRIPTOR = _MANUALCPM, - __module__ = 'google.ads.googleads_v2.proto.common.bidding_pb2' - , - __doc__ = """Manual impression-based bidding where user pays per thousand - impressions. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ManualCpm) - )) -_sym_db.RegisterMessage(ManualCpm) - -ManualCpv = _reflection.GeneratedProtocolMessageType('ManualCpv', (_message.Message,), dict( - DESCRIPTOR = _MANUALCPV, - __module__ = 'google.ads.googleads_v2.proto.common.bidding_pb2' - , - __doc__ = """View based bidding where user pays per video view. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ManualCpv) - )) -_sym_db.RegisterMessage(ManualCpv) - -MaximizeConversions = _reflection.GeneratedProtocolMessageType('MaximizeConversions', (_message.Message,), dict( - DESCRIPTOR = _MAXIMIZECONVERSIONS, - __module__ = 'google.ads.googleads_v2.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.v2.common.MaximizeConversions) - )) -_sym_db.RegisterMessage(MaximizeConversions) - -MaximizeConversionValue = _reflection.GeneratedProtocolMessageType('MaximizeConversionValue', (_message.Message,), dict( - DESCRIPTOR = _MAXIMIZECONVERSIONVALUE, - __module__ = 'google.ads.googleads_v2.proto.common.bidding_pb2' - , - __doc__ = """An automated bidding strategy which tries to maximize conversion value - given a daily budget. - - - Attributes: - target_roas: - The target return on ad spend (ROAS) option. If set, the bid - strategy will maximize revenue while averaging the target - return on ad spend. If the target ROAS is high, the bid - strategy may not be able to spend the full budget. If the - 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.v2.common.MaximizeConversionValue) - )) -_sym_db.RegisterMessage(MaximizeConversionValue) - -PageOnePromoted = _reflection.GeneratedProtocolMessageType('PageOnePromoted', (_message.Message,), dict( - DESCRIPTOR = _PAGEONEPROMOTED, - __module__ = 'google.ads.googleads_v2.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. This strategy is - deprecated. - - - 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.v2.common.PageOnePromoted) - )) -_sym_db.RegisterMessage(PageOnePromoted) - -TargetCpa = _reflection.GeneratedProtocolMessageType('TargetCpa', (_message.Message,), dict( - DESCRIPTOR = _TARGETCPA, - __module__ = 'google.ads.googleads_v2.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. - - - Attributes: - target_cpa_micros: - Average CPA target. This target should be greater than or - equal to minimum billable unit based on the currency for the - account. - 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. - cpc_bid_floor_micros: - 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.v2.common.TargetCpa) - )) -_sym_db.RegisterMessage(TargetCpa) - -TargetCpm = _reflection.GeneratedProtocolMessageType('TargetCpm', (_message.Message,), dict( - DESCRIPTOR = _TARGETCPM, - __module__ = 'google.ads.googleads_v2.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.v2.common.TargetCpm) - )) -_sym_db.RegisterMessage(TargetCpm) - -TargetImpressionShare = _reflection.GeneratedProtocolMessageType('TargetImpressionShare', (_message.Message,), dict( - DESCRIPTOR = _TARGETIMPRESSIONSHARE, - __module__ = 'google.ads.googleads_v2.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 - - - Attributes: - location: - The targeted location on the search results page. - location_fraction_micros: - The desired fraction of ads to be shown in the targeted - location in micros. E.g. 1% equals 10,000. - cpc_bid_ceiling_micros: - The highest CPC bid the automated bidding system is permitted - 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.v2.common.TargetImpressionShare) - )) -_sym_db.RegisterMessage(TargetImpressionShare) - -TargetOutrankShare = _reflection.GeneratedProtocolMessageType('TargetOutrankShare', (_message.Message,), dict( - DESCRIPTOR = _TARGETOUTRANKSHARE, - __module__ = 'google.ads.googleads_v2.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. This strategy is deprecated. - - - 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.v2.common.TargetOutrankShare) - )) -_sym_db.RegisterMessage(TargetOutrankShare) - -TargetRoas = _reflection.GeneratedProtocolMessageType('TargetRoas', (_message.Message,), dict( - DESCRIPTOR = _TARGETROAS, - __module__ = 'google.ads.googleads_v2.proto.common.bidding_pb2' - , - __doc__ = """An automated bidding strategy that helps you maximize revenue while - averaging a specific target return on ad spend (ROAS). - - - Attributes: - target_roas: - Required. The desired revenue (based on conversion data) per - unit of spend. Value must be between 0.01 and 1000.0, - inclusive. - 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. - cpc_bid_floor_micros: - 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.v2.common.TargetRoas) - )) -_sym_db.RegisterMessage(TargetRoas) - -TargetSpend = _reflection.GeneratedProtocolMessageType('TargetSpend', (_message.Message,), dict( - DESCRIPTOR = _TARGETSPEND, - __module__ = 'google.ads.googleads_v2.proto.common.bidding_pb2' - , - __doc__ = """An automated bid strategy that sets your bids to help get as many clicks - as possible within your budget. - - - Attributes: - target_spend_micros: - The spend target under which to maximize clicks. A TargetSpend - bidder will attempt to spend the smaller of this value or the - natural throttling spend amount. If not specified, the budget - is used as the spend target. - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.TargetSpend) - )) -_sym_db.RegisterMessage(TargetSpend) - -PercentCpc = _reflection.GeneratedProtocolMessageType('PercentCpc', (_message.Message,), dict( - DESCRIPTOR = _PERCENTCPC, - __module__ = 'google.ads.googleads_v2.proto.common.bidding_pb2' - , - __doc__ = """A bidding strategy where bids are a fraction of the advertised price for - some good or service. - - - Attributes: - cpc_bid_ceiling_micros: - Maximum bid limit that can be set by the bid strategy. This is - an optional field entered by the advertiser and specified in - local micros. Note: A zero value is interpreted in the same - way as having bid\_ceiling undefined. - enhanced_cpc_enabled: - Adjusts the bid for each auction upward or downward, depending - on the likelihood of a conversion. Individual bids may exceed - cpc\_bid\_ceiling\_micros, but the average bid amount for a - campaign should not. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PercentCpc) - )) -_sym_db.RegisterMessage(PercentCpc) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/bidding_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/bidding_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/bidding_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/click_location_pb2.py b/google/ads/google_ads/v2/proto/common/click_location_pb2.py deleted file mode 100644 index 2cc0fa886..000000000 --- a/google/ads/google_ads/v2/proto/common/click_location_pb2.py +++ /dev/null @@ -1,124 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/click_location.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_v2/proto/common/click_location.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\022ClickLocationProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/common/click_location.proto\x12\x1egoogle.ads.googleads.v2.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.v2.commonB\x12\x43lickLocationProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CLICKLOCATION = _descriptor.Descriptor( - name='ClickLocation', - full_name='google.ads.googleads.v2.common.ClickLocation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='city', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=156, - serialized_end=406, -) - -_CLICKLOCATION.fields_by_name['city'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKLOCATION.fields_by_name['country'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKLOCATION.fields_by_name['metro'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKLOCATION.fields_by_name['most_specific'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKLOCATION.fields_by_name['region'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['ClickLocation'] = _CLICKLOCATION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ClickLocation = _reflection.GeneratedProtocolMessageType('ClickLocation', (_message.Message,), dict( - DESCRIPTOR = _CLICKLOCATION, - __module__ = 'google.ads.googleads_v2.proto.common.click_location_pb2' - , - __doc__ = """Location criteria associated with a click. - - - Attributes: - city: - The city location criterion associated with the impression. - country: - The country location criterion associated with the impression. - metro: - The metro location criterion associated with the impression. - most_specific: - The most specific location criterion associated with the - impression. - region: - The region location criterion associated with the impression. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ClickLocation) - )) -_sym_db.RegisterMessage(ClickLocation) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/click_location_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/click_location_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/click_location_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/criteria_pb2.py b/google/ads/google_ads/v2/proto/common/criteria_pb2.py deleted file mode 100644 index b4106592a..000000000 --- a/google/ads/google_ads/v2/proto/common/criteria_pb2.py +++ /dev/null @@ -1,3198 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/criteria.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.v2.proto.enums import age_range_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_age__range__type__pb2 -from google.ads.google_ads.v2.proto.enums import app_payment_model_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_app__payment__model__type__pb2 -from google.ads.google_ads.v2.proto.enums import content_label_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_content__label__type__pb2 -from google.ads.google_ads.v2.proto.enums import day_of_week_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_day__of__week__pb2 -from google.ads.google_ads.v2.proto.enums import device_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_device__pb2 -from google.ads.google_ads.v2.proto.enums import gender_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_gender__type__pb2 -from google.ads.google_ads.v2.proto.enums import hotel_date_selection_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2 -from google.ads.google_ads.v2.proto.enums import income_range_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_income__range__type__pb2 -from google.ads.google_ads.v2.proto.enums import interaction_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_interaction__type__pb2 -from google.ads.google_ads.v2.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_keyword__match__type__pb2 -from google.ads.google_ads.v2.proto.enums import listing_custom_attribute_index_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_listing__custom__attribute__index__pb2 -from google.ads.google_ads.v2.proto.enums import listing_group_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_listing__group__type__pb2 -from google.ads.google_ads.v2.proto.enums import location_group_radius_units_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_location__group__radius__units__pb2 -from google.ads.google_ads.v2.proto.enums import minute_of_hour_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_minute__of__hour__pb2 -from google.ads.google_ads.v2.proto.enums import parental_status_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_parental__status__type__pb2 -from google.ads.google_ads.v2.proto.enums import preferred_content_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_preferred__content__type__pb2 -from google.ads.google_ads.v2.proto.enums import product_bidding_category_level_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__bidding__category__level__pb2 -from google.ads.google_ads.v2.proto.enums import product_channel_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__pb2 -from google.ads.google_ads.v2.proto.enums import product_channel_exclusivity_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2 -from google.ads.google_ads.v2.proto.enums import product_condition_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__condition__pb2 -from google.ads.google_ads.v2.proto.enums import product_type_level_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__type__level__pb2 -from google.ads.google_ads.v2.proto.enums import proximity_radius_units_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_proximity__radius__units__pb2 -from google.ads.google_ads.v2.proto.enums import webpage_condition_operand_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_webpage__condition__operand__pb2 -from google.ads.google_ads.v2.proto.enums import webpage_condition_operator_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/criteria.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\rCriteriaProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n3google/ads/googleads_v2/proto/common/criteria.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x38google/ads/googleads_v2/proto/enums/age_range_type.proto\x1a@google/ads/googleads_v2/proto/enums/app_payment_model_type.proto\x1agoogle/ads/googleads_v2/proto/enums/parental_status_type.proto\x1a@google/ads/googleads_v2/proto/enums/preferred_content_type.proto\x1aHgoogle/ads/googleads_v2/proto/enums/product_bidding_category_level.proto\x1a\x39google/ads/googleads_v2/proto/enums/product_channel.proto\x1a\x45google/ads/googleads_v2/proto/enums/product_channel_exclusivity.proto\x1a;google/ads/googleads_v2/proto/enums/product_condition.proto\x1a\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.ads.googleads.v2.enums.DeviceEnum.Device\"r\n\x14PreferredContentInfo\x12Z\n\x04type\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v2.enums.PreferredContentTypeEnum.PreferredContentType\"\xf1\x01\n\x10ListingGroupInfo\x12R\n\x04type\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v2.enums.ListingGroupTypeEnum.ListingGroupType\x12H\n\ncase_value\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v2.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.v2.common.ListingDimensionInfo\"\x9b\t\n\x14ListingDimensionInfo\x12I\n\rlisting_brand\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v2.common.ListingBrandInfoH\x00\x12?\n\x08hotel_id\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v2.common.HotelIdInfoH\x00\x12\x45\n\x0bhotel_class\x18\x03 \x01(\x0b\x32..google.ads.googleads.v2.common.HotelClassInfoH\x00\x12V\n\x14hotel_country_region\x18\x04 \x01(\x0b\x32\x36.google.ads.googleads.v2.common.HotelCountryRegionInfoH\x00\x12\x45\n\x0bhotel_state\x18\x05 \x01(\x0b\x32..google.ads.googleads.v2.common.HotelStateInfoH\x00\x12\x43\n\nhotel_city\x18\x06 \x01(\x0b\x32-.google.ads.googleads.v2.common.HotelCityInfoH\x00\x12^\n\x18listing_custom_attribute\x18\x07 \x01(\x0b\x32:.google.ads.googleads.v2.common.ListingCustomAttributeInfoH\x00\x12^\n\x18product_bidding_category\x18\r \x01(\x0b\x32:.google.ads.googleads.v2.common.ProductBiddingCategoryInfoH\x00\x12M\n\x0fproduct_channel\x18\x08 \x01(\x0b\x32\x32.google.ads.googleads.v2.common.ProductChannelInfoH\x00\x12\x64\n\x1bproduct_channel_exclusivity\x18\t \x01(\x0b\x32=.google.ads.googleads.v2.common.ProductChannelExclusivityInfoH\x00\x12Q\n\x11product_condition\x18\n \x01(\x0b\x32\x34.google.ads.googleads.v2.common.ProductConditionInfoH\x00\x12L\n\x0fproduct_item_id\x18\x0b \x01(\x0b\x32\x31.google.ads.googleads.v2.common.ProductItemIdInfoH\x00\x12G\n\x0cproduct_type\x18\x0c \x01(\x0b\x32/.google.ads.googleads.v2.common.ProductTypeInfoH\x00\x12`\n\x19unknown_listing_dimension\x18\x0e \x01(\x0b\x32;.google.ads.googleads.v2.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.v2.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.v2.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel\"g\n\x12ProductChannelInfo\x12Q\n\x07\x63hannel\x18\x01 \x01(\x0e\x32@.google.ads.googleads.v2.enums.ProductChannelEnum.ProductChannel\"\x94\x01\n\x1dProductChannelExclusivityInfo\x12s\n\x13\x63hannel_exclusivity\x18\x01 \x01(\x0e\x32V.google.ads.googleads.v2.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity\"o\n\x14ProductConditionInfo\x12W\n\tcondition\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v2.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.v2.enums.ProductTypeLevelEnum.ProductTypeLevel\"\x1d\n\x1bUnknownListingDimensionInfo\"|\n\x1aHotelDateSelectionTypeInfo\x12^\n\x04type\x18\x01 \x01(\x0e\x32P.google.ads.googleads.v2.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.v2.enums.DayOfWeekEnum.DayOfWeek\"g\n\x13InteractionTypeInfo\x12P\n\x04type\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v2.enums.InteractionTypeEnum.InteractionType\"\xe3\x02\n\x0e\x41\x64ScheduleInfo\x12R\n\x0cstart_minute\x18\x01 \x01(\x0e\x32<.google.ads.googleads.v2.enums.MinuteOfHourEnum.MinuteOfHour\x12P\n\nend_minute\x18\x02 \x01(\x0e\x32<.google.ads.googleads.v2.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.v2.enums.DayOfWeekEnum.DayOfWeek\"Z\n\x0c\x41geRangeInfo\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.google.ads.googleads.v2.enums.AgeRangeTypeEnum.AgeRangeType\"T\n\nGenderInfo\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x38.google.ads.googleads.v2.enums.GenderTypeEnum.GenderType\"c\n\x0fIncomeRangeInfo\x12P\n\x04type\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v2.enums.IncomeRangeTypeEnum.IncomeRangeType\"l\n\x12ParentalStatusInfo\x12V\n\x04type\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v2.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.v2.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.v2.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits\x12<\n\x07\x61\x64\x64ress\x18\x04 \x01(\x0b\x32+.google.ads.googleads.v2.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.v2.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.v2.common.WebpageConditionInfo\"\x93\x02\n\x14WebpageConditionInfo\x12\x63\n\x07operand\x18\x01 \x01(\x0e\x32R.google.ads.googleads.v2.enums.WebpageConditionOperandEnum.WebpageConditionOperand\x12\x66\n\x08operator\x18\x02 \x01(\x0e\x32T.google.ads.googleads.v2.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.v2.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.v2.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnitsB\xe8\x01\n\"com.google.ads.googleads.v2.commonB\rCriteriaProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_age__range__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_app__payment__model__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_content__label__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_day__of__week__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_gender__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_income__range__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_interaction__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_keyword__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_listing__custom__attribute__index__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_listing__group__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_location__group__radius__units__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_minute__of__hour__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_parental__status__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_preferred__content__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__bidding__category__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__condition__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__type__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_proximity__radius__units__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_webpage__condition__operand__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.KeywordInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v2.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.v2.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, - 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=1675, - serialized_end=1822, -) - - -_PLACEMENTINFO = _descriptor.Descriptor( - name='PlacementInfo', - full_name='google.ads.googleads.v2.common.PlacementInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='url', full_name='google.ads.googleads.v2.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, - 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=1824, - serialized_end=1882, -) - - -_MOBILEAPPCATEGORYINFO = _descriptor.Descriptor( - name='MobileAppCategoryInfo', - full_name='google.ads.googleads.v2.common.MobileAppCategoryInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='mobile_app_category_constant', full_name='google.ads.googleads.v2.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, - 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=1884, - serialized_end=1975, -) - - -_MOBILEAPPLICATIONINFO = _descriptor.Descriptor( - name='MobileApplicationInfo', - full_name='google.ads.googleads.v2.common.MobileApplicationInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='app_id', full_name='google.ads.googleads.v2.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.v2.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, - 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=1977, - serialized_end=2090, -) - - -_LOCATIONINFO = _descriptor.Descriptor( - name='LocationInfo', - full_name='google.ads.googleads.v2.common.LocationInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='geo_target_constant', full_name='google.ads.googleads.v2.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, - 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=2092, - serialized_end=2165, -) - - -_DEVICEINFO = _descriptor.Descriptor( - name='DeviceInfo', - full_name='google.ads.googleads.v2.common.DeviceInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=2167, - serialized_end=2243, -) - - -_PREFERREDCONTENTINFO = _descriptor.Descriptor( - name='PreferredContentInfo', - full_name='google.ads.googleads.v2.common.PreferredContentInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=2245, - serialized_end=2359, -) - - -_LISTINGGROUPINFO = _descriptor.Descriptor( - name='ListingGroupInfo', - full_name='google.ads.googleads.v2.common.ListingGroupInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=2362, - serialized_end=2603, -) - - -_LISTINGSCOPEINFO = _descriptor.Descriptor( - name='ListingScopeInfo', - full_name='google.ads.googleads.v2.common.ListingScopeInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='dimensions', full_name='google.ads.googleads.v2.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, - 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=2605, - serialized_end=2697, -) - - -_LISTINGDIMENSIONINFO = _descriptor.Descriptor( - name='ListingDimensionInfo', - full_name='google.ads.googleads.v2.common.ListingDimensionInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='listing_brand', full_name='google.ads.googleads.v2.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.v2.common.ListingDimensionInfo.hotel_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='hotel_class', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.hotel_class', 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='hotel_country_region', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.hotel_country_region', 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='hotel_state', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.hotel_state', 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='hotel_city', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.hotel_city', 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='listing_custom_attribute', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.listing_custom_attribute', 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='product_bidding_category', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.product_bidding_category', 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='product_channel', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.product_channel', 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='product_channel_exclusivity', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.product_channel_exclusivity', 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), - _descriptor.FieldDescriptor( - name='product_condition', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.product_condition', 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), - _descriptor.FieldDescriptor( - name='product_item_id', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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='dimension', full_name='google.ads.googleads.v2.common.ListingDimensionInfo.dimension', - index=0, containing_type=None, fields=[]), - ], - serialized_start=2700, - serialized_end=3879, -) - - -_LISTINGBRANDINFO = _descriptor.Descriptor( - name='ListingBrandInfo', - full_name='google.ads.googleads.v2.common.ListingBrandInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v2.common.ListingBrandInfo.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3881, - serialized_end=3944, -) - - -_HOTELIDINFO = _descriptor.Descriptor( - name='HotelIdInfo', - full_name='google.ads.googleads.v2.common.HotelIdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v2.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, - 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=3946, - serialized_end=4004, -) - - -_HOTELCLASSINFO = _descriptor.Descriptor( - name='HotelClassInfo', - full_name='google.ads.googleads.v2.common.HotelClassInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v2.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, - 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=4006, - serialized_end=4066, -) - - -_HOTELCOUNTRYREGIONINFO = _descriptor.Descriptor( - name='HotelCountryRegionInfo', - full_name='google.ads.googleads.v2.common.HotelCountryRegionInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='country_region_criterion', full_name='google.ads.googleads.v2.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, - 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=4068, - serialized_end=4156, -) - - -_HOTELSTATEINFO = _descriptor.Descriptor( - name='HotelStateInfo', - full_name='google.ads.googleads.v2.common.HotelStateInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='state_criterion', full_name='google.ads.googleads.v2.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, - 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=4158, - serialized_end=4229, -) - - -_HOTELCITYINFO = _descriptor.Descriptor( - name='HotelCityInfo', - full_name='google.ads.googleads.v2.common.HotelCityInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='city_criterion', full_name='google.ads.googleads.v2.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, - 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=4231, - serialized_end=4300, -) - - -_LISTINGCUSTOMATTRIBUTEINFO = _descriptor.Descriptor( - name='ListingCustomAttributeInfo', - full_name='google.ads.googleads.v2.common.ListingCustomAttributeInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v2.common.ListingCustomAttributeInfo.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.v2.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=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4303, - serialized_end=4483, -) - - -_PRODUCTBIDDINGCATEGORYINFO = _descriptor.Descriptor( - name='ProductBiddingCategoryInfo', - full_name='google.ads.googleads.v2.common.ProductBiddingCategoryInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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.v2.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.v2.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=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4486, - serialized_end=4714, -) - - -_PRODUCTCHANNELINFO = _descriptor.Descriptor( - name='ProductChannelInfo', - full_name='google.ads.googleads.v2.common.ProductChannelInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='channel', full_name='google.ads.googleads.v2.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, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4716, - serialized_end=4819, -) - - -_PRODUCTCHANNELEXCLUSIVITYINFO = _descriptor.Descriptor( - name='ProductChannelExclusivityInfo', - full_name='google.ads.googleads.v2.common.ProductChannelExclusivityInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='channel_exclusivity', full_name='google.ads.googleads.v2.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, - 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=4822, - serialized_end=4970, -) - - -_PRODUCTCONDITIONINFO = _descriptor.Descriptor( - name='ProductConditionInfo', - full_name='google.ads.googleads.v2.common.ProductConditionInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='condition', full_name='google.ads.googleads.v2.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, - 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=4972, - serialized_end=5083, -) - - -_PRODUCTITEMIDINFO = _descriptor.Descriptor( - name='ProductItemIdInfo', - full_name='google.ads.googleads.v2.common.ProductItemIdInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v2.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, - 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=5085, - serialized_end=5149, -) - - -_PRODUCTTYPEINFO = _descriptor.Descriptor( - name='ProductTypeInfo', - full_name='google.ads.googleads.v2.common.ProductTypeInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v2.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.v2.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, - 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=5152, - serialized_end=5299, -) - - -_UNKNOWNLISTINGDIMENSIONINFO = _descriptor.Descriptor( - name='UnknownListingDimensionInfo', - full_name='google.ads.googleads.v2.common.UnknownListingDimensionInfo', - 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=5301, - serialized_end=5330, -) - - -_HOTELDATESELECTIONTYPEINFO = _descriptor.Descriptor( - name='HotelDateSelectionTypeInfo', - full_name='google.ads.googleads.v2.common.HotelDateSelectionTypeInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=5332, - serialized_end=5456, -) - - -_HOTELADVANCEBOOKINGWINDOWINFO = _descriptor.Descriptor( - name='HotelAdvanceBookingWindowInfo', - full_name='google.ads.googleads.v2.common.HotelAdvanceBookingWindowInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='min_days', full_name='google.ads.googleads.v2.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.v2.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, - 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=5458, - serialized_end=5583, -) - - -_HOTELLENGTHOFSTAYINFO = _descriptor.Descriptor( - name='HotelLengthOfStayInfo', - full_name='google.ads.googleads.v2.common.HotelLengthOfStayInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='min_nights', full_name='google.ads.googleads.v2.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.v2.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, - 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=5585, - serialized_end=5706, -) - - -_HOTELCHECKINDAYINFO = _descriptor.Descriptor( - name='HotelCheckInDayInfo', - full_name='google.ads.googleads.v2.common.HotelCheckInDayInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='day_of_week', full_name='google.ads.googleads.v2.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, - 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=5708, - serialized_end=5806, -) - - -_INTERACTIONTYPEINFO = _descriptor.Descriptor( - name='InteractionTypeInfo', - full_name='google.ads.googleads.v2.common.InteractionTypeInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=5808, - serialized_end=5911, -) - - -_ADSCHEDULEINFO = _descriptor.Descriptor( - name='AdScheduleInfo', - full_name='google.ads.googleads.v2.common.AdScheduleInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='start_minute', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=5914, - serialized_end=6269, -) - - -_AGERANGEINFO = _descriptor.Descriptor( - name='AgeRangeInfo', - full_name='google.ads.googleads.v2.common.AgeRangeInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=6271, - serialized_end=6361, -) - - -_GENDERINFO = _descriptor.Descriptor( - name='GenderInfo', - full_name='google.ads.googleads.v2.common.GenderInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=6363, - serialized_end=6447, -) - - -_INCOMERANGEINFO = _descriptor.Descriptor( - name='IncomeRangeInfo', - full_name='google.ads.googleads.v2.common.IncomeRangeInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=6449, - serialized_end=6548, -) - - -_PARENTALSTATUSINFO = _descriptor.Descriptor( - name='ParentalStatusInfo', - full_name='google.ads.googleads.v2.common.ParentalStatusInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=6550, - serialized_end=6658, -) - - -_YOUTUBEVIDEOINFO = _descriptor.Descriptor( - name='YouTubeVideoInfo', - full_name='google.ads.googleads.v2.common.YouTubeVideoInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='video_id', full_name='google.ads.googleads.v2.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, - 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=6660, - serialized_end=6726, -) - - -_YOUTUBECHANNELINFO = _descriptor.Descriptor( - name='YouTubeChannelInfo', - full_name='google.ads.googleads.v2.common.YouTubeChannelInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='channel_id', full_name='google.ads.googleads.v2.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, - 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=6728, - serialized_end=6798, -) - - -_USERLISTINFO = _descriptor.Descriptor( - name='UserListInfo', - full_name='google.ads.googleads.v2.common.UserListInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='user_list', full_name='google.ads.googleads.v2.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, - 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=6800, - serialized_end=6863, -) - - -_PROXIMITYINFO = _descriptor.Descriptor( - name='ProximityInfo', - full_name='google.ads.googleads.v2.common.ProximityInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='geo_point', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=6866, - serialized_end=7154, -) - - -_GEOPOINTINFO = _descriptor.Descriptor( - name='GeoPointInfo', - full_name='google.ads.googleads.v2.common.GeoPointInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='longitude_in_micro_degrees', full_name='google.ads.googleads.v2.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.v2.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, - 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=7157, - serialized_end=7300, -) - - -_ADDRESSINFO = _descriptor.Descriptor( - name='AddressInfo', - full_name='google.ads.googleads.v2.common.AddressInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='postal_code', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=7303, - serialized_end=7683, -) - - -_TOPICINFO = _descriptor.Descriptor( - name='TopicInfo', - full_name='google.ads.googleads.v2.common.TopicInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='topic_constant', full_name='google.ads.googleads.v2.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.v2.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, - 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=7685, - serialized_end=7794, -) - - -_LANGUAGEINFO = _descriptor.Descriptor( - name='LanguageInfo', - full_name='google.ads.googleads.v2.common.LanguageInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='language_constant', full_name='google.ads.googleads.v2.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, - 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=7796, - serialized_end=7867, -) - - -_IPBLOCKINFO = _descriptor.Descriptor( - name='IpBlockInfo', - full_name='google.ads.googleads.v2.common.IpBlockInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ip_address', full_name='google.ads.googleads.v2.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, - 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=7869, - serialized_end=7932, -) - - -_CONTENTLABELINFO = _descriptor.Descriptor( - name='ContentLabelInfo', - full_name='google.ads.googleads.v2.common.ContentLabelInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=7934, - serialized_end=8036, -) - - -_CARRIERINFO = _descriptor.Descriptor( - name='CarrierInfo', - full_name='google.ads.googleads.v2.common.CarrierInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='carrier_constant', full_name='google.ads.googleads.v2.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, - 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=8038, - serialized_end=8107, -) - - -_USERINTERESTINFO = _descriptor.Descriptor( - name='UserInterestInfo', - full_name='google.ads.googleads.v2.common.UserInterestInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='user_interest_category', full_name='google.ads.googleads.v2.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, - 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=8109, - serialized_end=8189, -) - - -_WEBPAGEINFO = _descriptor.Descriptor( - name='WebpageInfo', - full_name='google.ads.googleads.v2.common.WebpageInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='criterion_name', full_name='google.ads.googleads.v2.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.v2.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, - 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=8192, - serialized_end=8333, -) - - -_WEBPAGECONDITIONINFO = _descriptor.Descriptor( - name='WebpageConditionInfo', - full_name='google.ads.googleads.v2.common.WebpageConditionInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='operand', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=8336, - serialized_end=8611, -) - - -_OPERATINGSYSTEMVERSIONINFO = _descriptor.Descriptor( - name='OperatingSystemVersionInfo', - full_name='google.ads.googleads.v2.common.OperatingSystemVersionInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='operating_system_version_constant', full_name='google.ads.googleads.v2.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, - 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=8613, - serialized_end=8714, -) - - -_APPPAYMENTMODELINFO = _descriptor.Descriptor( - name='AppPaymentModelInfo', - full_name='google.ads.googleads.v2.common.AppPaymentModelInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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, - 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=8716, - serialized_end=8827, -) - - -_MOBILEDEVICEINFO = _descriptor.Descriptor( - name='MobileDeviceInfo', - full_name='google.ads.googleads.v2.common.MobileDeviceInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='mobile_device_constant', full_name='google.ads.googleads.v2.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, - 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=8829, - serialized_end=8909, -) - - -_CUSTOMAFFINITYINFO = _descriptor.Descriptor( - name='CustomAffinityInfo', - full_name='google.ads.googleads.v2.common.CustomAffinityInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='custom_affinity', full_name='google.ads.googleads.v2.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, - 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=8911, - serialized_end=8986, -) - - -_CUSTOMINTENTINFO = _descriptor.Descriptor( - name='CustomIntentInfo', - full_name='google.ads.googleads.v2.common.CustomIntentInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='custom_intent', full_name='google.ads.googleads.v2.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, - 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=8988, - serialized_end=9059, -) - - -_LOCATIONGROUPINFO = _descriptor.Descriptor( - name='LocationGroupInfo', - full_name='google.ads.googleads.v2.common.LocationGroupInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='feed', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=9062, - serialized_end=9338, -) - -_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__v2_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__v2_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE -_PREFERREDCONTENTINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_preferred__content__type__pb2._PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE -_LISTINGGROUPINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_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_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_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'] -_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( - _LISTINGDIMENSIONINFO.fields_by_name['hotel_class']) -_LISTINGDIMENSIONINFO.fields_by_name['hotel_class'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] -_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( - _LISTINGDIMENSIONINFO.fields_by_name['hotel_country_region']) -_LISTINGDIMENSIONINFO.fields_by_name['hotel_country_region'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] -_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( - _LISTINGDIMENSIONINFO.fields_by_name['hotel_state']) -_LISTINGDIMENSIONINFO.fields_by_name['hotel_state'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] -_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_channel']) -_LISTINGDIMENSIONINFO.fields_by_name['product_channel'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] -_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( - _LISTINGDIMENSIONINFO.fields_by_name['product_channel_exclusivity']) -_LISTINGDIMENSIONINFO.fields_by_name['product_channel_exclusivity'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] -_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_item_id']) -_LISTINGDIMENSIONINFO.fields_by_name['product_item_id'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] -_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( - _LISTINGDIMENSIONINFO.fields_by_name['product_type']) -_LISTINGDIMENSIONINFO.fields_by_name['product_type'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] -_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__v2_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__v2_dot_proto_dot_enums_dot_product__bidding__category__level__pb2._PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL -_PRODUCTCHANNELINFO.fields_by_name['channel'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__pb2._PRODUCTCHANNELENUM_PRODUCTCHANNEL -_PRODUCTCHANNELEXCLUSIVITYINFO.fields_by_name['channel_exclusivity'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2._PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY -_PRODUCTCONDITIONINFO.fields_by_name['condition'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__condition__pb2._PRODUCTCONDITIONENUM_PRODUCTCONDITION -_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__v2_dot_proto_dot_enums_dot_product__type__level__pb2._PRODUCTTYPELEVELENUM_PRODUCTTYPELEVEL -_HOTELDATESELECTIONTYPEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK -_INTERACTIONTYPEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_interaction__type__pb2._INTERACTIONTYPEENUM_INTERACTIONTYPE -_ADSCHEDULEINFO.fields_by_name['start_minute'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_minute__of__hour__pb2._MINUTEOFHOURENUM_MINUTEOFHOUR -_ADSCHEDULEINFO.fields_by_name['end_minute'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK -_AGERANGEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_age__range__type__pb2._AGERANGETYPEENUM_AGERANGETYPE -_GENDERINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_gender__type__pb2._GENDERTYPEENUM_GENDERTYPE -_INCOMERANGEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_income__range__type__pb2._INCOMERANGETYPEENUM_INCOMERANGETYPE -_PARENTALSTATUSINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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 -_ADDRESSINFO.fields_by_name['postal_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADDRESSINFO.fields_by_name['province_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADDRESSINFO.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADDRESSINFO.fields_by_name['province_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADDRESSINFO.fields_by_name['street_address'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADDRESSINFO.fields_by_name['street_address2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADDRESSINFO.fields_by_name['city_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_TOPICINFO.fields_by_name['topic_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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__v2_dot_proto_dot_enums_dot_webpage__condition__operand__pb2._WEBPAGECONDITIONOPERANDENUM_WEBPAGECONDITIONOPERAND -_WEBPAGECONDITIONINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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 -DESCRIPTOR.message_types_by_name['MobileApplicationInfo'] = _MOBILEAPPLICATIONINFO -DESCRIPTOR.message_types_by_name['LocationInfo'] = _LOCATIONINFO -DESCRIPTOR.message_types_by_name['DeviceInfo'] = _DEVICEINFO -DESCRIPTOR.message_types_by_name['PreferredContentInfo'] = _PREFERREDCONTENTINFO -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['ProductChannelInfo'] = _PRODUCTCHANNELINFO -DESCRIPTOR.message_types_by_name['ProductChannelExclusivityInfo'] = _PRODUCTCHANNELEXCLUSIVITYINFO -DESCRIPTOR.message_types_by_name['ProductConditionInfo'] = _PRODUCTCONDITIONINFO -DESCRIPTOR.message_types_by_name['ProductItemIdInfo'] = _PRODUCTITEMIDINFO -DESCRIPTOR.message_types_by_name['ProductTypeInfo'] = _PRODUCTTYPEINFO -DESCRIPTOR.message_types_by_name['UnknownListingDimensionInfo'] = _UNKNOWNLISTINGDIMENSIONINFO -DESCRIPTOR.message_types_by_name['HotelDateSelectionTypeInfo'] = _HOTELDATESELECTIONTYPEINFO -DESCRIPTOR.message_types_by_name['HotelAdvanceBookingWindowInfo'] = _HOTELADVANCEBOOKINGWINDOWINFO -DESCRIPTOR.message_types_by_name['HotelLengthOfStayInfo'] = _HOTELLENGTHOFSTAYINFO -DESCRIPTOR.message_types_by_name['HotelCheckInDayInfo'] = _HOTELCHECKINDAYINFO -DESCRIPTOR.message_types_by_name['InteractionTypeInfo'] = _INTERACTIONTYPEINFO -DESCRIPTOR.message_types_by_name['AdScheduleInfo'] = _ADSCHEDULEINFO -DESCRIPTOR.message_types_by_name['AgeRangeInfo'] = _AGERANGEINFO -DESCRIPTOR.message_types_by_name['GenderInfo'] = _GENDERINFO -DESCRIPTOR.message_types_by_name['IncomeRangeInfo'] = _INCOMERANGEINFO -DESCRIPTOR.message_types_by_name['ParentalStatusInfo'] = _PARENTALSTATUSINFO -DESCRIPTOR.message_types_by_name['YouTubeVideoInfo'] = _YOUTUBEVIDEOINFO -DESCRIPTOR.message_types_by_name['YouTubeChannelInfo'] = _YOUTUBECHANNELINFO -DESCRIPTOR.message_types_by_name['UserListInfo'] = _USERLISTINFO -DESCRIPTOR.message_types_by_name['ProximityInfo'] = _PROXIMITYINFO -DESCRIPTOR.message_types_by_name['GeoPointInfo'] = _GEOPOINTINFO -DESCRIPTOR.message_types_by_name['AddressInfo'] = _ADDRESSINFO -DESCRIPTOR.message_types_by_name['TopicInfo'] = _TOPICINFO -DESCRIPTOR.message_types_by_name['LanguageInfo'] = _LANGUAGEINFO -DESCRIPTOR.message_types_by_name['IpBlockInfo'] = _IPBLOCKINFO -DESCRIPTOR.message_types_by_name['ContentLabelInfo'] = _CONTENTLABELINFO -DESCRIPTOR.message_types_by_name['CarrierInfo'] = _CARRIERINFO -DESCRIPTOR.message_types_by_name['UserInterestInfo'] = _USERINTERESTINFO -DESCRIPTOR.message_types_by_name['WebpageInfo'] = _WEBPAGEINFO -DESCRIPTOR.message_types_by_name['WebpageConditionInfo'] = _WEBPAGECONDITIONINFO -DESCRIPTOR.message_types_by_name['OperatingSystemVersionInfo'] = _OPERATINGSYSTEMVERSIONINFO -DESCRIPTOR.message_types_by_name['AppPaymentModelInfo'] = _APPPAYMENTMODELINFO -DESCRIPTOR.message_types_by_name['MobileDeviceInfo'] = _MOBILEDEVICEINFO -DESCRIPTOR.message_types_by_name['CustomAffinityInfo'] = _CUSTOMAFFINITYINFO -DESCRIPTOR.message_types_by_name['CustomIntentInfo'] = _CUSTOMINTENTINFO -DESCRIPTOR.message_types_by_name['LocationGroupInfo'] = _LOCATIONGROUPINFO -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordInfo = _reflection.GeneratedProtocolMessageType('KeywordInfo', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A keyword criterion. - - - Attributes: - text: - The text of the keyword (at most 80 characters and 10 words). - match_type: - The match type of the keyword. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.KeywordInfo) - )) -_sym_db.RegisterMessage(KeywordInfo) - -PlacementInfo = _reflection.GeneratedProtocolMessageType('PlacementInfo', (_message.Message,), dict( - DESCRIPTOR = _PLACEMENTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A placement criterion. This can be used to modify bids for sites when - targeting the content network. - - - Attributes: - url: - URL of the placement. For example, "http://www.domain.com". - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PlacementInfo) - )) -_sym_db.RegisterMessage(PlacementInfo) - -MobileAppCategoryInfo = _reflection.GeneratedProtocolMessageType('MobileAppCategoryInfo', (_message.Message,), dict( - DESCRIPTOR = _MOBILEAPPCATEGORYINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A mobile app category criterion. - - - Attributes: - mobile_app_category_constant: - The mobile app category constant resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.MobileAppCategoryInfo) - )) -_sym_db.RegisterMessage(MobileAppCategoryInfo) - -MobileApplicationInfo = _reflection.GeneratedProtocolMessageType('MobileApplicationInfo', (_message.Message,), dict( - DESCRIPTOR = _MOBILEAPPLICATIONINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A mobile application criterion. - - - Attributes: - app_id: - A string that uniquely identifies a mobile application to - Google Ads API. The format of this string is - "{platform}-{platform\_native\_id}", where platform is "1" for - iOS apps and "2" for Android apps, and where - platform\_native\_id is the mobile application identifier - 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. - name: - Name of this mobile application. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.MobileApplicationInfo) - )) -_sym_db.RegisterMessage(MobileApplicationInfo) - -LocationInfo = _reflection.GeneratedProtocolMessageType('LocationInfo', (_message.Message,), dict( - DESCRIPTOR = _LOCATIONINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A location criterion. - - - Attributes: - geo_target_constant: - The geo target constant resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.LocationInfo) - )) -_sym_db.RegisterMessage(LocationInfo) - -DeviceInfo = _reflection.GeneratedProtocolMessageType('DeviceInfo', (_message.Message,), dict( - DESCRIPTOR = _DEVICEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A device criterion. - - - Attributes: - type: - Type of the device. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.DeviceInfo) - )) -_sym_db.RegisterMessage(DeviceInfo) - -PreferredContentInfo = _reflection.GeneratedProtocolMessageType('PreferredContentInfo', (_message.Message,), dict( - DESCRIPTOR = _PREFERREDCONTENTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A preferred content criterion. - - - Attributes: - type: - Type of the preferred content. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PreferredContentInfo) - )) -_sym_db.RegisterMessage(PreferredContentInfo) - -ListingGroupInfo = _reflection.GeneratedProtocolMessageType('ListingGroupInfo', (_message.Message,), dict( - DESCRIPTOR = _LISTINGGROUPINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A listing group criterion. - - - Attributes: - type: - Type of the listing group. - case_value: - Dimension value with which this listing group is refining its - parent. Undefined for the root group. - parent_ad_group_criterion: - 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.v2.common.ListingGroupInfo) - )) -_sym_db.RegisterMessage(ListingGroupInfo) - -ListingScopeInfo = _reflection.GeneratedProtocolMessageType('ListingScopeInfo', (_message.Message,), dict( - DESCRIPTOR = _LISTINGSCOPEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A listing scope criterion. - - - Attributes: - dimensions: - Scope of the campaign criterion. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ListingScopeInfo) - )) -_sym_db.RegisterMessage(ListingScopeInfo) - -ListingDimensionInfo = _reflection.GeneratedProtocolMessageType('ListingDimensionInfo', (_message.Message,), dict( - DESCRIPTOR = _LISTINGDIMENSIONINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Listing dimensions for listing group criterion. - - - 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: - Class of the hotel as a number of stars 1 to 5. - hotel_country_region: - Country or Region the hotel is located in. - hotel_state: - 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_channel: - Locality of a product offer. - product_channel_exclusivity: - Availability of a product offer. - product_condition: - Condition of a product offer. - product_item_id: - Item id of a product offer. - product_type: - Type of a product offer. - unknown_listing_dimension: - Unknown dimension. Set when no other listing dimension is set. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ListingDimensionInfo) - )) -_sym_db.RegisterMessage(ListingDimensionInfo) - -ListingBrandInfo = _reflection.GeneratedProtocolMessageType('ListingBrandInfo', (_message.Message,), dict( - DESCRIPTOR = _LISTINGBRANDINFO, - __module__ = 'google.ads.googleads_v2.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.v2.common.ListingBrandInfo) - )) -_sym_db.RegisterMessage(ListingBrandInfo) - -HotelIdInfo = _reflection.GeneratedProtocolMessageType('HotelIdInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELIDINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Advertiser-specific hotel ID. - - - Attributes: - value: - String value of the hotel ID. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelIdInfo) - )) -_sym_db.RegisterMessage(HotelIdInfo) - -HotelClassInfo = _reflection.GeneratedProtocolMessageType('HotelClassInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELCLASSINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Class of the hotel as a number of stars 1 to 5. - - - Attributes: - value: - Long value of the hotel class. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelClassInfo) - )) -_sym_db.RegisterMessage(HotelClassInfo) - -HotelCountryRegionInfo = _reflection.GeneratedProtocolMessageType('HotelCountryRegionInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELCOUNTRYREGIONINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Country or Region the hotel is located in. - - - Attributes: - country_region_criterion: - The Geo Target Constant resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelCountryRegionInfo) - )) -_sym_db.RegisterMessage(HotelCountryRegionInfo) - -HotelStateInfo = _reflection.GeneratedProtocolMessageType('HotelStateInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELSTATEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """State the hotel is located in. - - - Attributes: - state_criterion: - The Geo Target Constant resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelStateInfo) - )) -_sym_db.RegisterMessage(HotelStateInfo) - -HotelCityInfo = _reflection.GeneratedProtocolMessageType('HotelCityInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELCITYINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """City the hotel is located in. - - - Attributes: - city_criterion: - The Geo Target Constant resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelCityInfo) - )) -_sym_db.RegisterMessage(HotelCityInfo) - -ListingCustomAttributeInfo = _reflection.GeneratedProtocolMessageType('ListingCustomAttributeInfo', (_message.Message,), dict( - DESCRIPTOR = _LISTINGCUSTOMATTRIBUTEINFO, - __module__ = 'google.ads.googleads_v2.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.v2.common.ListingCustomAttributeInfo) - )) -_sym_db.RegisterMessage(ListingCustomAttributeInfo) - -ProductBiddingCategoryInfo = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryInfo', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTBIDDINGCATEGORYINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Bidding category of a product offer. - - - Attributes: - 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. It must match the - campaign.shopping\_setting.sales\_country field. - level: - Level of the product bidding category. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ProductBiddingCategoryInfo) - )) -_sym_db.RegisterMessage(ProductBiddingCategoryInfo) - -ProductChannelInfo = _reflection.GeneratedProtocolMessageType('ProductChannelInfo', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTCHANNELINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Locality of a product offer. - - - Attributes: - channel: - Value of the locality. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ProductChannelInfo) - )) -_sym_db.RegisterMessage(ProductChannelInfo) - -ProductChannelExclusivityInfo = _reflection.GeneratedProtocolMessageType('ProductChannelExclusivityInfo', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTCHANNELEXCLUSIVITYINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Availability of a product offer. - - - Attributes: - channel_exclusivity: - Value of the availability. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ProductChannelExclusivityInfo) - )) -_sym_db.RegisterMessage(ProductChannelExclusivityInfo) - -ProductConditionInfo = _reflection.GeneratedProtocolMessageType('ProductConditionInfo', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTCONDITIONINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Condition of a product offer. - - - Attributes: - condition: - Value of the condition. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ProductConditionInfo) - )) -_sym_db.RegisterMessage(ProductConditionInfo) - -ProductItemIdInfo = _reflection.GeneratedProtocolMessageType('ProductItemIdInfo', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTITEMIDINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Item id of a product offer. - - - Attributes: - value: - Value of the id. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ProductItemIdInfo) - )) -_sym_db.RegisterMessage(ProductItemIdInfo) - -ProductTypeInfo = _reflection.GeneratedProtocolMessageType('ProductTypeInfo', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTTYPEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Type of a product offer. - - - Attributes: - value: - Value of the type. - level: - Level of the type. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ProductTypeInfo) - )) -_sym_db.RegisterMessage(ProductTypeInfo) - -UnknownListingDimensionInfo = _reflection.GeneratedProtocolMessageType('UnknownListingDimensionInfo', (_message.Message,), dict( - DESCRIPTOR = _UNKNOWNLISTINGDIMENSIONINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Unknown listing dimension. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.UnknownListingDimensionInfo) - )) -_sym_db.RegisterMessage(UnknownListingDimensionInfo) - -HotelDateSelectionTypeInfo = _reflection.GeneratedProtocolMessageType('HotelDateSelectionTypeInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELDATESELECTIONTYPEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Criterion for hotel date selection (default dates vs. user selected). - - - Attributes: - type: - Type of the hotel date selection - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelDateSelectionTypeInfo) - )) -_sym_db.RegisterMessage(HotelDateSelectionTypeInfo) - -HotelAdvanceBookingWindowInfo = _reflection.GeneratedProtocolMessageType('HotelAdvanceBookingWindowInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELADVANCEBOOKINGWINDOWINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Criterion for number of days prior to the stay the booking is being - made. - - - Attributes: - min_days: - Low end of the number of days prior to the stay. - max_days: - High end of the number of days prior to the stay. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelAdvanceBookingWindowInfo) - )) -_sym_db.RegisterMessage(HotelAdvanceBookingWindowInfo) - -HotelLengthOfStayInfo = _reflection.GeneratedProtocolMessageType('HotelLengthOfStayInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELLENGTHOFSTAYINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Criterion for length of hotel stay in nights. - - - Attributes: - min_nights: - Low end of the number of nights in the stay. - max_nights: - High end of the number of nights in the stay. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelLengthOfStayInfo) - )) -_sym_db.RegisterMessage(HotelLengthOfStayInfo) - -HotelCheckInDayInfo = _reflection.GeneratedProtocolMessageType('HotelCheckInDayInfo', (_message.Message,), dict( - DESCRIPTOR = _HOTELCHECKINDAYINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Criterion for day of the week the booking is for. - - - Attributes: - day_of_week: - The day of the week. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.HotelCheckInDayInfo) - )) -_sym_db.RegisterMessage(HotelCheckInDayInfo) - -InteractionTypeInfo = _reflection.GeneratedProtocolMessageType('InteractionTypeInfo', (_message.Message,), dict( - DESCRIPTOR = _INTERACTIONTYPEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Criterion for Interaction Type. - - - Attributes: - type: - The interaction type. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.InteractionTypeInfo) - )) -_sym_db.RegisterMessage(InteractionTypeInfo) - -AdScheduleInfo = _reflection.GeneratedProtocolMessageType('AdScheduleInfo', (_message.Message,), dict( - DESCRIPTOR = _ADSCHEDULEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Represents an AdSchedule criterion. - - AdSchedule is specified as the day of the week and a time interval - within which ads will be shown. - - No more than six AdSchedules can be added for the same day. - - - Attributes: - start_minute: - Minutes after the start hour at which this schedule starts. - This field is required for CREATE operations and is prohibited - on UPDATE operations. - end_minute: - Minutes after the end hour at which this schedule ends. The - schedule is exclusive of the end minute. This field is - required for CREATE operations and is prohibited on UPDATE - operations. - start_hour: - Starting hour in 24 hour time. This field must be between 0 - and 23, inclusive. This field is required for CREATE - operations and is prohibited on UPDATE operations. - end_hour: - Ending hour in 24 hour time; 24 signifies end of the day. This - field must be between 0 and 24, inclusive. This field is - required for CREATE operations and is prohibited on UPDATE - operations. - day_of_week: - Day of the week the schedule applies to. This field is - required for CREATE operations and is prohibited on UPDATE - operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AdScheduleInfo) - )) -_sym_db.RegisterMessage(AdScheduleInfo) - -AgeRangeInfo = _reflection.GeneratedProtocolMessageType('AgeRangeInfo', (_message.Message,), dict( - DESCRIPTOR = _AGERANGEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """An age range criterion. - - - Attributes: - type: - Type of the age range. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AgeRangeInfo) - )) -_sym_db.RegisterMessage(AgeRangeInfo) - -GenderInfo = _reflection.GeneratedProtocolMessageType('GenderInfo', (_message.Message,), dict( - DESCRIPTOR = _GENDERINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A gender criterion. - - - Attributes: - type: - Type of the gender. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.GenderInfo) - )) -_sym_db.RegisterMessage(GenderInfo) - -IncomeRangeInfo = _reflection.GeneratedProtocolMessageType('IncomeRangeInfo', (_message.Message,), dict( - DESCRIPTOR = _INCOMERANGEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """An income range criterion. - - - Attributes: - type: - Type of the income range. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.IncomeRangeInfo) - )) -_sym_db.RegisterMessage(IncomeRangeInfo) - -ParentalStatusInfo = _reflection.GeneratedProtocolMessageType('ParentalStatusInfo', (_message.Message,), dict( - DESCRIPTOR = _PARENTALSTATUSINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A parental status criterion. - - - Attributes: - type: - Type of the parental status. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ParentalStatusInfo) - )) -_sym_db.RegisterMessage(ParentalStatusInfo) - -YouTubeVideoInfo = _reflection.GeneratedProtocolMessageType('YouTubeVideoInfo', (_message.Message,), dict( - DESCRIPTOR = _YOUTUBEVIDEOINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A YouTube Video criterion. - - - Attributes: - video_id: - YouTube video id as it appears on the YouTube watch page. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.YouTubeVideoInfo) - )) -_sym_db.RegisterMessage(YouTubeVideoInfo) - -YouTubeChannelInfo = _reflection.GeneratedProtocolMessageType('YouTubeChannelInfo', (_message.Message,), dict( - DESCRIPTOR = _YOUTUBECHANNELINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A YouTube Channel criterion. - - - Attributes: - channel_id: - The YouTube uploader channel id or the channel code of a - YouTube channel. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.YouTubeChannelInfo) - )) -_sym_db.RegisterMessage(YouTubeChannelInfo) - -UserListInfo = _reflection.GeneratedProtocolMessageType('UserListInfo', (_message.Message,), dict( - DESCRIPTOR = _USERLISTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A User List criterion. Represents a user list that is defined by the - advertiser to be targeted. - - - Attributes: - user_list: - The User List resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.UserListInfo) - )) -_sym_db.RegisterMessage(UserListInfo) - -ProximityInfo = _reflection.GeneratedProtocolMessageType('ProximityInfo', (_message.Message,), dict( - DESCRIPTOR = _PROXIMITYINFO, - __module__ = 'google.ads.googleads_v2.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 - point that does not affect ad serving. - - There are two ways to create a proximity. First, by setting an address - and radius. The geo point will be automatically computed. Second, by - setting a geo point and radius. The address is an optional label that - won't be validated. - - - Attributes: - geo_point: - Latitude and longitude. - radius: - The radius of the proximity. - radius_units: - The unit of measurement of the radius. Default is KILOMETERS. - address: - Full address. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ProximityInfo) - )) -_sym_db.RegisterMessage(ProximityInfo) - -GeoPointInfo = _reflection.GeneratedProtocolMessageType('GeoPointInfo', (_message.Message,), dict( - DESCRIPTOR = _GEOPOINTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Geo point for proximity criterion. - - - Attributes: - longitude_in_micro_degrees: - Micro degrees for the longitude. - latitude_in_micro_degrees: - Micro degrees for the latitude. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.GeoPointInfo) - )) -_sym_db.RegisterMessage(GeoPointInfo) - -AddressInfo = _reflection.GeneratedProtocolMessageType('AddressInfo', (_message.Message,), dict( - DESCRIPTOR = _ADDRESSINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Address for proximity criterion. - - - Attributes: - postal_code: - Postal code. - province_code: - Province or state code. - country_code: - Country code. - province_name: - Province or state name. - street_address: - Street address line 1. - street_address2: - Street address line 2. This field is write-only. It is only - used for calculating the longitude and latitude of an address - when geo\_point is empty. - city_name: - Name of the city. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AddressInfo) - )) -_sym_db.RegisterMessage(AddressInfo) - -TopicInfo = _reflection.GeneratedProtocolMessageType('TopicInfo', (_message.Message,), dict( - DESCRIPTOR = _TOPICINFO, - __module__ = 'google.ads.googleads_v2.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 - falls (for example, "Pets & Animals/Pets/Dogs"). - - - Attributes: - topic_constant: - The Topic Constant resource name. - path: - The category to target or exclude. Each subsequent element in - the array describes a more specific sub-category. For example, - "Pets & Animals", "Pets", "Dogs" represents the "Pets & - Animals/Pets/Dogs" category. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.TopicInfo) - )) -_sym_db.RegisterMessage(TopicInfo) - -LanguageInfo = _reflection.GeneratedProtocolMessageType('LanguageInfo', (_message.Message,), dict( - DESCRIPTOR = _LANGUAGEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A language criterion. - - - Attributes: - language_constant: - The language constant resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.LanguageInfo) - )) -_sym_db.RegisterMessage(LanguageInfo) - -IpBlockInfo = _reflection.GeneratedProtocolMessageType('IpBlockInfo', (_message.Message,), dict( - DESCRIPTOR = _IPBLOCKINFO, - __module__ = 'google.ads.googleads_v2.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 - addresses (192.168.0.1/32) - masks for Class C networks (192.168.0.1/24) - - - Attributes: - ip_address: - The IP address of this IP block. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.IpBlockInfo) - )) -_sym_db.RegisterMessage(IpBlockInfo) - -ContentLabelInfo = _reflection.GeneratedProtocolMessageType('ContentLabelInfo', (_message.Message,), dict( - DESCRIPTOR = _CONTENTLABELINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Content Label for category exclusion. - - - Attributes: - type: - Content label type, required for CREATE operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.ContentLabelInfo) - )) -_sym_db.RegisterMessage(ContentLabelInfo) - -CarrierInfo = _reflection.GeneratedProtocolMessageType('CarrierInfo', (_message.Message,), dict( - DESCRIPTOR = _CARRIERINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Represents a Carrier Criterion. - - - Attributes: - carrier_constant: - The Carrier constant resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CarrierInfo) - )) -_sym_db.RegisterMessage(CarrierInfo) - -UserInterestInfo = _reflection.GeneratedProtocolMessageType('UserInterestInfo', (_message.Message,), dict( - DESCRIPTOR = _USERINTERESTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Represents a particular interest-based topic to be targeted. - - - Attributes: - user_interest_category: - The UserInterest resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.UserInterestInfo) - )) -_sym_db.RegisterMessage(UserInterestInfo) - -WebpageInfo = _reflection.GeneratedProtocolMessageType('WebpageInfo', (_message.Message,), dict( - DESCRIPTOR = _WEBPAGEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Represents a criterion for targeting webpages of an advertiser's - website. - - - Attributes: - criterion_name: - The name of the criterion that is defined by this parameter. - The name value will be used for identifying, sorting and - filtering criteria with this type of parameters. This field - is required for CREATE operations and is prohibited on UPDATE - operations. - conditions: - Conditions, or logical expressions, for webpage targeting. The - list of webpage targeting conditions are and-ed together when - evaluated for targeting. This field is required for CREATE - operations and is prohibited on UPDATE operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.WebpageInfo) - )) -_sym_db.RegisterMessage(WebpageInfo) - -WebpageConditionInfo = _reflection.GeneratedProtocolMessageType('WebpageConditionInfo', (_message.Message,), dict( - DESCRIPTOR = _WEBPAGECONDITIONINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Logical expression for targeting webpages of an advertiser's website. - - - Attributes: - operand: - Operand of webpage targeting condition. - operator: - Operator of webpage targeting condition. - argument: - Argument of webpage targeting condition. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.WebpageConditionInfo) - )) -_sym_db.RegisterMessage(WebpageConditionInfo) - -OperatingSystemVersionInfo = _reflection.GeneratedProtocolMessageType('OperatingSystemVersionInfo', (_message.Message,), dict( - DESCRIPTOR = _OPERATINGSYSTEMVERSIONINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """Represents an operating system version to be targeted. - - - Attributes: - operating_system_version_constant: - The operating system version constant resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.OperatingSystemVersionInfo) - )) -_sym_db.RegisterMessage(OperatingSystemVersionInfo) - -AppPaymentModelInfo = _reflection.GeneratedProtocolMessageType('AppPaymentModelInfo', (_message.Message,), dict( - DESCRIPTOR = _APPPAYMENTMODELINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """An app payment model criterion. - - - Attributes: - type: - Type of the app payment model. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AppPaymentModelInfo) - )) -_sym_db.RegisterMessage(AppPaymentModelInfo) - -MobileDeviceInfo = _reflection.GeneratedProtocolMessageType('MobileDeviceInfo', (_message.Message,), dict( - DESCRIPTOR = _MOBILEDEVICEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A mobile device criterion. - - - Attributes: - mobile_device_constant: - The mobile device constant resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.MobileDeviceInfo) - )) -_sym_db.RegisterMessage(MobileDeviceInfo) - -CustomAffinityInfo = _reflection.GeneratedProtocolMessageType('CustomAffinityInfo', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMAFFINITYINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A custom affinity criterion. A criterion of this type is only - targetable. - - - Attributes: - custom_affinity: - The CustomInterest resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CustomAffinityInfo) - )) -_sym_db.RegisterMessage(CustomAffinityInfo) - -CustomIntentInfo = _reflection.GeneratedProtocolMessageType('CustomIntentInfo', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMINTENTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A custom intent criterion. A criterion of this type is only targetable. - - - Attributes: - custom_intent: - The CustomInterest resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CustomIntentInfo) - )) -_sym_db.RegisterMessage(CustomIntentInfo) - -LocationGroupInfo = _reflection.GeneratedProtocolMessageType('LocationGroupInfo', (_message.Message,), dict( - DESCRIPTOR = _LOCATIONGROUPINFO, - __module__ = 'google.ads.googleads_v2.proto.common.criteria_pb2' - , - __doc__ = """A radius around a list of locations specified via a feed. - - - Attributes: - feed: - Feed specifying locations for targeting. This is required and - must be set in CREATE operations. - geo_target_constants: - Geo target constant(s) restricting the scope of the geographic - area within the feed. Currently only one geo target constant - is allowed. - radius: - Distance in units specifying the radius around targeted - locations. This is required and must be set in CREATE - operations. - radius_units: - 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.v2.common.LocationGroupInfo) - )) -_sym_db.RegisterMessage(LocationGroupInfo) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/criteria_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/criteria_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/criteria_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/criterion_category_availability_pb2.py b/google/ads/google_ads/v2/proto/common/criterion_category_availability_pb2.py deleted file mode 100644 index 21441178a..000000000 --- a/google/ads/google_ads/v2/proto/common/criterion_category_availability_pb2.py +++ /dev/null @@ -1,259 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/criterion_category_availability.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.v2.proto.enums import advertising_channel_sub_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2 -from google.ads.google_ads.v2.proto.enums import advertising_channel_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_advertising__channel__type__pb2 -from google.ads.google_ads.v2.proto.enums import criterion_category_channel_availability_mode_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2 -from google.ads.google_ads.v2.proto.enums import criterion_category_locale_availability_mode_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/criterion_category_availability.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\"CriterionCategoryAvailabilityProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/common/criterion_category_availability.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x46google/ads/googleads_v2/proto/enums/advertising_channel_sub_type.proto\x1a\x42google/ads/googleads_v2/proto/enums/advertising_channel_type.proto\x1aVgoogle/ads/googleads_v2/proto/enums/criterion_category_channel_availability_mode.proto\x1aUgoogle/ads/googleads_v2/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.v2.common.CriterionCategoryChannelAvailability\x12S\n\x06locale\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v2.common.CriterionCategoryLocaleAvailability\"\xf0\x03\n$CriterionCategoryChannelAvailability\x12\x8f\x01\n\x11\x61vailability_mode\x18\x01 \x01(\x0e\x32t.google.ads.googleads.v2.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode\x12r\n\x18\x61\x64vertising_channel_type\x18\x02 \x01(\x0e\x32P.google.ads.googleads.v2.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType\x12|\n\x1c\x61\x64vertising_channel_sub_type\x18\x03 \x03(\x0e\x32V.google.ads.googleads.v2.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.v2.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.v2.commonB\"CriterionCategoryAvailabilityProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.CriterionCategoryAvailability', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='channel', full_name='google.ads.googleads.v2.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.v2.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, - 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=488, - serialized_end=691, -) - - -_CRITERIONCATEGORYCHANNELAVAILABILITY = _descriptor.Descriptor( - name='CriterionCategoryChannelAvailability', - full_name='google.ads.googleads.v2.common.CriterionCategoryChannelAvailability', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='availability_mode', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=694, - serialized_end=1190, -) - - -_CRITERIONCATEGORYLOCALEAVAILABILITY = _descriptor.Descriptor( - name='CriterionCategoryLocaleAvailability', - full_name='google.ads.googleads.v2.common.CriterionCategoryLocaleAvailability', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='availability_mode', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=1193, - serialized_end=1479, -) - -_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__v2_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__v2_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__v2_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__v2_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 -DESCRIPTOR.message_types_by_name['CriterionCategoryChannelAvailability'] = _CRITERIONCATEGORYCHANNELAVAILABILITY -DESCRIPTOR.message_types_by_name['CriterionCategoryLocaleAvailability'] = _CRITERIONCATEGORYLOCALEAVAILABILITY -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CriterionCategoryAvailability = _reflection.GeneratedProtocolMessageType('CriterionCategoryAvailability', (_message.Message,), dict( - DESCRIPTOR = _CRITERIONCATEGORYAVAILABILITY, - __module__ = 'google.ads.googleads_v2.proto.common.criterion_category_availability_pb2' - , - __doc__ = """Information of category availability, per advertising channel. - - - Attributes: - channel: - Channel types and subtypes that are available to the category. - locale: - Locales that are available to the category for the channel. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CriterionCategoryAvailability) - )) -_sym_db.RegisterMessage(CriterionCategoryAvailability) - -CriterionCategoryChannelAvailability = _reflection.GeneratedProtocolMessageType('CriterionCategoryChannelAvailability', (_message.Message,), dict( - DESCRIPTOR = _CRITERIONCATEGORYCHANNELAVAILABILITY, - __module__ = 'google.ads.googleads_v2.proto.common.criterion_category_availability_pb2' - , - __doc__ = """Information of advertising channel type and subtypes a category is - available in. - - - Attributes: - availability_mode: - Format of the channel availability. Can be ALL\_CHANNELS (the - rest of the fields will not be set), CHANNEL\_TYPE (only - advertising\_channel\_type type will be set, the category is - available to all sub types under it) or - CHANNEL\_TYPE\_AND\_SUBTYPES (advertising\_channel\_type, - advertising\_channel\_sub\_type, and - include\_default\_channel\_sub\_type will all be set). - advertising_channel_type: - Channel type the category is available to. - advertising_channel_sub_type: - Channel subtypes under the channel type the category is - available to. - include_default_channel_sub_type: - Whether default channel sub type is included. For example, - advertising\_channel\_type being DISPLAY and - include\_default\_channel\_sub\_type being false means that - 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.v2.common.CriterionCategoryChannelAvailability) - )) -_sym_db.RegisterMessage(CriterionCategoryChannelAvailability) - -CriterionCategoryLocaleAvailability = _reflection.GeneratedProtocolMessageType('CriterionCategoryLocaleAvailability', (_message.Message,), dict( - DESCRIPTOR = _CRITERIONCATEGORYLOCALEAVAILABILITY, - __module__ = 'google.ads.googleads_v2.proto.common.criterion_category_availability_pb2' - , - __doc__ = """Information about which locales a category is available in. - - - Attributes: - availability_mode: - Format of the locale availability. Can be LAUNCHED\_TO\_ALL - (both country and language will be empty), COUNTRY (only - country will be set), LANGUAGE (only language wil be set), - COUNTRY\_AND\_LANGUAGE (both country and language will be - set). - country_code: - Code of the country. - language_code: - Code of the language. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CriterionCategoryLocaleAvailability) - )) -_sym_db.RegisterMessage(CriterionCategoryLocaleAvailability) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/criterion_category_availability_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/criterion_category_availability_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/criterion_category_availability_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/custom_parameter_pb2.py b/google/ads/google_ads/v2/proto/common/custom_parameter_pb2.py deleted file mode 100644 index 8926980e3..000000000 --- a/google/ads/google_ads/v2/proto/common/custom_parameter_pb2.py +++ /dev/null @@ -1,94 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/custom_parameter.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_v2/proto/common/custom_parameter.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\024CustomParameterProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/common/custom_parameter.proto\x12\x1egoogle.ads.googleads.v2.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.v2.commonB\x14\x43ustomParameterProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CUSTOMPARAMETER = _descriptor.Descriptor( - name='CustomParameter', - full_name='google.ads.googleads.v2.common.CustomParameter', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='google.ads.googleads.v2.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.v2.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, - 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=157, - serialized_end=262, -) - -_CUSTOMPARAMETER.fields_by_name['key'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CUSTOMPARAMETER.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['CustomParameter'] = _CUSTOMPARAMETER -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomParameter = _reflection.GeneratedProtocolMessageType('CustomParameter', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMPARAMETER, - __module__ = 'google.ads.googleads_v2.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``. - - - Attributes: - key: - The key matching the parameter tag name. - value: - The value to be substituted. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CustomParameter) - )) -_sym_db.RegisterMessage(CustomParameter) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/custom_parameter_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/custom_parameter_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/custom_parameter_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/dates_pb2.py b/google/ads/google_ads/v2/proto/common/dates_pb2.py deleted file mode 100644 index 9b30f174d..000000000 --- a/google/ads/google_ads/v2/proto/common/dates_pb2.py +++ /dev/null @@ -1,93 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/dates.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_v2/proto/common/dates.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\nDatesProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n0google/ads/googleads_v2/proto/common/dates.proto\x12\x1egoogle.ads.googleads.v2.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.v2.commonB\nDatesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_DATERANGE = _descriptor.Descriptor( - name='DateRange', - full_name='google.ads.googleads.v2.common.DateRange', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='start_date', full_name='google.ads.googleads.v2.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.v2.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, - 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=146, - serialized_end=255, -) - -_DATERANGE.fields_by_name['start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DATERANGE.fields_by_name['end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['DateRange'] = _DATERANGE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DateRange = _reflection.GeneratedProtocolMessageType('DateRange', (_message.Message,), dict( - DESCRIPTOR = _DATERANGE, - __module__ = 'google.ads.googleads_v2.proto.common.dates_pb2' - , - __doc__ = """A date range. - - - Attributes: - start_date: - The start date, in yyyy-mm-dd format. This date is inclusive. - end_date: - The end date, in yyyy-mm-dd format. This date is inclusive. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.DateRange) - )) -_sym_db.RegisterMessage(DateRange) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/dates_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/dates_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/dates_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/explorer_auto_optimizer_setting_pb2.py b/google/ads/google_ads/v2/proto/common/explorer_auto_optimizer_setting_pb2.py deleted file mode 100644 index c84151afd..000000000 --- a/google/ads/google_ads/v2/proto/common/explorer_auto_optimizer_setting_pb2.py +++ /dev/null @@ -1,85 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/common/explorer_auto_optimizer_setting.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB!ExplorerAutoOptimizerSettingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/common/explorer_auto_optimizer_setting.proto\x12\x1egoogle.ads.googleads.v2.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.v2.commonB!ExplorerAutoOptimizerSettingProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_EXPLORERAUTOOPTIMIZERSETTING = _descriptor.Descriptor( - name='ExplorerAutoOptimizerSetting', - full_name='google.ads.googleads.v2.common.ExplorerAutoOptimizerSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='opt_in', full_name='google.ads.googleads.v2.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, - 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=246, -) - -_EXPLORERAUTOOPTIMIZERSETTING.fields_by_name['opt_in'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -DESCRIPTOR.message_types_by_name['ExplorerAutoOptimizerSetting'] = _EXPLORERAUTOOPTIMIZERSETTING -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ExplorerAutoOptimizerSetting = _reflection.GeneratedProtocolMessageType('ExplorerAutoOptimizerSetting', (_message.Message,), dict( - DESCRIPTOR = _EXPLORERAUTOOPTIMIZERSETTING, - __module__ = 'google.ads.googleads_v2.proto.common.explorer_auto_optimizer_setting_pb2' - , - __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.v2.common.ExplorerAutoOptimizerSetting) - )) -_sym_db.RegisterMessage(ExplorerAutoOptimizerSetting) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/extensions_pb2.py b/google/ads/google_ads/v2/proto/common/extensions_pb2.py deleted file mode 100644 index 80f80909e..000000000 --- a/google/ads/google_ads/v2/proto/common/extensions_pb2.py +++ /dev/null @@ -1,1349 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/extensions.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.v2.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2 -from google.ads.google_ads.v2.proto.common import feed_common_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_feed__common__pb2 -from google.ads.google_ads.v2.proto.enums import app_store_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_app__store__pb2 -from google.ads.google_ads.v2.proto.enums import call_conversion_reporting_state_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2 -from google.ads.google_ads.v2.proto.enums import price_extension_price_qualifier_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2 -from google.ads.google_ads.v2.proto.enums import price_extension_price_unit_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_price__extension__price__unit__pb2 -from google.ads.google_ads.v2.proto.enums import price_extension_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_price__extension__type__pb2 -from google.ads.google_ads.v2.proto.enums import promotion_extension_discount_modifier_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2 -from google.ads.google_ads.v2.proto.enums import promotion_extension_occasion_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/extensions.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\017ExtensionsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/common/extensions.proto\x12\x1egoogle.ads.googleads.v2.common\x1a;google/ads/googleads_v2/proto/common/custom_parameter.proto\x1a\x36google/ads/googleads_v2/proto/common/feed_common.proto\x1a\x33google/ads/googleads_v2/proto/enums/app_store.proto\x1aIgoogle/ads/googleads_v2/proto/enums/call_conversion_reporting_state.proto\x1aIgoogle/ads/googleads_v2/proto/enums/price_extension_price_qualifier.proto\x1a\x44google/ads/googleads_v2/proto/enums/price_extension_price_unit.proto\x1a>google/ads/googleads_v2/proto/enums/price_extension_type.proto\x1aOgoogle/ads/googleads_v2/proto/enums/promotion_extension_discount_modifier.proto\x1a\x46google/ads/googleads_v2/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.v2.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.v2.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.v2.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.v2.enums.PriceExtensionTypeEnum.PriceExtensionType\x12u\n\x0fprice_qualifier\x18\x02 \x01(\x0e\x32\\.google.ads.googleads.v2.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.v2.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.v2.common.Money\x12`\n\x04unit\x18\x04 \x01(\x0e\x32R.google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.commonB\x0f\x45xtensionsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_feed__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_price__extension__price__unit__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_price__extension__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.AppFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='link_text', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=759, - serialized_end=1244, -) - - -_CALLFEEDITEM = _descriptor.Descriptor( - name='CallFeedItem', - full_name='google.ads.googleads.v2.common.CallFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='phone_number', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=1247, - serialized_end=1693, -) - - -_CALLOUTFEEDITEM = _descriptor.Descriptor( - name='CalloutFeedItem', - full_name='google.ads.googleads.v2.common.CalloutFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='callout_text', full_name='google.ads.googleads.v2.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, - 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=1695, - serialized_end=1764, -) - - -_LOCATIONFEEDITEM = _descriptor.Descriptor( - name='LocationFeedItem', - full_name='google.ads.googleads.v2.common.LocationFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=1767, - serialized_end=2193, -) - - -_AFFILIATELOCATIONFEEDITEM = _descriptor.Descriptor( - name='AffiliateLocationFeedItem', - full_name='google.ads.googleads.v2.common.AffiliateLocationFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=2196, - serialized_end=2728, -) - - -_TEXTMESSAGEFEEDITEM = _descriptor.Descriptor( - name='TextMessageFeedItem', - full_name='google.ads.googleads.v2.common.TextMessageFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=2731, - serialized_end=3007, -) - - -_PRICEFEEDITEM = _descriptor.Descriptor( - name='PriceFeedItem', - full_name='google.ads.googleads.v2.common.PriceFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=3010, - serialized_end=3471, -) - - -_PRICEOFFER = _descriptor.Descriptor( - name='PriceOffer', - full_name='google.ads.googleads.v2.common.PriceOffer', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='header', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=3474, - serialized_end=3842, -) - - -_PROMOTIONFEEDITEM = _descriptor.Descriptor( - name='PromotionFeedItem', - full_name='google.ads.googleads.v2.common.PromotionFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='promotion_target', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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='discount_type', full_name='google.ads.googleads.v2.common.PromotionFeedItem.discount_type', - index=0, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='promotion_trigger', full_name='google.ads.googleads.v2.common.PromotionFeedItem.promotion_trigger', - index=1, containing_type=None, fields=[]), - ], - serialized_start=3845, - serialized_end=4919, -) - - -_STRUCTUREDSNIPPETFEEDITEM = _descriptor.Descriptor( - name='StructuredSnippetFeedItem', - full_name='google.ads.googleads.v2.common.StructuredSnippetFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='header', full_name='google.ads.googleads.v2.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.v2.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, - 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=4921, - serialized_end=5040, -) - - -_SITELINKFEEDITEM = _descriptor.Descriptor( - name='SitelinkFeedItem', - full_name='google.ads.googleads.v2.common.SitelinkFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='link_text', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=5043, - serialized_end=5504, -) - - -_HOTELCALLOUTFEEDITEM = _descriptor.Descriptor( - name='HotelCalloutFeedItem', - full_name='google.ads.googleads.v2.common.HotelCalloutFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v2.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.v2.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__v2_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__v2_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__v2_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 -_LOCATIONFEEDITEM.fields_by_name['address_line_2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LOCATIONFEEDITEM.fields_by_name['city'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LOCATIONFEEDITEM.fields_by_name['province'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LOCATIONFEEDITEM.fields_by_name['postal_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LOCATIONFEEDITEM.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LOCATIONFEEDITEM.fields_by_name['phone_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['business_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['address_line_1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['address_line_2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['city'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['province'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['postal_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['phone_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['chain_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_AFFILIATELOCATIONFEEDITEM.fields_by_name['chain_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_TEXTMESSAGEFEEDITEM.fields_by_name['business_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_TEXTMESSAGEFEEDITEM.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_dot_proto_dot_enums_dot_price__extension__type__pb2._PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE -_PRICEFEEDITEM.fields_by_name['price_qualifier'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_common_dot_feed__common__pb2._MONEY -_PRICEOFFER.fields_by_name['unit'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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'] -_PROMOTIONFEEDITEM.oneofs_by_name['discount_type'].fields.append( - _PROMOTIONFEEDITEM.fields_by_name['money_amount_off']) -_PROMOTIONFEEDITEM.fields_by_name['money_amount_off'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['discount_type'] -_PROMOTIONFEEDITEM.oneofs_by_name['promotion_trigger'].fields.append( - _PROMOTIONFEEDITEM.fields_by_name['promotion_code']) -_PROMOTIONFEEDITEM.fields_by_name['promotion_code'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['promotion_trigger'] -_PROMOTIONFEEDITEM.oneofs_by_name['promotion_trigger'].fields.append( - _PROMOTIONFEEDITEM.fields_by_name['orders_over_amount']) -_PROMOTIONFEEDITEM.fields_by_name['orders_over_amount'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['promotion_trigger'] -_STRUCTUREDSNIPPETFEEDITEM.fields_by_name['header'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_STRUCTUREDSNIPPETFEEDITEM.fields_by_name['values'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SITELINKFEEDITEM.fields_by_name['link_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SITELINKFEEDITEM.fields_by_name['line1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SITELINKFEEDITEM.fields_by_name['line2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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 -DESCRIPTOR.message_types_by_name['LocationFeedItem'] = _LOCATIONFEEDITEM -DESCRIPTOR.message_types_by_name['AffiliateLocationFeedItem'] = _AFFILIATELOCATIONFEEDITEM -DESCRIPTOR.message_types_by_name['TextMessageFeedItem'] = _TEXTMESSAGEFEEDITEM -DESCRIPTOR.message_types_by_name['PriceFeedItem'] = _PRICEFEEDITEM -DESCRIPTOR.message_types_by_name['PriceOffer'] = _PRICEOFFER -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_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents an App extension. - - - Attributes: - link_text: - The visible text displayed when the link is rendered in an ad. - This string must not be empty, and the length of this string - should be between 1 and 25, inclusive. - app_id: - The store-specific ID for the target application. This string - must not be empty. - app_store: - The application store that the target application belongs to. - This field is required. - final_urls: - A list of possible final URLs after all cross domain - redirects. This list must not be empty. - final_mobile_urls: - A list of possible final mobile URLs after all cross domain - redirects. - tracking_url_template: - URL template for constructing a tracking URL. Default value is - "{lpurl}". - url_custom_parameters: - A list of mappings to be used for substituting URL custom - parameter tags in the tracking\_url\_template, final\_urls, - and/or final\_mobile\_urls. - final_url_suffix: - URL template for appending params to landing page URLs served - with parallel tracking. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AppFeedItem) - )) -_sym_db.RegisterMessage(AppFeedItem) - -CallFeedItem = _reflection.GeneratedProtocolMessageType('CallFeedItem', (_message.Message,), dict( - DESCRIPTOR = _CALLFEEDITEM, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents a Call extension. - - - Attributes: - phone_number: - The advertiser's phone number to append to the ad. This string - must not be empty. - country_code: - Uppercase two-letter country code of the advertiser's phone - number. This string must not be empty. - call_tracking_enabled: - Indicates whether call tracking is enabled. By default, call - tracking is not enabled. - call_conversion_action: - The conversion action to attribute a call conversion to. If - not set a default conversion action is used. This field only - has effect if call\_tracking\_enabled is set to true. - Otherwise this field is ignored. - call_conversion_tracking_disabled: - If true, disable call conversion tracking. - call\_conversion\_action should not be set if this is true. - Optional. - call_conversion_reporting_state: - Enum value that indicates whether this call extension uses its - own call conversion setting (or just have call conversion - disabled), or following the account level setting. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CallFeedItem) - )) -_sym_db.RegisterMessage(CallFeedItem) - -CalloutFeedItem = _reflection.GeneratedProtocolMessageType('CalloutFeedItem', (_message.Message,), dict( - DESCRIPTOR = _CALLOUTFEEDITEM, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents a callout extension. - - - Attributes: - callout_text: - The callout text. The length of this string should be between - 1 and 25, inclusive. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CalloutFeedItem) - )) -_sym_db.RegisterMessage(CalloutFeedItem) - -LocationFeedItem = _reflection.GeneratedProtocolMessageType('LocationFeedItem', (_message.Message,), dict( - DESCRIPTOR = _LOCATIONFEEDITEM, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents a location extension. - - - Attributes: - business_name: - The name of the business. - address_line_1: - Line 1 of the business address. - address_line_2: - Line 2 of the business address. - city: - City of the business address. - province: - Province of the business address. - postal_code: - Postal code of the business address. - country_code: - Country code of the business address. - phone_number: - Phone number of the business. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.LocationFeedItem) - )) -_sym_db.RegisterMessage(LocationFeedItem) - -AffiliateLocationFeedItem = _reflection.GeneratedProtocolMessageType('AffiliateLocationFeedItem', (_message.Message,), dict( - DESCRIPTOR = _AFFILIATELOCATIONFEEDITEM, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents an affiliate location extension. - - - Attributes: - business_name: - The name of the business. - address_line_1: - Line 1 of the business address. - address_line_2: - Line 2 of the business address. - city: - City of the business address. - province: - Province of the business address. - postal_code: - Postal code of the business address. - country_code: - Country code of the business address. - phone_number: - Phone number of the business. - chain_id: - Id of the retail chain that is advertised as a seller of your - product. - chain_name: - Name of chain. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.AffiliateLocationFeedItem) - )) -_sym_db.RegisterMessage(AffiliateLocationFeedItem) - -TextMessageFeedItem = _reflection.GeneratedProtocolMessageType('TextMessageFeedItem', (_message.Message,), dict( - DESCRIPTOR = _TEXTMESSAGEFEEDITEM, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """An extension that users can click on to send a text message to the - advertiser. - - - Attributes: - business_name: - The business name to prepend to the message text. This field - is required. - country_code: - Uppercase two-letter country code of the advertiser's phone - number. This field is required. - phone_number: - The advertiser's phone number the message will be sent to. - Required. - text: - The text to show in the ad. This field is required. - extension_text: - The message text populated in the messaging app. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.TextMessageFeedItem) - )) -_sym_db.RegisterMessage(TextMessageFeedItem) - -PriceFeedItem = _reflection.GeneratedProtocolMessageType('PriceFeedItem', (_message.Message,), dict( - DESCRIPTOR = _PRICEFEEDITEM, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents a Price extension. - - - Attributes: - type: - Price extension type of this extension. - price_qualifier: - Price qualifier for all offers of this price extension. - tracking_url_template: - Tracking URL template for all offers of this price extension. - language_code: - The code of the language used for this price extension. - price_offerings: - The price offerings in this price extension. - final_url_suffix: - URL template for appending params to landing page URLs served - with parallel tracking. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PriceFeedItem) - )) -_sym_db.RegisterMessage(PriceFeedItem) - -PriceOffer = _reflection.GeneratedProtocolMessageType('PriceOffer', (_message.Message,), dict( - DESCRIPTOR = _PRICEOFFER, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents one price offer in a price extension. - - - Attributes: - header: - Header text of this offer. - description: - Description text of this offer. - price: - Price value of this offer. - unit: - Price unit for this offer. - final_urls: - A list of possible final URLs after all cross domain - redirects. - final_mobile_urls: - A list of possible final mobile URLs after all cross domain - redirects. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PriceOffer) - )) -_sym_db.RegisterMessage(PriceOffer) - -PromotionFeedItem = _reflection.GeneratedProtocolMessageType('PromotionFeedItem', (_message.Message,), dict( - DESCRIPTOR = _PROMOTIONFEEDITEM, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents a Promotion extension. - - - Attributes: - promotion_target: - A freeform description of what the promotion is targeting. - This field is required. - discount_modifier: - Enum that modifies the qualification of the discount. - promotion_start_date: - Start date of when the promotion is eligible to be redeemed. - promotion_end_date: - End date of when the promotion is eligible to be redeemed. - occasion: - The occasion the promotion was intended for. If an occasion is - set, the redemption window will need to fall within the date - range associated with the occasion. - final_urls: - A list of possible final URLs after all cross domain - redirects. This field is required. - final_mobile_urls: - A list of possible final mobile URLs after all cross domain - redirects. - tracking_url_template: - URL template for constructing a tracking URL. - url_custom_parameters: - A list of mappings to be used for substituting URL custom - parameter tags in the tracking\_url\_template, final\_urls, - and/or final\_mobile\_urls. - final_url_suffix: - URL template for appending params to landing page URLs served - with parallel tracking. - language_code: - The language of the promotion. Represented as BCP 47 language - tag. - discount_type: - Discount type, can be percentage off or amount off. - percent_off: - Percentage off discount in the promotion in micros. One - million is equivalent to one percent. Either this or - money\_off\_amount is required. - money_amount_off: - Money amount off for discount in the promotion. Either this or - percent\_off is required. - promotion_trigger: - Promotion trigger. Can be by promotion code or promo by - eligible order amount. - promotion_code: - A code the user should use in order to be eligible for the - promotion. - orders_over_amount: - 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.v2.common.PromotionFeedItem) - )) -_sym_db.RegisterMessage(PromotionFeedItem) - -StructuredSnippetFeedItem = _reflection.GeneratedProtocolMessageType('StructuredSnippetFeedItem', (_message.Message,), dict( - DESCRIPTOR = _STRUCTUREDSNIPPETFEEDITEM, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents a structured snippet extension. - - - Attributes: - header: - The header of the snippet. This string must not be empty. - values: - The values in the snippet. The maximum size of this collection - is 10. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.StructuredSnippetFeedItem) - )) -_sym_db.RegisterMessage(StructuredSnippetFeedItem) - -SitelinkFeedItem = _reflection.GeneratedProtocolMessageType('SitelinkFeedItem', (_message.Message,), dict( - DESCRIPTOR = _SITELINKFEEDITEM, - __module__ = 'google.ads.googleads_v2.proto.common.extensions_pb2' - , - __doc__ = """Represents a sitelink extension. - - - Attributes: - link_text: - URL display text for the sitelink. The length of this string - should be between 1 and 25, inclusive. - line1: - First line of the description for the sitelink. If this value - is set, line2 must also be set. The length of this string - should be between 0 and 35, inclusive. - line2: - Second line of the description for the sitelink. If this value - is set, line1 must also be set. The length of this string - should be between 0 and 35, inclusive. - final_urls: - A list of possible final URLs after all cross domain - redirects. - final_mobile_urls: - A list of possible final mobile URLs after all cross domain - redirects. - tracking_url_template: - URL template for constructing a tracking URL. - url_custom_parameters: - A list of mappings to be used for substituting URL custom - parameter tags in the tracking\_url\_template, final\_urls, - and/or final\_mobile\_urls. - final_url_suffix: - Final URL suffix to be appended to landing page URLs served - with parallel tracking. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.SitelinkFeedItem) - )) -_sym_db.RegisterMessage(SitelinkFeedItem) - -HotelCalloutFeedItem = _reflection.GeneratedProtocolMessageType('HotelCalloutFeedItem', (_message.Message,), dict( - DESCRIPTOR = _HOTELCALLOUTFEEDITEM, - __module__ = 'google.ads.googleads_v2.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.v2.common.HotelCalloutFeedItem) - )) -_sym_db.RegisterMessage(HotelCalloutFeedItem) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/extensions_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/extensions_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/extensions_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/feed_common_pb2.py b/google/ads/google_ads/v2/proto/common/feed_common_pb2.py deleted file mode 100644 index eb2a580b7..000000000 --- a/google/ads/google_ads/v2/proto/common/feed_common_pb2.py +++ /dev/null @@ -1,93 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/feed_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.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_v2/proto/common/feed_common.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\017FeedCommonProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/common/feed_common.proto\x12\x1egoogle.ads.googleads.v2.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.v2.commonB\x0f\x46\x65\x65\x64\x43ommonProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_MONEY = _descriptor.Descriptor( - name='Money', - full_name='google.ads.googleads.v2.common.Money', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v2.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.v2.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, - 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=152, - serialized_end=264, -) - -_MONEY.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_MONEY.fields_by_name['amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -DESCRIPTOR.message_types_by_name['Money'] = _MONEY -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Money = _reflection.GeneratedProtocolMessageType('Money', (_message.Message,), dict( - DESCRIPTOR = _MONEY, - __module__ = 'google.ads.googleads_v2.proto.common.feed_common_pb2' - , - __doc__ = """Represents a price in a particular currency. - - - Attributes: - currency_code: - Three-character ISO 4217 currency code. - amount_micros: - Amount in micros. One million is equivalent to one unit. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Money) - )) -_sym_db.RegisterMessage(Money) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/feed_common_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/feed_common_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/feed_common_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/final_app_url_pb2.py b/google/ads/google_ads/v2/proto/common/final_app_url_pb2.py deleted file mode 100644 index 767c0667d..000000000 --- a/google/ads/google_ads/v2/proto/common/final_app_url_pb2.py +++ /dev/null @@ -1,100 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/final_app_url.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.v2.proto.enums import app_url_operating_system_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/final_app_url.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\020FinalAppUrlProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/common/final_app_url.proto\x12\x1egoogle.ads.googleads.v2.common\x1aGgoogle/ads/googleads_v2/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.v2.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType\x12)\n\x03url\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xeb\x01\n\"com.google.ads.googleads.v2.commonB\x10\x46inalAppUrlProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.common.FinalAppUrl', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='os_type', full_name='google.ads.googleads.v2.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.v2.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, - 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=228, - serialized_end=389, -) - -_FINALAPPURL.fields_by_name['os_type'].enum_type = google_dot_ads_dot_googleads__v2_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_v2.proto.common.final_app_url_pb2' - , - __doc__ = """A URL for deep linking into an app for the given operating system. - - - Attributes: - os_type: - The operating system targeted by this URL. Required. - url: - The app deep link URL. Deep links specify a location in an app - that corresponds to the content you'd like to show, and should - be of the form {scheme}://{host\_path} The scheme identifies - which app to open. For your app, you can use a custom scheme - that starts with the app's name. The host and path specify the - unique location in the app where your content exists. Example: - "exampleapp://productid\_1234". Required. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.FinalAppUrl) - )) -_sym_db.RegisterMessage(FinalAppUrl) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/final_app_url_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/final_app_url_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/final_app_url_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/frequency_cap_pb2.py b/google/ads/google_ads/v2/proto/common/frequency_cap_pb2.py deleted file mode 100644 index 9e879c77e..000000000 --- a/google/ads/google_ads/v2/proto/common/frequency_cap_pb2.py +++ /dev/null @@ -1,180 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/frequency_cap.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.v2.proto.enums import frequency_cap_event_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2 -from google.ads.google_ads.v2.proto.enums import frequency_cap_level_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_frequency__cap__level__pb2 -from google.ads.google_ads.v2.proto.enums import frequency_cap_time_unit_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/frequency_cap.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\021FrequencyCapProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/common/frequency_cap.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x42google/ads/googleads_v2/proto/enums/frequency_cap_event_type.proto\x1a=google/ads/googleads_v2/proto/enums/frequency_cap_level.proto\x1a\x41google/ads/googleads_v2/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.v2.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.v2.enums.FrequencyCapLevelEnum.FrequencyCapLevel\x12\x62\n\nevent_type\x18\x03 \x01(\x0e\x32N.google.ads.googleads.v2.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType\x12_\n\ttime_unit\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v2.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit\x12\x30\n\x0btime_length\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\xec\x01\n\"com.google.ads.googleads.v2.commonB\x11\x46requencyCapProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_frequency__cap__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.FrequencyCapEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='google.ads.googleads.v2.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.v2.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, - 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=352, - serialized_end=475, -) - - -_FREQUENCYCAPKEY = _descriptor.Descriptor( - name='FrequencyCapKey', - full_name='google.ads.googleads.v2.common.FrequencyCapKey', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=478, - serialized_end=829, -) - -_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__v2_dot_proto_dot_enums_dot_frequency__cap__level__pb2._FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL -_FREQUENCYCAPKEY.fields_by_name['event_type'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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 -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FrequencyCapEntry = _reflection.GeneratedProtocolMessageType('FrequencyCapEntry', (_message.Message,), dict( - DESCRIPTOR = _FREQUENCYCAPENTRY, - __module__ = 'google.ads.googleads_v2.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. - - - Attributes: - key: - The key of a particular frequency cap. There can be no more - than one frequency cap with the same key. - cap: - Maximum number of events allowed during the time range by this - cap. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.FrequencyCapEntry) - )) -_sym_db.RegisterMessage(FrequencyCapEntry) - -FrequencyCapKey = _reflection.GeneratedProtocolMessageType('FrequencyCapKey', (_message.Message,), dict( - DESCRIPTOR = _FREQUENCYCAPKEY, - __module__ = 'google.ads.googleads_v2.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. - - - Attributes: - level: - The level on which the cap is to be applied (e.g. ad group ad, - ad group). The cap is applied to all the entities of this - level. - event_type: - The type of event that the cap applies to (e.g. impression). - time_unit: - Unit of time the cap is defined at (e.g. day, week). - time_length: - Number of time units the cap lasts. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.FrequencyCapKey) - )) -_sym_db.RegisterMessage(FrequencyCapKey) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/frequency_cap_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/frequency_cap_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/frequency_cap_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/keyword_plan_common_pb2.py b/google/ads/google_ads/v2/proto/common/keyword_plan_common_pb2.py deleted file mode 100644 index 10ac5e95b..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import keyword_plan_competition_level_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/keyword_plan_common.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\026KeywordPlanCommonProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/common/keyword_plan_common.proto\x12\x1egoogle.ads.googleads.v2.common\x1aHgoogle/ads/googleads_v2/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.v2.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevelB\xf1\x01\n\"com.google.ads.googleads.v2.commonB\x16KeywordPlanCommonProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.common.KeywordPlanHistoricalMetrics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='avg_monthly_searches', full_name='google.ads.googleads.v2.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.v2.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__v2_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_v2.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.v2.common.KeywordPlanHistoricalMetrics) - )) -_sym_db.RegisterMessage(KeywordPlanHistoricalMetrics) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/keyword_plan_common_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/keyword_plan_common_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/keyword_plan_common_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/matching_function_pb2.py b/google/ads/google_ads/v2/proto/common/matching_function_pb2.py deleted file mode 100644 index f60695ff2..000000000 --- a/google/ads/google_ads/v2/proto/common/matching_function_pb2.py +++ /dev/null @@ -1,480 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/matching_function.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.v2.proto.enums import matching_function_context_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_matching__function__context__type__pb2 -from google.ads.google_ads.v2.proto.enums import matching_function_operator_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/matching_function.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\025MatchingFunctionProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n\n\rleft_operands\x18\x02 \x03(\x0b\x32\'.google.ads.googleads.v2.common.Operand\x12?\n\x0eright_operands\x18\x03 \x03(\x0b\x32\'.google.ads.googleads.v2.common.Operand\"\xfe\x07\n\x07Operand\x12S\n\x10\x63onstant_operand\x18\x01 \x01(\x0b\x32\x37.google.ads.googleads.v2.common.Operand.ConstantOperandH\x00\x12^\n\x16\x66\x65\x65\x64_attribute_operand\x18\x02 \x01(\x0b\x32<.google.ads.googleads.v2.common.Operand.FeedAttributeOperandH\x00\x12S\n\x10\x66unction_operand\x18\x03 \x01(\x0b\x32\x37.google.ads.googleads.v2.common.Operand.FunctionOperandH\x00\x12`\n\x17request_context_operand\x18\x04 \x01(\x0b\x32=.google.ads.googleads.v2.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.v2.common.MatchingFunction\x1a\x89\x01\n\x15RequestContextOperand\x12p\n\x0c\x63ontext_type\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v2.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextTypeB\x1b\n\x19\x66unction_argument_operandB\xf0\x01\n\"com.google.ads.googleads.v2.commonB\x15MatchingFunctionProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_matching__function__context__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.MatchingFunction', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='function_string', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=609, -) - - -_OPERAND_CONSTANTOPERAND = _descriptor.Descriptor( - name='ConstantOperand', - full_name='google.ads.googleads.v2.common.Operand.ConstantOperand', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='string_value', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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='constant_operand_value', full_name='google.ads.googleads.v2.common.Operand.ConstantOperand.constant_operand_value', - index=0, containing_type=None, fields=[]), - ], - serialized_start=988, - serialized_end=1243, -) - -_OPERAND_FEEDATTRIBUTEOPERAND = _descriptor.Descriptor( - name='FeedAttributeOperand', - full_name='google.ads.googleads.v2.common.Operand.FeedAttributeOperand', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='feed_id', full_name='google.ads.googleads.v2.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.v2.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, - 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=1245, - serialized_end=1369, -) - -_OPERAND_FUNCTIONOPERAND = _descriptor.Descriptor( - name='FunctionOperand', - full_name='google.ads.googleads.v2.common.Operand.FunctionOperand', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='matching_function', full_name='google.ads.googleads.v2.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, - 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=1371, - serialized_end=1465, -) - -_OPERAND_REQUESTCONTEXTOPERAND = _descriptor.Descriptor( - name='RequestContextOperand', - full_name='google.ads.googleads.v2.common.Operand.RequestContextOperand', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='context_type', full_name='google.ads.googleads.v2.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, - 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=1468, - serialized_end=1605, -) - -_OPERAND = _descriptor.Descriptor( - name='Operand', - full_name='google.ads.googleads.v2.common.Operand', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='constant_operand', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_OPERAND_CONSTANTOPERAND, _OPERAND_FEEDATTRIBUTEOPERAND, _OPERAND_FUNCTIONOPERAND, _OPERAND_REQUESTCONTEXTOPERAND, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='function_argument_operand', full_name='google.ads.googleads.v2.common.Operand.function_argument_operand', - index=0, containing_type=None, fields=[]), - ], - serialized_start=612, - serialized_end=1634, -) - -_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__v2_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 -_OPERAND_CONSTANTOPERAND.fields_by_name['long_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_OPERAND_CONSTANTOPERAND.fields_by_name['boolean_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_OPERAND_CONSTANTOPERAND.fields_by_name['double_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_OPERAND_CONSTANTOPERAND.containing_type = _OPERAND -_OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'].fields.append( - _OPERAND_CONSTANTOPERAND.fields_by_name['string_value']) -_OPERAND_CONSTANTOPERAND.fields_by_name['string_value'].containing_oneof = _OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'] -_OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'].fields.append( - _OPERAND_CONSTANTOPERAND.fields_by_name['long_value']) -_OPERAND_CONSTANTOPERAND.fields_by_name['long_value'].containing_oneof = _OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'] -_OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'].fields.append( - _OPERAND_CONSTANTOPERAND.fields_by_name['boolean_value']) -_OPERAND_CONSTANTOPERAND.fields_by_name['boolean_value'].containing_oneof = _OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'] -_OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'].fields.append( - _OPERAND_CONSTANTOPERAND.fields_by_name['double_value']) -_OPERAND_CONSTANTOPERAND.fields_by_name['double_value'].containing_oneof = _OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'] -_OPERAND_FEEDATTRIBUTEOPERAND.fields_by_name['feed_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_OPERAND_FEEDATTRIBUTEOPERAND.fields_by_name['feed_attribute_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_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__v2_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 -_OPERAND.fields_by_name['function_operand'].message_type = _OPERAND_FUNCTIONOPERAND -_OPERAND.fields_by_name['request_context_operand'].message_type = _OPERAND_REQUESTCONTEXTOPERAND -_OPERAND.oneofs_by_name['function_argument_operand'].fields.append( - _OPERAND.fields_by_name['constant_operand']) -_OPERAND.fields_by_name['constant_operand'].containing_oneof = _OPERAND.oneofs_by_name['function_argument_operand'] -_OPERAND.oneofs_by_name['function_argument_operand'].fields.append( - _OPERAND.fields_by_name['feed_attribute_operand']) -_OPERAND.fields_by_name['feed_attribute_operand'].containing_oneof = _OPERAND.oneofs_by_name['function_argument_operand'] -_OPERAND.oneofs_by_name['function_argument_operand'].fields.append( - _OPERAND.fields_by_name['function_operand']) -_OPERAND.fields_by_name['function_operand'].containing_oneof = _OPERAND.oneofs_by_name['function_argument_operand'] -_OPERAND.oneofs_by_name['function_argument_operand'].fields.append( - _OPERAND.fields_by_name['request_context_operand']) -_OPERAND.fields_by_name['request_context_operand'].containing_oneof = _OPERAND.oneofs_by_name['function_argument_operand'] -DESCRIPTOR.message_types_by_name['MatchingFunction'] = _MATCHINGFUNCTION -DESCRIPTOR.message_types_by_name['Operand'] = _OPERAND -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -MatchingFunction = _reflection.GeneratedProtocolMessageType('MatchingFunction', (_message.Message,), dict( - DESCRIPTOR = _MATCHINGFUNCTION, - __module__ = 'google.ads.googleads_v2.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 - items selected. - - - Attributes: - function_string: - 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")) 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: - The operands on the left hand side of the equation. This is - also the operand to be used for single operand expressions - such as NOT. - right_operands: - The operands on the right hand side of the equation. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.MatchingFunction) - )) -_sym_db.RegisterMessage(MatchingFunction) - -Operand = _reflection.GeneratedProtocolMessageType('Operand', (_message.Message,), dict( - - ConstantOperand = _reflection.GeneratedProtocolMessageType('ConstantOperand', (_message.Message,), dict( - DESCRIPTOR = _OPERAND_CONSTANTOPERAND, - __module__ = 'google.ads.googleads_v2.proto.common.matching_function_pb2' - , - __doc__ = """A constant operand in a matching function. - - - Attributes: - constant_operand_value: - Constant operand values. Required. - string_value: - String value of the operand if it is a string type. - long_value: - Int64 value of the operand if it is a int64 type. - boolean_value: - Boolean value of the operand if it is a boolean type. - double_value: - Double value of the operand if it is a double type. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Operand.ConstantOperand) - )) - , - - FeedAttributeOperand = _reflection.GeneratedProtocolMessageType('FeedAttributeOperand', (_message.Message,), dict( - DESCRIPTOR = _OPERAND_FEEDATTRIBUTEOPERAND, - __module__ = 'google.ads.googleads_v2.proto.common.matching_function_pb2' - , - __doc__ = """A feed attribute operand in a matching function. Used to represent a - feed attribute in feed. - - - Attributes: - feed_id: - The associated feed. Required. - feed_attribute_id: - Id of the referenced feed attribute. Required. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Operand.FeedAttributeOperand) - )) - , - - FunctionOperand = _reflection.GeneratedProtocolMessageType('FunctionOperand', (_message.Message,), dict( - DESCRIPTOR = _OPERAND_FUNCTIONOPERAND, - __module__ = 'google.ads.googleads_v2.proto.common.matching_function_pb2' - , - __doc__ = """A function operand in a matching function. Used to represent nested - functions. - - - Attributes: - matching_function: - The matching function held in this operand. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Operand.FunctionOperand) - )) - , - - RequestContextOperand = _reflection.GeneratedProtocolMessageType('RequestContextOperand', (_message.Message,), dict( - DESCRIPTOR = _OPERAND_REQUESTCONTEXTOPERAND, - __module__ = 'google.ads.googleads_v2.proto.common.matching_function_pb2' - , - __doc__ = """An operand in a function referring to a value in the request context. - - - Attributes: - context_type: - Type of value to be referred in the request context. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Operand.RequestContextOperand) - )) - , - DESCRIPTOR = _OPERAND, - __module__ = 'google.ads.googleads_v2.proto.common.matching_function_pb2' - , - __doc__ = """An operand in a matching function. - - - Attributes: - function_argument_operand: - Different operands that can be used in a matching function. - Required. - constant_operand: - A constant operand in a matching function. - feed_attribute_operand: - This operand specifies a feed attribute in feed. - function_operand: - A function operand in a matching function. Used to represent - nested functions. - request_context_operand: - An operand in a function referring to a value in the request - context. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Operand) - )) -_sym_db.RegisterMessage(Operand) -_sym_db.RegisterMessage(Operand.ConstantOperand) -_sym_db.RegisterMessage(Operand.FeedAttributeOperand) -_sym_db.RegisterMessage(Operand.FunctionOperand) -_sym_db.RegisterMessage(Operand.RequestContextOperand) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/matching_function_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/matching_function_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/matching_function_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/metrics_pb2.py b/google/ads/google_ads/v2/proto/common/metrics_pb2.py deleted file mode 100644 index 2d43e3f32..000000000 --- a/google/ads/google_ads/v2/proto/common/metrics_pb2.py +++ /dev/null @@ -1,1398 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/metrics.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.v2.proto.enums import interaction_event_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_interaction__event__type__pb2 -from google.ads.google_ads.v2.proto.enums import quality_score_bucket_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/metrics.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\014MetricsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n2google/ads/googleads_v2/proto/common/metrics.proto\x12\x1egoogle.ads.googleads.v2.common\x1a@google/ads/googleads_v2/proto/enums/interaction_event_type.proto\x1a>google/ads/googleads_v2/proto/enums/quality_score_bucket.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfd\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\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\x12s\n!historical_creative_quality_score\x18P \x01(\x0e\x32H.google.ads.googleads.v2.enums.QualityScoreBucketEnum.QualityScoreBucket\x12w\n%historical_landing_page_quality_score\x18Q \x01(\x0e\x32H.google.ads.googleads.v2.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.v2.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.v2.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.v2.commonB\x0cMetricsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_interaction__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.Metrics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='absolute_top_impression_percentage', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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_page_views', full_name='google.ads.googleads.v2.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_time_on_site', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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='hotel_price_difference_percentage', full_name='google.ads.googleads.v2.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='historical_creative_quality_score', full_name='google.ads.googleads.v2.common.Metrics.historical_creative_quality_score', index=59, - 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.v2.common.Metrics.historical_landing_page_quality_score', index=60, - 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.v2.common.Metrics.historical_quality_score', index=61, - 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.v2.common.Metrics.historical_search_predicted_ctr', index=62, - 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.v2.common.Metrics.gmail_forwards', index=63, - 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.v2.common.Metrics.gmail_saves', index=64, - 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.v2.common.Metrics.gmail_secondary_clicks', index=65, - 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='impressions_from_store_reach', full_name='google.ads.googleads.v2.common.Metrics.impressions_from_store_reach', index=66, - 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.v2.common.Metrics.impressions', index=67, - 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.v2.common.Metrics.interaction_rate', index=68, - 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.v2.common.Metrics.interactions', index=69, - 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.v2.common.Metrics.interaction_event_types', index=70, - 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.v2.common.Metrics.invalid_click_rate', index=71, - 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.v2.common.Metrics.invalid_clicks', index=72, - 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='message_chats', full_name='google.ads.googleads.v2.common.Metrics.message_chats', index=73, - 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.v2.common.Metrics.message_impressions', index=74, - 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.v2.common.Metrics.message_chat_rate', index=75, - 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.v2.common.Metrics.mobile_friendly_clicks_percentage', index=76, - 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.v2.common.Metrics.organic_clicks', index=77, - 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.v2.common.Metrics.organic_clicks_per_query', index=78, - 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.v2.common.Metrics.organic_impressions', index=79, - 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.v2.common.Metrics.organic_impressions_per_query', index=80, - 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.v2.common.Metrics.organic_queries', index=81, - 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.v2.common.Metrics.percent_new_visitors', index=82, - 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.v2.common.Metrics.phone_calls', index=83, - 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.v2.common.Metrics.phone_impressions', index=84, - 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.v2.common.Metrics.phone_through_rate', 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='relative_ctr', full_name='google.ads.googleads.v2.common.Metrics.relative_ctr', index=86, - 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.v2.common.Metrics.search_absolute_top_impression_share', index=87, - 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.v2.common.Metrics.search_budget_lost_absolute_top_impression_share', index=88, - 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.v2.common.Metrics.search_budget_lost_impression_share', index=89, - 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.v2.common.Metrics.search_budget_lost_top_impression_share', index=90, - 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.v2.common.Metrics.search_click_share', index=91, - 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.v2.common.Metrics.search_exact_match_impression_share', index=92, - 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.v2.common.Metrics.search_impression_share', index=93, - 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.v2.common.Metrics.search_rank_lost_absolute_top_impression_share', index=94, - 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.v2.common.Metrics.search_rank_lost_impression_share', index=95, - 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.v2.common.Metrics.search_rank_lost_top_impression_share', index=96, - 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.v2.common.Metrics.search_top_impression_share', index=97, - 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.v2.common.Metrics.speed_score', index=98, - 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.v2.common.Metrics.top_impression_percentage', index=99, - 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.v2.common.Metrics.valid_accelerated_mobile_pages_clicks_percentage', index=100, - 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.v2.common.Metrics.value_per_all_conversions', index=101, - 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.v2.common.Metrics.value_per_conversion', index=102, - 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.v2.common.Metrics.value_per_current_model_attributed_conversion', index=103, - 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.v2.common.Metrics.video_quartile_100_rate', index=104, - 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.v2.common.Metrics.video_quartile_25_rate', index=105, - 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.v2.common.Metrics.video_quartile_50_rate', index=106, - 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.v2.common.Metrics.video_quartile_75_rate', index=107, - 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.v2.common.Metrics.video_view_rate', index=108, - 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.v2.common.Metrics.video_views', index=109, - 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.v2.common.Metrics.view_through_conversions', index=110, - 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=279, - serialized_end=7700, -) - -_METRICS.fields_by_name['absolute_top_impression_percentage'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['active_view_cpm'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['active_view_ctr'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['active_view_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['active_view_measurability'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['active_view_measurable_cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['active_view_measurable_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['active_view_viewability'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_from_interactions_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_value_per_cost'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_from_click_to_call'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_from_directions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_from_interactions_value_per_interaction'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_from_menu'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_from_order'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_from_other_engagement'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_from_store_visit'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['all_conversions_from_store_website'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['average_cost'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['average_cpc'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_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_page_views'].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 -_METRICS.fields_by_name['bounce_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['combined_clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['combined_clicks_per_query'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['combined_queries'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['content_budget_lost_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['content_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['conversion_last_received_request_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_METRICS.fields_by_name['conversion_last_conversion_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_METRICS.fields_by_name['content_rank_lost_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['conversions_from_interactions_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['conversions_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['conversions_value_per_cost'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['conversions_from_interactions_value_per_interaction'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['cost_per_all_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['cost_per_conversion'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['cost_per_current_model_attributed_conversion'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['cross_device_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['ctr'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['current_model_attributed_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['current_model_attributed_conversions_from_interactions_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['current_model_attributed_conversions_from_interactions_value_per_interaction'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['current_model_attributed_conversions_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['current_model_attributed_conversions_value_per_cost'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_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['hotel_price_difference_percentage'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['historical_creative_quality_score'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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['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__v2_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 -_METRICS.fields_by_name['organic_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['organic_impressions_per_query'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['organic_queries'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['percent_new_visitors'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['phone_calls'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['phone_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['phone_through_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['relative_ctr'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_absolute_top_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_budget_lost_absolute_top_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_budget_lost_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_budget_lost_top_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_click_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_exact_match_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_rank_lost_absolute_top_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_rank_lost_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_rank_lost_top_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['search_top_impression_share'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['speed_score'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['top_impression_percentage'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['valid_accelerated_mobile_pages_clicks_percentage'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['value_per_all_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['value_per_conversion'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['value_per_current_model_attributed_conversion'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['video_quartile_100_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['video_quartile_25_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['video_quartile_50_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['video_quartile_75_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['video_view_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['video_views'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['view_through_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -DESCRIPTOR.message_types_by_name['Metrics'] = _METRICS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Metrics = _reflection.GeneratedProtocolMessageType('Metrics', (_message.Message,), dict( - DESCRIPTOR = _METRICS, - __module__ = 'google.ads.googleads_v2.proto.common.metrics_pb2' - , - __doc__ = """Metrics data. - - - Attributes: - absolute_top_impression_percentage: - The percent of your ad impressions that are shown as the very - first ad above the organic search results. - active_view_cpm: - Average cost of viewable impressions - (``active_view_impressions``). - active_view_ctr: - Active view measurable clicks divided by active view viewable - impressions. This metric is reported only for display network. - active_view_impressions: - A measurement of how often your ad has become viewable on a - Display Network site. - active_view_measurability: - The ratio of impressions that could be measured by Active View - over the number of served impressions. - active_view_measurable_cost_micros: - The cost of the impressions you received that were measurable - by Active View. - active_view_measurable_impressions: - The number of times your ads are appearing on placements in - positions where they can be seen. - active_view_viewability: - The percentage of time when your ad appeared on an Active View - enabled site (measurable impressions) and was viewable - (viewable impressions). - all_conversions_from_interactions_rate: - 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. - all_conversions: - The total number of conversions. This only includes conversion - actions which include\_in\_conversions\_metric attribute is - set to true. - 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 - ads). - all_conversions_from_click_to_call: - The number of times people clicked the "Call" button to call a - store during or after clicking an ad. This number doesn't - include whether or not calls were connected, or the duration - of any calls. This metric applies to feed items only. - all_conversions_from_directions: - The number of times people clicked a "Get directions" button - to navigate to a store after clicking an ad. This metric - applies to feed items only. - all_conversions_from_interactions_value_per_interaction: - The value of all conversions from interactions divided by the - total number of interactions. - all_conversions_from_menu: - The number of times people clicked a link to view a store's - menu after clicking an ad. This metric applies to feed items - only. - all_conversions_from_order: - The number of times people placed an order at a store after - clicking an ad. This metric applies to feed items only. - all_conversions_from_other_engagement: - The number of other conversions (for example, posting a review - or saving a location for a store) that occurred after people - clicked an ad. This metric applies to feed items only. - all_conversions_from_store_visit: - Estimated number of times people visited a store after - clicking an ad. This metric applies to feed items only. - all_conversions_from_store_website: - The number of times that people were taken to a store's URL - after clicking an ad. This metric applies to feed items only. - average_cost: - The average amount you pay per interaction. This amount is the - total cost of your ads divided by the total number of - interactions. - average_cpc: - The total cost of all clicks divided by the total number of - clicks received. - average_cpe: - The average amount that you've been charged for an ad - engagement. This amount is the total cost of all ad - engagements divided by the total number of ad engagements. - average_cpm: - Average cost-per-thousand impressions (CPM). - average_cpv: - 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_page_views: - Average number of pages viewed per session. - average_time_on_site: - Total duration of all sessions (in seconds) / number of - sessions. Imported from Google Analytics. - benchmark_average_max_cpc: - An indication of how other advertisers are bidding on similar - products. - benchmark_ctr: - An indication on how other advertisers' Shopping ads for - similar products are performing based on how often people who - see their ad click on it. - bounce_rate: - Percentage of clicks where the user only visited a single page - on your site. Imported from Google Analytics. - clicks: - The number of clicks. - combined_clicks: - The number of times your ad or your site's listing in the - unpaid results was clicked. See the help page at - https://support.google.com/google-ads/answer/3097241 for - details. - combined_clicks_per_query: - The number of times your ad or your site's listing in the - unpaid results was clicked (combined\_clicks) divided by - combined\_queries. See the help page at - https://support.google.com/google-ads/answer/3097241 for - details. - combined_queries: - The number of searches that returned pages from your site in - the unpaid results or showed one of your text ads. See the - help page at https://support.google.com/google- - ads/answer/3097241 for details. - content_budget_lost_impression_share: - The estimated percent of times that your ad was eligible to - show on the Display Network but didn't because your budget was - too low. Note: Content budget lost impression share is - reported in the range of 0 to 0.9. Any value above 0.9 is - reported as 0.9001. - content_impression_share: - The impressions you've received on the Display Network divided - by the estimated number of impressions you were eligible to - receive. Note: Content impression share is reported in the - range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. - conversion_last_received_request_date_time: - The last date/time a conversion tag for this conversion action - successfully fired and was seen by Google Ads. This firing - event may not have been the result of an attributable - conversion (e.g. because the tag was fired from a browser that - did not previously click an ad from an appropriate - advertiser). The date/time is in the customer's time zone. - conversion_last_conversion_date: - The date of the most recent conversion for this conversion - action. The date is in the customer's time zone. - content_rank_lost_impression_share: - The estimated percentage of impressions on the Display Network - that your ads didn't receive due to poor Ad Rank. Note: - Content rank lost impression share is reported in the range of - 0 to 0.9. Any value above 0.9 is reported as 0.9001. - conversions_from_interactions_rate: - 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. - conversions_value: - The total value of conversions. This only includes conversion - actions which include\_in\_conversions\_metric attribute is - set to true. - 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. - 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. - conversions: - The number of conversions. This only includes conversion - actions which include\_in\_conversions\_metric attribute is - set to true. - cost_micros: - The sum of your cost-per-click (CPC) and cost-per-thousand - impressions (CPM) costs during this period. - cost_per_all_conversions: - The cost of ad interactions divided by all conversions. - 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. - 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. - 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. - Cross-device conversions are already included in - all\_conversions. - ctr: - The number of clicks your ad receives (Clicks) divided by the - number of times your ad is shown (Impressions). - current_model_attributed_conversions: - 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. - 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. - 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. - 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. - 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. - 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 - times your ad is shown. - engagements: - The number of engagements. An engagement occurs when a viewer - 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. - 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. - historical_creative_quality_score: - The creative historical quality score. - historical_landing_page_quality_score: - The quality of historical landing page experience. - historical_quality_score: - The historical quality score. - historical_search_predicted_ctr: - The historical search predicted click through rate (CTR). - gmail_forwards: - The number of times the ad was forwarded to someone else as a - message. - gmail_saves: - The number of times someone has saved your Gmail ad to their - inbox as a message. - gmail_secondary_clicks: - The number of clicks to the landing page on the expanded state - of Gmail ads. - impressions_from_store_reach: - The number of times a store's location-based ad was shown. - This metric applies to feed items only. - impressions: - Count of how often your ad has appeared on a search results - page or website on the Google Network. - interaction_rate: - How often people interact with your ad after it is shown to - them. This is the number of interactions divided by the number - of times your ad is shown. - interactions: - The number of interactions. An interaction is the main user - action associated with an ad format-clicks for text and - shopping ads, views for video ads, and so on. - interaction_event_types: - The types of payable and free interactions. - invalid_click_rate: - The percentage of clicks filtered out of your total number of - clicks (filtered + non-filtered clicks) during the reporting - period. - 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. - organic_clicks: - The number of times someone clicked your site's listing in the - unpaid results for a particular query. See the help page at - https://support.google.com/google-ads/answer/3097241 for - details. - organic_clicks_per_query: - The number of times someone clicked your site's listing in the - unpaid results (organic\_clicks) divided by the total number - of searches that returned pages from your site - (organic\_queries). See the help page at - https://support.google.com/google-ads/answer/3097241 for - details. - organic_impressions: - The number of listings for your site in the unpaid search - results. See the help page at - https://support.google.com/google-ads/answer/3097241 for - details. - organic_impressions_per_query: - The number of times a page from your site was listed in the - unpaid search results (organic\_impressions) divided by the - number of searches returning your site's listing in the unpaid - results (organic\_queries). See the help page at - https://support.google.com/google-ads/answer/3097241 for - details. - organic_queries: - The total number of searches that returned your site's listing - in the unpaid results. See the help page at - https://support.google.com/google-ads/answer/3097241 for - details. - percent_new_visitors: - Percentage of first-time sessions (from people who had never - visited your site before). Imported from Google Analytics. - phone_calls: - Number of offline phone calls. - phone_impressions: - Number of offline phone impressions. - phone_through_rate: - Number of phone calls received (phone\_calls) divided by the - number of times your phone number is shown - (phone\_impressions). - relative_ctr: - Your clickthrough rate (Ctr) divided by the average - clickthrough rate of all advertisers on the websites that show - your ads. Measures how your ads perform on Display Network - sites compared to other ads on the same sites. - 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 article - `__ 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: - Search budget lost absolute top impression share is reported - in the range of 0 to 0.9. Any value above 0.9 is reported as - 0.9001. - search_budget_lost_impression_share: - The estimated percent of times that your ad was eligible to - show on the Search Network but didn't because your budget was - too low. Note: Search budget lost impression share is reported - in the range of 0 to 0.9. Any value above 0.9 is reported as - 0.9001. - search_budget_lost_top_impression_share: - The number estimating how often your ad didn't show anywhere - above the organic search results due to a low budget. Note: - Search budget lost top impression share is reported in the - range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - search_click_share: - The number of clicks you've received on the Search Network - divided by the estimated number of clicks you were eligible to - receive. Note: Search click share is reported in the range of - 0.1 to 1. Any value below 0.1 is reported as 0.0999. - search_exact_match_impression_share: - The impressions you've received divided by the estimated - number of impressions you were eligible to receive on the - Search Network for search terms that matched your keywords - exactly (or were close variants of your keyword), regardless - of your keyword match types. Note: Search exact match - impression share is reported in the range of 0.1 to 1. Any - value below 0.1 is reported as 0.0999. - search_impression_share: - The impressions you've received on the Search Network divided - by the estimated number of impressions you were eligible to - receive. Note: Search impression share is reported in the - range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. - search_rank_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 poor Ad Rank. Note: - Search rank lost absolute top impression share is reported in - the range of 0 to 0.9. Any value above 0.9 is reported as - 0.9001. - search_rank_lost_impression_share: - The estimated percentage of impressions on the Search Network - that your ads didn't receive due to poor Ad Rank. Note: Search - rank lost impression share is reported in the range of 0 to - 0.9. Any value above 0.9 is reported as 0.9001. - search_rank_lost_top_impression_share: - The number estimating how often your ad didn't show anywhere - above the organic search results due to poor Ad Rank. Note: - Search rank lost top impression share is reported in the range - of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - search_top_impression_share: - The impressions you've received in the top location (anywhere - above the organic search results) compared to the estimated - number of impressions you were eligible to receive in the top - location. Note: Search top impression share is reported in the - range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. - speed_score: - A measure of how quickly your page loads after clicks on your - mobile ads. The score is a range from 1 to 10, 10 being the - fastest. - top_impression_percentage: - The percent of your ad impressions that are shown anywhere - above the organic search results. - valid_accelerated_mobile_pages_clicks_percentage: - The percentage of ad clicks to Accelerated Mobile Pages (AMP) - landing pages that reach a valid AMP page. - value_per_all_conversions: - The value of all conversions divided by the number of all - conversions. - 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. - 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. - video_quartile_100_rate: - Percentage of impressions where the viewer watched all of your - video. - video_quartile_25_rate: - Percentage of impressions where the viewer watched 25% of your - video. - video_quartile_50_rate: - Percentage of impressions where the viewer watched 50% of your - video. - video_quartile_75_rate: - Percentage of impressions where the viewer watched 75% of your - video. - video_view_rate: - The number of views your TrueView video ad receives divided by - its number of impressions, including thumbnail impressions for - TrueView in-display ads. - video_views: - The number of times your video ads were viewed. - view_through_conversions: - The total number of view-through conversions. These happen - when a customer sees an image or rich media ad, then later - completes a conversion on your site without interacting with - (e.g., clicking on) another ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Metrics) - )) -_sym_db.RegisterMessage(Metrics) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/metrics_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/metrics_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/metrics_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/policy_pb2.py b/google/ads/google_ads/v2/proto/common/policy_pb2.py deleted file mode 100644 index 17fd4b0e3..000000000 --- a/google/ads/google_ads/v2/proto/common/policy_pb2.py +++ /dev/null @@ -1,933 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/policy.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.v2.proto.enums import policy_topic_entry_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__entry__type__pb2 -from google.ads.google_ads.v2.proto.enums import policy_topic_evidence_destination_mismatch_url_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__evidence__destination__mismatch__url__type__pb2 -from google.ads.google_ads.v2.proto.enums import policy_topic_evidence_destination_not_working_device_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__evidence__destination__not__working__device__pb2 -from google.ads.google_ads.v2.proto.enums import policy_topic_evidence_destination_not_working_dns_error_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__evidence__destination__not__working__dns__error__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_v2/proto/common/policy.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\013PolicyProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n1google/ads/googleads_v2/proto/common/policy.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x41google/ads/googleads_v2/proto/enums/policy_topic_entry_type.proto\x1a]google/ads/googleads_v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto\x1a^google/ads/googleads_v2/proto/enums/policy_topic_evidence_destination_not_working_device.proto\x1a\x66google/ads/googleads_v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"}\n\x12PolicyViolationKey\x12\x31\n\x0bpolicy_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0eviolating_text\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xb4\x01\n\x19PolicyValidationParameter\x12=\n\x17ignorable_policy_topics\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12X\n\x1c\x65xempt_policy_violation_keys\x18\x02 \x03(\x0b\x32\x32.google.ads.googleads.v2.common.PolicyViolationKey\"\xaf\x02\n\x10PolicyTopicEntry\x12+\n\x05topic\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Z\n\x04type\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v2.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType\x12\x46\n\tevidences\x18\x03 \x03(\x0b\x32\x33.google.ads.googleads.v2.common.PolicyTopicEvidence\x12J\n\x0b\x63onstraints\x18\x04 \x03(\x0b\x32\x35.google.ads.googleads.v2.common.PolicyTopicConstraint\"\xc2\x0b\n\x13PolicyTopicEvidence\x12W\n\x0cwebsite_list\x18\x03 \x01(\x0b\x32?.google.ads.googleads.v2.common.PolicyTopicEvidence.WebsiteListH\x00\x12Q\n\ttext_list\x18\x04 \x01(\x0b\x32<.google.ads.googleads.v2.common.PolicyTopicEvidence.TextListH\x00\x12\x35\n\rlanguage_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12h\n\x15\x64\x65stination_text_list\x18\x06 \x01(\x0b\x32G.google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationTextListH\x00\x12g\n\x14\x64\x65stination_mismatch\x18\x07 \x01(\x0b\x32G.google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationMismatchH\x00\x12l\n\x17\x64\x65stination_not_working\x18\x08 \x01(\x0b\x32I.google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorkingH\x00\x1a\x37\n\x08TextList\x12+\n\x05texts\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x1a=\n\x0bWebsiteList\x12.\n\x08websites\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x1aN\n\x13\x44\x65stinationTextList\x12\x37\n\x11\x64\x65stination_texts\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x1a\xa9\x01\n\x13\x44\x65stinationMismatch\x12\x91\x01\n\turl_types\x18\x01 \x03(\x0e\x32~.google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType\x1a\x89\x04\n\x15\x44\x65stinationNotWorking\x12\x32\n\x0c\x65xpanded_url\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x91\x01\n\x06\x64\x65vice\x18\x04 \x01(\x0e\x32\x80\x01.google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice\x12<\n\x16last_checked_date_time\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\xa7\x01\n\x0e\x64ns_error_type\x18\x01 \x01(\x0e\x32\x8c\x01.google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeH\x00\x12\x36\n\x0fhttp_error_code\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x00\x42\x08\n\x06reasonB\x07\n\x05value\"\x93\x06\n\x15PolicyTopicConstraint\x12n\n\x17\x63ountry_constraint_list\x18\x01 \x01(\x0b\x32K.google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintListH\x00\x12g\n\x13reseller_constraint\x18\x02 \x01(\x0b\x32H.google.ads.googleads.v2.common.PolicyTopicConstraint.ResellerConstraintH\x00\x12z\n#certificate_missing_in_country_list\x18\x03 \x01(\x0b\x32K.google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintListH\x00\x12\x82\x01\n+certificate_domain_mismatch_in_country_list\x18\x04 \x01(\x0b\x32K.google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintListH\x00\x1a\xb2\x01\n\x15\x43ountryConstraintList\x12=\n\x18total_targeted_countries\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12Z\n\tcountries\x18\x02 \x03(\x0b\x32G.google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraint\x1a\x14\n\x12ResellerConstraint\x1aL\n\x11\x43ountryConstraint\x12\x37\n\x11\x63ountry_criterion\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x07\n\x05valueB\xe6\x01\n\"com.google.ads.googleads.v2.commonB\x0bPolicyProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__entry__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__evidence__destination__mismatch__url__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__evidence__destination__not__working__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__evidence__destination__not__working__dns__error__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_POLICYVIOLATIONKEY = _descriptor.Descriptor( - name='PolicyViolationKey', - full_name='google.ads.googleads.v2.common.PolicyViolationKey', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='policy_name', full_name='google.ads.googleads.v2.common.PolicyViolationKey.policy_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='violating_text', full_name='google.ads.googleads.v2.common.PolicyViolationKey.violating_text', 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=509, - serialized_end=634, -) - - -_POLICYVALIDATIONPARAMETER = _descriptor.Descriptor( - name='PolicyValidationParameter', - full_name='google.ads.googleads.v2.common.PolicyValidationParameter', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ignorable_policy_topics', full_name='google.ads.googleads.v2.common.PolicyValidationParameter.ignorable_policy_topics', 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='exempt_policy_violation_keys', full_name='google.ads.googleads.v2.common.PolicyValidationParameter.exempt_policy_violation_keys', 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=637, - serialized_end=817, -) - - -_POLICYTOPICENTRY = _descriptor.Descriptor( - name='PolicyTopicEntry', - full_name='google.ads.googleads.v2.common.PolicyTopicEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='topic', full_name='google.ads.googleads.v2.common.PolicyTopicEntry.topic', 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='type', full_name='google.ads.googleads.v2.common.PolicyTopicEntry.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='evidences', full_name='google.ads.googleads.v2.common.PolicyTopicEntry.evidences', 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='constraints', full_name='google.ads.googleads.v2.common.PolicyTopicEntry.constraints', 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=820, - serialized_end=1123, -) - - -_POLICYTOPICEVIDENCE_TEXTLIST = _descriptor.Descriptor( - name='TextList', - full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.TextList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='texts', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.TextList.texts', 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=1697, - serialized_end=1752, -) - -_POLICYTOPICEVIDENCE_WEBSITELIST = _descriptor.Descriptor( - name='WebsiteList', - full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.WebsiteList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='websites', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.WebsiteList.websites', 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=1754, - serialized_end=1815, -) - -_POLICYTOPICEVIDENCE_DESTINATIONTEXTLIST = _descriptor.Descriptor( - name='DestinationTextList', - full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationTextList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='destination_texts', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationTextList.destination_texts', 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=1817, - serialized_end=1895, -) - -_POLICYTOPICEVIDENCE_DESTINATIONMISMATCH = _descriptor.Descriptor( - name='DestinationMismatch', - full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationMismatch', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='url_types', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationMismatch.url_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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1898, - serialized_end=2067, -) - -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING = _descriptor.Descriptor( - name='DestinationNotWorking', - full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='expanded_url', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking.expanded_url', 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='device', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking.device', 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='last_checked_date_time', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking.last_checked_date_time', 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), - _descriptor.FieldDescriptor( - name='dns_error_type', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking.dns_error_type', index=3, - 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='http_error_code', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking.http_error_code', 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, - 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='reason', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking.reason', - index=0, containing_type=None, fields=[]), - ], - serialized_start=2070, - serialized_end=2591, -) - -_POLICYTOPICEVIDENCE = _descriptor.Descriptor( - name='PolicyTopicEvidence', - full_name='google.ads.googleads.v2.common.PolicyTopicEvidence', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='website_list', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.website_list', 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='text_list', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.text_list', 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='language_code', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.language_code', 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), - _descriptor.FieldDescriptor( - name='destination_text_list', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.destination_text_list', 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='destination_mismatch', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.destination_mismatch', 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='destination_not_working', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.destination_not_working', 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), - ], - extensions=[ - ], - nested_types=[_POLICYTOPICEVIDENCE_TEXTLIST, _POLICYTOPICEVIDENCE_WEBSITELIST, _POLICYTOPICEVIDENCE_DESTINATIONTEXTLIST, _POLICYTOPICEVIDENCE_DESTINATIONMISMATCH, _POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='value', full_name='google.ads.googleads.v2.common.PolicyTopicEvidence.value', - index=0, containing_type=None, fields=[]), - ], - serialized_start=1126, - serialized_end=2600, -) - - -_POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINTLIST = _descriptor.Descriptor( - name='CountryConstraintList', - full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='total_targeted_countries', full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList.total_targeted_countries', 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='countries', full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList.countries', 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=3103, - serialized_end=3281, -) - -_POLICYTOPICCONSTRAINT_RESELLERCONSTRAINT = _descriptor.Descriptor( - name='ResellerConstraint', - full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.ResellerConstraint', - 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=3283, - serialized_end=3303, -) - -_POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINT = _descriptor.Descriptor( - name='CountryConstraint', - full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='country_criterion', full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraint.country_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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3305, - serialized_end=3381, -) - -_POLICYTOPICCONSTRAINT = _descriptor.Descriptor( - name='PolicyTopicConstraint', - full_name='google.ads.googleads.v2.common.PolicyTopicConstraint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='country_constraint_list', full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.country_constraint_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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='reseller_constraint', full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.reseller_constraint', 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='certificate_missing_in_country_list', full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.certificate_missing_in_country_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='certificate_domain_mismatch_in_country_list', full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.certificate_domain_mismatch_in_country_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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINTLIST, _POLICYTOPICCONSTRAINT_RESELLERCONSTRAINT, _POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINT, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='value', full_name='google.ads.googleads.v2.common.PolicyTopicConstraint.value', - index=0, containing_type=None, fields=[]), - ], - serialized_start=2603, - serialized_end=3390, -) - -_POLICYVIOLATIONKEY.fields_by_name['policy_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYVIOLATIONKEY.fields_by_name['violating_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYVALIDATIONPARAMETER.fields_by_name['ignorable_policy_topics'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYVALIDATIONPARAMETER.fields_by_name['exempt_policy_violation_keys'].message_type = _POLICYVIOLATIONKEY -_POLICYTOPICENTRY.fields_by_name['topic'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYTOPICENTRY.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__entry__type__pb2._POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE -_POLICYTOPICENTRY.fields_by_name['evidences'].message_type = _POLICYTOPICEVIDENCE -_POLICYTOPICENTRY.fields_by_name['constraints'].message_type = _POLICYTOPICCONSTRAINT -_POLICYTOPICEVIDENCE_TEXTLIST.fields_by_name['texts'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYTOPICEVIDENCE_TEXTLIST.containing_type = _POLICYTOPICEVIDENCE -_POLICYTOPICEVIDENCE_WEBSITELIST.fields_by_name['websites'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYTOPICEVIDENCE_WEBSITELIST.containing_type = _POLICYTOPICEVIDENCE -_POLICYTOPICEVIDENCE_DESTINATIONTEXTLIST.fields_by_name['destination_texts'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYTOPICEVIDENCE_DESTINATIONTEXTLIST.containing_type = _POLICYTOPICEVIDENCE -_POLICYTOPICEVIDENCE_DESTINATIONMISMATCH.fields_by_name['url_types'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__evidence__destination__mismatch__url__type__pb2._POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE -_POLICYTOPICEVIDENCE_DESTINATIONMISMATCH.containing_type = _POLICYTOPICEVIDENCE -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.fields_by_name['expanded_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__evidence__destination__not__working__device__pb2._POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.fields_by_name['last_checked_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.fields_by_name['dns_error_type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__topic__evidence__destination__not__working__dns__error__type__pb2._POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPE -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.fields_by_name['http_error_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.containing_type = _POLICYTOPICEVIDENCE -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.oneofs_by_name['reason'].fields.append( - _POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.fields_by_name['dns_error_type']) -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.fields_by_name['dns_error_type'].containing_oneof = _POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.oneofs_by_name['reason'] -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.oneofs_by_name['reason'].fields.append( - _POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.fields_by_name['http_error_code']) -_POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.fields_by_name['http_error_code'].containing_oneof = _POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING.oneofs_by_name['reason'] -_POLICYTOPICEVIDENCE.fields_by_name['website_list'].message_type = _POLICYTOPICEVIDENCE_WEBSITELIST -_POLICYTOPICEVIDENCE.fields_by_name['text_list'].message_type = _POLICYTOPICEVIDENCE_TEXTLIST -_POLICYTOPICEVIDENCE.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYTOPICEVIDENCE.fields_by_name['destination_text_list'].message_type = _POLICYTOPICEVIDENCE_DESTINATIONTEXTLIST -_POLICYTOPICEVIDENCE.fields_by_name['destination_mismatch'].message_type = _POLICYTOPICEVIDENCE_DESTINATIONMISMATCH -_POLICYTOPICEVIDENCE.fields_by_name['destination_not_working'].message_type = _POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING -_POLICYTOPICEVIDENCE.oneofs_by_name['value'].fields.append( - _POLICYTOPICEVIDENCE.fields_by_name['website_list']) -_POLICYTOPICEVIDENCE.fields_by_name['website_list'].containing_oneof = _POLICYTOPICEVIDENCE.oneofs_by_name['value'] -_POLICYTOPICEVIDENCE.oneofs_by_name['value'].fields.append( - _POLICYTOPICEVIDENCE.fields_by_name['text_list']) -_POLICYTOPICEVIDENCE.fields_by_name['text_list'].containing_oneof = _POLICYTOPICEVIDENCE.oneofs_by_name['value'] -_POLICYTOPICEVIDENCE.oneofs_by_name['value'].fields.append( - _POLICYTOPICEVIDENCE.fields_by_name['language_code']) -_POLICYTOPICEVIDENCE.fields_by_name['language_code'].containing_oneof = _POLICYTOPICEVIDENCE.oneofs_by_name['value'] -_POLICYTOPICEVIDENCE.oneofs_by_name['value'].fields.append( - _POLICYTOPICEVIDENCE.fields_by_name['destination_text_list']) -_POLICYTOPICEVIDENCE.fields_by_name['destination_text_list'].containing_oneof = _POLICYTOPICEVIDENCE.oneofs_by_name['value'] -_POLICYTOPICEVIDENCE.oneofs_by_name['value'].fields.append( - _POLICYTOPICEVIDENCE.fields_by_name['destination_mismatch']) -_POLICYTOPICEVIDENCE.fields_by_name['destination_mismatch'].containing_oneof = _POLICYTOPICEVIDENCE.oneofs_by_name['value'] -_POLICYTOPICEVIDENCE.oneofs_by_name['value'].fields.append( - _POLICYTOPICEVIDENCE.fields_by_name['destination_not_working']) -_POLICYTOPICEVIDENCE.fields_by_name['destination_not_working'].containing_oneof = _POLICYTOPICEVIDENCE.oneofs_by_name['value'] -_POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINTLIST.fields_by_name['total_targeted_countries'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINTLIST.fields_by_name['countries'].message_type = _POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINT -_POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINTLIST.containing_type = _POLICYTOPICCONSTRAINT -_POLICYTOPICCONSTRAINT_RESELLERCONSTRAINT.containing_type = _POLICYTOPICCONSTRAINT -_POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINT.fields_by_name['country_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINT.containing_type = _POLICYTOPICCONSTRAINT -_POLICYTOPICCONSTRAINT.fields_by_name['country_constraint_list'].message_type = _POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINTLIST -_POLICYTOPICCONSTRAINT.fields_by_name['reseller_constraint'].message_type = _POLICYTOPICCONSTRAINT_RESELLERCONSTRAINT -_POLICYTOPICCONSTRAINT.fields_by_name['certificate_missing_in_country_list'].message_type = _POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINTLIST -_POLICYTOPICCONSTRAINT.fields_by_name['certificate_domain_mismatch_in_country_list'].message_type = _POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINTLIST -_POLICYTOPICCONSTRAINT.oneofs_by_name['value'].fields.append( - _POLICYTOPICCONSTRAINT.fields_by_name['country_constraint_list']) -_POLICYTOPICCONSTRAINT.fields_by_name['country_constraint_list'].containing_oneof = _POLICYTOPICCONSTRAINT.oneofs_by_name['value'] -_POLICYTOPICCONSTRAINT.oneofs_by_name['value'].fields.append( - _POLICYTOPICCONSTRAINT.fields_by_name['reseller_constraint']) -_POLICYTOPICCONSTRAINT.fields_by_name['reseller_constraint'].containing_oneof = _POLICYTOPICCONSTRAINT.oneofs_by_name['value'] -_POLICYTOPICCONSTRAINT.oneofs_by_name['value'].fields.append( - _POLICYTOPICCONSTRAINT.fields_by_name['certificate_missing_in_country_list']) -_POLICYTOPICCONSTRAINT.fields_by_name['certificate_missing_in_country_list'].containing_oneof = _POLICYTOPICCONSTRAINT.oneofs_by_name['value'] -_POLICYTOPICCONSTRAINT.oneofs_by_name['value'].fields.append( - _POLICYTOPICCONSTRAINT.fields_by_name['certificate_domain_mismatch_in_country_list']) -_POLICYTOPICCONSTRAINT.fields_by_name['certificate_domain_mismatch_in_country_list'].containing_oneof = _POLICYTOPICCONSTRAINT.oneofs_by_name['value'] -DESCRIPTOR.message_types_by_name['PolicyViolationKey'] = _POLICYVIOLATIONKEY -DESCRIPTOR.message_types_by_name['PolicyValidationParameter'] = _POLICYVALIDATIONPARAMETER -DESCRIPTOR.message_types_by_name['PolicyTopicEntry'] = _POLICYTOPICENTRY -DESCRIPTOR.message_types_by_name['PolicyTopicEvidence'] = _POLICYTOPICEVIDENCE -DESCRIPTOR.message_types_by_name['PolicyTopicConstraint'] = _POLICYTOPICCONSTRAINT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PolicyViolationKey = _reflection.GeneratedProtocolMessageType('PolicyViolationKey', (_message.Message,), dict( - DESCRIPTOR = _POLICYVIOLATIONKEY, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """Key of the violation. The key is used for referring to a violation when - filing an exemption request. - - - Attributes: - policy_name: - Unique ID of the violated policy. - violating_text: - The text that violates the policy if specified. Otherwise, - refers to the policy in general (e.g., when requesting to be - exempt from the whole policy). If not specified for criterion - exemptions, the whole policy is implied. Must be specified for - ad exemptions. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyViolationKey) - )) -_sym_db.RegisterMessage(PolicyViolationKey) - -PolicyValidationParameter = _reflection.GeneratedProtocolMessageType('PolicyValidationParameter', (_message.Message,), dict( - DESCRIPTOR = _POLICYVALIDATIONPARAMETER, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """Parameter for controlling how policy exemption is done. Ignorable policy - topics are only usable with expanded text ads and responsive search ads. - All other ad types must use policy violation keys. - - - Attributes: - ignorable_policy_topics: - The list of policy topics that should not cause a - PolicyFindingError to be reported. This field is currently - only compatible with Enhanced Text Ad. It corresponds to the - PolicyTopicEntry.topic field. Resources violating these - policies will be saved, but will not be eligible to serve. - They may begin serving at a later time due to a change in - policies, re-review of the resource, or a change in advertiser - certificates. - exempt_policy_violation_keys: - The list of policy violation keys that should not cause a - PolicyViolationError to be reported. Not all policy violations - are exemptable, please refer to the is\_exemptible field in - the returned PolicyViolationError. Resources violating these - polices will be saved, but will not be eligible to serve. They - may begin serving at a later time due to a change in policies, - re-review of the resource, or a change in advertiser - certificates. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyValidationParameter) - )) -_sym_db.RegisterMessage(PolicyValidationParameter) - -PolicyTopicEntry = _reflection.GeneratedProtocolMessageType('PolicyTopicEntry', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICENTRY, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """Policy finding attached to a resource (e.g. alcohol policy associated - with a site that sells alcohol). - - Each PolicyTopicEntry has a topic that indicates the specific ads policy - the entry is about and a type to indicate the effect that the entry will - have on serving. It may optionally have one or more evidences that - indicate the reason for the finding. It may also optionally have one or - more constraints that provide details about how serving may be - restricted. - - - Attributes: - topic: - Policy topic this finding refers to. For example, "ALCOHOL", - "TRADEMARKS\_IN\_AD\_TEXT", or "DESTINATION\_NOT\_WORKING". - The set of possible policy topics is not fixed for a - particular API version and may change at any time. - type: - Describes the negative or positive effect this policy will - have on serving. - evidences: - Additional information that explains policy finding (e.g. the - brand name for a trademark finding). - constraints: - Indicates how serving of this resource may be affected (e.g. - not serving in a country). - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicEntry) - )) -_sym_db.RegisterMessage(PolicyTopicEntry) - -PolicyTopicEvidence = _reflection.GeneratedProtocolMessageType('PolicyTopicEvidence', (_message.Message,), dict( - - TextList = _reflection.GeneratedProtocolMessageType('TextList', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICEVIDENCE_TEXTLIST, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """A list of fragments of text that violated a policy. - - - Attributes: - texts: - The fragments of text from the resource that caused the policy - finding. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicEvidence.TextList) - )) - , - - WebsiteList = _reflection.GeneratedProtocolMessageType('WebsiteList', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICEVIDENCE_WEBSITELIST, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """A list of websites that caused a policy finding. Used for - ONE\_WEBSITE\_PER\_AD\_GROUP policy topic, for example. In case there - are more than five websites, only the top five (those that appear in - resources the most) will be listed here. - - - Attributes: - websites: - Websites that caused the policy finding. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicEvidence.WebsiteList) - )) - , - - DestinationTextList = _reflection.GeneratedProtocolMessageType('DestinationTextList', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICEVIDENCE_DESTINATIONTEXTLIST, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """A list of strings found in a destination page that caused a policy - finding. - - - Attributes: - destination_texts: - List of text found in the resource's destination page. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationTextList) - )) - , - - DestinationMismatch = _reflection.GeneratedProtocolMessageType('DestinationMismatch', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICEVIDENCE_DESTINATIONMISMATCH, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """Evidence of mismatches between the URLs of a resource. - - - Attributes: - url_types: - The set of URLs that did not match each other. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationMismatch) - )) - , - - DestinationNotWorking = _reflection.GeneratedProtocolMessageType('DestinationNotWorking', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICEVIDENCE_DESTINATIONNOTWORKING, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """Evidence details when the destination is returning an HTTP error code or - isn't functional in all locations for commonly used devices. - - - Attributes: - expanded_url: - The full URL that didn't work. - device: - The type of device that failed to load the URL. - last_checked_date_time: - The time the URL was last checked. The format is "YYYY-MM-DD - HH:MM:SS". Examples: "2018-03-05 09:15:00" or "2018-02-01 - 14:34:30" - reason: - Indicates the reason of the DESTINATION\_NOT\_WORKING policy - finding. - dns_error_type: - The type of DNS error. - http_error_code: - The HTTP error code. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicEvidence.DestinationNotWorking) - )) - , - DESCRIPTOR = _POLICYTOPICEVIDENCE, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """Additional information that explains a policy finding. - - - Attributes: - value: - Specific evidence information depending on the evidence type. - website_list: - List of websites linked with this resource. - text_list: - List of evidence found in the text of a resource. - language_code: - The language the resource was detected to be written in. This - is an IETF language tag such as "en-US". - destination_text_list: - The text in the destination of the resource that is causing a - policy finding. - destination_mismatch: - Mismatch between the destinations of a resource's URLs. - destination_not_working: - Details when the destination is returning an HTTP error code - or isn't functional in all locations for commonly used - devices. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicEvidence) - )) -_sym_db.RegisterMessage(PolicyTopicEvidence) -_sym_db.RegisterMessage(PolicyTopicEvidence.TextList) -_sym_db.RegisterMessage(PolicyTopicEvidence.WebsiteList) -_sym_db.RegisterMessage(PolicyTopicEvidence.DestinationTextList) -_sym_db.RegisterMessage(PolicyTopicEvidence.DestinationMismatch) -_sym_db.RegisterMessage(PolicyTopicEvidence.DestinationNotWorking) - -PolicyTopicConstraint = _reflection.GeneratedProtocolMessageType('PolicyTopicConstraint', (_message.Message,), dict( - - CountryConstraintList = _reflection.GeneratedProtocolMessageType('CountryConstraintList', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINTLIST, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """A list of countries where a resource's serving is constrained. - - - Attributes: - total_targeted_countries: - Total number of countries targeted by the resource. - countries: - Countries in which serving is restricted. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraintList) - )) - , - - ResellerConstraint = _reflection.GeneratedProtocolMessageType('ResellerConstraint', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICCONSTRAINT_RESELLERCONSTRAINT, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """Indicates that a policy topic was constrained due to disapproval of the - website for reseller purposes. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicConstraint.ResellerConstraint) - )) - , - - CountryConstraint = _reflection.GeneratedProtocolMessageType('CountryConstraint', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICCONSTRAINT_COUNTRYCONSTRAINT, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """Indicates that a resource's ability to serve in a particular country is - constrained. - - - Attributes: - country_criterion: - Geo target constant resource name of the country in which - serving is constrained. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicConstraint.CountryConstraint) - )) - , - DESCRIPTOR = _POLICYTOPICCONSTRAINT, - __module__ = 'google.ads.googleads_v2.proto.common.policy_pb2' - , - __doc__ = """Describes the effect on serving that a policy topic entry will have. - - - Attributes: - value: - Specific information about the constraint. - country_constraint_list: - Countries where the resource cannot serve. - reseller_constraint: - Reseller constraint. - certificate_missing_in_country_list: - Countries where a certificate is required for serving. - certificate_domain_mismatch_in_country_list: - Countries where the resource's domain is not covered by the - certificates associated with it. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.PolicyTopicConstraint) - )) -_sym_db.RegisterMessage(PolicyTopicConstraint) -_sym_db.RegisterMessage(PolicyTopicConstraint.CountryConstraintList) -_sym_db.RegisterMessage(PolicyTopicConstraint.ResellerConstraint) -_sym_db.RegisterMessage(PolicyTopicConstraint.CountryConstraint) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/policy_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/policy_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/policy_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/real_time_bidding_setting_pb2.py b/google/ads/google_ads/v2/proto/common/real_time_bidding_setting_pb2.py deleted file mode 100644 index dd2d6c793..000000000 --- a/google/ads/google_ads/v2/proto/common/real_time_bidding_setting_pb2.py +++ /dev/null @@ -1,84 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/real_time_bidding_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.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_v2/proto/common/real_time_bidding_setting.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\033RealTimeBiddingSettingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/common/real_time_bidding_setting.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"D\n\x16RealTimeBiddingSetting\x12*\n\x06opt_in\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\xf6\x01\n\"com.google.ads.googleads.v2.commonB\x1bRealTimeBiddingSettingProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_REALTIMEBIDDINGSETTING = _descriptor.Descriptor( - name='RealTimeBiddingSetting', - full_name='google.ads.googleads.v2.common.RealTimeBiddingSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='opt_in', full_name='google.ads.googleads.v2.common.RealTimeBiddingSetting.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, - 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=166, - serialized_end=234, -) - -_REALTIMEBIDDINGSETTING.fields_by_name['opt_in'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -DESCRIPTOR.message_types_by_name['RealTimeBiddingSetting'] = _REALTIMEBIDDINGSETTING -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -RealTimeBiddingSetting = _reflection.GeneratedProtocolMessageType('RealTimeBiddingSetting', (_message.Message,), dict( - DESCRIPTOR = _REALTIMEBIDDINGSETTING, - __module__ = 'google.ads.googleads_v2.proto.common.real_time_bidding_setting_pb2' - , - __doc__ = """Settings for Real-Time Bidding, a feature only available for campaigns - targeting the Ad Exchange network. - - - Attributes: - opt_in: - Whether the campaign is opted in to real-time bidding. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.RealTimeBiddingSetting) - )) -_sym_db.RegisterMessage(RealTimeBiddingSetting) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/real_time_bidding_setting_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/real_time_bidding_setting_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/real_time_bidding_setting_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/segments_pb2.py b/google/ads/google_ads/v2/proto/common/segments_pb2.py deleted file mode 100644 index 9440ea188..000000000 --- a/google/ads/google_ads/v2/proto/common/segments_pb2.py +++ /dev/null @@ -1,963 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/segments.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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v2.proto.enums import ad_network_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__network__type__pb2 -from google.ads.google_ads.v2.proto.enums import click_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_click__type__pb2 -from google.ads.google_ads.v2.proto.enums import conversion_action_category_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__category__pb2 -from google.ads.google_ads.v2.proto.enums import conversion_attribution_event_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__attribution__event__type__pb2 -from google.ads.google_ads.v2.proto.enums import conversion_lag_bucket_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__lag__bucket__pb2 -from google.ads.google_ads.v2.proto.enums import conversion_or_adjustment_lag_bucket_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__or__adjustment__lag__bucket__pb2 -from google.ads.google_ads.v2.proto.enums import day_of_week_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_day__of__week__pb2 -from google.ads.google_ads.v2.proto.enums import device_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_device__pb2 -from google.ads.google_ads.v2.proto.enums import external_conversion_source_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_external__conversion__source__pb2 -from google.ads.google_ads.v2.proto.enums import hotel_date_selection_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2 -from google.ads.google_ads.v2.proto.enums import hotel_price_bucket_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__price__bucket__pb2 -from google.ads.google_ads.v2.proto.enums import hotel_rate_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__rate__type__pb2 -from google.ads.google_ads.v2.proto.enums import month_of_year_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_month__of__year__pb2 -from google.ads.google_ads.v2.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_placeholder__type__pb2 -from google.ads.google_ads.v2.proto.enums import product_channel_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__pb2 -from google.ads.google_ads.v2.proto.enums import product_channel_exclusivity_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2 -from google.ads.google_ads.v2.proto.enums import product_condition_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__condition__pb2 -from google.ads.google_ads.v2.proto.enums import search_engine_results_page_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_search__engine__results__page__type__pb2 -from google.ads.google_ads.v2.proto.enums import search_term_match_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_search__term__match__type__pb2 -from google.ads.google_ads.v2.proto.enums import slot_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_slot__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_v2/proto/common/segments.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\rSegmentsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n3google/ads/googleads_v2/proto/common/segments.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x33google/ads/googleads_v2/proto/common/criteria.proto\x1a\x39google/ads/googleads_v2/proto/enums/ad_network_type.proto\x1a\x34google/ads/googleads_v2/proto/enums/click_type.proto\x1a\x44google/ads/googleads_v2/proto/enums/conversion_action_category.proto\x1aKgoogle/ads/googleads_v2/proto/enums/conversion_attribution_event_type.proto\x1a?google/ads/googleads_v2/proto/enums/conversion_lag_bucket.proto\x1aMgoogle/ads/googleads_v2/proto/enums/conversion_or_adjustment_lag_bucket.proto\x1a\x35google/ads/googleads_v2/proto/enums/day_of_week.proto\x1a\x30google/ads/googleads_v2/proto/enums/device.proto\x1a\x44google/ads/googleads_v2/proto/enums/external_conversion_source.proto\x1a\x43google/ads/googleads_v2/proto/enums/hotel_date_selection_type.proto\x1a.google.ads.googleads.v2.enums.AdNetworkTypeEnum.AdNetworkType\x12J\n\nclick_type\x18\x1a \x01(\x0e\x32\x36.google.ads.googleads.v2.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.v2.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.v2.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType\x12i\n\x15\x63onversion_lag_bucket\x18\x32 \x01(\x0e\x32J.google.ads.googleads.v2.enums.ConversionLagBucketEnum.ConversionLagBucket\x12\x8f\x01\n#conversion_or_adjustment_lag_bucket\x18\x33 \x01(\x0e\x32\x62.google.ads.googleads.v2.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.v2.enums.DayOfWeekEnum.DayOfWeek\x12@\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x30.google.ads.googleads.v2.enums.DeviceEnum.Device\x12x\n\x1a\x65xternal_conversion_source\x18\x37 \x01(\x0e\x32T.google.ads.googleads.v2.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.v2.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.v2.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.v2.enums.HotelRateTypeEnum.HotelRateType\x12`\n\x12hotel_price_bucket\x18N \x01(\x0e\x32\x44.google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.enums.ProductChannelEnum.ProductChannel\x12{\n\x1bproduct_channel_exclusivity\x18\x1f \x01(\x0e\x32V.google.ads.googleads.v2.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity\x12_\n\x11product_condition\x18 \x01(\x0e\x32\x44.google.ads.googleads.v2.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.v2.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType\x12j\n\x16search_term_match_type\x18\x16 \x01(\x0e\x32J.google.ads.googleads.v2.enums.SearchTermMatchTypeEnum.SearchTermMatchType\x12:\n\x04slot\x18\x17 \x01(\x0e\x32,.google.ads.googleads.v2.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.v2.common.KeywordInfoB\xe8\x01\n\"com.google.ads.googleads.v2.commonB\rSegmentsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__network__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_click__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__attribution__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__lag__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__or__adjustment__lag__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_day__of__week__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_external__conversion__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__price__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__rate__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_month__of__year__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__condition__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_search__engine__results__page__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_search__term__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.Segments', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ad_network_type', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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_canton', full_name='google.ads.googleads.v2.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.v2.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_country', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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_price_bucket', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=1469, - serialized_end=6894, -) - - -_KEYWORD = _descriptor.Descriptor( - name='Keyword', - full_name='google.ads.googleads.v2.common.Keyword', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ad_group_criterion', full_name='google.ads.googleads.v2.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.v2.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, - 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=6896, - serialized_end=7022, -) - -_SEGMENTS.fields_by_name['ad_network_type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__network__type__pb2._ADNETWORKTYPEENUM_ADNETWORKTYPE -_SEGMENTS.fields_by_name['click_type'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK -_SEGMENTS.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE -_SEGMENTS.fields_by_name['external_conversion_source'].enum_type = google_dot_ads_dot_googleads__v2_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 -_SEGMENTS.fields_by_name['geo_target_most_specific_location'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['geo_target_postal_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['geo_target_province'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['geo_target_region'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['geo_target_state'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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 -_SEGMENTS.fields_by_name['product_bidding_category_level3'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_dot_proto_dot_enums_dot_product__channel__pb2._PRODUCTCHANNELENUM_PRODUCTCHANNEL -_SEGMENTS.fields_by_name['product_channel_exclusivity'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2._PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY -_SEGMENTS.fields_by_name['product_condition'].enum_type = google_dot_ads_dot_googleads__v2_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 -_SEGMENTS.fields_by_name['product_custom_attribute2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_custom_attribute3'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_custom_attribute4'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_item_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_language'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_merchant_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._UINT64VALUE -_SEGMENTS.fields_by_name['product_store_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_title'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_type_l1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_type_l2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_type_l3'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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__v2_dot_proto_dot_enums_dot_search__term__match__type__pb2._SEARCHTERMMATCHTYPEENUM_SEARCHTERMMATCHTYPE -_SEGMENTS.fields_by_name['slot'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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_v2.proto.common.segments_pb2' - , - __doc__ = """Segment only fields. - - - Attributes: - ad_network_type: - Ad network type. - click_type: - Click type. - conversion_action: - Resource name of the conversion action. - conversion_action_category: - Conversion action category. - conversion_action_name: - Conversion action name. - conversion_adjustment: - This segments your conversion columns by the original - conversion and conversion value vs. the delta if conversions - were adjusted. False row has the data as originally stated; - While true row has the delta between data now and the data as - originally stated. Summing the two together results post- - adjustment data. - conversion_attribution_event_type: - Conversion attribution event type. - conversion_lag_bucket: - An enum value representing the number of days between the - impression and the conversion. - conversion_or_adjustment_lag_bucket: - An enum value representing the number of days between the - impression and the conversion or between the impression and - adjustments to the conversion. - date: - Date to which metrics apply. yyyy-MM-dd format, e.g., - 2018-04-17. - day_of_week: - Day of the week, e.g., MONDAY. - device: - Device to which metrics apply. - external_conversion_source: - External conversion source. - 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. - geo_target_district: - Resource name of the geo target constant that represents a - district. - geo_target_metro: - Resource name of the geo target constant that represents a - metro. - geo_target_most_specific_location: - Resource name of the geo target constant that represents the - most specific location. - geo_target_postal_code: - Resource name of the geo target constant that represents a - postal code. - geo_target_province: - Resource name of the geo target constant that represents a - province. - geo_target_region: - Resource name of the geo target constant that represents a - region. - geo_target_state: - Resource name of the geo target constant that represents a - state. - hotel_booking_window_days: - Hotel booking window in days. - hotel_center_id: - Hotel center ID. - hotel_check_in_date: - Hotel check-in date. Formatted as yyyy-MM-dd. - hotel_check_in_day_of_week: - Hotel check-in day of week. - hotel_city: - Hotel city. - hotel_class: - Hotel class. - hotel_country: - Hotel country. - hotel_date_selection_type: - Hotel date selection type. - hotel_length_of_stay: - Hotel length of stay. - hotel_rate_rule_id: - Hotel rate rule ID. - hotel_rate_type: - Hotel rate type. - hotel_price_bucket: - Hotel price bucket. - hotel_state: - Hotel state. - hour: - Hour of day as a number between 0 and 23, inclusive. - interaction_on_this_extension: - Only used with feed item metrics. Indicates whether the - interaction metrics occurred on the feed item itself or a - different extension or ad unit. - keyword: - Keyword criterion. - month: - Month as represented by the date of the first day of a month. - Formatted as yyyy-MM-dd. - month_of_year: - Month of the year, e.g., January. - partner_hotel_id: - Partner hotel ID. - placeholder_type: - Placeholder type. This is only used with feed item metrics. - product_aggregator_id: - Aggregator ID of the product. - product_bidding_category_level1: - Bidding category (level 1) of the product. - product_bidding_category_level2: - Bidding category (level 2) of the product. - product_bidding_category_level3: - Bidding category (level 3) of the product. - product_bidding_category_level4: - Bidding category (level 4) of the product. - product_bidding_category_level5: - Bidding category (level 5) of the product. - product_brand: - Brand of the product. - product_channel: - Channel of the product. - product_channel_exclusivity: - Channel exclusivity of the product. - product_condition: - Condition of the product. - product_country: - Resource name of the geo target constant for the country of - sale of the product. - product_custom_attribute0: - Custom attribute 0 of the product. - product_custom_attribute1: - Custom attribute 1 of the product. - product_custom_attribute2: - Custom attribute 2 of the product. - product_custom_attribute3: - Custom attribute 3 of the product. - product_custom_attribute4: - Custom attribute 4 of the product. - product_item_id: - Item ID of the product. - product_language: - Resource name of the language constant for the language of the - product. - product_merchant_id: - Merchant ID of the product. - product_store_id: - Store ID of the product. - product_title: - Title of the product. - product_type_l1: - Type (level 1) of the product. - product_type_l2: - Type (level 2) of the product. - product_type_l3: - Type (level 3) of the product. - product_type_l4: - Type (level 4) of the product. - product_type_l5: - Type (level 5) of the product. - quarter: - Quarter as represented by the date of the first day of a - quarter. Uses the calendar year for quarters, e.g., the second - quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. - search_engine_results_page_type: - Type of the search engine results page. - search_term_match_type: - Match type of the keyword that triggered the ad, including - variants. - slot: - Position of the ad. - webpage: - Resource name of the ad group criterion that represents - webpage criterion. - week: - Week as defined as Monday through Sunday, and represented by - the date of Monday. Formatted as yyyy-MM-dd. - year: - Year, formatted as yyyy. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Segments) - )) -_sym_db.RegisterMessage(Segments) - -Keyword = _reflection.GeneratedProtocolMessageType('Keyword', (_message.Message,), dict( - DESCRIPTOR = _KEYWORD, - __module__ = 'google.ads.googleads_v2.proto.common.segments_pb2' - , - __doc__ = """A Keyword criterion segment. - - - Attributes: - ad_group_criterion: - The AdGroupCriterion resource name. - info: - Keyword info. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Keyword) - )) -_sym_db.RegisterMessage(Keyword) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/segments_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/segments_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/segments_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/simulation_pb2.py b/google/ads/google_ads/v2/proto/common/simulation_pb2.py deleted file mode 100644 index af26b3cf6..000000000 --- a/google/ads/google_ads/v2/proto/common/simulation_pb2.py +++ /dev/null @@ -1,713 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/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.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_v2/proto/common/simulation.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\017SimulationProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/common/simulation.proto\x12\x1egoogle.ads.googleads.v2.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.v2.common.BidModifierSimulationPoint\"b\n\x19\x43pcBidSimulationPointList\x12\x45\n\x06points\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v2.common.CpcBidSimulationPoint\"b\n\x19\x43pvBidSimulationPointList\x12\x45\n\x06points\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v2.common.CpvBidSimulationPoint\"h\n\x1cTargetCpaSimulationPointList\x12H\n\x06points\x18\x01 \x03(\x0b\x32\x38.google.ads.googleads.v2.common.TargetCpaSimulationPoint\"\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.Int64ValueB\xea\x01\n\"com.google.ads.googleads.v2.commonB\x0fSimulationProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_BIDMODIFIERSIMULATIONPOINTLIST = _descriptor.Descriptor( - name='BidModifierSimulationPointList', - full_name='google.ads.googleads.v2.common.BidModifierSimulationPointList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='points', full_name='google.ads.googleads.v2.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, - 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=151, - serialized_end=259, -) - - -_CPCBIDSIMULATIONPOINTLIST = _descriptor.Descriptor( - name='CpcBidSimulationPointList', - full_name='google.ads.googleads.v2.common.CpcBidSimulationPointList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='points', full_name='google.ads.googleads.v2.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, - 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=261, - serialized_end=359, -) - - -_CPVBIDSIMULATIONPOINTLIST = _descriptor.Descriptor( - name='CpvBidSimulationPointList', - full_name='google.ads.googleads.v2.common.CpvBidSimulationPointList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='points', full_name='google.ads.googleads.v2.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, - 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=361, - serialized_end=459, -) - - -_TARGETCPASIMULATIONPOINTLIST = _descriptor.Descriptor( - name='TargetCpaSimulationPointList', - full_name='google.ads.googleads.v2.common.TargetCpaSimulationPointList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='points', full_name='google.ads.googleads.v2.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, - 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=461, - serialized_end=565, -) - - -_BIDMODIFIERSIMULATIONPOINT = _descriptor.Descriptor( - name='BidModifierSimulationPoint', - full_name='google.ads.googleads.v2.common.BidModifierSimulationPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=568, - serialized_end=1418, -) - - -_CPCBIDSIMULATIONPOINT = _descriptor.Descriptor( - name='CpcBidSimulationPoint', - full_name='google.ads.googleads.v2.common.CpcBidSimulationPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='cpc_bid_micros', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=1421, - serialized_end=1827, -) - - -_CPVBIDSIMULATIONPOINT = _descriptor.Descriptor( - name='CpvBidSimulationPoint', - full_name='google.ads.googleads.v2.common.CpvBidSimulationPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='cpv_bid_micros', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1830, - serialized_end=2050, -) - - -_TARGETCPASIMULATIONPOINT = _descriptor.Descriptor( - name='TargetCpaSimulationPoint', - full_name='google.ads.googleads.v2.common.TargetCpaSimulationPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='target_cpa_micros', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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=2053, - serialized_end=2465, -) - -_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 -_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 -_BIDMODIFIERSIMULATIONPOINT.fields_by_name['clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_BIDMODIFIERSIMULATIONPOINT.fields_by_name['cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_BIDMODIFIERSIMULATIONPOINT.fields_by_name['impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_BIDMODIFIERSIMULATIONPOINT.fields_by_name['top_slot_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_biddable_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_biddable_conversions_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_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 -_CPCBIDSIMULATIONPOINT.fields_by_name['clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CPCBIDSIMULATIONPOINT.fields_by_name['cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CPCBIDSIMULATIONPOINT.fields_by_name['impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CPCBIDSIMULATIONPOINT.fields_by_name['top_slot_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_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 -_TARGETCPASIMULATIONPOINT.fields_by_name['clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_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 -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['BidModifierSimulationPoint'] = _BIDMODIFIERSIMULATIONPOINT -DESCRIPTOR.message_types_by_name['CpcBidSimulationPoint'] = _CPCBIDSIMULATIONPOINT -DESCRIPTOR.message_types_by_name['CpvBidSimulationPoint'] = _CPVBIDSIMULATIONPOINT -DESCRIPTOR.message_types_by_name['TargetCpaSimulationPoint'] = _TARGETCPASIMULATIONPOINT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BidModifierSimulationPointList = _reflection.GeneratedProtocolMessageType('BidModifierSimulationPointList', (_message.Message,), dict( - DESCRIPTOR = _BIDMODIFIERSIMULATIONPOINTLIST, - __module__ = 'google.ads.googleads_v2.proto.common.simulation_pb2' - , - __doc__ = """A container for simulation points for simulations of type BID\_MODIFIER. - - - Attributes: - points: - Projected metrics for a series of bid modifier amounts. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.BidModifierSimulationPointList) - )) -_sym_db.RegisterMessage(BidModifierSimulationPointList) - -CpcBidSimulationPointList = _reflection.GeneratedProtocolMessageType('CpcBidSimulationPointList', (_message.Message,), dict( - DESCRIPTOR = _CPCBIDSIMULATIONPOINTLIST, - __module__ = 'google.ads.googleads_v2.proto.common.simulation_pb2' - , - __doc__ = """A container for simulation points for simulations of type CPC\_BID. - - - Attributes: - points: - Projected metrics for a series of CPC bid amounts. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CpcBidSimulationPointList) - )) -_sym_db.RegisterMessage(CpcBidSimulationPointList) - -CpvBidSimulationPointList = _reflection.GeneratedProtocolMessageType('CpvBidSimulationPointList', (_message.Message,), dict( - DESCRIPTOR = _CPVBIDSIMULATIONPOINTLIST, - __module__ = 'google.ads.googleads_v2.proto.common.simulation_pb2' - , - __doc__ = """A container for simulation points for simulations of type CPV\_BID. - - - Attributes: - points: - Projected metrics for a series of CPV bid amounts. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CpvBidSimulationPointList) - )) -_sym_db.RegisterMessage(CpvBidSimulationPointList) - -TargetCpaSimulationPointList = _reflection.GeneratedProtocolMessageType('TargetCpaSimulationPointList', (_message.Message,), dict( - DESCRIPTOR = _TARGETCPASIMULATIONPOINTLIST, - __module__ = 'google.ads.googleads_v2.proto.common.simulation_pb2' - , - __doc__ = """A container for simulation points for simulations of type TARGET\_CPA. - - - Attributes: - points: - Projected metrics for a series of target CPA amounts. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.TargetCpaSimulationPointList) - )) -_sym_db.RegisterMessage(TargetCpaSimulationPointList) - -BidModifierSimulationPoint = _reflection.GeneratedProtocolMessageType('BidModifierSimulationPoint', (_message.Message,), dict( - DESCRIPTOR = _BIDMODIFIERSIMULATIONPOINT, - __module__ = 'google.ads.googleads_v2.proto.common.simulation_pb2' - , - __doc__ = """Projected metrics for a specific bid modifier amount. - - - Attributes: - bid_modifier: - The simulated bid modifier upon which projected metrics are - based. - biddable_conversions: - Projected number of biddable conversions. Only search - advertising channel type supports this field. - biddable_conversions_value: - Projected total value of biddable conversions. Only search - advertising channel type supports this field. - 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. - parent_biddable_conversions: - Projected number of biddable conversions for the parent - resource. Only search advertising channel type supports this - field. - parent_biddable_conversions_value: - Projected total value of biddable conversions for the parent - resource. Only search advertising channel type supports this - field. - parent_clicks: - Projected number of clicks for the parent resource. - parent_cost_micros: - Projected cost in micros for the parent resource. - parent_impressions: - Projected number of impressions for the parent resource. - parent_top_slot_impressions: - Projected number of top slot impressions for the parent - 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.v2.common.BidModifierSimulationPoint) - )) -_sym_db.RegisterMessage(BidModifierSimulationPoint) - -CpcBidSimulationPoint = _reflection.GeneratedProtocolMessageType('CpcBidSimulationPoint', (_message.Message,), dict( - DESCRIPTOR = _CPCBIDSIMULATIONPOINT, - __module__ = 'google.ads.googleads_v2.proto.common.simulation_pb2' - , - __doc__ = """Projected metrics for a specific CPC bid amount. - - - Attributes: - cpc_bid_micros: - The simulated CPC bid 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.v2.common.CpcBidSimulationPoint) - )) -_sym_db.RegisterMessage(CpcBidSimulationPoint) - -CpvBidSimulationPoint = _reflection.GeneratedProtocolMessageType('CpvBidSimulationPoint', (_message.Message,), dict( - DESCRIPTOR = _CPVBIDSIMULATIONPOINT, - __module__ = 'google.ads.googleads_v2.proto.common.simulation_pb2' - , - __doc__ = """Projected metrics for a specific CPV bid amount. - - - Attributes: - cpv_bid_micros: - The simulated CPV bid upon which projected metrics are based. - cost_micros: - Projected cost in micros. - impressions: - Projected number of impressions. - views: - Projected number of views. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CpvBidSimulationPoint) - )) -_sym_db.RegisterMessage(CpvBidSimulationPoint) - -TargetCpaSimulationPoint = _reflection.GeneratedProtocolMessageType('TargetCpaSimulationPoint', (_message.Message,), dict( - DESCRIPTOR = _TARGETCPASIMULATIONPOINT, - __module__ = 'google.ads.googleads_v2.proto.common.simulation_pb2' - , - __doc__ = """Projected metrics for a specific target CPA amount. - - - Attributes: - target_cpa_micros: - The simulated target CPA 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.v2.common.TargetCpaSimulationPoint) - )) -_sym_db.RegisterMessage(TargetCpaSimulationPoint) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/simulation_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/simulation_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/simulation_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/tag_snippet_pb2.py b/google/ads/google_ads/v2/proto/common/tag_snippet_pb2.py deleted file mode 100644 index 3f5f2e4b3..000000000 --- a/google/ads/google_ads/v2/proto/common/tag_snippet_pb2.py +++ /dev/null @@ -1,119 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/tag_snippet.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.v2.proto.enums import tracking_code_page_format_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_tracking__code__page__format__pb2 -from google.ads.google_ads.v2.proto.enums import tracking_code_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/common/tag_snippet.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\017TagSnippetProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/common/tag_snippet.proto\x12\x1egoogle.ads.googleads.v2.common\x1a\x43google/ads/googleads_v2/proto/enums/tracking_code_page_format.proto\x1a\n\x04rule\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v2.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.v2.common.UserListRuleInfo\"\xcd\x03\n\x15RuleBasedUserListInfo\x12x\n\x14prepopulation_status\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v2.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus\x12[\n\x17\x63ombined_rule_user_list\x18\x02 \x01(\x0b\x32\x38.google.ads.googleads.v2.common.CombinedRuleUserListInfoH\x00\x12\x64\n\x1c\x64\x61te_specific_rule_user_list\x18\x03 \x01(\x0b\x32<.google.ads.googleads.v2.common.DateSpecificRuleUserListInfoH\x00\x12_\n\x19\x65xpression_rule_user_list\x18\x04 \x01(\x0b\x32:.google.ads.googleads.v2.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.v2.common.UserListLogicalRuleInfo\"\xda\x01\n\x17UserListLogicalRuleInfo\x12l\n\x08operator\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v2.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator\x12Q\n\rrule_operands\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v2.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.v2.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.v2.commonB\x0eUserListsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_customer__match__upload__key__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__combined__rule__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__crm__data__source__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__date__rule__item__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__logical__rule__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__number__rule__item__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__prepopulation__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__rule__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.common.SimilarUserListInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='seed_user_list', full_name='google.ads.googleads.v2.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, - 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=822, - serialized_end=897, -) - - -_CRMBASEDUSERLISTINFO = _descriptor.Descriptor( - name='CrmBasedUserListInfo', - full_name='google.ads.googleads.v2.common.CrmBasedUserListInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='app_id', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=900, - serialized_end=1197, -) - - -_USERLISTRULEINFO = _descriptor.Descriptor( - name='UserListRuleInfo', - full_name='google.ads.googleads.v2.common.UserListRuleInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='rule_type', full_name='google.ads.googleads.v2.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.v2.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, - 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=1200, - serialized_end=1392, -) - - -_USERLISTRULEITEMGROUPINFO = _descriptor.Descriptor( - name='UserListRuleItemGroupInfo', - full_name='google.ads.googleads.v2.common.UserListRuleItemGroupInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='rule_items', full_name='google.ads.googleads.v2.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, - 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=1394, - serialized_end=1495, -) - - -_USERLISTRULEITEMINFO = _descriptor.Descriptor( - name='UserListRuleItemInfo', - full_name='google.ads.googleads.v2.common.UserListRuleItemInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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='rule_item', full_name='google.ads.googleads.v2.common.UserListRuleItemInfo.rule_item', - index=0, containing_type=None, fields=[]), - ], - serialized_start=1498, - serialized_end=1837, -) - - -_USERLISTDATERULEITEMINFO = _descriptor.Descriptor( - name='UserListDateRuleItemInfo', - full_name='google.ads.googleads.v2.common.UserListDateRuleItemInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=1840, - serialized_end=2076, -) - - -_USERLISTNUMBERRULEITEMINFO = _descriptor.Descriptor( - name='UserListNumberRuleItemInfo', - full_name='google.ads.googleads.v2.common.UserListNumberRuleItemInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v2.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.v2.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, - 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=2079, - serialized_end=2268, -) - - -_USERLISTSTRINGRULEITEMINFO = _descriptor.Descriptor( - name='UserListStringRuleItemInfo', - full_name='google.ads.googleads.v2.common.UserListStringRuleItemInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v2.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.v2.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, - 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=2271, - serialized_end=2460, -) - - -_COMBINEDRULEUSERLISTINFO = _descriptor.Descriptor( - name='CombinedRuleUserListInfo', - full_name='google.ads.googleads.v2.common.CombinedRuleUserListInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='left_operand', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=2463, - serialized_end=2751, -) - - -_DATESPECIFICRULEUSERLISTINFO = _descriptor.Descriptor( - name='DateSpecificRuleUserListInfo', - full_name='google.ads.googleads.v2.common.DateSpecificRuleUserListInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='rule', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=2754, - serialized_end=2946, -) - - -_EXPRESSIONRULEUSERLISTINFO = _descriptor.Descriptor( - name='ExpressionRuleUserListInfo', - full_name='google.ads.googleads.v2.common.ExpressionRuleUserListInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='rule', full_name='google.ads.googleads.v2.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, - 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=2948, - serialized_end=3040, -) - - -_RULEBASEDUSERLISTINFO = _descriptor.Descriptor( - name='RuleBasedUserListInfo', - full_name='google.ads.googleads.v2.common.RuleBasedUserListInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='prepopulation_status', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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='rule_based_user_list', full_name='google.ads.googleads.v2.common.RuleBasedUserListInfo.rule_based_user_list', - index=0, containing_type=None, fields=[]), - ], - serialized_start=3043, - serialized_end=3504, -) - - -_LOGICALUSERLISTINFO = _descriptor.Descriptor( - name='LogicalUserListInfo', - full_name='google.ads.googleads.v2.common.LogicalUserListInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='rules', full_name='google.ads.googleads.v2.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, - 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=3506, - serialized_end=3599, -) - - -_USERLISTLOGICALRULEINFO = _descriptor.Descriptor( - name='UserListLogicalRuleInfo', - full_name='google.ads.googleads.v2.common.UserListLogicalRuleInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v2.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.v2.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, - 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=3602, - serialized_end=3820, -) - - -_LOGICALUSERLISTOPERANDINFO = _descriptor.Descriptor( - name='LogicalUserListOperandInfo', - full_name='google.ads.googleads.v2.common.LogicalUserListOperandInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='user_list', full_name='google.ads.googleads.v2.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, - 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=3822, - serialized_end=3899, -) - - -_BASICUSERLISTINFO = _descriptor.Descriptor( - name='BasicUserListInfo', - full_name='google.ads.googleads.v2.common.BasicUserListInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='actions', full_name='google.ads.googleads.v2.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, - 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=3901, - serialized_end=3989, -) - - -_USERLISTACTIONINFO = _descriptor.Descriptor( - name='UserListActionInfo', - full_name='google.ads.googleads.v2.common.UserListActionInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v2.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.v2.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, - 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='user_list_action', full_name='google.ads.googleads.v2.common.UserListActionInfo.user_list_action', - index=0, containing_type=None, fields=[]), - ], - serialized_start=3992, - serialized_end=4151, -) - -_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__v2_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__v2_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__v2_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 -_USERLISTRULEITEMINFO.fields_by_name['number_rule_item'].message_type = _USERLISTNUMBERRULEITEMINFO -_USERLISTRULEITEMINFO.fields_by_name['string_rule_item'].message_type = _USERLISTSTRINGRULEITEMINFO -_USERLISTRULEITEMINFO.fields_by_name['date_rule_item'].message_type = _USERLISTDATERULEITEMINFO -_USERLISTRULEITEMINFO.oneofs_by_name['rule_item'].fields.append( - _USERLISTRULEITEMINFO.fields_by_name['number_rule_item']) -_USERLISTRULEITEMINFO.fields_by_name['number_rule_item'].containing_oneof = _USERLISTRULEITEMINFO.oneofs_by_name['rule_item'] -_USERLISTRULEITEMINFO.oneofs_by_name['rule_item'].fields.append( - _USERLISTRULEITEMINFO.fields_by_name['string_rule_item']) -_USERLISTRULEITEMINFO.fields_by_name['string_rule_item'].containing_oneof = _USERLISTRULEITEMINFO.oneofs_by_name['rule_item'] -_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__v2_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__v2_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__v2_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__v2_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__v2_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 -_RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'].fields.append( - _RULEBASEDUSERLISTINFO.fields_by_name['combined_rule_user_list']) -_RULEBASEDUSERLISTINFO.fields_by_name['combined_rule_user_list'].containing_oneof = _RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'] -_RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'].fields.append( - _RULEBASEDUSERLISTINFO.fields_by_name['date_specific_rule_user_list']) -_RULEBASEDUSERLISTINFO.fields_by_name['date_specific_rule_user_list'].containing_oneof = _RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'] -_RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'].fields.append( - _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__v2_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 -_USERLISTACTIONINFO.fields_by_name['conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_USERLISTACTIONINFO.fields_by_name['remarketing_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_USERLISTACTIONINFO.oneofs_by_name['user_list_action'].fields.append( - _USERLISTACTIONINFO.fields_by_name['conversion_action']) -_USERLISTACTIONINFO.fields_by_name['conversion_action'].containing_oneof = _USERLISTACTIONINFO.oneofs_by_name['user_list_action'] -_USERLISTACTIONINFO.oneofs_by_name['user_list_action'].fields.append( - _USERLISTACTIONINFO.fields_by_name['remarketing_action']) -_USERLISTACTIONINFO.fields_by_name['remarketing_action'].containing_oneof = _USERLISTACTIONINFO.oneofs_by_name['user_list_action'] -DESCRIPTOR.message_types_by_name['SimilarUserListInfo'] = _SIMILARUSERLISTINFO -DESCRIPTOR.message_types_by_name['CrmBasedUserListInfo'] = _CRMBASEDUSERLISTINFO -DESCRIPTOR.message_types_by_name['UserListRuleInfo'] = _USERLISTRULEINFO -DESCRIPTOR.message_types_by_name['UserListRuleItemGroupInfo'] = _USERLISTRULEITEMGROUPINFO -DESCRIPTOR.message_types_by_name['UserListRuleItemInfo'] = _USERLISTRULEITEMINFO -DESCRIPTOR.message_types_by_name['UserListDateRuleItemInfo'] = _USERLISTDATERULEITEMINFO -DESCRIPTOR.message_types_by_name['UserListNumberRuleItemInfo'] = _USERLISTNUMBERRULEITEMINFO -DESCRIPTOR.message_types_by_name['UserListStringRuleItemInfo'] = _USERLISTSTRINGRULEITEMINFO -DESCRIPTOR.message_types_by_name['CombinedRuleUserListInfo'] = _COMBINEDRULEUSERLISTINFO -DESCRIPTOR.message_types_by_name['DateSpecificRuleUserListInfo'] = _DATESPECIFICRULEUSERLISTINFO -DESCRIPTOR.message_types_by_name['ExpressionRuleUserListInfo'] = _EXPRESSIONRULEUSERLISTINFO -DESCRIPTOR.message_types_by_name['RuleBasedUserListInfo'] = _RULEBASEDUSERLISTINFO -DESCRIPTOR.message_types_by_name['LogicalUserListInfo'] = _LOGICALUSERLISTINFO -DESCRIPTOR.message_types_by_name['UserListLogicalRuleInfo'] = _USERLISTLOGICALRULEINFO -DESCRIPTOR.message_types_by_name['LogicalUserListOperandInfo'] = _LOGICALUSERLISTOPERANDINFO -DESCRIPTOR.message_types_by_name['BasicUserListInfo'] = _BASICUSERLISTINFO -DESCRIPTOR.message_types_by_name['UserListActionInfo'] = _USERLISTACTIONINFO -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SimilarUserListInfo = _reflection.GeneratedProtocolMessageType('SimilarUserListInfo', (_message.Message,), dict( - DESCRIPTOR = _SIMILARUSERLISTINFO, - __module__ = 'google.ads.googleads_v2.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 - Google. - - - Attributes: - seed_user_list: - Seed UserList from which this list is derived. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.SimilarUserListInfo) - )) -_sym_db.RegisterMessage(SimilarUserListInfo) - -CrmBasedUserListInfo = _reflection.GeneratedProtocolMessageType('CrmBasedUserListInfo', (_message.Message,), dict( - DESCRIPTOR = _CRMBASEDUSERLISTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """UserList of CRM users provided by the advertiser. - - - Attributes: - app_id: - 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., "476943146" for "Flood-It! 2" whose - App Store link is http://itunes.apple.com/us/app/flood- - it!-2/id476943146). For Android, the ID string 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). Required - when creating CrmBasedUserList for uploading mobile - advertising IDs. - upload_key_type: - Matching key type of the list. Mixed data types are not - allowed on the same list. This field is required for an ADD - operation. - data_source_type: - Data source of the list. Default value is FIRST\_PARTY. Only - whitelisted customers can create third-party sourced CRM - lists. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CrmBasedUserListInfo) - )) -_sym_db.RegisterMessage(CrmBasedUserListInfo) - -UserListRuleInfo = _reflection.GeneratedProtocolMessageType('UserListRuleInfo', (_message.Message,), dict( - DESCRIPTOR = _USERLISTRULEINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """A client defined rule based on custom parameters sent by web sites or - uploaded by the advertiser. - - - Attributes: - rule_type: - Rule type is used to determine how to group rule items. The - default is OR of ANDs (disjunctive normal form). That is, rule - items will be ANDed together within rule item groups and the - groups themselves will be ORed together. Currently AND of ORs - (conjunctive normal form) is only supported for - ExpressionRuleUserList. - rule_item_groups: - 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.v2.common.UserListRuleInfo) - )) -_sym_db.RegisterMessage(UserListRuleInfo) - -UserListRuleItemGroupInfo = _reflection.GeneratedProtocolMessageType('UserListRuleItemGroupInfo', (_message.Message,), dict( - DESCRIPTOR = _USERLISTRULEITEMGROUPINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """A group of rule items. - - - Attributes: - rule_items: - Rule items that will be grouped together based on rule\_type. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.UserListRuleItemGroupInfo) - )) -_sym_db.RegisterMessage(UserListRuleItemGroupInfo) - -UserListRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListRuleItemInfo', (_message.Message,), dict( - DESCRIPTOR = _USERLISTRULEITEMINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """An atomic rule fragment. - - - Attributes: - name: - Rule variable name. It should match the corresponding key name - fired by the pixel. A name must begin with US-ascii letters or - underscore or UTF8 code that is greater than 127 and consist - of US-ascii letters or digits or underscore or UTF8 code that - is greater than 127. For websites, there are two built-in - variable URL (name = 'url\_\_') and referrer URL (name = - 'ref\_url\_\_'). This field must be populated when creating a - new rule item. - rule_item: - An atomic rule fragment. - number_rule_item: - An atomic rule fragment composed of a number operation. - string_rule_item: - An atomic rule fragment composed of a string operation. - date_rule_item: - An atomic rule fragment composed of a date operation. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.UserListRuleItemInfo) - )) -_sym_db.RegisterMessage(UserListRuleItemInfo) - -UserListDateRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListDateRuleItemInfo', (_message.Message,), dict( - DESCRIPTOR = _USERLISTDATERULEITEMINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """A rule item composed of date operation. - - - Attributes: - operator: - Date comparison operator. This field is required and must be - populated when creating new date rule item. - value: - String representing date value to be compared with the rule - variable. Supported date format is YYYY-MM-DD. Times are - reported in the customer's time zone. - offset_in_days: - The relative date value of the right hand side denoted by - 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.v2.common.UserListDateRuleItemInfo) - )) -_sym_db.RegisterMessage(UserListDateRuleItemInfo) - -UserListNumberRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListNumberRuleItemInfo', (_message.Message,), dict( - DESCRIPTOR = _USERLISTNUMBERRULEITEMINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """A rule item composed of number operation. - - - Attributes: - operator: - Number comparison operator. This field is required and must be - populated when creating a new number rule item. - value: - Number value to be compared with the variable. This field is - required and must be populated when creating a new number rule - item. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.UserListNumberRuleItemInfo) - )) -_sym_db.RegisterMessage(UserListNumberRuleItemInfo) - -UserListStringRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListStringRuleItemInfo', (_message.Message,), dict( - DESCRIPTOR = _USERLISTSTRINGRULEITEMINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """A rule item fragment composed of date operation. - - - Attributes: - operator: - String comparison operator. This field is required and must be - populated when creating a new string rule item. - value: - The right hand side of the string rule item. For URLs or - referrer URLs, the value can not contain illegal URL chars - such as newlines, quotes, tabs, or parentheses. This field is - required and must be populated when creating a new string rule - item. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.UserListStringRuleItemInfo) - )) -_sym_db.RegisterMessage(UserListStringRuleItemInfo) - -CombinedRuleUserListInfo = _reflection.GeneratedProtocolMessageType('CombinedRuleUserListInfo', (_message.Message,), dict( - DESCRIPTOR = _COMBINEDRULEUSERLISTINFO, - __module__ = 'google.ads.googleads_v2.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 - operand have to be true; AND\_NOT where left operand is true but right - operand is false. - - - Attributes: - left_operand: - Left operand of the combined rule. This field is required and - must be populated when creating new combined rule based user - list. - right_operand: - Right operand of the combined rule. This field is required and - must be populated when creating new combined rule based user - list. - rule_operator: - Operator to connect the two operands. Required for creating a - combined rule user list. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.CombinedRuleUserListInfo) - )) -_sym_db.RegisterMessage(CombinedRuleUserListInfo) - -DateSpecificRuleUserListInfo = _reflection.GeneratedProtocolMessageType('DateSpecificRuleUserListInfo', (_message.Message,), dict( - DESCRIPTOR = _DATESPECIFICRULEUSERLISTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """Visitors of a page during specific dates. - - - Attributes: - rule: - Boolean rule that defines visitor of a page. Required for - creating a date specific rule user list. - start_date: - Start date of users visit. If set to 2000-01-01, then the list - includes all users before end\_date. The date's format should - be YYYY-MM-DD. Required for creating a data specific rule - user list. - end_date: - End date of users visit. If set to 2037-12-30, then the list - includes all users after start\_date. The date's format should - be YYYY-MM-DD. Required for creating a data specific rule - user list. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.DateSpecificRuleUserListInfo) - )) -_sym_db.RegisterMessage(DateSpecificRuleUserListInfo) - -ExpressionRuleUserListInfo = _reflection.GeneratedProtocolMessageType('ExpressionRuleUserListInfo', (_message.Message,), dict( - DESCRIPTOR = _EXPRESSIONRULEUSERLISTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """Visitors of a page. The page visit is defined by one boolean rule - expression. - - - Attributes: - rule: - Boolean rule that defines this user list. The rule consists of - a list of rule item groups and each rule item group consists - of a list of rule items. All the rule item groups are ORed or - 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.v2.common.ExpressionRuleUserListInfo) - )) -_sym_db.RegisterMessage(ExpressionRuleUserListInfo) - -RuleBasedUserListInfo = _reflection.GeneratedProtocolMessageType('RuleBasedUserListInfo', (_message.Message,), dict( - DESCRIPTOR = _RULEBASEDUSERLISTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """Representation of a userlist that is generated by a rule. - - - Attributes: - prepopulation_status: - The status of pre-population. The field is default to NONE if - not set which means the previous users will not be considered. - If set to REQUESTED, past site visitors or app users who match - the list definition will be included in the list (works on the - Display Network only). This will only add past users from - within the last 30 days, depending on the list's membership - duration and the date when the remarketing tag is added. The - status will be updated to FINISHED once request is processed, - or FAILED if the request fails. - rule_based_user_list: - Subtypes of rule based user lists. - combined_rule_user_list: - User lists defined by combining two rules. There are two - operators: AND, where the left and right operands have to be - true; AND\_NOT where left operand is true but right operand is - false. - date_specific_rule_user_list: - Visitors of a page during specific dates. The visiting periods - are defined as follows: Between start\_date (inclusive) and - end\_date (inclusive); Before end\_date (exclusive) with - start\_date = 2000-01-01; After start\_date (exclusive) with - end\_date = 2037-12-30. - expression_rule_user_list: - Visitors of a page. The page visit is defined by one boolean - rule expression. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.RuleBasedUserListInfo) - )) -_sym_db.RegisterMessage(RuleBasedUserListInfo) - -LogicalUserListInfo = _reflection.GeneratedProtocolMessageType('LogicalUserListInfo', (_message.Message,), dict( - DESCRIPTOR = _LOGICALUSERLISTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """Represents a user list that is a custom combination of user lists. - - - Attributes: - rules: - Logical list rules that define this user list. The rules are - defined as a logical operator (ALL/ANY/NONE) and a list of - 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.v2.common.LogicalUserListInfo) - )) -_sym_db.RegisterMessage(LogicalUserListInfo) - -UserListLogicalRuleInfo = _reflection.GeneratedProtocolMessageType('UserListLogicalRuleInfo', (_message.Message,), dict( - DESCRIPTOR = _USERLISTLOGICALRULEINFO, - __module__ = 'google.ads.googleads_v2.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. - - - Attributes: - operator: - The logical operator of the rule. - rule_operands: - The list of operands of the rule. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.UserListLogicalRuleInfo) - )) -_sym_db.RegisterMessage(UserListLogicalRuleInfo) - -LogicalUserListOperandInfo = _reflection.GeneratedProtocolMessageType('LogicalUserListOperandInfo', (_message.Message,), dict( - DESCRIPTOR = _LOGICALUSERLISTOPERANDINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """Operand of logical user list that consists of a user list. - - - Attributes: - user_list: - Resource name of a user list as an operand. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.LogicalUserListOperandInfo) - )) -_sym_db.RegisterMessage(LogicalUserListOperandInfo) - -BasicUserListInfo = _reflection.GeneratedProtocolMessageType('BasicUserListInfo', (_message.Message,), dict( - DESCRIPTOR = _BASICUSERLISTINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """User list targeting as a collection of conversions or remarketing - actions. - - - Attributes: - actions: - Actions associated with this user list. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.BasicUserListInfo) - )) -_sym_db.RegisterMessage(BasicUserListInfo) - -UserListActionInfo = _reflection.GeneratedProtocolMessageType('UserListActionInfo', (_message.Message,), dict( - DESCRIPTOR = _USERLISTACTIONINFO, - __module__ = 'google.ads.googleads_v2.proto.common.user_lists_pb2' - , - __doc__ = """Represents an action type used for building remarketing user lists. - - - Attributes: - user_list_action: - Subtypes of user list action. - conversion_action: - A conversion action that's not generated from remarketing. - remarketing_action: - A remarketing action. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.UserListActionInfo) - )) -_sym_db.RegisterMessage(UserListActionInfo) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/user_lists_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/user_lists_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/user_lists_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/common/value_pb2.py b/google/ads/google_ads/v2/proto/common/value_pb2.py deleted file mode 100644 index 1aaacdf96..000000000 --- a/google/ads/google_ads/v2/proto/common/value_pb2.py +++ /dev/null @@ -1,137 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/common/value.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_v2/proto/common/value.proto', - package='google.ads.googleads.v2.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.commonB\nValueProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Common\312\002\036Google\\Ads\\GoogleAds\\V2\\Common\352\002\"Google::Ads::GoogleAds::V2::Common'), - serialized_pb=_b('\n0google/ads/googleads_v2/proto/common/value.proto\x12\x1egoogle.ads.googleads.v2.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.v2.commonB\nValueProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Common\xea\x02\"Google::Ads::GoogleAds::V2::Commonb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_VALUE = _descriptor.Descriptor( - name='Value', - full_name='google.ads.googleads.v2.common.Value', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='boolean_value', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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='value', full_name='google.ads.googleads.v2.common.Value.value', - index=0, containing_type=None, fields=[]), - ], - serialized_start=115, - serialized_end=250, -) - -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['boolean_value']) -_VALUE.fields_by_name['boolean_value'].containing_oneof = _VALUE.oneofs_by_name['value'] -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['int64_value']) -_VALUE.fields_by_name['int64_value'].containing_oneof = _VALUE.oneofs_by_name['value'] -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['float_value']) -_VALUE.fields_by_name['float_value'].containing_oneof = _VALUE.oneofs_by_name['value'] -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['double_value']) -_VALUE.fields_by_name['double_value'].containing_oneof = _VALUE.oneofs_by_name['value'] -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['string_value']) -_VALUE.fields_by_name['string_value'].containing_oneof = _VALUE.oneofs_by_name['value'] -DESCRIPTOR.message_types_by_name['Value'] = _VALUE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Value = _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), dict( - DESCRIPTOR = _VALUE, - __module__ = 'google.ads.googleads_v2.proto.common.value_pb2' - , - __doc__ = """A generic data container. - - - Attributes: - value: - A value. - boolean_value: - A boolean. - int64_value: - An int64. - float_value: - A float. - double_value: - A double. - string_value: - A string. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.common.Value) - )) -_sym_db.RegisterMessage(Value) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/common/value_pb2_grpc.py b/google/ads/google_ads/v2/proto/common/value_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/common/value_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/access_reason_pb2.py b/google/ads/google_ads/v2/proto/enums/access_reason_pb2.py deleted file mode 100644 index 99057be3d..000000000 --- a/google/ads/google_ads/v2/proto/enums/access_reason_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/access_reason.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_v2/proto/enums/access_reason.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\021AccessReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n7google/ads/googleads_v2/proto/enums/access_reason.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x11\x41\x63\x63\x65ssReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ACCESSREASONENUM_ACCESSREASON = _descriptor.EnumDescriptor( - name='AccessReason', - full_name='google.ads.googleads.v2.enums.AccessReasonEnum.AccessReason', - 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='OWNED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHARED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LICENSED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SUBSCRIBED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AFFILIATED', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=141, - serialized_end=254, -) -_sym_db.RegisterEnumDescriptor(_ACCESSREASONENUM_ACCESSREASON) - - -_ACCESSREASONENUM = _descriptor.Descriptor( - name='AccessReasonEnum', - full_name='google.ads.googleads.v2.enums.AccessReasonEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ACCESSREASONENUM_ACCESSREASON, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=254, -) - -_ACCESSREASONENUM_ACCESSREASON.containing_type = _ACCESSREASONENUM -DESCRIPTOR.message_types_by_name['AccessReasonEnum'] = _ACCESSREASONENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AccessReasonEnum = _reflection.GeneratedProtocolMessageType('AccessReasonEnum', (_message.Message,), dict( - DESCRIPTOR = _ACCESSREASONENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.AccessReasonEnum) - )) -_sym_db.RegisterMessage(AccessReasonEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/access_reason_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/access_reason_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/access_reason_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/access_role_pb2.py b/google/ads/google_ads/v2/proto/enums/access_role_pb2.py deleted file mode 100644 index c0365ae5b..000000000 --- a/google/ads/google_ads/v2/proto/enums/access_role_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/enums/access_role.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\017AccessRoleProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/enums/access_role.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x0f\x41\x63\x63\x65ssRoleProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ACCESSROLEENUM_ACCESSROLE = _descriptor.EnumDescriptor( - name='AccessRole', - full_name='google.ads.googleads.v2.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.v2.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_v2.proto.enums.access_role_pb2' - , - __doc__ = """Container for enum describing possible access role for user. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.AccessRoleEnum) - )) -_sym_db.RegisterMessage(AccessRoleEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/access_role_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/access_role_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/access_role_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/account_budget_proposal_status_pb2.py b/google/ads/google_ads/v2/proto/enums/account_budget_proposal_status_pb2.py deleted file mode 100644 index 83bdd39f3..000000000 --- a/google/ads/google_ads/v2/proto/enums/account_budget_proposal_status_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/account_budget_proposal_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB AccountBudgetProposalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/enums/account_budget_proposal_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB AccountBudgetProposalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS = _descriptor.EnumDescriptor( - name='AccountBudgetProposalStatus', - full_name='google.ads.googleads.v2.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus', - 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='PENDING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APPROVED_HELD', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APPROVED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANCELLED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REJECTED', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=174, - serialized_end=308, -) -_sym_db.RegisterEnumDescriptor(_ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS) - - -_ACCOUNTBUDGETPROPOSALSTATUSENUM = _descriptor.Descriptor( - name='AccountBudgetProposalStatusEnum', - full_name='google.ads.googleads.v2.enums.AccountBudgetProposalStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=138, - serialized_end=308, -) - -_ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS.containing_type = _ACCOUNTBUDGETPROPOSALSTATUSENUM -DESCRIPTOR.message_types_by_name['AccountBudgetProposalStatusEnum'] = _ACCOUNTBUDGETPROPOSALSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AccountBudgetProposalStatusEnum = _reflection.GeneratedProtocolMessageType('AccountBudgetProposalStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _ACCOUNTBUDGETPROPOSALSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.account_budget_proposal_status_pb2' - , - __doc__ = """Message describing AccountBudgetProposal statuses. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.AccountBudgetProposalStatusEnum) - )) -_sym_db.RegisterMessage(AccountBudgetProposalStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/account_budget_proposal_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/account_budget_proposal_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/account_budget_proposal_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/account_budget_proposal_type_pb2.py b/google/ads/google_ads/v2/proto/enums/account_budget_proposal_type_pb2.py deleted file mode 100644 index 50c4a7e7f..000000000 --- a/google/ads/google_ads/v2/proto/enums/account_budget_proposal_type_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/account_budget_proposal_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\036AccountBudgetProposalTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/enums/account_budget_proposal_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1e\x41\x63\x63ountBudgetProposalTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE = _descriptor.EnumDescriptor( - name='AccountBudgetProposalType', - full_name='google.ads.googleads.v2.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType', - 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='CREATE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UPDATE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='END', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REMOVE', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=169, - serialized_end=271, -) -_sym_db.RegisterEnumDescriptor(_ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE) - - -_ACCOUNTBUDGETPROPOSALTYPEENUM = _descriptor.Descriptor( - name='AccountBudgetProposalTypeEnum', - full_name='google.ads.googleads.v2.enums.AccountBudgetProposalTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=136, - serialized_end=271, -) - -_ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE.containing_type = _ACCOUNTBUDGETPROPOSALTYPEENUM -DESCRIPTOR.message_types_by_name['AccountBudgetProposalTypeEnum'] = _ACCOUNTBUDGETPROPOSALTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AccountBudgetProposalTypeEnum = _reflection.GeneratedProtocolMessageType('AccountBudgetProposalTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _ACCOUNTBUDGETPROPOSALTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.account_budget_proposal_type_pb2' - , - __doc__ = """Message describing AccountBudgetProposal types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.AccountBudgetProposalTypeEnum) - )) -_sym_db.RegisterMessage(AccountBudgetProposalTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/account_budget_proposal_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/account_budget_proposal_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/account_budget_proposal_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/account_budget_status_pb2.py b/google/ads/google_ads/v2/proto/enums/account_budget_status_pb2.py deleted file mode 100644 index 734f558b9..000000000 --- a/google/ads/google_ads/v2/proto/enums/account_budget_status_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/account_budget_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_v2/proto/enums/account_budget_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\030AccountBudgetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/enums/account_budget_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x18\x41\x63\x63ountBudgetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS = _descriptor.EnumDescriptor( - name='AccountBudgetStatus', - full_name='google.ads.googleads.v2.enums.AccountBudgetStatusEnum.AccountBudgetStatus', - 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='PENDING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APPROVED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANCELLED', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=155, - serialized_end=248, -) -_sym_db.RegisterEnumDescriptor(_ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS) - - -_ACCOUNTBUDGETSTATUSENUM = _descriptor.Descriptor( - name='AccountBudgetStatusEnum', - full_name='google.ads.googleads.v2.enums.AccountBudgetStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=248, -) - -_ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS.containing_type = _ACCOUNTBUDGETSTATUSENUM -DESCRIPTOR.message_types_by_name['AccountBudgetStatusEnum'] = _ACCOUNTBUDGETSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AccountBudgetStatusEnum = _reflection.GeneratedProtocolMessageType('AccountBudgetStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _ACCOUNTBUDGETSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.account_budget_status_pb2' - , - __doc__ = """Message describing AccountBudget statuses. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.AccountBudgetStatusEnum) - )) -_sym_db.RegisterMessage(AccountBudgetStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/account_budget_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/account_budget_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/account_budget_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/ad_customizer_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/ad_customizer_placeholder_field_pb2.py deleted file mode 100644 index 5c2457853..000000000 --- a/google/ads/google_ads/v2/proto/enums/ad_customizer_placeholder_field_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/ad_customizer_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB!AdCustomizerPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/enums/ad_customizer_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB!AdCustomizerPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='AdCustomizerPlaceholderField', - full_name='google.ads.googleads.v2.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField', - 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='INTEGER', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRING', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=175, - serialized_end=281, -) -_sym_db.RegisterEnumDescriptor(_ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD) - - -_ADCUSTOMIZERPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='AdCustomizerPlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.AdCustomizerPlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=139, - serialized_end=281, -) - -_ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD.containing_type = _ADCUSTOMIZERPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['AdCustomizerPlaceholderFieldEnum'] = _ADCUSTOMIZERPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdCustomizerPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('AdCustomizerPlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _ADCUSTOMIZERPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.ad_customizer_placeholder_field_pb2' - , - __doc__ = """Values for Ad Customizer placeholder fields. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.AdCustomizerPlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(AdCustomizerPlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/ad_group_ad_rotation_mode_pb2.py b/google/ads/google_ads/v2/proto/enums/ad_group_ad_rotation_mode_pb2.py deleted file mode 100644 index 319d84646..000000000 --- a/google/ads/google_ads/v2/proto/enums/ad_group_ad_rotation_mode_pb2.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/ad_group_ad_rotation_mode.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\032AdGroupAdRotationModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/enums/ad_group_ad_rotation_mode.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1a\x41\x64GroupAdRotationModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE = _descriptor.EnumDescriptor( - name='AdGroupAdRotationMode', - full_name='google.ads.googleads.v2.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode', - 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='OPTIMIZE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ROTATE_FOREVER', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=161, - serialized_end=248, -) -_sym_db.RegisterEnumDescriptor(_ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE) - - -_ADGROUPADROTATIONMODEENUM = _descriptor.Descriptor( - name='AdGroupAdRotationModeEnum', - full_name='google.ads.googleads.v2.enums.AdGroupAdRotationModeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=248, -) - -_ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE.containing_type = _ADGROUPADROTATIONMODEENUM -DESCRIPTOR.message_types_by_name['AdGroupAdRotationModeEnum'] = _ADGROUPADROTATIONMODEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupAdRotationModeEnum = _reflection.GeneratedProtocolMessageType('AdGroupAdRotationModeEnum', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPADROTATIONMODEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.AdGroupAdRotationModeEnum) - )) -_sym_db.RegisterMessage(AdGroupAdRotationModeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/ad_group_ad_status_pb2.py b/google/ads/google_ads/v2/proto/enums/ad_group_ad_status_pb2.py deleted file mode 100644 index 91053b546..000000000 --- a/google/ads/google_ads/v2/proto/enums/ad_group_ad_status_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/ad_group_ad_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\024AdGroupAdStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/enums/billing_setup_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x17\x42illingSetupStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS = _descriptor.EnumDescriptor( - name='BillingSetupStatus', - full_name='google.ads.googleads.v2.enums.BillingSetupStatusEnum.BillingSetupStatus', - 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='PENDING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APPROVED_HELD', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APPROVED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANCELLED', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=154, - serialized_end=265, -) -_sym_db.RegisterEnumDescriptor(_BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS) - - -_BILLINGSETUPSTATUSENUM = _descriptor.Descriptor( - name='BillingSetupStatusEnum', - full_name='google.ads.googleads.v2.enums.BillingSetupStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=265, -) - -_BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS.containing_type = _BILLINGSETUPSTATUSENUM -DESCRIPTOR.message_types_by_name['BillingSetupStatusEnum'] = _BILLINGSETUPSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BillingSetupStatusEnum = _reflection.GeneratedProtocolMessageType('BillingSetupStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _BILLINGSETUPSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.billing_setup_status_pb2' - , - __doc__ = """Message describing BillingSetup statuses. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.BillingSetupStatusEnum) - )) -_sym_db.RegisterMessage(BillingSetupStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/billing_setup_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/billing_setup_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/billing_setup_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/brand_safety_suitability_pb2.py b/google/ads/google_ads/v2/proto/enums/brand_safety_suitability_pb2.py deleted file mode 100644 index a7b14bad6..000000000 --- a/google/ads/google_ads/v2/proto/enums/brand_safety_suitability_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/brand_safety_suitability.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_v2/proto/enums/brand_safety_suitability.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\033BrandSafetySuitabilityProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/enums/brand_safety_suitability.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1b\x42randSafetySuitabilityProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY = _descriptor.EnumDescriptor( - name='BrandSafetySuitability', - full_name='google.ads.googleads.v2.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability', - 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='EXPANDED_INVENTORY', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STANDARD_INVENTORY', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LIMITED_INVENTORY', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=162, - serialized_end=287, -) -_sym_db.RegisterEnumDescriptor(_BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY) - - -_BRANDSAFETYSUITABILITYENUM = _descriptor.Descriptor( - name='BrandSafetySuitabilityEnum', - full_name='google.ads.googleads.v2.enums.BrandSafetySuitabilityEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=287, -) - -_BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY.containing_type = _BRANDSAFETYSUITABILITYENUM -DESCRIPTOR.message_types_by_name['BrandSafetySuitabilityEnum'] = _BRANDSAFETYSUITABILITYENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BrandSafetySuitabilityEnum = _reflection.GeneratedProtocolMessageType('BrandSafetySuitabilityEnum', (_message.Message,), dict( - DESCRIPTOR = _BRANDSAFETYSUITABILITYENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.BrandSafetySuitabilityEnum) - )) -_sym_db.RegisterMessage(BrandSafetySuitabilityEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/brand_safety_suitability_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/brand_safety_suitability_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/brand_safety_suitability_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/budget_delivery_method_pb2.py b/google/ads/google_ads/v2/proto/enums/budget_delivery_method_pb2.py deleted file mode 100644 index 1cd5cfd2c..000000000 --- a/google/ads/google_ads/v2/proto/enums/budget_delivery_method_pb2.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/budget_delivery_method.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_v2/proto/enums/budget_delivery_method.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\031BudgetDeliveryMethodProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/enums/budget_delivery_method.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x19\x42udgetDeliveryMethodProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD = _descriptor.EnumDescriptor( - name='BudgetDeliveryMethod', - full_name='google.ads.googleads.v2.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod', - 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='STANDARD', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ACCELERATED', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=157, - serialized_end=240, -) -_sym_db.RegisterEnumDescriptor(_BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD) - - -_BUDGETDELIVERYMETHODENUM = _descriptor.Descriptor( - name='BudgetDeliveryMethodEnum', - full_name='google.ads.googleads.v2.enums.BudgetDeliveryMethodEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=240, -) - -_BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD.containing_type = _BUDGETDELIVERYMETHODENUM -DESCRIPTOR.message_types_by_name['BudgetDeliveryMethodEnum'] = _BUDGETDELIVERYMETHODENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BudgetDeliveryMethodEnum = _reflection.GeneratedProtocolMessageType('BudgetDeliveryMethodEnum', (_message.Message,), dict( - DESCRIPTOR = _BUDGETDELIVERYMETHODENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.BudgetDeliveryMethodEnum) - )) -_sym_db.RegisterMessage(BudgetDeliveryMethodEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/budget_delivery_method_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/budget_delivery_method_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/budget_delivery_method_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/budget_period_pb2.py b/google/ads/google_ads/v2/proto/enums/budget_period_pb2.py deleted file mode 100644 index 0b9e59417..000000000 --- a/google/ads/google_ads/v2/proto/enums/budget_period_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/budget_period.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_v2/proto/enums/budget_period.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\021BudgetPeriodProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n7google/ads/googleads_v2/proto/enums/budget_period.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x11\x42udgetPeriodProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_BUDGETPERIODENUM_BUDGETPERIOD = _descriptor.EnumDescriptor( - name='BudgetPeriod', - full_name='google.ads.googleads.v2.enums.BudgetPeriodEnum.BudgetPeriod', - 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='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, -) -_sym_db.RegisterEnumDescriptor(_BUDGETPERIODENUM_BUDGETPERIOD) - - -_BUDGETPERIODENUM = _descriptor.Descriptor( - name='BudgetPeriodEnum', - full_name='google.ads.googleads.v2.enums.BudgetPeriodEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _BUDGETPERIODENUM_BUDGETPERIOD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=120, - serialized_end=224, -) - -_BUDGETPERIODENUM_BUDGETPERIOD.containing_type = _BUDGETPERIODENUM -DESCRIPTOR.message_types_by_name['BudgetPeriodEnum'] = _BUDGETPERIODENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BudgetPeriodEnum = _reflection.GeneratedProtocolMessageType('BudgetPeriodEnum', (_message.Message,), dict( - DESCRIPTOR = _BUDGETPERIODENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.budget_period_pb2' - , - __doc__ = """Message describing Budget period. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.BudgetPeriodEnum) - )) -_sym_db.RegisterMessage(BudgetPeriodEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/budget_period_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/budget_period_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/budget_period_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/budget_status_pb2.py b/google/ads/google_ads/v2/proto/enums/budget_status_pb2.py deleted file mode 100644 index bc29835b7..000000000 --- a/google/ads/google_ads/v2/proto/enums/budget_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/budget_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_v2/proto/enums/budget_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\021BudgetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n7google/ads/googleads_v2/proto/enums/budget_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x11\x42udgetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_BUDGETSTATUSENUM_BUDGETSTATUS = _descriptor.EnumDescriptor( - name='BudgetStatus', - full_name='google.ads.googleads.v2.enums.BudgetStatusEnum.BudgetStatus', - 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=140, - serialized_end=210, -) -_sym_db.RegisterEnumDescriptor(_BUDGETSTATUSENUM_BUDGETSTATUS) - - -_BUDGETSTATUSENUM = _descriptor.Descriptor( - name='BudgetStatusEnum', - full_name='google.ads.googleads.v2.enums.BudgetStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _BUDGETSTATUSENUM_BUDGETSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=120, - serialized_end=210, -) - -_BUDGETSTATUSENUM_BUDGETSTATUS.containing_type = _BUDGETSTATUSENUM -DESCRIPTOR.message_types_by_name['BudgetStatusEnum'] = _BUDGETSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BudgetStatusEnum = _reflection.GeneratedProtocolMessageType('BudgetStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _BUDGETSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.budget_status_pb2' - , - __doc__ = """Message describing a Budget status - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.BudgetStatusEnum) - )) -_sym_db.RegisterMessage(BudgetStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/budget_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/budget_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/budget_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/budget_type_pb2.py b/google/ads/google_ads/v2/proto/enums/budget_type_pb2.py deleted file mode 100644 index d5aa3e2c9..000000000 --- a/google/ads/google_ads/v2/proto/enums/budget_type_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/budget_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_v2/proto/enums/budget_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\017BudgetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/enums/budget_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x0f\x42udgetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_BUDGETTYPEENUM_BUDGETTYPE = _descriptor.EnumDescriptor( - name='BudgetType', - full_name='google.ads.googleads.v2.enums.BudgetTypeEnum.BudgetType', - 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='STANDARD', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HOTEL_ADS_COMMISSION', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIXED_CPA', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=136, - serialized_end=233, -) -_sym_db.RegisterEnumDescriptor(_BUDGETTYPEENUM_BUDGETTYPE) - - -_BUDGETTYPEENUM = _descriptor.Descriptor( - name='BudgetTypeEnum', - full_name='google.ads.googleads.v2.enums.BudgetTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _BUDGETTYPEENUM_BUDGETTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=118, - serialized_end=233, -) - -_BUDGETTYPEENUM_BUDGETTYPE.containing_type = _BUDGETTYPEENUM -DESCRIPTOR.message_types_by_name['BudgetTypeEnum'] = _BUDGETTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BudgetTypeEnum = _reflection.GeneratedProtocolMessageType('BudgetTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _BUDGETTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.budget_type_pb2' - , - __doc__ = """Describes Budget types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.BudgetTypeEnum) - )) -_sym_db.RegisterMessage(BudgetTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/budget_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/budget_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/budget_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/call_conversion_reporting_state_pb2.py b/google/ads/google_ads/v2/proto/enums/call_conversion_reporting_state_pb2.py deleted file mode 100644 index 9548802df..000000000 --- a/google/ads/google_ads/v2/proto/enums/call_conversion_reporting_state_pb2.py +++ /dev/null @@ -1,106 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/call_conversion_reporting_state.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB!CallConversionReportingStateProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/enums/call_conversion_reporting_state.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB!CallConversionReportingStateProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE = _descriptor.EnumDescriptor( - name='CallConversionReportingState', - full_name='google.ads.googleads.v2.enums.CallConversionReportingStateEnum.CallConversionReportingState', - 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='DISABLED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=176, - serialized_end=343, -) -_sym_db.RegisterEnumDescriptor(_CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE) - - -_CALLCONVERSIONREPORTINGSTATEENUM = _descriptor.Descriptor( - name='CallConversionReportingStateEnum', - full_name='google.ads.googleads.v2.enums.CallConversionReportingStateEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=139, - serialized_end=343, -) - -_CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE.containing_type = _CALLCONVERSIONREPORTINGSTATEENUM -DESCRIPTOR.message_types_by_name['CallConversionReportingStateEnum'] = _CALLCONVERSIONREPORTINGSTATEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CallConversionReportingStateEnum = _reflection.GeneratedProtocolMessageType('CallConversionReportingStateEnum', (_message.Message,), dict( - DESCRIPTOR = _CALLCONVERSIONREPORTINGSTATEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.CallConversionReportingStateEnum) - )) -_sym_db.RegisterMessage(CallConversionReportingStateEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/call_conversion_reporting_state_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/call_conversion_reporting_state_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/call_conversion_reporting_state_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/call_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/call_placeholder_field_pb2.py deleted file mode 100644 index 220308a9c..000000000 --- a/google/ads/google_ads/v2/proto/enums/call_placeholder_field_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/call_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/call_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\031CallPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/enums/call_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x19\x43\x61llPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='CallPlaceholderField', - full_name='google.ads.googleads.v2.enums.CallPlaceholderFieldEnum.CallPlaceholderField', - 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='PHONE_NUMBER', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='COUNTRY_CODE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACKED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_TYPE_ID', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_REPORTING_STATE', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=159, - serialized_end=316, -) -_sym_db.RegisterEnumDescriptor(_CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD) - - -_CALLPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='CallPlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.CallPlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=316, -) - -_CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD.containing_type = _CALLPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['CallPlaceholderFieldEnum'] = _CALLPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CallPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('CallPlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _CALLPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.call_placeholder_field_pb2' - , - __doc__ = """Values for Call placeholder fields. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.CallPlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(CallPlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/call_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/call_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/call_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/callout_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/callout_placeholder_field_pb2.py deleted file mode 100644 index 9c598557b..000000000 --- a/google/ads/google_ads/v2/proto/enums/callout_placeholder_field_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/callout_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/callout_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\034CalloutPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/enums/callout_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1c\x43\x61lloutPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='CalloutPlaceholderField', - full_name='google.ads.googleads.v2.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField', - 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='CALLOUT_TEXT', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=163, - serialized_end=236, -) -_sym_db.RegisterEnumDescriptor(_CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD) - - -_CALLOUTPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='CalloutPlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.CalloutPlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=236, -) - -_CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD.containing_type = _CALLOUTPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['CalloutPlaceholderFieldEnum'] = _CALLOUTPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CalloutPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('CalloutPlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _CALLOUTPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.callout_placeholder_field_pb2' - , - __doc__ = """Values for Callout placeholder fields. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.CalloutPlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(CalloutPlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/callout_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/callout_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/callout_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/campaign_criterion_status_pb2.py b/google/ads/google_ads/v2/proto/enums/campaign_criterion_status_pb2.py deleted file mode 100644 index 8d4d0002e..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_criterion_status_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/campaign_criterion_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_v2/proto/enums/campaign_criterion_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\034CampaignCriterionStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/enums/campaign_criterion_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1c\x43\x61mpaignCriterionStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS = _descriptor.EnumDescriptor( - name='CampaignCriterionStatus', - full_name='google.ads.googleads.v2.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus', - 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='PAUSED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REMOVED', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=163, - serialized_end=256, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS) - - -_CAMPAIGNCRITERIONSTATUSENUM = _descriptor.Descriptor( - name='CampaignCriterionStatusEnum', - full_name='google.ads.googleads.v2.enums.CampaignCriterionStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=256, -) - -_CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS.containing_type = _CAMPAIGNCRITERIONSTATUSENUM -DESCRIPTOR.message_types_by_name['CampaignCriterionStatusEnum'] = _CAMPAIGNCRITERIONSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignCriterionStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignCriterionStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNCRITERIONSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.campaign_criterion_status_pb2' - , - __doc__ = """Message describing CampaignCriterion statuses. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.CampaignCriterionStatusEnum) - )) -_sym_db.RegisterMessage(CampaignCriterionStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/campaign_criterion_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/campaign_criterion_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_criterion_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/campaign_draft_status_pb2.py b/google/ads/google_ads/v2/proto/enums/campaign_draft_status_pb2.py deleted file mode 100644 index 1e30b6ee0..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_draft_status_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/campaign_draft_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_v2/proto/enums/campaign_draft_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\030CampaignDraftStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/enums/campaign_draft_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x18\x43\x61mpaignDraftStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNDRAFTSTATUSENUM_CAMPAIGNDRAFTSTATUS = _descriptor.EnumDescriptor( - name='CampaignDraftStatus', - full_name='google.ads.googleads.v2.enums.CampaignDraftStatusEnum.CampaignDraftStatus', - 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='PROPOSED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REMOVED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTING', index=4, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTED', index=5, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTE_FAILED', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=156, - serialized_end=283, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNDRAFTSTATUSENUM_CAMPAIGNDRAFTSTATUS) - - -_CAMPAIGNDRAFTSTATUSENUM = _descriptor.Descriptor( - name='CampaignDraftStatusEnum', - full_name='google.ads.googleads.v2.enums.CampaignDraftStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNDRAFTSTATUSENUM_CAMPAIGNDRAFTSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=283, -) - -_CAMPAIGNDRAFTSTATUSENUM_CAMPAIGNDRAFTSTATUS.containing_type = _CAMPAIGNDRAFTSTATUSENUM -DESCRIPTOR.message_types_by_name['CampaignDraftStatusEnum'] = _CAMPAIGNDRAFTSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignDraftStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignDraftStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNDRAFTSTATUSENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.CampaignDraftStatusEnum) - )) -_sym_db.RegisterMessage(CampaignDraftStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/campaign_draft_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/campaign_draft_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_draft_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/campaign_experiment_status_pb2.py b/google/ads/google_ads/v2/proto/enums/campaign_experiment_status_pb2.py deleted file mode 100644 index 6f1cffc59..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_experiment_status_pb2.py +++ /dev/null @@ -1,130 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/campaign_experiment_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_v2/proto/enums/campaign_experiment_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\035CampaignExperimentStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/enums/campaign_experiment_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1d\x43\x61mpaignExperimentStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS = _descriptor.EnumDescriptor( - name='CampaignExperimentStatus', - full_name='google.ads.googleads.v2.enums.CampaignExperimentStatusEnum.CampaignExperimentStatus', - 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='INITIALIZING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INITIALIZATION_FAILED', index=3, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ENABLED', index=4, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GRADUATED', index=5, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REMOVED', index=6, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTING', index=7, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION_FAILED', index=8, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTED', index=9, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ENDED_MANUALLY', index=10, number=10, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=167, - serialized_end=380, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS) - - -_CAMPAIGNEXPERIMENTSTATUSENUM = _descriptor.Descriptor( - name='CampaignExperimentStatusEnum', - full_name='google.ads.googleads.v2.enums.CampaignExperimentStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=134, - serialized_end=380, -) - -_CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS.containing_type = _CAMPAIGNEXPERIMENTSTATUSENUM -DESCRIPTOR.message_types_by_name['CampaignExperimentStatusEnum'] = _CAMPAIGNEXPERIMENTSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignExperimentStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNEXPERIMENTSTATUSENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.CampaignExperimentStatusEnum) - )) -_sym_db.RegisterMessage(CampaignExperimentStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/campaign_experiment_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/campaign_experiment_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_experiment_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/campaign_experiment_traffic_split_type_pb2.py b/google/ads/google_ads/v2/proto/enums/campaign_experiment_traffic_split_type_pb2.py deleted file mode 100644 index fe7158895..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_experiment_traffic_split_type_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/campaign_experiment_traffic_split_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\'CampaignExperimentTrafficSplitTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nPgoogle/ads/googleads_v2/proto/enums/campaign_experiment_traffic_split_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\'CampaignExperimentTrafficSplitTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE = _descriptor.EnumDescriptor( - name='CampaignExperimentTrafficSplitType', - full_name='google.ads.googleads.v2.enums.CampaignExperimentTrafficSplitTypeEnum.CampaignExperimentTrafficSplitType', - 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='RANDOM_QUERY', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='COOKIE', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=188, - serialized_end=284, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE) - - -_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM = _descriptor.Descriptor( - name='CampaignExperimentTrafficSplitTypeEnum', - full_name='google.ads.googleads.v2.enums.CampaignExperimentTrafficSplitTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=146, - serialized_end=284, -) - -_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE.containing_type = _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM -DESCRIPTOR.message_types_by_name['CampaignExperimentTrafficSplitTypeEnum'] = _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignExperimentTrafficSplitTypeEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentTrafficSplitTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.CampaignExperimentTrafficSplitTypeEnum) - )) -_sym_db.RegisterMessage(CampaignExperimentTrafficSplitTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/campaign_experiment_type_pb2.py b/google/ads/google_ads/v2/proto/enums/campaign_experiment_type_pb2.py deleted file mode 100644 index c91af0f72..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_experiment_type_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/campaign_experiment_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_v2/proto/enums/campaign_experiment_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\033CampaignExperimentTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/enums/campaign_experiment_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1b\x43\x61mpaignExperimentTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE = _descriptor.EnumDescriptor( - name='CampaignExperimentType', - full_name='google.ads.googleads.v2.enums.CampaignExperimentTypeEnum.CampaignExperimentType', - 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='BASE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DRAFT', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPERIMENT', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=161, - serialized_end=252, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE) - - -_CAMPAIGNEXPERIMENTTYPEENUM = _descriptor.Descriptor( - name='CampaignExperimentTypeEnum', - full_name='google.ads.googleads.v2.enums.CampaignExperimentTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=252, -) - -_CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE.containing_type = _CAMPAIGNEXPERIMENTTYPEENUM -DESCRIPTOR.message_types_by_name['CampaignExperimentTypeEnum'] = _CAMPAIGNEXPERIMENTTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignExperimentTypeEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNEXPERIMENTTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.campaign_experiment_type_pb2' - , - __doc__ = """Container for enum describing campaign experiment type. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.CampaignExperimentTypeEnum) - )) -_sym_db.RegisterMessage(CampaignExperimentTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/campaign_experiment_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/campaign_experiment_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_experiment_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/campaign_serving_status_pb2.py b/google/ads/google_ads/v2/proto/enums/campaign_serving_status_pb2.py deleted file mode 100644 index 1cd23e3d4..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_serving_status_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/campaign_serving_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_v2/proto/enums/campaign_serving_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\032CampaignServingStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/enums/campaign_serving_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1a\x43\x61mpaignServingStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS = _descriptor.EnumDescriptor( - name='CampaignServingStatus', - full_name='google.ads.googleads.v2.enums.CampaignServingStatusEnum.CampaignServingStatus', - 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='SERVING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NONE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ENDED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PENDING', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SUSPENDED', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=160, - serialized_end=275, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS) - - -_CAMPAIGNSERVINGSTATUSENUM = _descriptor.Descriptor( - name='CampaignServingStatusEnum', - full_name='google.ads.googleads.v2.enums.CampaignServingStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=275, -) - -_CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS.containing_type = _CAMPAIGNSERVINGSTATUSENUM -DESCRIPTOR.message_types_by_name['CampaignServingStatusEnum'] = _CAMPAIGNSERVINGSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignServingStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignServingStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNSERVINGSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.campaign_serving_status_pb2' - , - __doc__ = """Message describing Campaign serving statuses. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.CampaignServingStatusEnum) - )) -_sym_db.RegisterMessage(CampaignServingStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/campaign_serving_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/campaign_serving_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_serving_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/campaign_shared_set_status_pb2.py b/google/ads/google_ads/v2/proto/enums/campaign_shared_set_status_pb2.py deleted file mode 100644 index 39a49a28b..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_shared_set_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/campaign_shared_set_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\034CampaignSharedSetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/enums/campaign_shared_set_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1c\x43\x61mpaignSharedSetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS = _descriptor.EnumDescriptor( - name='CampaignSharedSetStatus', - full_name='google.ads.googleads.v2.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus', - 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=164, - serialized_end=245, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS) - - -_CAMPAIGNSHAREDSETSTATUSENUM = _descriptor.Descriptor( - name='CampaignSharedSetStatusEnum', - full_name='google.ads.googleads.v2.enums.CampaignSharedSetStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=133, - serialized_end=245, -) - -_CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS.containing_type = _CAMPAIGNSHAREDSETSTATUSENUM -DESCRIPTOR.message_types_by_name['CampaignSharedSetStatusEnum'] = _CAMPAIGNSHAREDSETSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignSharedSetStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignSharedSetStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNSHAREDSETSTATUSENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.CampaignSharedSetStatusEnum) - )) -_sym_db.RegisterMessage(CampaignSharedSetStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/campaign_shared_set_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/campaign_shared_set_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_shared_set_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/campaign_status_pb2.py b/google/ads/google_ads/v2/proto/enums/campaign_status_pb2.py deleted file mode 100644 index 25c938d96..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_status_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/campaign_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_v2/proto/enums/campaign_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\023CampaignStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/enums/campaign_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x13\x43\x61mpaignStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS = _descriptor.EnumDescriptor( - name='CampaignStatus', - full_name='google.ads.googleads.v2.enums.CampaignStatusEnum.CampaignStatus', - 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='PAUSED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REMOVED', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=228, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS) - - -_CAMPAIGNSTATUSENUM = _descriptor.Descriptor( - name='CampaignStatusEnum', - full_name='google.ads.googleads.v2.enums.CampaignStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=122, - serialized_end=228, -) - -_CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS.containing_type = _CAMPAIGNSTATUSENUM -DESCRIPTOR.message_types_by_name['CampaignStatusEnum'] = _CAMPAIGNSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.campaign_status_pb2' - , - __doc__ = """Container for enum describing possible statuses of a campaign. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.CampaignStatusEnum) - )) -_sym_db.RegisterMessage(CampaignStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/campaign_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/campaign_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/campaign_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/change_status_operation_pb2.py b/google/ads/google_ads/v2/proto/enums/change_status_operation_pb2.py deleted file mode 100644 index 6041426d1..000000000 --- a/google/ads/google_ads/v2/proto/enums/change_status_operation_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/change_status_operation.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_v2/proto/enums/change_status_operation.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\032ChangeStatusOperationProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/enums/change_status_operation.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1a\x43hangeStatusOperationProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CHANGESTATUSOPERATIONENUM_CHANGESTATUSOPERATION = _descriptor.EnumDescriptor( - name='ChangeStatusOperation', - full_name='google.ads.googleads.v2.enums.ChangeStatusOperationEnum.ChangeStatusOperation', - 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='ADDED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CHANGED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REMOVED', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=159, - serialized_end=249, -) -_sym_db.RegisterEnumDescriptor(_CHANGESTATUSOPERATIONENUM_CHANGESTATUSOPERATION) - - -_CHANGESTATUSOPERATIONENUM = _descriptor.Descriptor( - name='ChangeStatusOperationEnum', - full_name='google.ads.googleads.v2.enums.ChangeStatusOperationEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CHANGESTATUSOPERATIONENUM_CHANGESTATUSOPERATION, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=249, -) - -_CHANGESTATUSOPERATIONENUM_CHANGESTATUSOPERATION.containing_type = _CHANGESTATUSOPERATIONENUM -DESCRIPTOR.message_types_by_name['ChangeStatusOperationEnum'] = _CHANGESTATUSOPERATIONENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ChangeStatusOperationEnum = _reflection.GeneratedProtocolMessageType('ChangeStatusOperationEnum', (_message.Message,), dict( - DESCRIPTOR = _CHANGESTATUSOPERATIONENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.change_status_operation_pb2' - , - __doc__ = """Container for enum describing operations for the ChangeStatus resource. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ChangeStatusOperationEnum) - )) -_sym_db.RegisterMessage(ChangeStatusOperationEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/change_status_operation_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/change_status_operation_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/change_status_operation_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/change_status_resource_type_pb2.py b/google/ads/google_ads/v2/proto/enums/change_status_resource_type_pb2.py deleted file mode 100644 index 09c5589d9..000000000 --- a/google/ads/google_ads/v2/proto/enums/change_status_resource_type_pb2.py +++ /dev/null @@ -1,134 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/change_status_resource_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\035ChangeStatusResourceTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/enums/change_status_resource_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1d\x43hangeStatusResourceTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CHANGESTATUSRESOURCETYPEENUM_CHANGESTATUSRESOURCETYPE = _descriptor.EnumDescriptor( - name='ChangeStatusResourceType', - full_name='google.ads.googleads.v2.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType', - 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='AD_GROUP', index=2, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_GROUP_AD', index=3, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_GROUP_CRITERION', index=4, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN', index=5, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_CRITERION', index=6, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED', index=7, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_ITEM', index=8, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_GROUP_FEED', index=9, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_FEED', index=10, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_GROUP_BID_MODIFIER', index=11, number=13, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=168, - serialized_end=407, -) -_sym_db.RegisterEnumDescriptor(_CHANGESTATUSRESOURCETYPEENUM_CHANGESTATUSRESOURCETYPE) - - -_CHANGESTATUSRESOURCETYPEENUM = _descriptor.Descriptor( - name='ChangeStatusResourceTypeEnum', - full_name='google.ads.googleads.v2.enums.ChangeStatusResourceTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CHANGESTATUSRESOURCETYPEENUM_CHANGESTATUSRESOURCETYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=407, -) - -_CHANGESTATUSRESOURCETYPEENUM_CHANGESTATUSRESOURCETYPE.containing_type = _CHANGESTATUSRESOURCETYPEENUM -DESCRIPTOR.message_types_by_name['ChangeStatusResourceTypeEnum'] = _CHANGESTATUSRESOURCETYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ChangeStatusResourceTypeEnum = _reflection.GeneratedProtocolMessageType('ChangeStatusResourceTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _CHANGESTATUSRESOURCETYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.ChangeStatusResourceTypeEnum) - )) -_sym_db.RegisterMessage(ChangeStatusResourceTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/change_status_resource_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/change_status_resource_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/change_status_resource_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/click_type_pb2.py b/google/ads/google_ads/v2/proto/enums/click_type_pb2.py deleted file mode 100644 index 5a3e94318..000000000 --- a/google/ads/google_ads/v2/proto/enums/click_type_pb2.py +++ /dev/null @@ -1,305 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/click_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_v2/proto/enums/click_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\016ClickTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n4google/ads/googleads_v2/proto/enums/click_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x0e\x43lickTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CLICKTYPEENUM_CLICKTYPE = _descriptor.EnumDescriptor( - name='ClickType', - full_name='google.ads.googleads.v2.enums.ClickTypeEnum.ClickType', - 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='APP_DEEPLINK', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BREADCRUMBS', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BROADBAND_PLAN', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALL_TRACKING', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALLS', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CLICK_ON_ENGAGEMENT_AD', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GET_DIRECTIONS', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_EXPANSION', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_FORMAT_CALL', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_FORMAT_DIRECTIONS', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_FORMAT_IMAGE', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_FORMAT_LANDING_PAGE', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_FORMAT_MAP', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_FORMAT_STORE_INFO', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_FORMAT_TEXT', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MOBILE_CALL_TRACKING', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OFFER_PRINTS', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OTHER', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_EXTENSION_CLICKS', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_LISTING_AD_CLICKS', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SITELINKS', index=22, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STORE_LOCATOR', index=23, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_CLICKS', index=24, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VIDEO_APP_STORE_CLICKS', index=25, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VIDEO_CALL_TO_ACTION_CLICKS', index=26, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VIDEO_CARD_ACTION_HEADLINE_CLICKS', index=27, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VIDEO_END_CAP_CLICKS', index=28, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VIDEO_WEBSITE_CLICKS', index=29, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VISUAL_SITELINKS', index=30, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WIRELESS_PLAN', index=31, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_LISTING_AD_LOCAL', index=32, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL', index=33, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE', index=34, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_LISTING_ADS_COUPON', index=35, number=36, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_LISTING_AD_TRANSACTABLE', index=36, number=37, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_AD_APP_DEEPLINK', index=37, number=38, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHOWCASE_AD_CATEGORY_LINK', index=38, number=39, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHOWCASE_AD_LOCAL_STOREFRONT_LINK', index=39, number=40, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHOWCASE_AD_ONLINE_PRODUCT_LINK', index=40, number=42, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHOWCASE_AD_LOCAL_PRODUCT_LINK', index=41, number=43, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION_EXTENSION', index=42, number=44, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SWIPEABLE_GALLERY_AD_HEADLINE', index=43, number=45, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SWIPEABLE_GALLERY_AD_SWIPES', index=44, number=46, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SWIPEABLE_GALLERY_AD_SEE_MORE', index=45, number=47, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SWIPEABLE_GALLERY_AD_SITELINK_ONE', index=46, number=48, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SWIPEABLE_GALLERY_AD_SITELINK_TWO', index=47, number=49, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SWIPEABLE_GALLERY_AD_SITELINK_THREE', index=48, number=50, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SWIPEABLE_GALLERY_AD_SITELINK_FOUR', index=49, number=51, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SWIPEABLE_GALLERY_AD_SITELINK_FIVE', index=50, number=52, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HOTEL_PRICE', index=51, number=53, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_EXTENSION', index=52, number=54, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION', index=53, number=55, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHOPPING_COMPARISON_LISTING', index=54, number=56, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=136, - serialized_end=1692, -) -_sym_db.RegisterEnumDescriptor(_CLICKTYPEENUM_CLICKTYPE) - - -_CLICKTYPEENUM = _descriptor.Descriptor( - name='ClickTypeEnum', - full_name='google.ads.googleads.v2.enums.ClickTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CLICKTYPEENUM_CLICKTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=118, - serialized_end=1692, -) - -_CLICKTYPEENUM_CLICKTYPE.containing_type = _CLICKTYPEENUM -DESCRIPTOR.message_types_by_name['ClickTypeEnum'] = _CLICKTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ClickTypeEnum = _reflection.GeneratedProtocolMessageType('ClickTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _CLICKTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.click_type_pb2' - , - __doc__ = """Container for enumeration of Google Ads click types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ClickTypeEnum) - )) -_sym_db.RegisterMessage(ClickTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/click_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/click_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/click_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/content_label_type_pb2.py b/google/ads/google_ads/v2/proto/enums/content_label_type_pb2.py deleted file mode 100644 index c8fdb9ffc..000000000 --- a/google/ads/google_ads/v2/proto/enums/content_label_type_pb2.py +++ /dev/null @@ -1,157 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/content_label_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_v2/proto/enums/content_label_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\025ContentLabelTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/enums/custom_interest_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x17\x43ustomInterestTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE = _descriptor.EnumDescriptor( - name='CustomInterestType', - full_name='google.ads.googleads.v2.enums.CustomInterestTypeEnum.CustomInterestType', - 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='CUSTOM_AFFINITY', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOM_INTENT', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=243, -) -_sym_db.RegisterEnumDescriptor(_CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE) - - -_CUSTOMINTERESTTYPEENUM = _descriptor.Descriptor( - name='CustomInterestTypeEnum', - full_name='google.ads.googleads.v2.enums.CustomInterestTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=127, - serialized_end=243, -) - -_CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE.containing_type = _CUSTOMINTERESTTYPEENUM -DESCRIPTOR.message_types_by_name['CustomInterestTypeEnum'] = _CUSTOMINTERESTTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomInterestTypeEnum = _reflection.GeneratedProtocolMessageType('CustomInterestTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMINTERESTTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.custom_interest_type_pb2' - , - __doc__ = """The types of custom interest. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.CustomInterestTypeEnum) - )) -_sym_db.RegisterMessage(CustomInterestTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/custom_interest_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/custom_interest_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/custom_interest_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/custom_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/custom_placeholder_field_pb2.py deleted file mode 100644 index 5a3e580ef..000000000 --- a/google/ads/google_ads/v2/proto/enums/custom_placeholder_field_pb2.py +++ /dev/null @@ -1,175 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/custom_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/custom_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\033CustomPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/enums/custom_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1b\x43ustomPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='CustomPlaceholderField', - full_name='google.ads.googleads.v2.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField', - 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='ID', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ID2', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_TITLE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_SUBTITLE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_DESCRIPTION', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_ADDRESS', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FORMATTED_PRICE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SALE_PRICE', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FORMATTED_SALE_PRICE', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMAGE_URL', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_CATEGORY', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URLS', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_MOBILE_URLS', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACKING_URL', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTEXTUAL_KEYWORDS', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANDROID_APP_LINK', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SIMILAR_IDS', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_LINK', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_STORE_ID', index=21, number=21, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=163, - serialized_end=578, -) -_sym_db.RegisterEnumDescriptor(_CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD) - - -_CUSTOMPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='CustomPlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.CustomPlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=578, -) - -_CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD.containing_type = _CUSTOMPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['CustomPlaceholderFieldEnum'] = _CUSTOMPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('CustomPlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.CustomPlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(CustomPlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/custom_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/custom_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/custom_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/customer_match_upload_key_type_pb2.py b/google/ads/google_ads/v2/proto/enums/customer_match_upload_key_type_pb2.py deleted file mode 100644 index c1bcdb058..000000000 --- a/google/ads/google_ads/v2/proto/enums/customer_match_upload_key_type_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/customer_match_upload_key_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\037CustomerMatchUploadKeyTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/enums/customer_match_upload_key_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1f\x43ustomerMatchUploadKeyTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE = _descriptor.EnumDescriptor( - name='CustomerMatchUploadKeyType', - full_name='google.ads.googleads.v2.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType', - 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='CONTACT_INFO', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CRM_ID', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MOBILE_ADVERTISING_ID', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=172, - serialized_end=287, -) -_sym_db.RegisterEnumDescriptor(_CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE) - - -_CUSTOMERMATCHUPLOADKEYTYPEENUM = _descriptor.Descriptor( - name='CustomerMatchUploadKeyTypeEnum', - full_name='google.ads.googleads.v2.enums.CustomerMatchUploadKeyTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=138, - serialized_end=287, -) - -_CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE.containing_type = _CUSTOMERMATCHUPLOADKEYTYPEENUM -DESCRIPTOR.message_types_by_name['CustomerMatchUploadKeyTypeEnum'] = _CUSTOMERMATCHUPLOADKEYTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomerMatchUploadKeyTypeEnum = _reflection.GeneratedProtocolMessageType('CustomerMatchUploadKeyTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERMATCHUPLOADKEYTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.CustomerMatchUploadKeyTypeEnum) - )) -_sym_db.RegisterMessage(CustomerMatchUploadKeyTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/customer_match_upload_key_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/customer_match_upload_key_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/customer_match_upload_key_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py b/google/ads/google_ads/v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py deleted file mode 100644 index 55eea4cb5..000000000 --- a/google/ads/google_ads/v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py +++ /dev/null @@ -1,122 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB5CustomerPayPerConversionEligibilityFailureReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n`google/ads/googleads_v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB5CustomerPayPerConversionEligibilityFailureReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON = _descriptor.EnumDescriptor( - name='CustomerPayPerConversionEligibilityFailureReason', - full_name='google.ads.googleads.v2.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason', - 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_ENOUGH_CONVERSIONS', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_LAG_TOO_HIGH', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HAS_CAMPAIGN_WITH_SHARED_BUDGET', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HAS_UPLOAD_CLICKS_CONVERSION', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AVERAGE_DAILY_SPEND_TOO_HIGH', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANALYSIS_NOT_COMPLETE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OTHER', index=8, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=219, - serialized_end=499, -) -_sym_db.RegisterEnumDescriptor(_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON) - - -_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM = _descriptor.Descriptor( - name='CustomerPayPerConversionEligibilityFailureReasonEnum', - full_name='google.ads.googleads.v2.enums.CustomerPayPerConversionEligibilityFailureReasonEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=162, - serialized_end=499, -) - -_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON.containing_type = _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM -DESCRIPTOR.message_types_by_name['CustomerPayPerConversionEligibilityFailureReasonEnum'] = _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomerPayPerConversionEligibilityFailureReasonEnum = _reflection.GeneratedProtocolMessageType('CustomerPayPerConversionEligibilityFailureReasonEnum', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.CustomerPayPerConversionEligibilityFailureReasonEnum) - )) -_sym_db.RegisterMessage(CustomerPayPerConversionEligibilityFailureReasonEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/data_driven_model_status_pb2.py b/google/ads/google_ads/v2/proto/enums/data_driven_model_status_pb2.py deleted file mode 100644 index 843712a13..000000000 --- a/google/ads/google_ads/v2/proto/enums/data_driven_model_status_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/data_driven_model_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\032DataDrivenModelStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/enums/data_driven_model_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1a\x44\x61taDrivenModelStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS = _descriptor.EnumDescriptor( - name='DataDrivenModelStatus', - full_name='google.ads.googleads.v2.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus', - 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='AVAILABLE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STALE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPIRED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NEVER_GENERATED', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=161, - serialized_end=274, -) -_sym_db.RegisterEnumDescriptor(_DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS) - - -_DATADRIVENMODELSTATUSENUM = _descriptor.Descriptor( - name='DataDrivenModelStatusEnum', - full_name='google.ads.googleads.v2.enums.DataDrivenModelStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=274, -) - -_DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS.containing_type = _DATADRIVENMODELSTATUSENUM -DESCRIPTOR.message_types_by_name['DataDrivenModelStatusEnum'] = _DATADRIVENMODELSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DataDrivenModelStatusEnum = _reflection.GeneratedProtocolMessageType('DataDrivenModelStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _DATADRIVENMODELSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.data_driven_model_status_pb2' - , - __doc__ = """Container for enum indicating data driven model status. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.DataDrivenModelStatusEnum) - )) -_sym_db.RegisterMessage(DataDrivenModelStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/data_driven_model_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/data_driven_model_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/data_driven_model_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/day_of_week_pb2.py b/google/ads/google_ads/v2/proto/enums/day_of_week_pb2.py deleted file mode 100644 index 78a559792..000000000 --- a/google/ads/google_ads/v2/proto/enums/day_of_week_pb2.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/day_of_week.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_v2/proto/enums/day_of_week.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\016DayOfWeekProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/enums/day_of_week.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x0e\x44\x61yOfWeekProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DAYOFWEEKENUM_DAYOFWEEK = _descriptor.EnumDescriptor( - name='DayOfWeek', - full_name='google.ads.googleads.v2.enums.DayOfWeekEnum.DayOfWeek', - 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='MONDAY', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TUESDAY', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEDNESDAY', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='THURSDAY', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FRIDAY', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SATURDAY', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SUNDAY', index=8, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=137, - serialized_end=270, -) -_sym_db.RegisterEnumDescriptor(_DAYOFWEEKENUM_DAYOFWEEK) - - -_DAYOFWEEKENUM = _descriptor.Descriptor( - name='DayOfWeekEnum', - full_name='google.ads.googleads.v2.enums.DayOfWeekEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DAYOFWEEKENUM_DAYOFWEEK, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=119, - serialized_end=270, -) - -_DAYOFWEEKENUM_DAYOFWEEK.containing_type = _DAYOFWEEKENUM -DESCRIPTOR.message_types_by_name['DayOfWeekEnum'] = _DAYOFWEEKENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DayOfWeekEnum = _reflection.GeneratedProtocolMessageType('DayOfWeekEnum', (_message.Message,), dict( - DESCRIPTOR = _DAYOFWEEKENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.DayOfWeekEnum) - )) -_sym_db.RegisterMessage(DayOfWeekEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/day_of_week_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/day_of_week_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/day_of_week_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/device_pb2.py b/google/ads/google_ads/v2/proto/enums/device_pb2.py deleted file mode 100644 index c518cf163..000000000 --- a/google/ads/google_ads/v2/proto/enums/device_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/device.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_v2/proto/enums/device.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\013DeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n0google/ads/googleads_v2/proto/enums/device.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x0b\x44\x65viceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DEVICEENUM_DEVICE = _descriptor.EnumDescriptor( - name='Device', - full_name='google.ads.googleads.v2.enums.DeviceEnum.Device', - 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='MOBILE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TABLET', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESKTOP', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONNECTED_TV', index=5, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OTHER', index=6, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=127, - serialized_end=231, -) -_sym_db.RegisterEnumDescriptor(_DEVICEENUM_DEVICE) - - -_DEVICEENUM = _descriptor.Descriptor( - name='DeviceEnum', - full_name='google.ads.googleads.v2.enums.DeviceEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DEVICEENUM_DEVICE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=113, - serialized_end=231, -) - -_DEVICEENUM_DEVICE.containing_type = _DEVICEENUM -DESCRIPTOR.message_types_by_name['DeviceEnum'] = _DEVICEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DeviceEnum = _reflection.GeneratedProtocolMessageType('DeviceEnum', (_message.Message,), dict( - DESCRIPTOR = _DEVICEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.device_pb2' - , - __doc__ = """Container for enumeration of Google Ads devices available for targeting. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.DeviceEnum) - )) -_sym_db.RegisterMessage(DeviceEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/device_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/device_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/device_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/display_ad_format_setting_pb2.py b/google/ads/google_ads/v2/proto/enums/display_ad_format_setting_pb2.py deleted file mode 100644 index f90299d35..000000000 --- a/google/ads/google_ads/v2/proto/enums/display_ad_format_setting_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/display_ad_format_setting.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\033DisplayAdFormatSettingProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/enums/display_ad_format_setting.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1b\x44isplayAdFormatSettingProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING = _descriptor.EnumDescriptor( - name='DisplayAdFormatSetting', - full_name='google.ads.googleads.v2.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting', - 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='ALL_FORMATS', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NON_NATIVE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NATIVE', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=163, - serialized_end=262, -) -_sym_db.RegisterEnumDescriptor(_DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING) - - -_DISPLAYADFORMATSETTINGENUM = _descriptor.Descriptor( - name='DisplayAdFormatSettingEnum', - full_name='google.ads.googleads.v2.enums.DisplayAdFormatSettingEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=133, - serialized_end=262, -) - -_DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING.containing_type = _DISPLAYADFORMATSETTINGENUM -DESCRIPTOR.message_types_by_name['DisplayAdFormatSettingEnum'] = _DISPLAYADFORMATSETTINGENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DisplayAdFormatSettingEnum = _reflection.GeneratedProtocolMessageType('DisplayAdFormatSettingEnum', (_message.Message,), dict( - DESCRIPTOR = _DISPLAYADFORMATSETTINGENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.display_ad_format_setting_pb2' - , - __doc__ = """Container for display ad format settings. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.DisplayAdFormatSettingEnum) - )) -_sym_db.RegisterMessage(DisplayAdFormatSettingEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/display_ad_format_setting_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/display_ad_format_setting_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/display_ad_format_setting_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/display_upload_product_type_pb2.py b/google/ads/google_ads/v2/proto/enums/display_upload_product_type_pb2.py deleted file mode 100644 index a175fa07e..000000000 --- a/google/ads/google_ads/v2/proto/enums/display_upload_product_type_pb2.py +++ /dev/null @@ -1,138 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/display_upload_product_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\035DisplayUploadProductTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/enums/display_upload_product_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1d\x44isplayUploadProductTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE = _descriptor.EnumDescriptor( - name='DisplayUploadProductType', - full_name='google.ads.googleads.v2.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType', - 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='HTML5_UPLOAD_AD', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HTML5_EDUCATION_AD', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HTML5_FLIGHT_AD', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HTML5_HOTEL_RENTAL_AD', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HTML5_JOB_AD', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HTML5_LOCAL_AD', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HTML5_REAL_ESTATE_AD', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HTML5_CUSTOM_AD', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HTML5_TRAVEL_AD', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HTML5_HOTEL_AD', index=11, number=11, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=168, - serialized_end=515, -) -_sym_db.RegisterEnumDescriptor(_DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE) - - -_DISPLAYUPLOADPRODUCTTYPEENUM = _descriptor.Descriptor( - name='DisplayUploadProductTypeEnum', - full_name='google.ads.googleads.v2.enums.DisplayUploadProductTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=515, -) - -_DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE.containing_type = _DISPLAYUPLOADPRODUCTTYPEENUM -DESCRIPTOR.message_types_by_name['DisplayUploadProductTypeEnum'] = _DISPLAYUPLOADPRODUCTTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DisplayUploadProductTypeEnum = _reflection.GeneratedProtocolMessageType('DisplayUploadProductTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _DISPLAYUPLOADPRODUCTTYPEENUM, - __module__ = 'google.ads.googleads_v2.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 - dynamic remarketing feed. See - https://support.google.com/google-ads/answer/6053288 for more info about - dynamic remarketing. Other product types are regarded as "static" and do - not have this requirement. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.DisplayUploadProductTypeEnum) - )) -_sym_db.RegisterMessage(DisplayUploadProductTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/display_upload_product_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/display_upload_product_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/display_upload_product_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/distance_bucket_pb2.py b/google/ads/google_ads/v2/proto/enums/distance_bucket_pb2.py deleted file mode 100644 index b2e354c54..000000000 --- a/google/ads/google_ads/v2/proto/enums/distance_bucket_pb2.py +++ /dev/null @@ -1,202 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/enums/distance_bucket.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\023DistanceBucketProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/enums/distance_bucket.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x13\x44istanceBucketProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DISTANCEBUCKETENUM_DISTANCEBUCKET = _descriptor.EnumDescriptor( - name='DistanceBucket', - full_name='google.ads.googleads.v2.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.v2.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_v2.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.v2.enums.DistanceBucketEnum) - )) -_sym_db.RegisterMessage(DistanceBucketEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/distance_bucket_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/distance_bucket_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/distance_bucket_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/dsa_page_feed_criterion_field_pb2.py b/google/ads/google_ads/v2/proto/enums/dsa_page_feed_criterion_field_pb2.py deleted file mode 100644 index bbc21e14d..000000000 --- a/google/ads/google_ads/v2/proto/enums/dsa_page_feed_criterion_field_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/dsa_page_feed_criterion_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\036DsaPageFeedCriterionFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nGgoogle/ads/googleads_v2/proto/enums/dsa_page_feed_criterion_field.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1e\x44saPageFeedCriterionFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD = _descriptor.EnumDescriptor( - name='DsaPageFeedCriterionField', - full_name='google.ads.googleads.v2.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField', - 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='PAGE_URL', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LABEL', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=169, - serialized_end=251, -) -_sym_db.RegisterEnumDescriptor(_DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD) - - -_DSAPAGEFEEDCRITERIONFIELDENUM = _descriptor.Descriptor( - name='DsaPageFeedCriterionFieldEnum', - full_name='google.ads.googleads.v2.enums.DsaPageFeedCriterionFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=136, - serialized_end=251, -) - -_DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD.containing_type = _DSAPAGEFEEDCRITERIONFIELDENUM -DESCRIPTOR.message_types_by_name['DsaPageFeedCriterionFieldEnum'] = _DSAPAGEFEEDCRITERIONFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DsaPageFeedCriterionFieldEnum = _reflection.GeneratedProtocolMessageType('DsaPageFeedCriterionFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _DSAPAGEFEEDCRITERIONFIELDENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.DsaPageFeedCriterionFieldEnum) - )) -_sym_db.RegisterMessage(DsaPageFeedCriterionFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/education_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/education_placeholder_field_pb2.py deleted file mode 100644 index 22562676b..000000000 --- a/google/ads/google_ads/v2/proto/enums/education_placeholder_field_pb2.py +++ /dev/null @@ -1,163 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/education_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/education_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\036EducationPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/enums/education_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1e\x45\x64ucationPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='EducationPlaceholderField', - full_name='google.ads.googleads.v2.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField', - 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='PROGRAM_ID', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_ID', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROGRAM_NAME', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AREA_OF_STUDY', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROGRAM_DESCRIPTION', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SCHOOL_NAME', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADDRESS', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='THUMBNAIL_IMAGE_URL', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ALTERNATIVE_THUMBNAIL_IMAGE_URL', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URLS', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_MOBILE_URLS', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACKING_URL', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTEXTUAL_KEYWORDS', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANDROID_APP_LINK', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SIMILAR_PROGRAM_IDS', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_LINK', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_STORE_ID', index=18, number=18, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=169, - serialized_end=582, -) -_sym_db.RegisterEnumDescriptor(_EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD) - - -_EDUCATIONPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='EducationPlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.EducationPlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=582, -) - -_EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD.containing_type = _EDUCATIONPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['EducationPlaceholderFieldEnum'] = _EDUCATIONPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -EducationPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('EducationPlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _EDUCATIONPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.EducationPlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(EducationPlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/education_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/education_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/education_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/extension_setting_device_pb2.py b/google/ads/google_ads/v2/proto/enums/extension_setting_device_pb2.py deleted file mode 100644 index c85397c02..000000000 --- a/google/ads/google_ads/v2/proto/enums/extension_setting_device_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/extension_setting_device.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_v2/proto/enums/extension_setting_device.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\033ExtensionSettingDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/enums/extension_setting_device.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1b\x45xtensionSettingDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE = _descriptor.EnumDescriptor( - name='ExtensionSettingDevice', - full_name='google.ads.googleads.v2.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice', - 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='MOBILE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESKTOP', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=161, - serialized_end=240, -) -_sym_db.RegisterEnumDescriptor(_EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE) - - -_EXTENSIONSETTINGDEVICEENUM = _descriptor.Descriptor( - name='ExtensionSettingDeviceEnum', - full_name='google.ads.googleads.v2.enums.ExtensionSettingDeviceEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=240, -) - -_EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE.containing_type = _EXTENSIONSETTINGDEVICEENUM -DESCRIPTOR.message_types_by_name['ExtensionSettingDeviceEnum'] = _EXTENSIONSETTINGDEVICEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ExtensionSettingDeviceEnum = _reflection.GeneratedProtocolMessageType('ExtensionSettingDeviceEnum', (_message.Message,), dict( - DESCRIPTOR = _EXTENSIONSETTINGDEVICEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.extension_setting_device_pb2' - , - __doc__ = """Container for enum describing extension setting device types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ExtensionSettingDeviceEnum) - )) -_sym_db.RegisterMessage(ExtensionSettingDeviceEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/extension_setting_device_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/extension_setting_device_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/extension_setting_device_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/extension_type_pb2.py b/google/ads/google_ads/v2/proto/enums/extension_type_pb2.py deleted file mode 100644 index 38ea0850c..000000000 --- a/google/ads/google_ads/v2/proto/enums/extension_type_pb2.py +++ /dev/null @@ -1,142 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/extension_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_v2/proto/enums/extension_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\022ExtensionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/enums/extension_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x12\x45xtensionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_EXTENSIONTYPEENUM_EXTENSIONTYPE = _descriptor.EnumDescriptor( - name='ExtensionType', - full_name='google.ads.googleads.v2.enums.ExtensionTypeEnum.ExtensionType', - 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='NONE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APP', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALL', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALLOUT', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MESSAGE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SITELINK', index=9, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRUCTURED_SNIPPET', index=10, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION', index=11, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AFFILIATE_LOCATION', index=12, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HOTEL_CALLOUT', index=13, number=15, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=365, -) -_sym_db.RegisterEnumDescriptor(_EXTENSIONTYPEENUM_EXTENSIONTYPE) - - -_EXTENSIONTYPEENUM = _descriptor.Descriptor( - name='ExtensionTypeEnum', - full_name='google.ads.googleads.v2.enums.ExtensionTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _EXTENSIONTYPEENUM_EXTENSIONTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=122, - serialized_end=365, -) - -_EXTENSIONTYPEENUM_EXTENSIONTYPE.containing_type = _EXTENSIONTYPEENUM -DESCRIPTOR.message_types_by_name['ExtensionTypeEnum'] = _EXTENSIONTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ExtensionTypeEnum = _reflection.GeneratedProtocolMessageType('ExtensionTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _EXTENSIONTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.ExtensionTypeEnum) - )) -_sym_db.RegisterMessage(ExtensionTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/extension_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/extension_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/extension_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/external_conversion_source_pb2.py b/google/ads/google_ads/v2/proto/enums/external_conversion_source_pb2.py deleted file mode 100644 index 9604a8ed6..000000000 --- a/google/ads/google_ads/v2/proto/enums/external_conversion_source_pb2.py +++ /dev/null @@ -1,178 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/external_conversion_source.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_v2/proto/enums/external_conversion_source.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\035ExternalConversionSourceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/enums/external_conversion_source.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1d\x45xternalConversionSourceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE = _descriptor.EnumDescriptor( - name='ExternalConversionSource', - full_name='google.ads.googleads.v2.enums.ExternalConversionSourceEnum.ExternalConversionSource', - 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='WEBPAGE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANALYTICS', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UPLOAD', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_CALL_METRICS', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBSITE_CALL_METRICS', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STORE_VISITS', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANDROID_IN_APP', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_IN_APP', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_FIRST_OPEN', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APP_UNSPECIFIED', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANDROID_FIRST_OPEN', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UPLOAD_CALLS', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIREBASE', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CLICK_TO_CALL', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SALESFORCE', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STORE_SALES_CRM', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STORE_SALES_PAYMENT_NETWORK', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GOOGLE_PLAY', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='THIRD_PARTY_APP_ANALYTICS', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GOOGLE_ATTRIBUTION', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STORE_SALES_DIRECT', index=22, number=22, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=167, - serialized_end=646, -) -_sym_db.RegisterEnumDescriptor(_EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE) - - -_EXTERNALCONVERSIONSOURCEENUM = _descriptor.Descriptor( - name='ExternalConversionSourceEnum', - full_name='google.ads.googleads.v2.enums.ExternalConversionSourceEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=134, - serialized_end=646, -) - -_EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE.containing_type = _EXTERNALCONVERSIONSOURCEENUM -DESCRIPTOR.message_types_by_name['ExternalConversionSourceEnum'] = _EXTERNALCONVERSIONSOURCEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ExternalConversionSourceEnum = _reflection.GeneratedProtocolMessageType('ExternalConversionSourceEnum', (_message.Message,), dict( - DESCRIPTOR = _EXTERNALCONVERSIONSOURCEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.ExternalConversionSourceEnum) - )) -_sym_db.RegisterMessage(ExternalConversionSourceEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/external_conversion_source_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/external_conversion_source_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/external_conversion_source_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_attribute_type_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_attribute_type_pb2.py deleted file mode 100644 index aa6e9bd17..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_attribute_type_pb2.py +++ /dev/null @@ -1,145 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/feed_attribute_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_v2/proto/enums/feed_attribute_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\026FeedAttributeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/enums/feed_attribute_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x16\x46\x65\x65\x64\x41ttributeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE = _descriptor.EnumDescriptor( - name='FeedAttributeType', - full_name='google.ads.googleads.v2.enums.FeedAttributeTypeEnum.FeedAttributeType', - 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='INT64', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DOUBLE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRING', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BOOLEAN', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE_TIME', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INT64_LIST', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DOUBLE_LIST', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRING_LIST', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BOOLEAN_LIST', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_LIST', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE_TIME_LIST', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE', index=14, number=14, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=387, -) -_sym_db.RegisterEnumDescriptor(_FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE) - - -_FEEDATTRIBUTETYPEENUM = _descriptor.Descriptor( - name='FeedAttributeTypeEnum', - full_name='google.ads.googleads.v2.enums.FeedAttributeTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=127, - serialized_end=387, -) - -_FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE.containing_type = _FEEDATTRIBUTETYPEENUM -DESCRIPTOR.message_types_by_name['FeedAttributeTypeEnum'] = _FEEDATTRIBUTETYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedAttributeTypeEnum = _reflection.GeneratedProtocolMessageType('FeedAttributeTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDATTRIBUTETYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedAttributeTypeEnum) - )) -_sym_db.RegisterMessage(FeedAttributeTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_attribute_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_attribute_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_attribute_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_quality_approval_status_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_item_quality_approval_status_pb2.py deleted file mode 100644 index 890a4e23d..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_quality_approval_status_pb2.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/feed_item_quality_approval_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\"FeedItemQualityApprovalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/enums/feed_item_quality_approval_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\"FeedItemQualityApprovalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS = _descriptor.EnumDescriptor( - name='FeedItemQualityApprovalStatus', - full_name='google.ads.googleads.v2.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus', - 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='APPROVED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DISAPPROVED', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=178, - serialized_end=270, -) -_sym_db.RegisterEnumDescriptor(_FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS) - - -_FEEDITEMQUALITYAPPROVALSTATUSENUM = _descriptor.Descriptor( - name='FeedItemQualityApprovalStatusEnum', - full_name='google.ads.googleads.v2.enums.FeedItemQualityApprovalStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=141, - serialized_end=270, -) - -_FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS.containing_type = _FEEDITEMQUALITYAPPROVALSTATUSENUM -DESCRIPTOR.message_types_by_name['FeedItemQualityApprovalStatusEnum'] = _FEEDITEMQUALITYAPPROVALSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemQualityApprovalStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemQualityApprovalStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMQUALITYAPPROVALSTATUSENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedItemQualityApprovalStatusEnum) - )) -_sym_db.RegisterMessage(FeedItemQualityApprovalStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_quality_approval_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_item_quality_approval_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_quality_approval_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_quality_disapproval_reason_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_item_quality_disapproval_reason_pb2.py deleted file mode 100644 index b51aab1c9..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_quality_disapproval_reason_pb2.py +++ /dev/null @@ -1,166 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/feed_item_quality_disapproval_reason.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB%FeedItemQualityDisapprovalReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nNgoogle/ads/googleads_v2/proto/enums/feed_item_quality_disapproval_reason.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB%FeedItemQualityDisapprovalReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON = _descriptor.EnumDescriptor( - name='FeedItemQualityDisapprovalReason', - full_name='google.ads.googleads.v2.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason', - 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='PRICE_TABLE_REPETITIVE_HEADERS', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_REPETITIVE_DESCRIPTION', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_INCONSISTENT_ROWS', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_UNSUPPORTED_LANGUAGE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_ROW_UNRATEABLE', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_ROW_PRICE_INVALID', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_TABLE_ROW_URL_INVALID', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRUCTURED_SNIPPETS_REPEATED_VALUES', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT', index=19, number=19, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=185, - serialized_end=1008, -) -_sym_db.RegisterEnumDescriptor(_FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON) - - -_FEEDITEMQUALITYDISAPPROVALREASONENUM = _descriptor.Descriptor( - name='FeedItemQualityDisapprovalReasonEnum', - full_name='google.ads.googleads.v2.enums.FeedItemQualityDisapprovalReasonEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=144, - serialized_end=1008, -) - -_FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON.containing_type = _FEEDITEMQUALITYDISAPPROVALREASONENUM -DESCRIPTOR.message_types_by_name['FeedItemQualityDisapprovalReasonEnum'] = _FEEDITEMQUALITYDISAPPROVALREASONENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemQualityDisapprovalReasonEnum = _reflection.GeneratedProtocolMessageType('FeedItemQualityDisapprovalReasonEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMQUALITYDISAPPROVALREASONENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedItemQualityDisapprovalReasonEnum) - )) -_sym_db.RegisterMessage(FeedItemQualityDisapprovalReasonEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_status_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_item_status_pb2.py deleted file mode 100644 index 7931ca4f1..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/feed_item_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_v2/proto/enums/feed_item_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\023FeedItemStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/enums/feed_item_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x13\x46\x65\x65\x64ItemStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDITEMSTATUSENUM_FEEDITEMSTATUS = _descriptor.EnumDescriptor( - name='FeedItemStatus', - full_name='google.ads.googleads.v2.enums.FeedItemStatusEnum.FeedItemStatus', - 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=145, - serialized_end=217, -) -_sym_db.RegisterEnumDescriptor(_FEEDITEMSTATUSENUM_FEEDITEMSTATUS) - - -_FEEDITEMSTATUSENUM = _descriptor.Descriptor( - name='FeedItemStatusEnum', - full_name='google.ads.googleads.v2.enums.FeedItemStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDITEMSTATUSENUM_FEEDITEMSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=217, -) - -_FEEDITEMSTATUSENUM_FEEDITEMSTATUS.containing_type = _FEEDITEMSTATUSENUM -DESCRIPTOR.message_types_by_name['FeedItemStatusEnum'] = _FEEDITEMSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMSTATUSENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedItemStatusEnum) - )) -_sym_db.RegisterMessage(FeedItemStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_item_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_target_device_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_item_target_device_pb2.py deleted file mode 100644 index 888c61b03..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_target_device_pb2.py +++ /dev/null @@ -1,98 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/feed_item_target_device.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\031FeedItemTargetDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/enums/feed_item_target_device.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x19\x46\x65\x65\x64ItemTargetDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE = _descriptor.EnumDescriptor( - name='FeedItemTargetDevice', - full_name='google.ads.googleads.v2.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice', - 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='MOBILE', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=158, - serialized_end=222, -) -_sym_db.RegisterEnumDescriptor(_FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE) - - -_FEEDITEMTARGETDEVICEENUM = _descriptor.Descriptor( - name='FeedItemTargetDeviceEnum', - full_name='google.ads.googleads.v2.enums.FeedItemTargetDeviceEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=222, -) - -_FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE.containing_type = _FEEDITEMTARGETDEVICEENUM -DESCRIPTOR.message_types_by_name['FeedItemTargetDeviceEnum'] = _FEEDITEMTARGETDEVICEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemTargetDeviceEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetDeviceEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMTARGETDEVICEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedItemTargetDeviceEnum) - )) -_sym_db.RegisterMessage(FeedItemTargetDeviceEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_target_device_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_item_target_device_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_target_device_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_target_type_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_item_target_type_pb2.py deleted file mode 100644 index 2c702fbae..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_target_type_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/feed_item_target_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\027FeedItemTargetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/enums/feed_item_target_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x17\x46\x65\x65\x64ItemTargetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE = _descriptor.EnumDescriptor( - name='FeedItemTargetType', - full_name='google.ads.googleads.v2.enums.FeedItemTargetTypeEnum.FeedItemTargetType', - 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', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_GROUP', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CRITERION', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=154, - serialized_end=247, -) -_sym_db.RegisterEnumDescriptor(_FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE) - - -_FEEDITEMTARGETTYPEENUM = _descriptor.Descriptor( - name='FeedItemTargetTypeEnum', - full_name='google.ads.googleads.v2.enums.FeedItemTargetTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=247, -) - -_FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE.containing_type = _FEEDITEMTARGETTYPEENUM -DESCRIPTOR.message_types_by_name['FeedItemTargetTypeEnum'] = _FEEDITEMTARGETTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemTargetTypeEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMTARGETTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedItemTargetTypeEnum) - )) -_sym_db.RegisterMessage(FeedItemTargetTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_target_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_item_target_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_target_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_validation_status_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_item_validation_status_pb2.py deleted file mode 100644 index b4cf2e599..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_validation_status_pb2.py +++ /dev/null @@ -1,106 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/feed_item_validation_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\035FeedItemValidationStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/enums/feed_item_validation_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1d\x46\x65\x65\x64ItemValidationStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS = _descriptor.EnumDescriptor( - name='FeedItemValidationStatus', - full_name='google.ads.googleads.v2.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus', - 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='PENDING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VALID', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=166, - serialized_end=259, -) -_sym_db.RegisterEnumDescriptor(_FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS) - - -_FEEDITEMVALIDATIONSTATUSENUM = _descriptor.Descriptor( - name='FeedItemValidationStatusEnum', - full_name='google.ads.googleads.v2.enums.FeedItemValidationStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=134, - serialized_end=259, -) - -_FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS.containing_type = _FEEDITEMVALIDATIONSTATUSENUM -DESCRIPTOR.message_types_by_name['FeedItemValidationStatusEnum'] = _FEEDITEMVALIDATIONSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemValidationStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemValidationStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMVALIDATIONSTATUSENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedItemValidationStatusEnum) - )) -_sym_db.RegisterMessage(FeedItemValidationStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_item_validation_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_item_validation_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_item_validation_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_link_status_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_link_status_pb2.py deleted file mode 100644 index fed40eb05..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_link_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/feed_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_v2/proto/enums/feed_link_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\023FeedLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/enums/feed_link_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x13\x46\x65\x65\x64LinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDLINKSTATUSENUM_FEEDLINKSTATUS = _descriptor.EnumDescriptor( - name='FeedLinkStatus', - full_name='google.ads.googleads.v2.enums.FeedLinkStatusEnum.FeedLinkStatus', - 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=145, - serialized_end=217, -) -_sym_db.RegisterEnumDescriptor(_FEEDLINKSTATUSENUM_FEEDLINKSTATUS) - - -_FEEDLINKSTATUSENUM = _descriptor.Descriptor( - name='FeedLinkStatusEnum', - full_name='google.ads.googleads.v2.enums.FeedLinkStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDLINKSTATUSENUM_FEEDLINKSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=217, -) - -_FEEDLINKSTATUSENUM_FEEDLINKSTATUS.containing_type = _FEEDLINKSTATUSENUM -DESCRIPTOR.message_types_by_name['FeedLinkStatusEnum'] = _FEEDLINKSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedLinkStatusEnum = _reflection.GeneratedProtocolMessageType('FeedLinkStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDLINKSTATUSENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedLinkStatusEnum) - )) -_sym_db.RegisterMessage(FeedLinkStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_link_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_link_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_link_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_mapping_criterion_type_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_mapping_criterion_type_pb2.py deleted file mode 100644 index 595870d10..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_mapping_criterion_type_pb2.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/feed_mapping_criterion_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\035FeedMappingCriterionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/enums/feed_mapping_criterion_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1d\x46\x65\x65\x64MappingCriterionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE = _descriptor.EnumDescriptor( - name='FeedMappingCriterionType', - full_name='google.ads.googleads.v2.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType', - 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='LOCATION_EXTENSION_TARGETING', index=2, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DSA_PAGE_FEED', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=167, - serialized_end=276, -) -_sym_db.RegisterEnumDescriptor(_FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE) - - -_FEEDMAPPINGCRITERIONTYPEENUM = _descriptor.Descriptor( - name='FeedMappingCriterionTypeEnum', - full_name='google.ads.googleads.v2.enums.FeedMappingCriterionTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=276, -) - -_FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE.containing_type = _FEEDMAPPINGCRITERIONTYPEENUM -DESCRIPTOR.message_types_by_name['FeedMappingCriterionTypeEnum'] = _FEEDMAPPINGCRITERIONTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedMappingCriterionTypeEnum = _reflection.GeneratedProtocolMessageType('FeedMappingCriterionTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDMAPPINGCRITERIONTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedMappingCriterionTypeEnum) - )) -_sym_db.RegisterMessage(FeedMappingCriterionTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_mapping_criterion_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_mapping_criterion_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_mapping_criterion_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_mapping_status_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_mapping_status_pb2.py deleted file mode 100644 index 465e10686..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_mapping_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/feed_mapping_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_v2/proto/enums/feed_mapping_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\026FeedMappingStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/enums/feed_mapping_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x16\x46\x65\x65\x64MappingStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS = _descriptor.EnumDescriptor( - name='FeedMappingStatus', - full_name='google.ads.googleads.v2.enums.FeedMappingStatusEnum.FeedMappingStatus', - 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(_FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS) - - -_FEEDMAPPINGSTATUSENUM = _descriptor.Descriptor( - name='FeedMappingStatusEnum', - full_name='google.ads.googleads.v2.enums.FeedMappingStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=226, -) - -_FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS.containing_type = _FEEDMAPPINGSTATUSENUM -DESCRIPTOR.message_types_by_name['FeedMappingStatusEnum'] = _FEEDMAPPINGSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedMappingStatusEnum = _reflection.GeneratedProtocolMessageType('FeedMappingStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDMAPPINGSTATUSENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FeedMappingStatusEnum) - )) -_sym_db.RegisterMessage(FeedMappingStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_mapping_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_mapping_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_mapping_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_origin_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_origin_pb2.py deleted file mode 100644 index 10ad8a12f..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_origin_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/feed_origin.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_v2/proto/enums/feed_origin.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\017FeedOriginProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/enums/feed_origin.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x0f\x46\x65\x65\x64OriginProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDORIGINENUM_FEEDORIGIN = _descriptor.EnumDescriptor( - name='FeedOrigin', - full_name='google.ads.googleads.v2.enums.FeedOriginEnum.FeedOrigin', - 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='USER', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GOOGLE', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=136, - serialized_end=200, -) -_sym_db.RegisterEnumDescriptor(_FEEDORIGINENUM_FEEDORIGIN) - - -_FEEDORIGINENUM = _descriptor.Descriptor( - name='FeedOriginEnum', - full_name='google.ads.googleads.v2.enums.FeedOriginEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDORIGINENUM_FEEDORIGIN, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=118, - serialized_end=200, -) - -_FEEDORIGINENUM_FEEDORIGIN.containing_type = _FEEDORIGINENUM -DESCRIPTOR.message_types_by_name['FeedOriginEnum'] = _FEEDORIGINENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedOriginEnum = _reflection.GeneratedProtocolMessageType('FeedOriginEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDORIGINENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.feed_origin_pb2' - , - __doc__ = """Container for enum describing possible values for a feed origin. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.FeedOriginEnum) - )) -_sym_db.RegisterMessage(FeedOriginEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_origin_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_origin_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_origin_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/feed_status_pb2.py b/google/ads/google_ads/v2/proto/enums/feed_status_pb2.py deleted file mode 100644 index cb8e0205d..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/feed_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_v2/proto/enums/feed_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\017FeedStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/enums/feed_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x0f\x46\x65\x65\x64StatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDSTATUSENUM_FEEDSTATUS = _descriptor.EnumDescriptor( - name='FeedStatus', - full_name='google.ads.googleads.v2.enums.FeedStatusEnum.FeedStatus', - 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=136, - serialized_end=204, -) -_sym_db.RegisterEnumDescriptor(_FEEDSTATUSENUM_FEEDSTATUS) - - -_FEEDSTATUSENUM = _descriptor.Descriptor( - name='FeedStatusEnum', - full_name='google.ads.googleads.v2.enums.FeedStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDSTATUSENUM_FEEDSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=118, - serialized_end=204, -) - -_FEEDSTATUSENUM_FEEDSTATUS.containing_type = _FEEDSTATUSENUM -DESCRIPTOR.message_types_by_name['FeedStatusEnum'] = _FEEDSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedStatusEnum = _reflection.GeneratedProtocolMessageType('FeedStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.feed_status_pb2' - , - __doc__ = """Container for enum describing possible statuses of a feed. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.FeedStatusEnum) - )) -_sym_db.RegisterMessage(FeedStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/feed_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/feed_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/feed_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/flight_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/flight_placeholder_field_pb2.py deleted file mode 100644 index a2fcf1dd2..000000000 --- a/google/ads/google_ads/v2/proto/enums/flight_placeholder_field_pb2.py +++ /dev/null @@ -1,163 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/flight_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/flight_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\034FlightsPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/enums/flight_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1c\x46lightsPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='FlightPlaceholderField', - full_name='google.ads.googleads.v2.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField', - 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='DESTINATION_ID', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ORIGIN_ID', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLIGHT_DESCRIPTION', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ORIGIN_NAME', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESTINATION_NAME', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLIGHT_PRICE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FORMATTED_PRICE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLIGHT_SALE_PRICE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FORMATTED_SALE_PRICE', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMAGE_URL', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URLS', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_MOBILE_URLS', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACKING_URL', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANDROID_APP_LINK', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SIMILAR_DESTINATION_IDS', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_LINK', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_STORE_ID', index=18, number=18, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=163, - serialized_end=566, -) -_sym_db.RegisterEnumDescriptor(_FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD) - - -_FLIGHTPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='FlightPlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.FlightPlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=566, -) - -_FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD.containing_type = _FLIGHTPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['FlightPlaceholderFieldEnum'] = _FLIGHTPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FlightPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('FlightPlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _FLIGHTPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FlightPlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(FlightPlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/flight_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/flight_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/flight_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/frequency_cap_event_type_pb2.py b/google/ads/google_ads/v2/proto/enums/frequency_cap_event_type_pb2.py deleted file mode 100644 index 1afc48e22..000000000 --- a/google/ads/google_ads/v2/proto/enums/frequency_cap_event_type_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/frequency_cap_event_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\032FrequencyCapEventTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/enums/frequency_cap_event_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1a\x46requencyCapEventTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE = _descriptor.EnumDescriptor( - name='FrequencyCapEventType', - full_name='google.ads.googleads.v2.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType', - 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='IMPRESSION', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VIDEO_VIEW', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=160, - serialized_end=245, -) -_sym_db.RegisterEnumDescriptor(_FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE) - - -_FREQUENCYCAPEVENTTYPEENUM = _descriptor.Descriptor( - name='FrequencyCapEventTypeEnum', - full_name='google.ads.googleads.v2.enums.FrequencyCapEventTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=245, -) - -_FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE.containing_type = _FREQUENCYCAPEVENTTYPEENUM -DESCRIPTOR.message_types_by_name['FrequencyCapEventTypeEnum'] = _FREQUENCYCAPEVENTTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FrequencyCapEventTypeEnum = _reflection.GeneratedProtocolMessageType('FrequencyCapEventTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _FREQUENCYCAPEVENTTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FrequencyCapEventTypeEnum) - )) -_sym_db.RegisterMessage(FrequencyCapEventTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/frequency_cap_event_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/frequency_cap_event_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/frequency_cap_event_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/frequency_cap_level_pb2.py b/google/ads/google_ads/v2/proto/enums/frequency_cap_level_pb2.py deleted file mode 100644 index 133cb20b3..000000000 --- a/google/ads/google_ads/v2/proto/enums/frequency_cap_level_pb2.py +++ /dev/null @@ -1,106 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/frequency_cap_level.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_v2/proto/enums/frequency_cap_level.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\026FrequencyCapLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/enums/frequency_cap_level.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x16\x46requencyCapLevelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL = _descriptor.EnumDescriptor( - name='FrequencyCapLevel', - full_name='google.ads.googleads.v2.enums.FrequencyCapLevelEnum.FrequencyCapLevel', - 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='AD_GROUP_AD', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_GROUP', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=151, - serialized_end=245, -) -_sym_db.RegisterEnumDescriptor(_FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL) - - -_FREQUENCYCAPLEVELENUM = _descriptor.Descriptor( - name='FrequencyCapLevelEnum', - full_name='google.ads.googleads.v2.enums.FrequencyCapLevelEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=245, -) - -_FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL.containing_type = _FREQUENCYCAPLEVELENUM -DESCRIPTOR.message_types_by_name['FrequencyCapLevelEnum'] = _FREQUENCYCAPLEVELENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FrequencyCapLevelEnum = _reflection.GeneratedProtocolMessageType('FrequencyCapLevelEnum', (_message.Message,), dict( - DESCRIPTOR = _FREQUENCYCAPLEVELENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FrequencyCapLevelEnum) - )) -_sym_db.RegisterMessage(FrequencyCapLevelEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/frequency_cap_level_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/frequency_cap_level_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/frequency_cap_level_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/frequency_cap_time_unit_pb2.py b/google/ads/google_ads/v2/proto/enums/frequency_cap_time_unit_pb2.py deleted file mode 100644 index ae6fe9cd4..000000000 --- a/google/ads/google_ads/v2/proto/enums/frequency_cap_time_unit_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/frequency_cap_time_unit.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\031FrequencyCapTimeUnitProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/enums/frequency_cap_time_unit.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x19\x46requencyCapTimeUnitProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT = _descriptor.EnumDescriptor( - name='FrequencyCapTimeUnit', - full_name='google.ads.googleads.v2.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit', - 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='DAY', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEEK', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MONTH', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=158, - serialized_end=240, -) -_sym_db.RegisterEnumDescriptor(_FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT) - - -_FREQUENCYCAPTIMEUNITENUM = _descriptor.Descriptor( - name='FrequencyCapTimeUnitEnum', - full_name='google.ads.googleads.v2.enums.FrequencyCapTimeUnitEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=240, -) - -_FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT.containing_type = _FREQUENCYCAPTIMEUNITENUM -DESCRIPTOR.message_types_by_name['FrequencyCapTimeUnitEnum'] = _FREQUENCYCAPTIMEUNITENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FrequencyCapTimeUnitEnum = _reflection.GeneratedProtocolMessageType('FrequencyCapTimeUnitEnum', (_message.Message,), dict( - DESCRIPTOR = _FREQUENCYCAPTIMEUNITENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.FrequencyCapTimeUnitEnum) - )) -_sym_db.RegisterMessage(FrequencyCapTimeUnitEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/frequency_cap_time_unit_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/frequency_cap_time_unit_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/frequency_cap_time_unit_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/gender_type_pb2.py b/google/ads/google_ads/v2/proto/enums/gender_type_pb2.py deleted file mode 100644 index 1604b1b57..000000000 --- a/google/ads/google_ads/v2/proto/enums/gender_type_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/gender_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_v2/proto/enums/gender_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\017GenderTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/enums/gender_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x0fGenderTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_GENDERTYPEENUM_GENDERTYPE = _descriptor.EnumDescriptor( - name='GenderType', - full_name='google.ads.googleads.v2.enums.GenderTypeEnum.GenderType', - 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='MALE', index=2, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEMALE', index=3, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNDETERMINED', index=4, number=20, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=136, - serialized_end=218, -) -_sym_db.RegisterEnumDescriptor(_GENDERTYPEENUM_GENDERTYPE) - - -_GENDERTYPEENUM = _descriptor.Descriptor( - name='GenderTypeEnum', - full_name='google.ads.googleads.v2.enums.GenderTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _GENDERTYPEENUM_GENDERTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=118, - serialized_end=218, -) - -_GENDERTYPEENUM_GENDERTYPE.containing_type = _GENDERTYPEENUM -DESCRIPTOR.message_types_by_name['GenderTypeEnum'] = _GENDERTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GenderTypeEnum = _reflection.GeneratedProtocolMessageType('GenderTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _GENDERTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.gender_type_pb2' - , - __doc__ = """Container for enum describing the type of demographic genders. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.GenderTypeEnum) - )) -_sym_db.RegisterMessage(GenderTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/gender_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/gender_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/gender_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/geo_target_constant_status_pb2.py b/google/ads/google_ads/v2/proto/enums/geo_target_constant_status_pb2.py deleted file mode 100644 index 1530fa114..000000000 --- a/google/ads/google_ads/v2/proto/enums/geo_target_constant_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/geo_target_constant_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\034GeoTargetConstantStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/enums/geo_target_constant_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1cGeoTargetConstantStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS = _descriptor.EnumDescriptor( - name='GeoTargetConstantStatus', - full_name='google.ads.googleads.v2.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus', - 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='REMOVAL_PLANNED', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=164, - serialized_end=253, -) -_sym_db.RegisterEnumDescriptor(_GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS) - - -_GEOTARGETCONSTANTSTATUSENUM = _descriptor.Descriptor( - name='GeoTargetConstantStatusEnum', - full_name='google.ads.googleads.v2.enums.GeoTargetConstantStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=133, - serialized_end=253, -) - -_GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS.containing_type = _GEOTARGETCONSTANTSTATUSENUM -DESCRIPTOR.message_types_by_name['GeoTargetConstantStatusEnum'] = _GEOTARGETCONSTANTSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GeoTargetConstantStatusEnum = _reflection.GeneratedProtocolMessageType('GeoTargetConstantStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _GEOTARGETCONSTANTSTATUSENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.GeoTargetConstantStatusEnum) - )) -_sym_db.RegisterMessage(GeoTargetConstantStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/geo_target_constant_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/geo_target_constant_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/geo_target_constant_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/geo_targeting_restriction_pb2.py b/google/ads/google_ads/v2/proto/enums/geo_targeting_restriction_pb2.py deleted file mode 100644 index 5e578458f..000000000 --- a/google/ads/google_ads/v2/proto/enums/geo_targeting_restriction_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/geo_targeting_restriction.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_v2/proto/enums/geo_targeting_restriction.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\034GeoTargetingRestrictionProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/enums/geo_targeting_restriction.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1cGeoTargetingRestrictionProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION = _descriptor.EnumDescriptor( - name='GeoTargetingRestriction', - full_name='google.ads.googleads.v2.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction', - 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='LOCATION_OF_PRESENCE', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=163, - serialized_end=244, -) -_sym_db.RegisterEnumDescriptor(_GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION) - - -_GEOTARGETINGRESTRICTIONENUM = _descriptor.Descriptor( - name='GeoTargetingRestrictionEnum', - full_name='google.ads.googleads.v2.enums.GeoTargetingRestrictionEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=244, -) - -_GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION.containing_type = _GEOTARGETINGRESTRICTIONENUM -DESCRIPTOR.message_types_by_name['GeoTargetingRestrictionEnum'] = _GEOTARGETINGRESTRICTIONENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GeoTargetingRestrictionEnum = _reflection.GeneratedProtocolMessageType('GeoTargetingRestrictionEnum', (_message.Message,), dict( - DESCRIPTOR = _GEOTARGETINGRESTRICTIONENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.geo_targeting_restriction_pb2' - , - __doc__ = """Message describing feed item geo targeting restriction. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.GeoTargetingRestrictionEnum) - )) -_sym_db.RegisterMessage(GeoTargetingRestrictionEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/geo_targeting_restriction_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/geo_targeting_restriction_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/geo_targeting_restriction_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/geo_targeting_type_pb2.py b/google/ads/google_ads/v2/proto/enums/geo_targeting_type_pb2.py deleted file mode 100644 index ef436ed86..000000000 --- a/google/ads/google_ads/v2/proto/enums/geo_targeting_type_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/geo_targeting_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_v2/proto/enums/geo_targeting_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\025GeoTargetingTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nB\xe9\x01\n!com.google.ads.googleads.v2.enumsB\x14InteractionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_INTERACTIONTYPEENUM_INTERACTIONTYPE = _descriptor.EnumDescriptor( - name='InteractionType', - full_name='google.ads.googleads.v2.enums.InteractionTypeEnum.InteractionType', - 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='CALLS', index=2, number=8000, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=146, - serialized_end=205, -) -_sym_db.RegisterEnumDescriptor(_INTERACTIONTYPEENUM_INTERACTIONTYPE) - - -_INTERACTIONTYPEENUM = _descriptor.Descriptor( - name='InteractionTypeEnum', - full_name='google.ads.googleads.v2.enums.InteractionTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _INTERACTIONTYPEENUM_INTERACTIONTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=205, -) - -_INTERACTIONTYPEENUM_INTERACTIONTYPE.containing_type = _INTERACTIONTYPEENUM -DESCRIPTOR.message_types_by_name['InteractionTypeEnum'] = _INTERACTIONTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -InteractionTypeEnum = _reflection.GeneratedProtocolMessageType('InteractionTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _INTERACTIONTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.interaction_type_pb2' - , - __doc__ = """Container for enum describing possible interaction types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.InteractionTypeEnum) - )) -_sym_db.RegisterMessage(InteractionTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/interaction_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/interaction_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/interaction_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/invoice_type_pb2.py b/google/ads/google_ads/v2/proto/enums/invoice_type_pb2.py deleted file mode 100644 index e240362d6..000000000 --- a/google/ads/google_ads/v2/proto/enums/invoice_type_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/enums/invoice_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\020InvoiceTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/enums/invoice_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x10InvoiceTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_INVOICETYPEENUM_INVOICETYPE = _descriptor.EnumDescriptor( - name='InvoiceType', - full_name='google.ads.googleads.v2.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.v2.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_v2.proto.enums.invoice_type_pb2' - , - __doc__ = """Container for enum describing the type of invoices. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.InvoiceTypeEnum) - )) -_sym_db.RegisterMessage(InvoiceTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/invoice_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/invoice_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/invoice_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/job_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/job_placeholder_field_pb2.py deleted file mode 100644 index 92bca8c7e..000000000 --- a/google/ads/google_ads/v2/proto/enums/job_placeholder_field_pb2.py +++ /dev/null @@ -1,163 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/job_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/job_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\031JobsPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/enums/job_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x19JobsPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='JobPlaceholderField', - full_name='google.ads.googleads.v2.enums.JobPlaceholderFieldEnum.JobPlaceholderField', - 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='JOB_ID', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_ID', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TITLE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SUBTITLE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESCRIPTION', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMAGE_URL', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CATEGORY', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTEXTUAL_KEYWORDS', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADDRESS', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SALARY', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URLS', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_MOBILE_URLS', index=13, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACKING_URL', index=14, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANDROID_APP_LINK', index=15, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SIMILAR_JOB_IDS', index=16, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_LINK', index=17, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_STORE_ID', index=18, number=19, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=157, - serialized_end=498, -) -_sym_db.RegisterEnumDescriptor(_JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD) - - -_JOBPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='JobPlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.JobPlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=498, -) - -_JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD.containing_type = _JOBPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['JobPlaceholderFieldEnum'] = _JOBPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -JobPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('JobPlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _JOBPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.JobPlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(JobPlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/job_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/job_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/job_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/keyword_match_type_pb2.py b/google/ads/google_ads/v2/proto/enums/keyword_match_type_pb2.py deleted file mode 100644 index 6b52e1d5f..000000000 --- a/google/ads/google_ads/v2/proto/enums/keyword_match_type_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/keyword_match_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_v2/proto/enums/keyword_match_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\025KeywordMatchTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/enums/keyword_plan_network.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x17KeywordPlanNetworkProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK = _descriptor.EnumDescriptor( - name='KeywordPlanNetwork', - full_name='google.ads.googleads.v2.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork', - 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_SEARCH', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GOOGLE_SEARCH_AND_PARTNERS', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=254, -) -_sym_db.RegisterEnumDescriptor(_KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK) - - -_KEYWORDPLANNETWORKENUM = _descriptor.Descriptor( - name='KeywordPlanNetworkEnum', - full_name='google.ads.googleads.v2.enums.KeywordPlanNetworkEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=127, - serialized_end=254, -) - -_KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK.containing_type = _KEYWORDPLANNETWORKENUM -DESCRIPTOR.message_types_by_name['KeywordPlanNetworkEnum'] = _KEYWORDPLANNETWORKENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanNetworkEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanNetworkEnum', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANNETWORKENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.keyword_plan_network_pb2' - , - __doc__ = """Container for enumeration of keyword plan forecastable network types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.KeywordPlanNetworkEnum) - )) -_sym_db.RegisterMessage(KeywordPlanNetworkEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/keyword_plan_network_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/keyword_plan_network_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/keyword_plan_network_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/label_status_pb2.py b/google/ads/google_ads/v2/proto/enums/label_status_pb2.py deleted file mode 100644 index 8815bdb43..000000000 --- a/google/ads/google_ads/v2/proto/enums/label_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/label_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_v2/proto/enums/label_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\020LabelStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/enums/label_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x10LabelStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_LABELSTATUSENUM_LABELSTATUS = _descriptor.EnumDescriptor( - name='LabelStatus', - full_name='google.ads.googleads.v2.enums.LabelStatusEnum.LabelStatus', - 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=138, - serialized_end=207, -) -_sym_db.RegisterEnumDescriptor(_LABELSTATUSENUM_LABELSTATUS) - - -_LABELSTATUSENUM = _descriptor.Descriptor( - name='LabelStatusEnum', - full_name='google.ads.googleads.v2.enums.LabelStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LABELSTATUSENUM_LABELSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=119, - serialized_end=207, -) - -_LABELSTATUSENUM_LABELSTATUS.containing_type = _LABELSTATUSENUM -DESCRIPTOR.message_types_by_name['LabelStatusEnum'] = _LABELSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -LabelStatusEnum = _reflection.GeneratedProtocolMessageType('LabelStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _LABELSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.label_status_pb2' - , - __doc__ = """Container for enum describing possible status of a label. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.LabelStatusEnum) - )) -_sym_db.RegisterMessage(LabelStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/label_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/label_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/label_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/legacy_app_install_ad_app_store_pb2.py b/google/ads/google_ads/v2/proto/enums/legacy_app_install_ad_app_store_pb2.py deleted file mode 100644 index 78c786282..000000000 --- a/google/ads/google_ads/v2/proto/enums/legacy_app_install_ad_app_store_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/legacy_app_install_ad_app_store.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\037LegacyAppInstallAdAppStoreProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/enums/legacy_app_install_ad_app_store.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1fLegacyAppInstallAdAppStoreProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE = _descriptor.EnumDescriptor( - name='LegacyAppInstallAdAppStore', - full_name='google.ads.googleads.v2.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore', - 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_PLAY', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WINDOWS_STORE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WINDOWS_PHONE_STORE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CN_APP_STORE', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=174, - serialized_end=332, -) -_sym_db.RegisterEnumDescriptor(_LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE) - - -_LEGACYAPPINSTALLADAPPSTOREENUM = _descriptor.Descriptor( - name='LegacyAppInstallAdAppStoreEnum', - full_name='google.ads.googleads.v2.enums.LegacyAppInstallAdAppStoreEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=139, - serialized_end=332, -) - -_LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE.containing_type = _LEGACYAPPINSTALLADAPPSTOREENUM -DESCRIPTOR.message_types_by_name['LegacyAppInstallAdAppStoreEnum'] = _LEGACYAPPINSTALLADAPPSTOREENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -LegacyAppInstallAdAppStoreEnum = _reflection.GeneratedProtocolMessageType('LegacyAppInstallAdAppStoreEnum', (_message.Message,), dict( - DESCRIPTOR = _LEGACYAPPINSTALLADAPPSTOREENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.LegacyAppInstallAdAppStoreEnum) - )) -_sym_db.RegisterMessage(LegacyAppInstallAdAppStoreEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/listing_custom_attribute_index_pb2.py b/google/ads/google_ads/v2/proto/enums/listing_custom_attribute_index_pb2.py deleted file mode 100644 index 34cceaf80..000000000 --- a/google/ads/google_ads/v2/proto/enums/listing_custom_attribute_index_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/listing_custom_attribute_index.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_v2/proto/enums/listing_custom_attribute_index.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB ListingCustomAttributeIndexProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/enums/listing_custom_attribute_index.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB ListingCustomAttributeIndexProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_LISTINGCUSTOMATTRIBUTEINDEXENUM_LISTINGCUSTOMATTRIBUTEINDEX = _descriptor.EnumDescriptor( - name='ListingCustomAttributeIndex', - full_name='google.ads.googleads.v2.enums.ListingCustomAttributeIndexEnum.ListingCustomAttributeIndex', - 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='INDEX0', index=2, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INDEX1', index=3, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INDEX2', index=4, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INDEX3', index=5, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INDEX4', index=6, number=11, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=173, - serialized_end=292, -) -_sym_db.RegisterEnumDescriptor(_LISTINGCUSTOMATTRIBUTEINDEXENUM_LISTINGCUSTOMATTRIBUTEINDEX) - - -_LISTINGCUSTOMATTRIBUTEINDEXENUM = _descriptor.Descriptor( - name='ListingCustomAttributeIndexEnum', - full_name='google.ads.googleads.v2.enums.ListingCustomAttributeIndexEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LISTINGCUSTOMATTRIBUTEINDEXENUM_LISTINGCUSTOMATTRIBUTEINDEX, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=138, - serialized_end=292, -) - -_LISTINGCUSTOMATTRIBUTEINDEXENUM_LISTINGCUSTOMATTRIBUTEINDEX.containing_type = _LISTINGCUSTOMATTRIBUTEINDEXENUM -DESCRIPTOR.message_types_by_name['ListingCustomAttributeIndexEnum'] = _LISTINGCUSTOMATTRIBUTEINDEXENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ListingCustomAttributeIndexEnum = _reflection.GeneratedProtocolMessageType('ListingCustomAttributeIndexEnum', (_message.Message,), dict( - DESCRIPTOR = _LISTINGCUSTOMATTRIBUTEINDEXENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.listing_custom_attribute_index_pb2' - , - __doc__ = """Container for enum describing the index of the listing custom attribute. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ListingCustomAttributeIndexEnum) - )) -_sym_db.RegisterMessage(ListingCustomAttributeIndexEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/listing_custom_attribute_index_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/listing_custom_attribute_index_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/listing_custom_attribute_index_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/listing_group_type_pb2.py b/google/ads/google_ads/v2/proto/enums/listing_group_type_pb2.py deleted file mode 100644 index 9000d8890..000000000 --- a/google/ads/google_ads/v2/proto/enums/listing_group_type_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/listing_group_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_v2/proto/enums/listing_group_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\025ListingGroupTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/enums/parental_status_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x17ParentalStatusTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE = _descriptor.EnumDescriptor( - name='ParentalStatusType', - full_name='google.ads.googleads.v2.enums.ParentalStatusTypeEnum.ParentalStatusType', - 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='PARENT', index=2, number=300, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_A_PARENT', index=3, number=301, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNDETERMINED', index=4, number=302, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=254, -) -_sym_db.RegisterEnumDescriptor(_PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE) - - -_PARENTALSTATUSTYPEENUM = _descriptor.Descriptor( - name='ParentalStatusTypeEnum', - full_name='google.ads.googleads.v2.enums.ParentalStatusTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=127, - serialized_end=254, -) - -_PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE.containing_type = _PARENTALSTATUSTYPEENUM -DESCRIPTOR.message_types_by_name['ParentalStatusTypeEnum'] = _PARENTALSTATUSTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ParentalStatusTypeEnum = _reflection.GeneratedProtocolMessageType('ParentalStatusTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _PARENTALSTATUSTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.ParentalStatusTypeEnum) - )) -_sym_db.RegisterMessage(ParentalStatusTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/parental_status_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/parental_status_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/parental_status_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/payment_mode_pb2.py b/google/ads/google_ads/v2/proto/enums/payment_mode_pb2.py deleted file mode 100644 index fd56f0a06..000000000 --- a/google/ads/google_ads/v2/proto/enums/payment_mode_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/payment_mode.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_v2/proto/enums/payment_mode.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\020PaymentModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/enums/payment_mode.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x10PaymentModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PAYMENTMODEENUM_PAYMENTMODE = _descriptor.EnumDescriptor( - name='PaymentMode', - full_name='google.ads.googleads.v2.enums.PaymentModeEnum.PaymentMode', - 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='CLICKS', index=2, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_VALUE', index=3, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSIONS', index=4, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=138, - serialized_end=232, -) -_sym_db.RegisterEnumDescriptor(_PAYMENTMODEENUM_PAYMENTMODE) - - -_PAYMENTMODEENUM = _descriptor.Descriptor( - name='PaymentModeEnum', - full_name='google.ads.googleads.v2.enums.PaymentModeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PAYMENTMODEENUM_PAYMENTMODE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=119, - serialized_end=232, -) - -_PAYMENTMODEENUM_PAYMENTMODE.containing_type = _PAYMENTMODEENUM -DESCRIPTOR.message_types_by_name['PaymentModeEnum'] = _PAYMENTMODEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PaymentModeEnum = _reflection.GeneratedProtocolMessageType('PaymentModeEnum', (_message.Message,), dict( - DESCRIPTOR = _PAYMENTMODEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.payment_mode_pb2' - , - __doc__ = """Container for enum describing possible payment modes. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.PaymentModeEnum) - )) -_sym_db.RegisterMessage(PaymentModeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/payment_mode_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/payment_mode_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/payment_mode_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/placeholder_type_pb2.py b/google/ads/google_ads/v2/proto/enums/placeholder_type_pb2.py deleted file mode 100644 index 47c434b60..000000000 --- a/google/ads/google_ads/v2/proto/enums/placeholder_type_pb2.py +++ /dev/null @@ -1,170 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/placeholder_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_v2/proto/enums/placeholder_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\024PlaceholderTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/enums/placeholder_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x14PlaceholderTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE = _descriptor.EnumDescriptor( - name='PlaceholderType', - full_name='google.ads.googleads.v2.enums.PlaceholderTypeEnum.PlaceholderType', - 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='SITELINK', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALL', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APP', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AFFILIATE_LOCATION', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALLOUT', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRUCTURED_SNIPPET', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MESSAGE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_CUSTOMIZER', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_EDUCATION', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_FLIGHT', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_CUSTOM', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_HOTEL', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_REAL_ESTATE', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_TRAVEL', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_LOCAL', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_JOB', index=20, number=20, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=148, - serialized_end=524, -) -_sym_db.RegisterEnumDescriptor(_PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE) - - -_PLACEHOLDERTYPEENUM = _descriptor.Descriptor( - name='PlaceholderTypeEnum', - full_name='google.ads.googleads.v2.enums.PlaceholderTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=124, - serialized_end=524, -) - -_PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE.containing_type = _PLACEHOLDERTYPEENUM -DESCRIPTOR.message_types_by_name['PlaceholderTypeEnum'] = _PLACEHOLDERTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PlaceholderTypeEnum = _reflection.GeneratedProtocolMessageType('PlaceholderTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _PLACEHOLDERTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.PlaceholderTypeEnum) - )) -_sym_db.RegisterMessage(PlaceholderTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/placeholder_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/placeholder_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/placeholder_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/placement_type_pb2.py b/google/ads/google_ads/v2/proto/enums/placement_type_pb2.py deleted file mode 100644 index bd3e835f4..000000000 --- a/google/ads/google_ads/v2/proto/enums/placement_type_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/placement_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_v2/proto/enums/placement_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\022PlacementTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/enums/placement_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x12PlacementTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PLACEMENTTYPEENUM_PLACEMENTTYPE = _descriptor.EnumDescriptor( - name='PlacementType', - full_name='google.ads.googleads.v2.enums.PlacementTypeEnum.PlacementType', - 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='WEBSITE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MOBILE_APP_CATEGORY', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MOBILE_APPLICATION', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='YOUTUBE_VIDEO', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='YOUTUBE_CHANNEL', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=291, -) -_sym_db.RegisterEnumDescriptor(_PLACEMENTTYPEENUM_PLACEMENTTYPE) - - -_PLACEMENTTYPEENUM = _descriptor.Descriptor( - name='PlacementTypeEnum', - full_name='google.ads.googleads.v2.enums.PlacementTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PLACEMENTTYPEENUM_PLACEMENTTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=122, - serialized_end=291, -) - -_PLACEMENTTYPEENUM_PLACEMENTTYPE.containing_type = _PLACEMENTTYPEENUM -DESCRIPTOR.message_types_by_name['PlacementTypeEnum'] = _PLACEMENTTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PlacementTypeEnum = _reflection.GeneratedProtocolMessageType('PlacementTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _PLACEMENTTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.placement_type_pb2' - , - __doc__ = """Container for enum describing possible placement types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.PlacementTypeEnum) - )) -_sym_db.RegisterMessage(PlacementTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/placement_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/placement_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/placement_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/policy_approval_status_pb2.py b/google/ads/google_ads/v2/proto/enums/policy_approval_status_pb2.py deleted file mode 100644 index cf3bf3cb0..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_approval_status_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/policy_approval_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_v2/proto/enums/policy_approval_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\031PolicyApprovalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/enums/policy_approval_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x19PolicyApprovalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS = _descriptor.EnumDescriptor( - name='PolicyApprovalStatus', - full_name='google.ads.googleads.v2.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus', - 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='DISAPPROVED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APPROVED_LIMITED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APPROVED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AREA_OF_INTEREST_ONLY', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=159, - serialized_end=291, -) -_sym_db.RegisterEnumDescriptor(_POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS) - - -_POLICYAPPROVALSTATUSENUM = _descriptor.Descriptor( - name='PolicyApprovalStatusEnum', - full_name='google.ads.googleads.v2.enums.PolicyApprovalStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=291, -) - -_POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS.containing_type = _POLICYAPPROVALSTATUSENUM -DESCRIPTOR.message_types_by_name['PolicyApprovalStatusEnum'] = _POLICYAPPROVALSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PolicyApprovalStatusEnum = _reflection.GeneratedProtocolMessageType('PolicyApprovalStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _POLICYAPPROVALSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.policy_approval_status_pb2' - , - __doc__ = """Container for enum describing possible policy approval statuses. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.PolicyApprovalStatusEnum) - )) -_sym_db.RegisterMessage(PolicyApprovalStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/policy_approval_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/policy_approval_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_approval_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/policy_review_status_pb2.py b/google/ads/google_ads/v2/proto/enums/policy_review_status_pb2.py deleted file mode 100644 index bf780000f..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_review_status_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/policy_review_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_v2/proto/enums/policy_review_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\027PolicyReviewStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/enums/policy_review_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x17PolicyReviewStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS = _descriptor.EnumDescriptor( - name='PolicyReviewStatus', - full_name='google.ads.googleads.v2.enums.PolicyReviewStatusEnum.PolicyReviewStatus', - 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='REVIEW_IN_PROGRESS', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REVIEWED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - 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=155, - serialized_end=285, -) -_sym_db.RegisterEnumDescriptor(_POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS) - - -_POLICYREVIEWSTATUSENUM = _descriptor.Descriptor( - name='PolicyReviewStatusEnum', - full_name='google.ads.googleads.v2.enums.PolicyReviewStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=285, -) - -_POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS.containing_type = _POLICYREVIEWSTATUSENUM -DESCRIPTOR.message_types_by_name['PolicyReviewStatusEnum'] = _POLICYREVIEWSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PolicyReviewStatusEnum = _reflection.GeneratedProtocolMessageType('PolicyReviewStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _POLICYREVIEWSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.policy_review_status_pb2' - , - __doc__ = """Container for enum describing possible policy review statuses. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.PolicyReviewStatusEnum) - )) -_sym_db.RegisterMessage(PolicyReviewStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/policy_review_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/policy_review_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_review_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/policy_topic_entry_type_pb2.py b/google/ads/google_ads/v2/proto/enums/policy_topic_entry_type_pb2.py deleted file mode 100644 index 5b916dd3c..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_topic_entry_type_pb2.py +++ /dev/null @@ -1,117 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/policy_topic_entry_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\031PolicyTopicEntryTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/enums/policy_topic_entry_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x19PolicyTopicEntryTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE = _descriptor.EnumDescriptor( - name='PolicyTopicEntryType', - full_name='google.ads.googleads.v2.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType', - 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='PROHIBITED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LIMITED', index=3, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FULLY_LIMITED', index=4, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESCRIPTIVE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BROADENING', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AREA_OF_INTEREST_ONLY', index=7, number=7, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=160, - serialized_end=320, -) -_sym_db.RegisterEnumDescriptor(_POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE) - - -_POLICYTOPICENTRYTYPEENUM = _descriptor.Descriptor( - name='PolicyTopicEntryTypeEnum', - full_name='google.ads.googleads.v2.enums.PolicyTopicEntryTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=320, -) - -_POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE.containing_type = _POLICYTOPICENTRYTYPEENUM -DESCRIPTOR.message_types_by_name['PolicyTopicEntryTypeEnum'] = _POLICYTOPICENTRYTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PolicyTopicEntryTypeEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEntryTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICENTRYTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.PolicyTopicEntryTypeEnum) - )) -_sym_db.RegisterMessage(PolicyTopicEntryTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/policy_topic_entry_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/policy_topic_entry_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_topic_entry_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py b/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py deleted file mode 100644 index cbcc2f92b..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py +++ /dev/null @@ -1,114 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB2PolicyTopicEvidenceDestinationMismatchUrlTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n]google/ads/googleads_v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB2PolicyTopicEvidenceDestinationMismatchUrlTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE = _descriptor.EnumDescriptor( - name='PolicyTopicEvidenceDestinationMismatchUrlType', - full_name='google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType', - 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='DISPLAY_URL', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URL', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_MOBILE_URL', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACKING_URL', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MOBILE_TRACKING_URL', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=213, - serialized_end=387, -) -_sym_db.RegisterEnumDescriptor(_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE) - - -_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM = _descriptor.Descriptor( - name='PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', - full_name='google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=159, - serialized_end=387, -) - -_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE.containing_type = _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM -DESCRIPTOR.message_types_by_name['PolicyTopicEvidenceDestinationMismatchUrlTypeEnum'] = _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PolicyTopicEvidenceDestinationMismatchUrlTypeEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) - )) -_sym_db.RegisterMessage(PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py b/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py deleted file mode 100644 index 1e41563ad..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py +++ /dev/null @@ -1,106 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/policy_topic_evidence_destination_not_working_device.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB3PolicyTopicEvidenceDestinationNotWorkingDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n^google/ads/googleads_v2/proto/enums/policy_topic_evidence_destination_not_working_device.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB3PolicyTopicEvidenceDestinationNotWorkingDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE = _descriptor.EnumDescriptor( - name='PolicyTopicEvidenceDestinationNotWorkingDevice', - full_name='google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice', - 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='DESKTOP', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANDROID', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=214, - serialized_end=327, -) -_sym_db.RegisterEnumDescriptor(_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE) - - -_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM = _descriptor.Descriptor( - name='PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', - full_name='google.ads.googleads.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=160, - serialized_end=327, -) - -_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE.containing_type = _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM -DESCRIPTOR.message_types_by_name['PolicyTopicEvidenceDestinationNotWorkingDeviceEnum'] = _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PolicyTopicEvidenceDestinationNotWorkingDeviceEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', (_message.Message,), dict( - DESCRIPTOR = _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) - )) -_sym_db.RegisterMessage(PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py b/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py deleted file mode 100644 index b3f4bd547..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB9PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nfgoogle/ads/googleads_v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB9PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPE = _descriptor.EnumDescriptor( - name='PolicyTopicEvidenceDestinationNotWorkingDnsErrorType', - full_name='google.ads.googleads.v2.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.v2.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_v2.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.v2.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) - )) -_sym_db.RegisterMessage(PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/positive_geo_target_type_pb2.py b/google/ads/google_ads/v2/proto/enums/positive_geo_target_type_pb2.py deleted file mode 100644 index cf19b11b3..000000000 --- a/google/ads/google_ads/v2/proto/enums/positive_geo_target_type_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/positive_geo_target_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\032PositiveGeoTargetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/enums/positive_geo_target_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1aPositiveGeoTargetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE = _descriptor.EnumDescriptor( - name='PositiveGeoTargetType', - full_name='google.ads.googleads.v2.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType', - 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='PRESENCE_OR_INTEREST', index=2, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SEARCH_INTEREST', index=3, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRESENCE', index=4, number=7, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=161, - serialized_end=275, -) -_sym_db.RegisterEnumDescriptor(_POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE) - - -_POSITIVEGEOTARGETTYPEENUM = _descriptor.Descriptor( - name='PositiveGeoTargetTypeEnum', - full_name='google.ads.googleads.v2.enums.PositiveGeoTargetTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=275, -) - -_POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE.containing_type = _POSITIVEGEOTARGETTYPEENUM -DESCRIPTOR.message_types_by_name['PositiveGeoTargetTypeEnum'] = _POSITIVEGEOTARGETTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PositiveGeoTargetTypeEnum = _reflection.GeneratedProtocolMessageType('PositiveGeoTargetTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _POSITIVEGEOTARGETTYPEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.PositiveGeoTargetTypeEnum) - )) -_sym_db.RegisterMessage(PositiveGeoTargetTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/positive_geo_target_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/positive_geo_target_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/positive_geo_target_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/preferred_content_type_pb2.py b/google/ads/google_ads/v2/proto/enums/preferred_content_type_pb2.py deleted file mode 100644 index b7b4e0f7c..000000000 --- a/google/ads/google_ads/v2/proto/enums/preferred_content_type_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/preferred_content_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_v2/proto/enums/preferred_content_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\031PreferredContentTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/enums/preferred_content_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x19PreferredContentTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE = _descriptor.EnumDescriptor( - name='PreferredContentType', - full_name='google.ads.googleads.v2.enums.PreferredContentTypeEnum.PreferredContentType', - 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='YOUTUBE_TOP_CONTENT', index=2, number=400, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=157, - serialized_end=235, -) -_sym_db.RegisterEnumDescriptor(_PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE) - - -_PREFERREDCONTENTTYPEENUM = _descriptor.Descriptor( - name='PreferredContentTypeEnum', - full_name='google.ads.googleads.v2.enums.PreferredContentTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=235, -) - -_PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE.containing_type = _PREFERREDCONTENTTYPEENUM -DESCRIPTOR.message_types_by_name['PreferredContentTypeEnum'] = _PREFERREDCONTENTTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PreferredContentTypeEnum = _reflection.GeneratedProtocolMessageType('PreferredContentTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _PREFERREDCONTENTTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.preferred_content_type_pb2' - , - __doc__ = """Container for enumeration of preferred content criterion type. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.PreferredContentTypeEnum) - )) -_sym_db.RegisterMessage(PreferredContentTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/preferred_content_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/preferred_content_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/preferred_content_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/price_extension_price_qualifier_pb2.py b/google/ads/google_ads/v2/proto/enums/price_extension_price_qualifier_pb2.py deleted file mode 100644 index 703177ba4..000000000 --- a/google/ads/google_ads/v2/proto/enums/price_extension_price_qualifier_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/price_extension_price_qualifier.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB!PriceExtensionPriceQualifierProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/enums/price_extension_price_qualifier.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB!PriceExtensionPriceQualifierProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER = _descriptor.EnumDescriptor( - name='PriceExtensionPriceQualifier', - full_name='google.ads.googleads.v2.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier', - 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='FROM', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UP_TO', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AVERAGE', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=175, - serialized_end=269, -) -_sym_db.RegisterEnumDescriptor(_PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER) - - -_PRICEEXTENSIONPRICEQUALIFIERENUM = _descriptor.Descriptor( - name='PriceExtensionPriceQualifierEnum', - full_name='google.ads.googleads.v2.enums.PriceExtensionPriceQualifierEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=139, - serialized_end=269, -) - -_PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER.containing_type = _PRICEEXTENSIONPRICEQUALIFIERENUM -DESCRIPTOR.message_types_by_name['PriceExtensionPriceQualifierEnum'] = _PRICEEXTENSIONPRICEQUALIFIERENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PriceExtensionPriceQualifierEnum = _reflection.GeneratedProtocolMessageType('PriceExtensionPriceQualifierEnum', (_message.Message,), dict( - DESCRIPTOR = _PRICEEXTENSIONPRICEQUALIFIERENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.PriceExtensionPriceQualifierEnum) - )) -_sym_db.RegisterMessage(PriceExtensionPriceQualifierEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/price_extension_price_qualifier_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/price_extension_price_qualifier_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/price_extension_price_qualifier_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/price_extension_price_unit_pb2.py b/google/ads/google_ads/v2/proto/enums/price_extension_price_unit_pb2.py deleted file mode 100644 index 620e4d0ee..000000000 --- a/google/ads/google_ads/v2/proto/enums/price_extension_price_unit_pb2.py +++ /dev/null @@ -1,117 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/price_extension_price_unit.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\034PriceExtensionPriceUnitProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/enums/price_extension_price_unit.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1cPriceExtensionPriceUnitProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT = _descriptor.EnumDescriptor( - name='PriceExtensionPriceUnit', - full_name='google.ads.googleads.v2.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit', - 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='PER_HOUR', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PER_DAY', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PER_WEEK', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PER_MONTH', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PER_YEAR', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PER_NIGHT', index=7, number=7, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=166, - serialized_end=306, -) -_sym_db.RegisterEnumDescriptor(_PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT) - - -_PRICEEXTENSIONPRICEUNITENUM = _descriptor.Descriptor( - name='PriceExtensionPriceUnitEnum', - full_name='google.ads.googleads.v2.enums.PriceExtensionPriceUnitEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=134, - serialized_end=306, -) - -_PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT.containing_type = _PRICEEXTENSIONPRICEUNITENUM -DESCRIPTOR.message_types_by_name['PriceExtensionPriceUnitEnum'] = _PRICEEXTENSIONPRICEUNITENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PriceExtensionPriceUnitEnum = _reflection.GeneratedProtocolMessageType('PriceExtensionPriceUnitEnum', (_message.Message,), dict( - DESCRIPTOR = _PRICEEXTENSIONPRICEUNITENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.price_extension_price_unit_pb2' - , - __doc__ = """Container for enum describing price extension price unit. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.PriceExtensionPriceUnitEnum) - )) -_sym_db.RegisterMessage(PriceExtensionPriceUnitEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/price_extension_price_unit_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/price_extension_price_unit_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/price_extension_price_unit_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/price_extension_type_pb2.py b/google/ads/google_ads/v2/proto/enums/price_extension_type_pb2.py deleted file mode 100644 index 02e27bee9..000000000 --- a/google/ads/google_ads/v2/proto/enums/price_extension_type_pb2.py +++ /dev/null @@ -1,129 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/price_extension_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_v2/proto/enums/price_extension_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\027PriceExtensionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/enums/price_extension_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x17PriceExtensionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE = _descriptor.EnumDescriptor( - name='PriceExtensionType', - full_name='google.ads.googleads.v2.enums.PriceExtensionTypeEnum.PriceExtensionType', - 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='BRANDS', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EVENTS', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATIONS', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NEIGHBORHOODS', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_CATEGORIES', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_TIERS', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SERVICES', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SERVICE_CATEGORIES', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SERVICE_TIERS', index=10, number=10, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=155, - serialized_end=363, -) -_sym_db.RegisterEnumDescriptor(_PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE) - - -_PRICEEXTENSIONTYPEENUM = _descriptor.Descriptor( - name='PriceExtensionTypeEnum', - full_name='google.ads.googleads.v2.enums.PriceExtensionTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=363, -) - -_PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE.containing_type = _PRICEEXTENSIONTYPEENUM -DESCRIPTOR.message_types_by_name['PriceExtensionTypeEnum'] = _PRICEEXTENSIONTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PriceExtensionTypeEnum = _reflection.GeneratedProtocolMessageType('PriceExtensionTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _PRICEEXTENSIONTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.price_extension_type_pb2' - , - __doc__ = """Container for enum describing types for a price extension. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.PriceExtensionTypeEnum) - )) -_sym_db.RegisterMessage(PriceExtensionTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/price_extension_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/price_extension_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/price_extension_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/price_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/price_placeholder_field_pb2.py deleted file mode 100644 index 24dbe68a5..000000000 --- a/google/ads/google_ads/v2/proto/enums/price_placeholder_field_pb2.py +++ /dev/null @@ -1,305 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/price_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/price_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\032PricePlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/enums/price_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1aPricePlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='PricePlaceholderField', - full_name='google.ads.googleads.v2.enums.PricePlaceholderFieldEnum.PricePlaceholderField', - 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='TYPE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_QUALIFIER', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACKING_TEMPLATE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LANGUAGE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URL_SUFFIX', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_1_HEADER', index=7, number=100, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_1_DESCRIPTION', index=8, number=101, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_1_PRICE', index=9, number=102, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_1_UNIT', index=10, number=103, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_1_FINAL_URLS', index=11, number=104, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_1_FINAL_MOBILE_URLS', index=12, number=105, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_2_HEADER', index=13, number=200, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_2_DESCRIPTION', index=14, number=201, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_2_PRICE', index=15, number=202, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_2_UNIT', index=16, number=203, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_2_FINAL_URLS', index=17, number=204, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_2_FINAL_MOBILE_URLS', index=18, number=205, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_3_HEADER', index=19, number=300, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_3_DESCRIPTION', index=20, number=301, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_3_PRICE', index=21, number=302, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_3_UNIT', index=22, number=303, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_3_FINAL_URLS', index=23, number=304, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_3_FINAL_MOBILE_URLS', index=24, number=305, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_4_HEADER', index=25, number=400, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_4_DESCRIPTION', index=26, number=401, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_4_PRICE', index=27, number=402, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_4_UNIT', index=28, number=403, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_4_FINAL_URLS', index=29, number=404, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_4_FINAL_MOBILE_URLS', index=30, number=405, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_5_HEADER', index=31, number=500, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_5_DESCRIPTION', index=32, number=501, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_5_PRICE', index=33, number=502, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_5_UNIT', index=34, number=503, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_5_FINAL_URLS', index=35, number=504, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_5_FINAL_MOBILE_URLS', index=36, number=505, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_6_HEADER', index=37, number=600, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_6_DESCRIPTION', index=38, number=601, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_6_PRICE', index=39, number=602, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_6_UNIT', index=40, number=603, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_6_FINAL_URLS', index=41, number=604, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_6_FINAL_MOBILE_URLS', index=42, number=605, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_7_HEADER', index=43, number=700, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_7_DESCRIPTION', index=44, number=701, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_7_PRICE', index=45, number=702, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_7_UNIT', index=46, number=703, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_7_FINAL_URLS', index=47, number=704, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_7_FINAL_MOBILE_URLS', index=48, number=705, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_8_HEADER', index=49, number=800, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_8_DESCRIPTION', index=50, number=801, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_8_PRICE', index=51, number=802, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_8_UNIT', index=52, number=803, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_8_FINAL_URLS', index=53, number=804, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_8_FINAL_MOBILE_URLS', index=54, number=805, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=161, - serialized_end=1394, -) -_sym_db.RegisterEnumDescriptor(_PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD) - - -_PRICEPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='PricePlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.PricePlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=1394, -) - -_PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD.containing_type = _PRICEPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['PricePlaceholderFieldEnum'] = _PRICEPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PricePlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('PricePlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _PRICEPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.price_placeholder_field_pb2' - , - __doc__ = """Values for Price placeholder fields. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.PricePlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(PricePlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/price_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/price_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/price_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/product_bidding_category_level_pb2.py b/google/ads/google_ads/v2/proto/enums/product_bidding_category_level_pb2.py deleted file mode 100644 index 26e6a206b..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_bidding_category_level_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/product_bidding_category_level.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB ProductBiddingCategoryLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/enums/product_bidding_category_level.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB ProductBiddingCategoryLevelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL = _descriptor.EnumDescriptor( - name='ProductBiddingCategoryLevel', - full_name='google.ads.googleads.v2.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel', - 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='LEVEL1', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LEVEL2', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LEVEL3', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LEVEL4', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LEVEL5', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=173, - serialized_end=292, -) -_sym_db.RegisterEnumDescriptor(_PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL) - - -_PRODUCTBIDDINGCATEGORYLEVELENUM = _descriptor.Descriptor( - name='ProductBiddingCategoryLevelEnum', - full_name='google.ads.googleads.v2.enums.ProductBiddingCategoryLevelEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=138, - serialized_end=292, -) - -_PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL.containing_type = _PRODUCTBIDDINGCATEGORYLEVELENUM -DESCRIPTOR.message_types_by_name['ProductBiddingCategoryLevelEnum'] = _PRODUCTBIDDINGCATEGORYLEVELENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ProductBiddingCategoryLevelEnum = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryLevelEnum', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTBIDDINGCATEGORYLEVELENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.product_bidding_category_level_pb2' - , - __doc__ = """Level of a product bidding category. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ProductBiddingCategoryLevelEnum) - )) -_sym_db.RegisterMessage(ProductBiddingCategoryLevelEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/product_bidding_category_level_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/product_bidding_category_level_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_bidding_category_level_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/product_bidding_category_status_pb2.py b/google/ads/google_ads/v2/proto/enums/product_bidding_category_status_pb2.py deleted file mode 100644 index 9f541859b..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_bidding_category_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/product_bidding_category_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB!ProductBiddingCategoryStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/enums/product_bidding_category_status.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB!ProductBiddingCategoryStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS = _descriptor.EnumDescriptor( - name='ProductBiddingCategoryStatus', - full_name='google.ads.googleads.v2.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus', - 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='ACTIVE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OBSOLETE', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=174, - serialized_end=260, -) -_sym_db.RegisterEnumDescriptor(_PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS) - - -_PRODUCTBIDDINGCATEGORYSTATUSENUM = _descriptor.Descriptor( - name='ProductBiddingCategoryStatusEnum', - full_name='google.ads.googleads.v2.enums.ProductBiddingCategoryStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=138, - serialized_end=260, -) - -_PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS.containing_type = _PRODUCTBIDDINGCATEGORYSTATUSENUM -DESCRIPTOR.message_types_by_name['ProductBiddingCategoryStatusEnum'] = _PRODUCTBIDDINGCATEGORYSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ProductBiddingCategoryStatusEnum = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTBIDDINGCATEGORYSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.product_bidding_category_status_pb2' - , - __doc__ = """Status of the product bidding category. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ProductBiddingCategoryStatusEnum) - )) -_sym_db.RegisterMessage(ProductBiddingCategoryStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/product_bidding_category_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/product_bidding_category_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_bidding_category_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/product_channel_exclusivity_pb2.py b/google/ads/google_ads/v2/proto/enums/product_channel_exclusivity_pb2.py deleted file mode 100644 index f76ed3d60..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_channel_exclusivity_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/product_channel_exclusivity.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_v2/proto/enums/product_channel_exclusivity.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\036ProductChannelExclusivityProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/enums/product_channel_exclusivity.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1eProductChannelExclusivityProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY = _descriptor.EnumDescriptor( - name='ProductChannelExclusivity', - full_name='google.ads.googleads.v2.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity', - 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='SINGLE_CHANNEL', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTI_CHANNEL', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=168, - serialized_end=264, -) -_sym_db.RegisterEnumDescriptor(_PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY) - - -_PRODUCTCHANNELEXCLUSIVITYENUM = _descriptor.Descriptor( - name='ProductChannelExclusivityEnum', - full_name='google.ads.googleads.v2.enums.ProductChannelExclusivityEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=264, -) - -_PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY.containing_type = _PRODUCTCHANNELEXCLUSIVITYENUM -DESCRIPTOR.message_types_by_name['ProductChannelExclusivityEnum'] = _PRODUCTCHANNELEXCLUSIVITYENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ProductChannelExclusivityEnum = _reflection.GeneratedProtocolMessageType('ProductChannelExclusivityEnum', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTCHANNELEXCLUSIVITYENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.product_channel_exclusivity_pb2' - , - __doc__ = """Availability of a product offer. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ProductChannelExclusivityEnum) - )) -_sym_db.RegisterMessage(ProductChannelExclusivityEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/product_channel_exclusivity_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/product_channel_exclusivity_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_channel_exclusivity_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/product_channel_pb2.py b/google/ads/google_ads/v2/proto/enums/product_channel_pb2.py deleted file mode 100644 index 34944a13f..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_channel_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/product_channel.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_v2/proto/enums/product_channel.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\023ProductChannelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/enums/product_channel.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x13ProductChannelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PRODUCTCHANNELENUM_PRODUCTCHANNEL = _descriptor.EnumDescriptor( - name='ProductChannel', - full_name='google.ads.googleads.v2.enums.ProductChannelEnum.ProductChannel', - 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='ONLINE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCAL', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=213, -) -_sym_db.RegisterEnumDescriptor(_PRODUCTCHANNELENUM_PRODUCTCHANNEL) - - -_PRODUCTCHANNELENUM = _descriptor.Descriptor( - name='ProductChannelEnum', - full_name='google.ads.googleads.v2.enums.ProductChannelEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PRODUCTCHANNELENUM_PRODUCTCHANNEL, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=122, - serialized_end=213, -) - -_PRODUCTCHANNELENUM_PRODUCTCHANNEL.containing_type = _PRODUCTCHANNELENUM -DESCRIPTOR.message_types_by_name['ProductChannelEnum'] = _PRODUCTCHANNELENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ProductChannelEnum = _reflection.GeneratedProtocolMessageType('ProductChannelEnum', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTCHANNELENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.product_channel_pb2' - , - __doc__ = """Locality of a product offer. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ProductChannelEnum) - )) -_sym_db.RegisterMessage(ProductChannelEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/product_channel_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/product_channel_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_channel_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/product_condition_pb2.py b/google/ads/google_ads/v2/proto/enums/product_condition_pb2.py deleted file mode 100644 index 574768bd0..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_condition_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/product_condition.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_v2/proto/enums/product_condition.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\025ProductConditionProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/enums/product_condition.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x15ProductConditionProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PRODUCTCONDITIONENUM_PRODUCTCONDITION = _descriptor.EnumDescriptor( - name='ProductCondition', - full_name='google.ads.googleads.v2.enums.ProductConditionEnum.ProductCondition', - 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='NEW', index=2, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REFURBISHED', index=3, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='USED', index=4, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=148, - serialized_end=232, -) -_sym_db.RegisterEnumDescriptor(_PRODUCTCONDITIONENUM_PRODUCTCONDITION) - - -_PRODUCTCONDITIONENUM = _descriptor.Descriptor( - name='ProductConditionEnum', - full_name='google.ads.googleads.v2.enums.ProductConditionEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PRODUCTCONDITIONENUM_PRODUCTCONDITION, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=124, - serialized_end=232, -) - -_PRODUCTCONDITIONENUM_PRODUCTCONDITION.containing_type = _PRODUCTCONDITIONENUM -DESCRIPTOR.message_types_by_name['ProductConditionEnum'] = _PRODUCTCONDITIONENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ProductConditionEnum = _reflection.GeneratedProtocolMessageType('ProductConditionEnum', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTCONDITIONENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.product_condition_pb2' - , - __doc__ = """Condition of a product offer. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ProductConditionEnum) - )) -_sym_db.RegisterMessage(ProductConditionEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/product_condition_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/product_condition_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_condition_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/product_type_level_pb2.py b/google/ads/google_ads/v2/proto/enums/product_type_level_pb2.py deleted file mode 100644 index 99c3f7847..000000000 --- a/google/ads/google_ads/v2/proto/enums/product_type_level_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/product_type_level.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_v2/proto/enums/product_type_level.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\025ProductTypeLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/enums/quality_score_bucket.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x17QualityScoreBucketProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET = _descriptor.EnumDescriptor( - name='QualityScoreBucket', - full_name='google.ads.googleads.v2.enums.QualityScoreBucketEnum.QualityScoreBucket', - 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='BELOW_AVERAGE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AVERAGE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ABOVE_AVERAGE', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=254, -) -_sym_db.RegisterEnumDescriptor(_QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET) - - -_QUALITYSCOREBUCKETENUM = _descriptor.Descriptor( - name='QualityScoreBucketEnum', - full_name='google.ads.googleads.v2.enums.QualityScoreBucketEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=127, - serialized_end=254, -) - -_QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET.containing_type = _QUALITYSCOREBUCKETENUM -DESCRIPTOR.message_types_by_name['QualityScoreBucketEnum'] = _QUALITYSCOREBUCKETENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -QualityScoreBucketEnum = _reflection.GeneratedProtocolMessageType('QualityScoreBucketEnum', (_message.Message,), dict( - DESCRIPTOR = _QUALITYSCOREBUCKETENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.quality_score_bucket_pb2' - , - __doc__ = """The relative performance compared to other advertisers. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.QualityScoreBucketEnum) - )) -_sym_db.RegisterMessage(QualityScoreBucketEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/quality_score_bucket_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/quality_score_bucket_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/quality_score_bucket_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/reach_plan_ad_length_pb2.py b/google/ads/google_ads/v2/proto/enums/reach_plan_ad_length_pb2.py deleted file mode 100644 index f65dbe288..000000000 --- a/google/ads/google_ads/v2/proto/enums/reach_plan_ad_length_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/enums/reach_plan_ad_length.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\026ReachPlanAdLengthProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/enums/reach_plan_ad_length.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x16ReachPlanAdLengthProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_REACHPLANADLENGTHENUM_REACHPLANADLENGTH = _descriptor.EnumDescriptor( - name='ReachPlanAdLength', - full_name='google.ads.googleads.v2.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.v2.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_v2.proto.enums.reach_plan_ad_length_pb2' - , - __doc__ = """Message describing length of a plannable video ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ReachPlanAdLengthEnum) - )) -_sym_db.RegisterMessage(ReachPlanAdLengthEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/reach_plan_ad_length_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/reach_plan_ad_length_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/reach_plan_ad_length_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/reach_plan_age_range_pb2.py b/google/ads/google_ads/v2/proto/enums/reach_plan_age_range_pb2.py deleted file mode 100644 index 4582e1b2d..000000000 --- a/google/ads/google_ads/v2/proto/enums/reach_plan_age_range_pb2.py +++ /dev/null @@ -1,197 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/enums/reach_plan_age_range.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\026ReachPlanAgeRangeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/enums/reach_plan_age_range.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x16ReachPlanAgeRangeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_REACHPLANAGERANGEENUM_REACHPLANAGERANGE = _descriptor.EnumDescriptor( - name='ReachPlanAgeRange', - full_name='google.ads.googleads.v2.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.v2.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_v2.proto.enums.reach_plan_age_range_pb2' - , - __doc__ = """Message describing plannable age ranges. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ReachPlanAgeRangeEnum) - )) -_sym_db.RegisterMessage(ReachPlanAgeRangeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/reach_plan_age_range_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/reach_plan_age_range_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/reach_plan_age_range_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/real_estate_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/real_estate_placeholder_field_pb2.py deleted file mode 100644 index 307656bd6..000000000 --- a/google/ads/google_ads/v2/proto/enums/real_estate_placeholder_field_pb2.py +++ /dev/null @@ -1,167 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/real_estate_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/real_estate_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\037RealEstatePlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nGgoogle/ads/googleads_v2/proto/enums/real_estate_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\xa9\x03\n\x1eRealEstatePlaceholderFieldEnum\"\x86\x03\n\x1aRealEstatePlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nLISTING_ID\x10\x02\x12\x10\n\x0cLISTING_NAME\x10\x03\x12\r\n\tCITY_NAME\x10\x04\x12\x0f\n\x0b\x44\x45SCRIPTION\x10\x05\x12\x0b\n\x07\x41\x44\x44RESS\x10\x06\x12\t\n\x05PRICE\x10\x07\x12\x13\n\x0f\x46ORMATTED_PRICE\x10\x08\x12\r\n\tIMAGE_URL\x10\t\x12\x11\n\rPROPERTY_TYPE\x10\n\x12\x10\n\x0cLISTING_TYPE\x10\x0b\x12\x17\n\x13\x43ONTEXTUAL_KEYWORDS\x10\x0c\x12\x0e\n\nFINAL_URLS\x10\r\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\x17\n\x13SIMILAR_LISTING_IDS\x10\x11\x12\x10\n\x0cIOS_APP_LINK\x10\x12\x12\x14\n\x10IOS_APP_STORE_ID\x10\x13\x42\xf4\x01\n!com.google.ads.googleads.v2.enumsB\x1fRealEstatePlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_REALESTATEPLACEHOLDERFIELDENUM_REALESTATEPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='RealEstatePlaceholderField', - full_name='google.ads.googleads.v2.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderField', - 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='LISTING_ID', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LISTING_NAME', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CITY_NAME', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESCRIPTION', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADDRESS', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FORMATTED_PRICE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMAGE_URL', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROPERTY_TYPE', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LISTING_TYPE', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTEXTUAL_KEYWORDS', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URLS', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_MOBILE_URLS', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACKING_URL', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANDROID_APP_LINK', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SIMILAR_LISTING_IDS', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_LINK', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IOS_APP_STORE_ID', index=19, number=19, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=172, - serialized_end=562, -) -_sym_db.RegisterEnumDescriptor(_REALESTATEPLACEHOLDERFIELDENUM_REALESTATEPLACEHOLDERFIELD) - - -_REALESTATEPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='RealEstatePlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.RealEstatePlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _REALESTATEPLACEHOLDERFIELDENUM_REALESTATEPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=137, - serialized_end=562, -) - -_REALESTATEPLACEHOLDERFIELDENUM_REALESTATEPLACEHOLDERFIELD.containing_type = _REALESTATEPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['RealEstatePlaceholderFieldEnum'] = _REALESTATEPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -RealEstatePlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('RealEstatePlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _REALESTATEPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.real_estate_placeholder_field_pb2' - , - __doc__ = """Values for Real Estate 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.v2.enums.RealEstatePlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(RealEstatePlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/real_estate_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/real_estate_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/real_estate_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/recommendation_type_pb2.py b/google/ads/google_ads/v2/proto/enums/recommendation_type_pb2.py deleted file mode 100644 index 791b7f4b5..000000000 --- a/google/ads/google_ads/v2/proto/enums/recommendation_type_pb2.py +++ /dev/null @@ -1,149 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/recommendation_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_v2/proto/enums/recommendation_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\027RecommendationTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/enums/recommendation_type.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\x92\x03\n\x16RecommendationTypeEnum\"\xf7\x02\n\x12RecommendationType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0f\x43\x41MPAIGN_BUDGET\x10\x02\x12\x0b\n\x07KEYWORD\x10\x03\x12\x0b\n\x07TEXT_AD\x10\x04\x12\x15\n\x11TARGET_CPA_OPT_IN\x10\x05\x12\x1f\n\x1bMAXIMIZE_CONVERSIONS_OPT_IN\x10\x06\x12\x17\n\x13\x45NHANCED_CPC_OPT_IN\x10\x07\x12\x1a\n\x16SEARCH_PARTNERS_OPT_IN\x10\x08\x12\x1a\n\x16MAXIMIZE_CLICKS_OPT_IN\x10\t\x12\x18\n\x14OPTIMIZE_AD_ROTATION\x10\n\x12\x15\n\x11\x43\x41LLOUT_EXTENSION\x10\x0b\x12\x16\n\x12SITELINK_EXTENSION\x10\x0c\x12\x12\n\x0e\x43\x41LL_EXTENSION\x10\r\x12\x16\n\x12KEYWORD_MATCH_TYPE\x10\x0e\x12\x16\n\x12MOVE_UNUSED_BUDGET\x10\x0f\x42\xec\x01\n!com.google.ads.googleads.v2.enumsB\x17RecommendationTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_RECOMMENDATIONTYPEENUM_RECOMMENDATIONTYPE = _descriptor.EnumDescriptor( - name='RecommendationType', - full_name='google.ads.googleads.v2.enums.RecommendationTypeEnum.RecommendationType', - 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_BUDGET', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEYWORD', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TEXT_AD', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TARGET_CPA_OPT_IN', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MAXIMIZE_CONVERSIONS_OPT_IN', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ENHANCED_CPC_OPT_IN', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SEARCH_PARTNERS_OPT_IN', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MAXIMIZE_CLICKS_OPT_IN', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OPTIMIZE_AD_ROTATION', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALLOUT_EXTENSION', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SITELINK_EXTENSION', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALL_EXTENSION', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEYWORD_MATCH_TYPE', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MOVE_UNUSED_BUDGET', index=15, number=15, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=154, - serialized_end=529, -) -_sym_db.RegisterEnumDescriptor(_RECOMMENDATIONTYPEENUM_RECOMMENDATIONTYPE) - - -_RECOMMENDATIONTYPEENUM = _descriptor.Descriptor( - name='RecommendationTypeEnum', - full_name='google.ads.googleads.v2.enums.RecommendationTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _RECOMMENDATIONTYPEENUM_RECOMMENDATIONTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=127, - serialized_end=529, -) - -_RECOMMENDATIONTYPEENUM_RECOMMENDATIONTYPE.containing_type = _RECOMMENDATIONTYPEENUM -DESCRIPTOR.message_types_by_name['RecommendationTypeEnum'] = _RECOMMENDATIONTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -RecommendationTypeEnum = _reflection.GeneratedProtocolMessageType('RecommendationTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATIONTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.recommendation_type_pb2' - , - __doc__ = """Container for enum describing types of recommendations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.RecommendationTypeEnum) - )) -_sym_db.RegisterMessage(RecommendationTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/recommendation_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/recommendation_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/recommendation_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/search_engine_results_page_type_pb2.py b/google/ads/google_ads/v2/proto/enums/search_engine_results_page_type_pb2.py deleted file mode 100644 index 966a42893..000000000 --- a/google/ads/google_ads/v2/proto/enums/search_engine_results_page_type_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/search_engine_results_page_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_v2/proto/enums/search_engine_results_page_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB SearchEngineResultsPageTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/enums/search_engine_results_page_type.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\x93\x01\n\x1fSearchEngineResultsPageTypeEnum\"p\n\x1bSearchEngineResultsPageType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x41\x44S_ONLY\x10\x02\x12\x10\n\x0cORGANIC_ONLY\x10\x03\x12\x13\n\x0f\x41\x44S_AND_ORGANIC\x10\x04\x42\xf5\x01\n!com.google.ads.googleads.v2.enumsB SearchEngineResultsPageTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SEARCHENGINERESULTSPAGETYPEENUM_SEARCHENGINERESULTSPAGETYPE = _descriptor.EnumDescriptor( - name='SearchEngineResultsPageType', - full_name='google.ads.googleads.v2.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType', - 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='ADS_ONLY', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ORGANIC_ONLY', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADS_AND_ORGANIC', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=174, - serialized_end=286, -) -_sym_db.RegisterEnumDescriptor(_SEARCHENGINERESULTSPAGETYPEENUM_SEARCHENGINERESULTSPAGETYPE) - - -_SEARCHENGINERESULTSPAGETYPEENUM = _descriptor.Descriptor( - name='SearchEngineResultsPageTypeEnum', - full_name='google.ads.googleads.v2.enums.SearchEngineResultsPageTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SEARCHENGINERESULTSPAGETYPEENUM_SEARCHENGINERESULTSPAGETYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=139, - serialized_end=286, -) - -_SEARCHENGINERESULTSPAGETYPEENUM_SEARCHENGINERESULTSPAGETYPE.containing_type = _SEARCHENGINERESULTSPAGETYPEENUM -DESCRIPTOR.message_types_by_name['SearchEngineResultsPageTypeEnum'] = _SEARCHENGINERESULTSPAGETYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SearchEngineResultsPageTypeEnum = _reflection.GeneratedProtocolMessageType('SearchEngineResultsPageTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _SEARCHENGINERESULTSPAGETYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.search_engine_results_page_type_pb2' - , - __doc__ = """The type of the search engine results page. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SearchEngineResultsPageTypeEnum) - )) -_sym_db.RegisterMessage(SearchEngineResultsPageTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/search_engine_results_page_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/search_engine_results_page_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/search_engine_results_page_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/search_term_match_type_pb2.py b/google/ads/google_ads/v2/proto/enums/search_term_match_type_pb2.py deleted file mode 100644 index 194bf22af..000000000 --- a/google/ads/google_ads/v2/proto/enums/search_term_match_type_pb2.py +++ /dev/null @@ -1,114 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/search_term_match_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_v2/proto/enums/search_term_match_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\030SearchTermMatchTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/enums/search_term_match_type.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\x91\x01\n\x17SearchTermMatchTypeEnum\"v\n\x13SearchTermMatchType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x42ROAD\x10\x02\x12\t\n\x05\x45XACT\x10\x03\x12\n\n\x06PHRASE\x10\x04\x12\x0e\n\nNEAR_EXACT\x10\x05\x12\x0f\n\x0bNEAR_PHRASE\x10\x06\x42\xed\x01\n!com.google.ads.googleads.v2.enumsB\x18SearchTermMatchTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SEARCHTERMMATCHTYPEENUM_SEARCHTERMMATCHTYPE = _descriptor.EnumDescriptor( - name='SearchTermMatchType', - full_name='google.ads.googleads.v2.enums.SearchTermMatchTypeEnum.SearchTermMatchType', - 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='BROAD', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXACT', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PHRASE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NEAR_EXACT', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NEAR_PHRASE', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=157, - serialized_end=275, -) -_sym_db.RegisterEnumDescriptor(_SEARCHTERMMATCHTYPEENUM_SEARCHTERMMATCHTYPE) - - -_SEARCHTERMMATCHTYPEENUM = _descriptor.Descriptor( - name='SearchTermMatchTypeEnum', - full_name='google.ads.googleads.v2.enums.SearchTermMatchTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SEARCHTERMMATCHTYPEENUM_SEARCHTERMMATCHTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=275, -) - -_SEARCHTERMMATCHTYPEENUM_SEARCHTERMMATCHTYPE.containing_type = _SEARCHTERMMATCHTYPEENUM -DESCRIPTOR.message_types_by_name['SearchTermMatchTypeEnum'] = _SEARCHTERMMATCHTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SearchTermMatchTypeEnum = _reflection.GeneratedProtocolMessageType('SearchTermMatchTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _SEARCHTERMMATCHTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.search_term_match_type_pb2' - , - __doc__ = """Container for enum describing match types for a keyword triggering an - ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SearchTermMatchTypeEnum) - )) -_sym_db.RegisterMessage(SearchTermMatchTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/search_term_match_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/search_term_match_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/search_term_match_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/search_term_targeting_status_pb2.py b/google/ads/google_ads/v2/proto/enums/search_term_targeting_status_pb2.py deleted file mode 100644 index e3802b746..000000000 --- a/google/ads/google_ads/v2/proto/enums/search_term_targeting_status_pb2.py +++ /dev/null @@ -1,110 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/search_term_targeting_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_v2/proto/enums/search_term_targeting_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\036SearchTermTargetingStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/enums/search_term_targeting_status.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\x91\x01\n\x1dSearchTermTargetingStatusEnum\"p\n\x19SearchTermTargetingStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x02\x12\x0c\n\x08\x45XCLUDED\x10\x03\x12\x12\n\x0e\x41\x44\x44\x45\x44_EXCLUDED\x10\x04\x12\x08\n\x04NONE\x10\x05\x42\xf3\x01\n!com.google.ads.googleads.v2.enumsB\x1eSearchTermTargetingStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SEARCHTERMTARGETINGSTATUSENUM_SEARCHTERMTARGETINGSTATUS = _descriptor.EnumDescriptor( - name='SearchTermTargetingStatus', - full_name='google.ads.googleads.v2.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus', - 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='ADDED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXCLUDED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADDED_EXCLUDED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NONE', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=169, - serialized_end=281, -) -_sym_db.RegisterEnumDescriptor(_SEARCHTERMTARGETINGSTATUSENUM_SEARCHTERMTARGETINGSTATUS) - - -_SEARCHTERMTARGETINGSTATUSENUM = _descriptor.Descriptor( - name='SearchTermTargetingStatusEnum', - full_name='google.ads.googleads.v2.enums.SearchTermTargetingStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SEARCHTERMTARGETINGSTATUSENUM_SEARCHTERMTARGETINGSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=136, - serialized_end=281, -) - -_SEARCHTERMTARGETINGSTATUSENUM_SEARCHTERMTARGETINGSTATUS.containing_type = _SEARCHTERMTARGETINGSTATUSENUM -DESCRIPTOR.message_types_by_name['SearchTermTargetingStatusEnum'] = _SEARCHTERMTARGETINGSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SearchTermTargetingStatusEnum = _reflection.GeneratedProtocolMessageType('SearchTermTargetingStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _SEARCHTERMTARGETINGSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.search_term_targeting_status_pb2' - , - __doc__ = """Container for enum indicating whether a search term is one of your - targeted or excluded keywords. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SearchTermTargetingStatusEnum) - )) -_sym_db.RegisterMessage(SearchTermTargetingStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/search_term_targeting_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/search_term_targeting_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/search_term_targeting_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/served_asset_field_type_pb2.py b/google/ads/google_ads/v2/proto/enums/served_asset_field_type_pb2.py deleted file mode 100644 index b0f778bff..000000000 --- a/google/ads/google_ads/v2/proto/enums/served_asset_field_type_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/served_asset_field_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_v2/proto/enums/served_asset_field_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\031ServedAssetFieldTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/enums/served_asset_field_type.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\xa7\x01\n\x18ServedAssetFieldTypeEnum\"\x8a\x01\n\x14ServedAssetFieldType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nHEADLINE_1\x10\x02\x12\x0e\n\nHEADLINE_2\x10\x03\x12\x0e\n\nHEADLINE_3\x10\x04\x12\x11\n\rDESCRIPTION_1\x10\x05\x12\x11\n\rDESCRIPTION_2\x10\x06\x42\xee\x01\n!com.google.ads.googleads.v2.enumsB\x19ServedAssetFieldTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SERVEDASSETFIELDTYPEENUM_SERVEDASSETFIELDTYPE = _descriptor.EnumDescriptor( - name='ServedAssetFieldType', - full_name='google.ads.googleads.v2.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType', - 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='HEADLINE_1', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HEADLINE_2', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HEADLINE_3', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESCRIPTION_1', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESCRIPTION_2', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=160, - serialized_end=298, -) -_sym_db.RegisterEnumDescriptor(_SERVEDASSETFIELDTYPEENUM_SERVEDASSETFIELDTYPE) - - -_SERVEDASSETFIELDTYPEENUM = _descriptor.Descriptor( - name='ServedAssetFieldTypeEnum', - full_name='google.ads.googleads.v2.enums.ServedAssetFieldTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SERVEDASSETFIELDTYPEENUM_SERVEDASSETFIELDTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=298, -) - -_SERVEDASSETFIELDTYPEENUM_SERVEDASSETFIELDTYPE.containing_type = _SERVEDASSETFIELDTYPEENUM -DESCRIPTOR.message_types_by_name['ServedAssetFieldTypeEnum'] = _SERVEDASSETFIELDTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ServedAssetFieldTypeEnum = _reflection.GeneratedProtocolMessageType('ServedAssetFieldTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _SERVEDASSETFIELDTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.served_asset_field_type_pb2' - , - __doc__ = """Container for enum describing possible asset field types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.ServedAssetFieldTypeEnum) - )) -_sym_db.RegisterMessage(ServedAssetFieldTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/served_asset_field_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/served_asset_field_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/served_asset_field_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/shared_set_status_pb2.py b/google/ads/google_ads/v2/proto/enums/shared_set_status_pb2.py deleted file mode 100644 index d8f7208f3..000000000 --- a/google/ads/google_ads/v2/proto/enums/shared_set_status_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/shared_set_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_v2/proto/enums/shared_set_status.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\024SharedSetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/enums/shared_set_status.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"`\n\x13SharedSetStatusEnum\"I\n\x0fSharedSetStatus\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\xe9\x01\n!com.google.ads.googleads.v2.enumsB\x14SharedSetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SHAREDSETSTATUSENUM_SHAREDSETSTATUS = _descriptor.EnumDescriptor( - name='SharedSetStatus', - full_name='google.ads.googleads.v2.enums.SharedSetStatusEnum.SharedSetStatus', - 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=147, - serialized_end=220, -) -_sym_db.RegisterEnumDescriptor(_SHAREDSETSTATUSENUM_SHAREDSETSTATUS) - - -_SHAREDSETSTATUSENUM = _descriptor.Descriptor( - name='SharedSetStatusEnum', - full_name='google.ads.googleads.v2.enums.SharedSetStatusEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SHAREDSETSTATUSENUM_SHAREDSETSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=124, - serialized_end=220, -) - -_SHAREDSETSTATUSENUM_SHAREDSETSTATUS.containing_type = _SHAREDSETSTATUSENUM -DESCRIPTOR.message_types_by_name['SharedSetStatusEnum'] = _SHAREDSETSTATUSENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SharedSetStatusEnum = _reflection.GeneratedProtocolMessageType('SharedSetStatusEnum', (_message.Message,), dict( - DESCRIPTOR = _SHAREDSETSTATUSENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.shared_set_status_pb2' - , - __doc__ = """Container for enum describing types of shared set statuses. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SharedSetStatusEnum) - )) -_sym_db.RegisterMessage(SharedSetStatusEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/shared_set_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/shared_set_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/shared_set_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/shared_set_type_pb2.py b/google/ads/google_ads/v2/proto/enums/shared_set_type_pb2.py deleted file mode 100644 index 7ad2aac20..000000000 --- a/google/ads/google_ads/v2/proto/enums/shared_set_type_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/shared_set_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_v2/proto/enums/shared_set_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\022SharedSetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/enums/shared_set_type.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"r\n\x11SharedSetTypeEnum\"]\n\rSharedSetType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x11NEGATIVE_KEYWORDS\x10\x02\x12\x17\n\x13NEGATIVE_PLACEMENTS\x10\x03\x42\xe7\x01\n!com.google.ads.googleads.v2.enumsB\x12SharedSetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SHAREDSETTYPEENUM_SHAREDSETTYPE = _descriptor.EnumDescriptor( - name='SharedSetType', - full_name='google.ads.googleads.v2.enums.SharedSetTypeEnum.SharedSetType', - 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='NEGATIVE_KEYWORDS', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NEGATIVE_PLACEMENTS', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=143, - serialized_end=236, -) -_sym_db.RegisterEnumDescriptor(_SHAREDSETTYPEENUM_SHAREDSETTYPE) - - -_SHAREDSETTYPEENUM = _descriptor.Descriptor( - name='SharedSetTypeEnum', - full_name='google.ads.googleads.v2.enums.SharedSetTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SHAREDSETTYPEENUM_SHAREDSETTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=122, - serialized_end=236, -) - -_SHAREDSETTYPEENUM_SHAREDSETTYPE.containing_type = _SHAREDSETTYPEENUM -DESCRIPTOR.message_types_by_name['SharedSetTypeEnum'] = _SHAREDSETTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SharedSetTypeEnum = _reflection.GeneratedProtocolMessageType('SharedSetTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _SHAREDSETTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.shared_set_type_pb2' - , - __doc__ = """Container for enum describing types of shared sets. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SharedSetTypeEnum) - )) -_sym_db.RegisterMessage(SharedSetTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/shared_set_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/shared_set_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/shared_set_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/simulation_modification_method_pb2.py b/google/ads/google_ads/v2/proto/enums/simulation_modification_method_pb2.py deleted file mode 100644 index db67aa22a..000000000 --- a/google/ads/google_ads/v2/proto/enums/simulation_modification_method_pb2.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/simulation_modification_method.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_v2/proto/enums/simulation_modification_method.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB!SimulationModificationMethodProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/enums/simulation_modification_method.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"z\n SimulationModificationMethodEnum\"V\n\x1cSimulationModificationMethod\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07UNIFORM\x10\x02\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x03\x42\xf6\x01\n!com.google.ads.googleads.v2.enumsB!SimulationModificationMethodProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD = _descriptor.EnumDescriptor( - name='SimulationModificationMethod', - full_name='google.ads.googleads.v2.enums.SimulationModificationMethodEnum.SimulationModificationMethod', - 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='UNIFORM', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DEFAULT', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=173, - serialized_end=259, -) -_sym_db.RegisterEnumDescriptor(_SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD) - - -_SIMULATIONMODIFICATIONMETHODENUM = _descriptor.Descriptor( - name='SimulationModificationMethodEnum', - full_name='google.ads.googleads.v2.enums.SimulationModificationMethodEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=137, - serialized_end=259, -) - -_SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD.containing_type = _SIMULATIONMODIFICATIONMETHODENUM -DESCRIPTOR.message_types_by_name['SimulationModificationMethodEnum'] = _SIMULATIONMODIFICATIONMETHODENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SimulationModificationMethodEnum = _reflection.GeneratedProtocolMessageType('SimulationModificationMethodEnum', (_message.Message,), dict( - DESCRIPTOR = _SIMULATIONMODIFICATIONMETHODENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.simulation_modification_method_pb2' - , - __doc__ = """Container for enum describing the method by which a simulation modifies - a field. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SimulationModificationMethodEnum) - )) -_sym_db.RegisterMessage(SimulationModificationMethodEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/simulation_modification_method_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/simulation_modification_method_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/simulation_modification_method_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/simulation_type_pb2.py b/google/ads/google_ads/v2/proto/enums/simulation_type_pb2.py deleted file mode 100644 index 1a8c6b8e4..000000000 --- a/google/ads/google_ads/v2/proto/enums/simulation_type_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/simulation_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_v2/proto/enums/simulation_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\023SimulationTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/enums/simulation_type.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\x80\x01\n\x12SimulationTypeEnum\"j\n\x0eSimulationType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x43PC_BID\x10\x02\x12\x0b\n\x07\x43PV_BID\x10\x03\x12\x0e\n\nTARGET_CPA\x10\x04\x12\x10\n\x0c\x42ID_MODIFIER\x10\x05\x42\xe8\x01\n!com.google.ads.googleads.v2.enumsB\x13SimulationTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SIMULATIONTYPEENUM_SIMULATIONTYPE = _descriptor.EnumDescriptor( - name='SimulationType', - full_name='google.ads.googleads.v2.enums.SimulationTypeEnum.SimulationType', - 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='CPC_BID', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CPV_BID', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TARGET_CPA', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_MODIFIER', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=145, - serialized_end=251, -) -_sym_db.RegisterEnumDescriptor(_SIMULATIONTYPEENUM_SIMULATIONTYPE) - - -_SIMULATIONTYPEENUM = _descriptor.Descriptor( - name='SimulationTypeEnum', - full_name='google.ads.googleads.v2.enums.SimulationTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SIMULATIONTYPEENUM_SIMULATIONTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=251, -) - -_SIMULATIONTYPEENUM_SIMULATIONTYPE.containing_type = _SIMULATIONTYPEENUM -DESCRIPTOR.message_types_by_name['SimulationTypeEnum'] = _SIMULATIONTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SimulationTypeEnum = _reflection.GeneratedProtocolMessageType('SimulationTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _SIMULATIONTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.simulation_type_pb2' - , - __doc__ = """Container for enum describing the field a simulation modifies. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SimulationTypeEnum) - )) -_sym_db.RegisterMessage(SimulationTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/simulation_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/simulation_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/simulation_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/sitelink_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/sitelink_placeholder_field_pb2.py deleted file mode 100644 index 46086c42c..000000000 --- a/google/ads/google_ads/v2/proto/enums/sitelink_placeholder_field_pb2.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/sitelink_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/sitelink_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\035SitelinkPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/enums/sitelink_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\xca\x01\n\x1cSitelinkPlaceholderFieldEnum\"\xa9\x01\n\x18SitelinkPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04TEXT\x10\x02\x12\n\n\x06LINE_1\x10\x03\x12\n\n\x06LINE_2\x10\x04\x12\x0e\n\nFINAL_URLS\x10\x05\x12\x15\n\x11\x46INAL_MOBILE_URLS\x10\x06\x12\x10\n\x0cTRACKING_URL\x10\x07\x12\x14\n\x10\x46INAL_URL_SUFFIX\x10\x08\x42\xf2\x01\n!com.google.ads.googleads.v2.enumsB\x1dSitelinkPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SITELINKPLACEHOLDERFIELDENUM_SITELINKPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='SitelinkPlaceholderField', - full_name='google.ads.googleads.v2.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderField', - 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='TEXT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LINE_1', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LINE_2', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URLS', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_MOBILE_URLS', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRACKING_URL', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URL_SUFFIX', index=8, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=167, - serialized_end=336, -) -_sym_db.RegisterEnumDescriptor(_SITELINKPLACEHOLDERFIELDENUM_SITELINKPLACEHOLDERFIELD) - - -_SITELINKPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='SitelinkPlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.SitelinkPlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SITELINKPLACEHOLDERFIELDENUM_SITELINKPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=134, - serialized_end=336, -) - -_SITELINKPLACEHOLDERFIELDENUM_SITELINKPLACEHOLDERFIELD.containing_type = _SITELINKPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['SitelinkPlaceholderFieldEnum'] = _SITELINKPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SitelinkPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('SitelinkPlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _SITELINKPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.sitelink_placeholder_field_pb2' - , - __doc__ = """Values for Sitelink placeholder fields. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SitelinkPlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(SitelinkPlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/sitelink_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/sitelink_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/sitelink_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/slot_pb2.py b/google/ads/google_ads/v2/proto/enums/slot_pb2.py deleted file mode 100644 index 3715e7d78..000000000 --- a/google/ads/google_ads/v2/proto/enums/slot_pb2.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/slot.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_v2/proto/enums/slot.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\tSlotProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n.google/ads/googleads_v2/proto/enums/slot.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\xae\x01\n\x08SlotEnum\"\xa1\x01\n\x04Slot\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0bSEARCH_SIDE\x10\x02\x12\x0e\n\nSEARCH_TOP\x10\x03\x12\x10\n\x0cSEARCH_OTHER\x10\x04\x12\x0b\n\x07\x43ONTENT\x10\x05\x12\x16\n\x12SEARCH_PARTNER_TOP\x10\x06\x12\x18\n\x14SEARCH_PARTNER_OTHER\x10\x07\x12\t\n\x05MIXED\x10\x08\x42\xde\x01\n!com.google.ads.googleads.v2.enumsB\tSlotProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SLOTENUM_SLOT = _descriptor.EnumDescriptor( - name='Slot', - full_name='google.ads.googleads.v2.enums.SlotEnum.Slot', - 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='SEARCH_SIDE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SEARCH_TOP', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SEARCH_OTHER', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONTENT', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SEARCH_PARTNER_TOP', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SEARCH_PARTNER_OTHER', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MIXED', index=8, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=125, - serialized_end=286, -) -_sym_db.RegisterEnumDescriptor(_SLOTENUM_SLOT) - - -_SLOTENUM = _descriptor.Descriptor( - name='SlotEnum', - full_name='google.ads.googleads.v2.enums.SlotEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SLOTENUM_SLOT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=112, - serialized_end=286, -) - -_SLOTENUM_SLOT.containing_type = _SLOTENUM -DESCRIPTOR.message_types_by_name['SlotEnum'] = _SLOTENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SlotEnum = _reflection.GeneratedProtocolMessageType('SlotEnum', (_message.Message,), dict( - DESCRIPTOR = _SLOTENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.slot_pb2' - , - __doc__ = """Container for enumeration of possible positions of the Ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SlotEnum) - )) -_sym_db.RegisterMessage(SlotEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/slot_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/slot_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/slot_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/spending_limit_type_pb2.py b/google/ads/google_ads/v2/proto/enums/spending_limit_type_pb2.py deleted file mode 100644 index 7a582299c..000000000 --- a/google/ads/google_ads/v2/proto/enums/spending_limit_type_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/spending_limit_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_v2/proto/enums/spending_limit_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\026SpendingLimitTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/enums/spending_limit_type.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"X\n\x15SpendingLimitTypeEnum\"?\n\x11SpendingLimitType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08INFINITE\x10\x02\x42\xeb\x01\n!com.google.ads.googleads.v2.enumsB\x16SpendingLimitTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE = _descriptor.EnumDescriptor( - name='SpendingLimitType', - full_name='google.ads.googleads.v2.enums.SpendingLimitTypeEnum.SpendingLimitType', - 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='INFINITE', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=151, - serialized_end=214, -) -_sym_db.RegisterEnumDescriptor(_SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE) - - -_SPENDINGLIMITTYPEENUM = _descriptor.Descriptor( - name='SpendingLimitTypeEnum', - full_name='google.ads.googleads.v2.enums.SpendingLimitTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=214, -) - -_SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE.containing_type = _SPENDINGLIMITTYPEENUM -DESCRIPTOR.message_types_by_name['SpendingLimitTypeEnum'] = _SPENDINGLIMITTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SpendingLimitTypeEnum = _reflection.GeneratedProtocolMessageType('SpendingLimitTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _SPENDINGLIMITTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.spending_limit_type_pb2' - , - __doc__ = """Message describing spending limit types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SpendingLimitTypeEnum) - )) -_sym_db.RegisterMessage(SpendingLimitTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/spending_limit_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/spending_limit_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/spending_limit_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/structured_snippet_placeholder_field_pb2.py b/google/ads/google_ads/v2/proto/enums/structured_snippet_placeholder_field_pb2.py deleted file mode 100644 index c4d369352..000000000 --- a/google/ads/google_ads/v2/proto/enums/structured_snippet_placeholder_field_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/structured_snippet_placeholder_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/enums/structured_snippet_placeholder_field.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB&StructuredSnippetPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nNgoogle/ads/googleads_v2/proto/enums/structured_snippet_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\x84\x01\n%StructuredSnippetPlaceholderFieldEnum\"[\n!StructuredSnippetPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06HEADER\x10\x02\x12\x0c\n\x08SNIPPETS\x10\x03\x42\xfb\x01\n!com.google.ads.googleads.v2.enumsB&StructuredSnippetPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM_STRUCTUREDSNIPPETPLACEHOLDERFIELD = _descriptor.EnumDescriptor( - name='StructuredSnippetPlaceholderField', - full_name='google.ads.googleads.v2.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderField', - 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='HEADER', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SNIPPETS', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=185, - serialized_end=276, -) -_sym_db.RegisterEnumDescriptor(_STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM_STRUCTUREDSNIPPETPLACEHOLDERFIELD) - - -_STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM = _descriptor.Descriptor( - name='StructuredSnippetPlaceholderFieldEnum', - full_name='google.ads.googleads.v2.enums.StructuredSnippetPlaceholderFieldEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM_STRUCTUREDSNIPPETPLACEHOLDERFIELD, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=144, - serialized_end=276, -) - -_STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM_STRUCTUREDSNIPPETPLACEHOLDERFIELD.containing_type = _STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM -DESCRIPTOR.message_types_by_name['StructuredSnippetPlaceholderFieldEnum'] = _STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -StructuredSnippetPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('StructuredSnippetPlaceholderFieldEnum', (_message.Message,), dict( - DESCRIPTOR = _STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.structured_snippet_placeholder_field_pb2' - , - __doc__ = """Values for Structured Snippet placeholder fields. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.StructuredSnippetPlaceholderFieldEnum) - )) -_sym_db.RegisterMessage(StructuredSnippetPlaceholderFieldEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/structured_snippet_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/structured_snippet_placeholder_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/structured_snippet_placeholder_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/system_managed_entity_source_pb2.py b/google/ads/google_ads/v2/proto/enums/system_managed_entity_source_pb2.py deleted file mode 100644 index 75cee4540..000000000 --- a/google/ads/google_ads/v2/proto/enums/system_managed_entity_source_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/system_managed_entity_source.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_v2/proto/enums/system_managed_entity_source.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\036SystemManagedEntitySourceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/enums/system_managed_entity_source.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"q\n\x1fSystemManagedResourceSourceEnum\"N\n\x1bSystemManagedResourceSource\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rAD_VARIATIONS\x10\x02\x42\xf3\x01\n!com.google.ads.googleads.v2.enumsB\x1eSystemManagedEntitySourceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SYSTEMMANAGEDRESOURCESOURCEENUM_SYSTEMMANAGEDRESOURCESOURCE = _descriptor.EnumDescriptor( - name='SystemManagedResourceSource', - full_name='google.ads.googleads.v2.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource', - 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='AD_VARIATIONS', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=170, - serialized_end=248, -) -_sym_db.RegisterEnumDescriptor(_SYSTEMMANAGEDRESOURCESOURCEENUM_SYSTEMMANAGEDRESOURCESOURCE) - - -_SYSTEMMANAGEDRESOURCESOURCEENUM = _descriptor.Descriptor( - name='SystemManagedResourceSourceEnum', - full_name='google.ads.googleads.v2.enums.SystemManagedResourceSourceEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SYSTEMMANAGEDRESOURCESOURCEENUM_SYSTEMMANAGEDRESOURCESOURCE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=248, -) - -_SYSTEMMANAGEDRESOURCESOURCEENUM_SYSTEMMANAGEDRESOURCESOURCE.containing_type = _SYSTEMMANAGEDRESOURCESOURCEENUM -DESCRIPTOR.message_types_by_name['SystemManagedResourceSourceEnum'] = _SYSTEMMANAGEDRESOURCESOURCEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SystemManagedResourceSourceEnum = _reflection.GeneratedProtocolMessageType('SystemManagedResourceSourceEnum', (_message.Message,), dict( - DESCRIPTOR = _SYSTEMMANAGEDRESOURCESOURCEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.system_managed_entity_source_pb2' - , - __doc__ = """Container for enum describing possible system managed entity sources. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.SystemManagedResourceSourceEnum) - )) -_sym_db.RegisterMessage(SystemManagedResourceSourceEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/system_managed_entity_source_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/system_managed_entity_source_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/system_managed_entity_source_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/target_cpa_opt_in_recommendation_goal_pb2.py b/google/ads/google_ads/v2/proto/enums/target_cpa_opt_in_recommendation_goal_pb2.py deleted file mode 100644 index 9a48f442d..000000000 --- a/google/ads/google_ads/v2/proto/enums/target_cpa_opt_in_recommendation_goal_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/target_cpa_opt_in_recommendation_goal.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_v2/proto/enums/target_cpa_opt_in_recommendation_goal.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB%TargetCpaOptInRecommendationGoalProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nOgoogle/ads/googleads_v2/proto/enums/target_cpa_opt_in_recommendation_goal.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\xad\x01\n$TargetCpaOptInRecommendationGoalEnum\"\x84\x01\n TargetCpaOptInRecommendationGoal\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\r\n\tSAME_COST\x10\x02\x12\x14\n\x10SAME_CONVERSIONS\x10\x03\x12\x0c\n\x08SAME_CPA\x10\x04\x12\x0f\n\x0b\x43LOSEST_CPA\x10\x05\x42\xfa\x01\n!com.google.ads.googleads.v2.enumsB%TargetCpaOptInRecommendationGoalProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_TARGETCPAOPTINRECOMMENDATIONGOALENUM_TARGETCPAOPTINRECOMMENDATIONGOAL = _descriptor.EnumDescriptor( - name='TargetCpaOptInRecommendationGoal', - full_name='google.ads.googleads.v2.enums.TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal', - 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='SAME_COST', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SAME_CONVERSIONS', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SAME_CPA', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CLOSEST_CPA', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=186, - serialized_end=318, -) -_sym_db.RegisterEnumDescriptor(_TARGETCPAOPTINRECOMMENDATIONGOALENUM_TARGETCPAOPTINRECOMMENDATIONGOAL) - - -_TARGETCPAOPTINRECOMMENDATIONGOALENUM = _descriptor.Descriptor( - name='TargetCpaOptInRecommendationGoalEnum', - full_name='google.ads.googleads.v2.enums.TargetCpaOptInRecommendationGoalEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TARGETCPAOPTINRECOMMENDATIONGOALENUM_TARGETCPAOPTINRECOMMENDATIONGOAL, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=145, - serialized_end=318, -) - -_TARGETCPAOPTINRECOMMENDATIONGOALENUM_TARGETCPAOPTINRECOMMENDATIONGOAL.containing_type = _TARGETCPAOPTINRECOMMENDATIONGOALENUM -DESCRIPTOR.message_types_by_name['TargetCpaOptInRecommendationGoalEnum'] = _TARGETCPAOPTINRECOMMENDATIONGOALENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -TargetCpaOptInRecommendationGoalEnum = _reflection.GeneratedProtocolMessageType('TargetCpaOptInRecommendationGoalEnum', (_message.Message,), dict( - DESCRIPTOR = _TARGETCPAOPTINRECOMMENDATIONGOALENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.target_cpa_opt_in_recommendation_goal_pb2' - , - __doc__ = """Container for enum describing goals for TargetCpaOptIn recommendation. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.TargetCpaOptInRecommendationGoalEnum) - )) -_sym_db.RegisterMessage(TargetCpaOptInRecommendationGoalEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/target_cpa_opt_in_recommendation_goal_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/target_cpa_opt_in_recommendation_goal_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/target_cpa_opt_in_recommendation_goal_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/target_impression_share_location_pb2.py b/google/ads/google_ads/v2/proto/enums/target_impression_share_location_pb2.py deleted file mode 100644 index ef7f8326b..000000000 --- a/google/ads/google_ads/v2/proto/enums/target_impression_share_location_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/target_impression_share_location.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_v2/proto/enums/target_impression_share_location.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\"TargetImpressionShareLocationProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/enums/target_impression_share_location.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\xa3\x01\n!TargetImpressionShareLocationEnum\"~\n\x1dTargetImpressionShareLocation\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x14\n\x10\x41NYWHERE_ON_PAGE\x10\x02\x12\x0f\n\x0bTOP_OF_PAGE\x10\x03\x12\x18\n\x14\x41\x42SOLUTE_TOP_OF_PAGE\x10\x04\x42\xf7\x01\n!com.google.ads.googleads.v2.enumsB\"TargetImpressionShareLocationProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_TARGETIMPRESSIONSHARELOCATIONENUM_TARGETIMPRESSIONSHARELOCATION = _descriptor.EnumDescriptor( - name='TargetImpressionShareLocation', - full_name='google.ads.googleads.v2.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation', - 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='ANYWHERE_ON_PAGE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOP_OF_PAGE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ABSOLUTE_TOP_OF_PAGE', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=177, - serialized_end=303, -) -_sym_db.RegisterEnumDescriptor(_TARGETIMPRESSIONSHARELOCATIONENUM_TARGETIMPRESSIONSHARELOCATION) - - -_TARGETIMPRESSIONSHARELOCATIONENUM = _descriptor.Descriptor( - name='TargetImpressionShareLocationEnum', - full_name='google.ads.googleads.v2.enums.TargetImpressionShareLocationEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TARGETIMPRESSIONSHARELOCATIONENUM_TARGETIMPRESSIONSHARELOCATION, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=140, - serialized_end=303, -) - -_TARGETIMPRESSIONSHARELOCATIONENUM_TARGETIMPRESSIONSHARELOCATION.containing_type = _TARGETIMPRESSIONSHARELOCATIONENUM -DESCRIPTOR.message_types_by_name['TargetImpressionShareLocationEnum'] = _TARGETIMPRESSIONSHARELOCATIONENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -TargetImpressionShareLocationEnum = _reflection.GeneratedProtocolMessageType('TargetImpressionShareLocationEnum', (_message.Message,), dict( - DESCRIPTOR = _TARGETIMPRESSIONSHARELOCATIONENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.target_impression_share_location_pb2' - , - __doc__ = """Container for enum describing where on the first search results page the - automated bidding system should target impressions for the - TargetImpressionShare bidding strategy. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.TargetImpressionShareLocationEnum) - )) -_sym_db.RegisterMessage(TargetImpressionShareLocationEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/target_impression_share_location_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/target_impression_share_location_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/target_impression_share_location_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/targeting_dimension_pb2.py b/google/ads/google_ads/v2/proto/enums/targeting_dimension_pb2.py deleted file mode 100644 index eccfe3e67..000000000 --- a/google/ads/google_ads/v2/proto/enums/targeting_dimension_pb2.py +++ /dev/null @@ -1,125 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/targeting_dimension.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_v2/proto/enums/targeting_dimension.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\027TargetingDimensionProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/enums/targeting_dimension.proto\x12\x1dgoogle.ads.googleads.v2.enums\x1a\x1cgoogle/api/annotations.proto\"\xc4\x01\n\x16TargetingDimensionEnum\"\xa9\x01\n\x12TargetingDimension\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07KEYWORD\x10\x02\x12\x0c\n\x08\x41UDIENCE\x10\x03\x12\t\n\x05TOPIC\x10\x04\x12\n\n\x06GENDER\x10\x05\x12\r\n\tAGE_RANGE\x10\x06\x12\r\n\tPLACEMENT\x10\x07\x12\x13\n\x0fPARENTAL_STATUS\x10\x08\x12\x10\n\x0cINCOME_RANGE\x10\tB\xec\x01\n!com.google.ads.googleads.v2.enumsB\x17TargetingDimensionProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_TARGETINGDIMENSIONENUM_TARGETINGDIMENSION = _descriptor.EnumDescriptor( - name='TargetingDimension', - full_name='google.ads.googleads.v2.enums.TargetingDimensionEnum.TargetingDimension', - 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='KEYWORD', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AUDIENCE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOPIC', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GENDER', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AGE_RANGE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLACEMENT', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PARENTAL_STATUS', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCOME_RANGE', index=9, number=9, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=154, - serialized_end=323, -) -_sym_db.RegisterEnumDescriptor(_TARGETINGDIMENSIONENUM_TARGETINGDIMENSION) - - -_TARGETINGDIMENSIONENUM = _descriptor.Descriptor( - name='TargetingDimensionEnum', - full_name='google.ads.googleads.v2.enums.TargetingDimensionEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TARGETINGDIMENSIONENUM_TARGETINGDIMENSION, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=127, - serialized_end=323, -) - -_TARGETINGDIMENSIONENUM_TARGETINGDIMENSION.containing_type = _TARGETINGDIMENSIONENUM -DESCRIPTOR.message_types_by_name['TargetingDimensionEnum'] = _TARGETINGDIMENSIONENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -TargetingDimensionEnum = _reflection.GeneratedProtocolMessageType('TargetingDimensionEnum', (_message.Message,), dict( - DESCRIPTOR = _TARGETINGDIMENSIONENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.targeting_dimension_pb2' - , - __doc__ = """The dimensions that can be targeted. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.TargetingDimensionEnum) - )) -_sym_db.RegisterMessage(TargetingDimensionEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/targeting_dimension_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/targeting_dimension_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/targeting_dimension_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/time_type_pb2.py b/google/ads/google_ads/v2/proto/enums/time_type_pb2.py deleted file mode 100644 index 28f6de894..000000000 --- a/google/ads/google_ads/v2/proto/enums/time_type_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/time_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_v2/proto/enums/time_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\rTimeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n3google/ads/googleads_v2/proto/enums/time_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\rTimeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_TIMETYPEENUM_TIMETYPE = _descriptor.EnumDescriptor( - name='TimeType', - full_name='google.ads.googleads.v2.enums.TimeTypeEnum.TimeType', - 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='NOW', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FOREVER', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=132, - serialized_end=194, -) -_sym_db.RegisterEnumDescriptor(_TIMETYPEENUM_TIMETYPE) - - -_TIMETYPEENUM = _descriptor.Descriptor( - name='TimeTypeEnum', - full_name='google.ads.googleads.v2.enums.TimeTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TIMETYPEENUM_TIMETYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=116, - serialized_end=194, -) - -_TIMETYPEENUM_TIMETYPE.containing_type = _TIMETYPEENUM -DESCRIPTOR.message_types_by_name['TimeTypeEnum'] = _TIMETYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -TimeTypeEnum = _reflection.GeneratedProtocolMessageType('TimeTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _TIMETYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.time_type_pb2' - , - __doc__ = """Message describing time types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.TimeTypeEnum) - )) -_sym_db.RegisterMessage(TimeTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/time_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/time_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/time_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/tracking_code_page_format_pb2.py b/google/ads/google_ads/v2/proto/enums/tracking_code_page_format_pb2.py deleted file mode 100644 index b4ef9cabb..000000000 --- a/google/ads/google_ads/v2/proto/enums/tracking_code_page_format_pb2.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/tracking_code_page_format.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\033TrackingCodePageFormatProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/enums/tracking_code_page_format.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1bTrackingCodePageFormatProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_TRACKINGCODEPAGEFORMATENUM_TRACKINGCODEPAGEFORMAT = _descriptor.EnumDescriptor( - name='TrackingCodePageFormat', - full_name='google.ads.googleads.v2.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat', - 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='HTML', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AMP', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=162, - serialized_end=235, -) -_sym_db.RegisterEnumDescriptor(_TRACKINGCODEPAGEFORMATENUM_TRACKINGCODEPAGEFORMAT) - - -_TRACKINGCODEPAGEFORMATENUM = _descriptor.Descriptor( - name='TrackingCodePageFormatEnum', - full_name='google.ads.googleads.v2.enums.TrackingCodePageFormatEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _TRACKINGCODEPAGEFORMATENUM_TRACKINGCODEPAGEFORMAT, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=235, -) - -_TRACKINGCODEPAGEFORMATENUM_TRACKINGCODEPAGEFORMAT.containing_type = _TRACKINGCODEPAGEFORMATENUM -DESCRIPTOR.message_types_by_name['TrackingCodePageFormatEnum'] = _TRACKINGCODEPAGEFORMATENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -TrackingCodePageFormatEnum = _reflection.GeneratedProtocolMessageType('TrackingCodePageFormatEnum', (_message.Message,), dict( - DESCRIPTOR = _TRACKINGCODEPAGEFORMATENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.TrackingCodePageFormatEnum) - )) -_sym_db.RegisterMessage(TrackingCodePageFormatEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/tracking_code_page_format_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/tracking_code_page_format_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/tracking_code_page_format_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/tracking_code_type_pb2.py b/google/ads/google_ads/v2/proto/enums/tracking_code_type_pb2.py deleted file mode 100644 index 5fbc1ac0e..000000000 --- a/google/ads/google_ads/v2/proto/enums/tracking_code_type_pb2.py +++ /dev/null @@ -1,110 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/tracking_code_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_v2/proto/enums/tracking_code_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\025TrackingCodeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/enums/user_list_size_range.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x16UserListSizeRangeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_USERLISTSIZERANGEENUM_USERLISTSIZERANGE = _descriptor.EnumDescriptor( - name='UserListSizeRange', - full_name='google.ads.googleads.v2.enums.UserListSizeRangeEnum.UserListSizeRange', - 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='LESS_THAN_FIVE_HUNDRED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LESS_THAN_ONE_THOUSAND', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ONE_THOUSAND_TO_TEN_THOUSAND', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TEN_THOUSAND_TO_FIFTY_THOUSAND', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ONE_MILLION_TO_TWO_MILLION', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TWO_MILLION_TO_THREE_MILLION', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='THREE_MILLION_TO_FIVE_MILLION', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIVE_MILLION_TO_TEN_MILLION', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TEN_MILLION_TO_TWENTY_MILLION', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TWENTY_MILLION_TO_THIRTY_MILLION', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='THIRTY_MILLION_TO_FIFTY_MILLION', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OVER_FIFTY_MILLION', index=17, number=17, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=154, - serialized_end=788, -) -_sym_db.RegisterEnumDescriptor(_USERLISTSIZERANGEENUM_USERLISTSIZERANGE) - - -_USERLISTSIZERANGEENUM = _descriptor.Descriptor( - name='UserListSizeRangeEnum', - full_name='google.ads.googleads.v2.enums.UserListSizeRangeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _USERLISTSIZERANGEENUM_USERLISTSIZERANGE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=788, -) - -_USERLISTSIZERANGEENUM_USERLISTSIZERANGE.containing_type = _USERLISTSIZERANGEENUM -DESCRIPTOR.message_types_by_name['UserListSizeRangeEnum'] = _USERLISTSIZERANGEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -UserListSizeRangeEnum = _reflection.GeneratedProtocolMessageType('UserListSizeRangeEnum', (_message.Message,), dict( - DESCRIPTOR = _USERLISTSIZERANGEENUM, - __module__ = 'google.ads.googleads_v2.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.v2.enums.UserListSizeRangeEnum) - )) -_sym_db.RegisterMessage(UserListSizeRangeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/user_list_size_range_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/user_list_size_range_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/user_list_size_range_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/user_list_string_rule_item_operator_pb2.py b/google/ads/google_ads/v2/proto/enums/user_list_string_rule_item_operator_pb2.py deleted file mode 100644 index 31b99fd6c..000000000 --- a/google/ads/google_ads/v2/proto/enums/user_list_string_rule_item_operator_pb2.py +++ /dev/null @@ -1,125 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/user_list_string_rule_item_operator.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB#UserListStringRuleItemOperatorProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nMgoogle/ads/googleads_v2/proto/enums/user_list_string_rule_item_operator.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB#UserListStringRuleItemOperatorProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR = _descriptor.EnumDescriptor( - name='UserListStringRuleItemOperator', - full_name='google.ads.googleads.v2.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator', - 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='CONTAINS', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EQUALS', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STARTS_WITH', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ENDS_WITH', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_EQUALS', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_CONTAINS', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_STARTS_WITH', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_ENDS_WITH', index=9, number=9, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=182, - serialized_end=376, -) -_sym_db.RegisterEnumDescriptor(_USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR) - - -_USERLISTSTRINGRULEITEMOPERATORENUM = _descriptor.Descriptor( - name='UserListStringRuleItemOperatorEnum', - full_name='google.ads.googleads.v2.enums.UserListStringRuleItemOperatorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=143, - serialized_end=376, -) - -_USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR.containing_type = _USERLISTSTRINGRULEITEMOPERATORENUM -DESCRIPTOR.message_types_by_name['UserListStringRuleItemOperatorEnum'] = _USERLISTSTRINGRULEITEMOPERATORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -UserListStringRuleItemOperatorEnum = _reflection.GeneratedProtocolMessageType('UserListStringRuleItemOperatorEnum', (_message.Message,), dict( - DESCRIPTOR = _USERLISTSTRINGRULEITEMOPERATORENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.user_list_string_rule_item_operator_pb2' - , - __doc__ = """Supported rule operator for string type. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.UserListStringRuleItemOperatorEnum) - )) -_sym_db.RegisterMessage(UserListStringRuleItemOperatorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/user_list_type_pb2.py b/google/ads/google_ads/v2/proto/enums/user_list_type_pb2.py deleted file mode 100644 index 82d3ba8c0..000000000 --- a/google/ads/google_ads/v2/proto/enums/user_list_type_pb2.py +++ /dev/null @@ -1,117 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/user_list_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_v2/proto/enums/user_list_type.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\021UserListTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/enums/user_list_type.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x11UserListTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_USERLISTTYPEENUM_USERLISTTYPE = _descriptor.EnumDescriptor( - name='UserListType', - full_name='google.ads.googleads.v2.enums.UserListTypeEnum.UserListType', - 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='REMARKETING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOGICAL', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTERNAL_REMARKETING', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RULE_BASED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SIMILAR', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CRM_BASED', index=7, number=7, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=143, - serialized_end=287, -) -_sym_db.RegisterEnumDescriptor(_USERLISTTYPEENUM_USERLISTTYPE) - - -_USERLISTTYPEENUM = _descriptor.Descriptor( - name='UserListTypeEnum', - full_name='google.ads.googleads.v2.enums.UserListTypeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _USERLISTTYPEENUM_USERLISTTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=122, - serialized_end=287, -) - -_USERLISTTYPEENUM_USERLISTTYPE.containing_type = _USERLISTTYPEENUM -DESCRIPTOR.message_types_by_name['UserListTypeEnum'] = _USERLISTTYPEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -UserListTypeEnum = _reflection.GeneratedProtocolMessageType('UserListTypeEnum', (_message.Message,), dict( - DESCRIPTOR = _USERLISTTYPEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.user_list_type_pb2' - , - __doc__ = """The user list types. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.UserListTypeEnum) - )) -_sym_db.RegisterMessage(UserListTypeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/user_list_type_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/user_list_type_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/user_list_type_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/vanity_pharma_display_url_mode_pb2.py b/google/ads/google_ads/v2/proto/enums/vanity_pharma_display_url_mode_pb2.py deleted file mode 100644 index 7738e5aac..000000000 --- a/google/ads/google_ads/v2/proto/enums/vanity_pharma_display_url_mode_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/enums/vanity_pharma_display_url_mode.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\037VanityPharmaDisplayUrlModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/enums/vanity_pharma_display_url_mode.proto\x12\x1dgoogle.ads.googleads.v2.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.v2.enumsB\x1fVanityPharmaDisplayUrlModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V2.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V2\\Enums\xea\x02!Google::Ads::GoogleAds::V2::Enumsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE = _descriptor.EnumDescriptor( - name='VanityPharmaDisplayUrlMode', - full_name='google.ads.googleads.v2.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode', - 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='MANUFACTURER_WEBSITE_URL', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBSITE_DESCRIPTION', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=172, - serialized_end=285, -) -_sym_db.RegisterEnumDescriptor(_VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE) - - -_VANITYPHARMADISPLAYURLMODEENUM = _descriptor.Descriptor( - name='VanityPharmaDisplayUrlModeEnum', - full_name='google.ads.googleads.v2.enums.VanityPharmaDisplayUrlModeEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=138, - serialized_end=285, -) - -_VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE.containing_type = _VANITYPHARMADISPLAYURLMODEENUM -DESCRIPTOR.message_types_by_name['VanityPharmaDisplayUrlModeEnum'] = _VANITYPHARMADISPLAYURLMODEENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -VanityPharmaDisplayUrlModeEnum = _reflection.GeneratedProtocolMessageType('VanityPharmaDisplayUrlModeEnum', (_message.Message,), dict( - DESCRIPTOR = _VANITYPHARMADISPLAYURLMODEENUM, - __module__ = 'google.ads.googleads_v2.proto.enums.vanity_pharma_display_url_mode_pb2' - , - __doc__ = """The display mode for vanity pharma URLs. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.enums.VanityPharmaDisplayUrlModeEnum) - )) -_sym_db.RegisterMessage(VanityPharmaDisplayUrlModeEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py b/google/ads/google_ads/v2/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/enums/vanity_pharma_text_pb2.py b/google/ads/google_ads/v2/proto/enums/vanity_pharma_text_pb2.py deleted file mode 100644 index e98a138cf..000000000 --- a/google/ads/google_ads/v2/proto/enums/vanity_pharma_text_pb2.py +++ /dev/null @@ -1,142 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/enums/vanity_pharma_text.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_v2/proto/enums/vanity_pharma_text.proto', - package='google.ads.googleads.v2.enums', - syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v2.enumsB\025VanityPharmaTextProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v2/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V2.Enums\312\002\035Google\\Ads\\GoogleAds\\V2\\Enums\352\002!Google::Ads::GoogleAds::V2::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/errors/ad_customizer_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x16\x41\x64\x43ustomizerErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR = _descriptor.EnumDescriptor( - name='AdCustomizerError', - full_name='google.ads.googleads.v2.errors.AdCustomizerErrorEnum.AdCustomizerError', - 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='COUNTDOWN_INVALID_DATE_FORMAT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='COUNTDOWN_DATE_IN_PAST', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='COUNTDOWN_INVALID_LOCALE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='COUNTDOWN_INVALID_START_DAYS_BEFORE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNKNOWN_USER_LIST', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=155, - serialized_end=361, -) -_sym_db.RegisterEnumDescriptor(_ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR) - - -_ADCUSTOMIZERERRORENUM = _descriptor.Descriptor( - name='AdCustomizerErrorEnum', - full_name='google.ads.googleads.v2.errors.AdCustomizerErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=361, -) - -_ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR.containing_type = _ADCUSTOMIZERERRORENUM -DESCRIPTOR.message_types_by_name['AdCustomizerErrorEnum'] = _ADCUSTOMIZERERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdCustomizerErrorEnum = _reflection.GeneratedProtocolMessageType('AdCustomizerErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _ADCUSTOMIZERERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.ad_customizer_error_pb2' - , - __doc__ = """Container for enum describing possible ad customizer errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.AdCustomizerErrorEnum) - )) -_sym_db.RegisterMessage(AdCustomizerErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/ad_customizer_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/ad_customizer_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_customizer_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/ad_error_pb2.py b/google/ads/google_ads/v2/proto/errors/ad_error_pb2.py deleted file mode 100644 index 231994e93..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_error_pb2.py +++ /dev/null @@ -1,609 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/ad_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_v2/proto/errors/ad_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\014AdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n3google/ads/googleads_v2/proto/errors/ad_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0c\x41\x64\x45rrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ADERRORENUM_ADERROR = _descriptor.EnumDescriptor( - name='AdError', - full_name='google.ads.googleads.v2.errors.AdErrorEnum.AdError', - 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='AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APPROXIMATELY_TOO_LONG', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APPROXIMATELY_TOO_SHORT', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_SNIPPET', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_AD', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_BUSINESS_NAME_IF_URL_SET', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_FIELD', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_URL', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_WITHOUT_FINAL_URLS', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_WITH_FINAL_URLS', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_WITH_URL_DATA', index=16, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR', index=17, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_APPROVED_MOBILEADS', index=18, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS', index=19, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS', index=20, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_ELIGIBLE', index=21, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL', index=22, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DIMENSION_ALREADY_IN_UNION', index=23, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DIMENSION_MUST_BE_SET', index=24, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DIMENSION_NOT_IN_UNION', index=25, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DISPLAY_URL_CANNOT_BE_SPECIFIED', index=26, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DOMESTIC_PHONE_NUMBER_FORMAT', index=27, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EMERGENCY_PHONE_NUMBER', index=28, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EMPTY_FIELD', index=29, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID', index=30, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH', index=31, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ILLEGAL_AD_CUSTOMIZER_TAG_USE', index=32, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ILLEGAL_TAG_USE', index=33, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCONSISTENT_DIMENSIONS', index=34, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCONSISTENT_STATUS_IN_TEMPLATE_UNION', index=35, number=36, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCORRECT_LENGTH', index=36, number=37, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INELIGIBLE_FOR_UPGRADE', index=37, number=38, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_AD_ADDRESS_CAMPAIGN_TARGET', index=38, number=39, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_AD_TYPE', index=39, number=40, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE', index=40, number=41, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_ATTRIBUTES_FOR_MOBILE_TEXT', index=41, number=42, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CALL_TO_ACTION_TEXT', index=42, number=43, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CHARACTER_FOR_URL', index=43, number=44, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_COUNTRY_CODE', index=44, number=45, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG', index=45, number=47, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_INPUT', index=46, number=48, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MARKUP_LANGUAGE', index=47, number=49, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MOBILE_CARRIER', index=48, number=50, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MOBILE_CARRIER_TARGET', index=49, number=51, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_NUMBER_OF_ELEMENTS', index=50, number=52, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PHONE_NUMBER_FORMAT', index=51, number=53, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID', index=52, number=54, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TEMPLATE_DATA', index=53, number=55, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TEMPLATE_ELEMENT_FIELD_TYPE', index=54, number=56, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TEMPLATE_ID', index=55, number=57, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LINE_TOO_WIDE', index=56, number=58, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_AD_CUSTOMIZER_MAPPING', index=57, number=59, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_ADDRESS_COMPONENT', index=58, number=60, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_ADVERTISEMENT_NAME', index=59, number=61, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_BUSINESS_NAME', index=60, number=62, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_DESCRIPTION1', index=61, number=63, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_DESCRIPTION2', index=62, number=64, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_DESTINATION_URL_TAG', index=63, number=65, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_LANDING_PAGE_URL_TAG', index=64, number=66, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_DIMENSION', index=65, number=67, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_DISPLAY_URL', index=66, number=68, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_HEADLINE', index=67, number=69, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_HEIGHT', index=68, number=70, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_IMAGE', index=69, number=71, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS', index=70, number=72, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_MARKUP_LANGUAGES', index=71, number=73, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_MOBILE_CARRIER', index=72, number=74, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_PHONE', index=73, number=75, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_REQUIRED_TEMPLATE_FIELDS', index=74, number=76, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_TEMPLATE_FIELD_VALUE', index=75, number=77, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_TEXT', index=76, number=78, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_VISIBLE_URL', index=77, number=79, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_WIDTH', index=78, number=80, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED', index=79, number=81, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MUST_USE_TEMP_AD_UNION_ID_ON_ADD', index=80, number=82, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_LONG', index=81, number=83, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_SHORT', index=82, number=84, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNION_DIMENSIONS_CANNOT_CHANGE', index=83, number=85, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNKNOWN_ADDRESS_COMPONENT', index=84, number=86, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNKNOWN_FIELD_NAME', index=85, number=87, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNKNOWN_UNIQUE_NAME', index=86, number=88, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_DIMENSIONS', index=87, number=89, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_INVALID_SCHEME', index=88, number=90, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_INVALID_TOP_LEVEL_DOMAIN', index=89, number=91, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_MALFORMED', index=90, number=92, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_NO_HOST', index=91, number=93, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_NOT_EQUIVALENT', index=92, number=94, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_HOST_NAME_TOO_LONG', index=93, number=95, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_NO_SCHEME', index=94, number=96, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_NO_TOP_LEVEL_DOMAIN', index=95, number=97, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_PATH_NOT_ALLOWED', index=96, number=98, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_PORT_NOT_ALLOWED', index=97, number=99, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_QUERY_NOT_ALLOWED', index=98, number=100, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG', index=99, number=102, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE', index=100, number=103, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCONSISTENT_EXPANDABLE_SETTINGS', index=101, number=104, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FORMAT', index=102, number=105, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FIELD_TEXT', index=103, number=106, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ELEMENT_NOT_PRESENT', index=104, number=107, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMAGE_ERROR', index=105, number=108, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VALUE_NOT_IN_RANGE', index=106, number=109, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIELD_NOT_PRESENT', index=107, number=110, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADDRESS_NOT_COMPLETE', index=108, number=111, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADDRESS_INVALID', index=109, number=112, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VIDEO_RETRIEVAL_ERROR', index=110, number=113, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AUDIO_ERROR', index=111, number=114, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_YOUTUBE_DISPLAY_URL', index=112, number=115, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_PRODUCT_IMAGES', index=113, number=116, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_PRODUCT_VIDEOS', index=114, number=117, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE', index=115, number=118, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=116, number=119, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', index=117, number=120, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DISALLOWED_NUMBER_TYPE', index=118, number=121, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', index=119, number=122, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY', index=120, number=123, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PREMIUM_RATE_NUMBER_NOT_ALLOWED', index=121, number=124, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VANITY_PHONE_NUMBER_NOT_ALLOWED', index=122, number=125, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CALL_CONVERSION_TYPE_ID', index=123, number=126, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID', index=124, number=127, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_PATH2_WITHOUT_PATH1', index=125, number=128, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME', index=126, number=129, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCOMPATIBLE_WITH_RESTRICTION_TYPE', index=127, number=130, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', index=128, number=131, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_IMAGE_OR_MEDIA_BUNDLE', index=129, number=132, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN', index=130, number=133, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=134, - serialized_end=4326, -) -_sym_db.RegisterEnumDescriptor(_ADERRORENUM_ADERROR) - - -_ADERRORENUM = _descriptor.Descriptor( - name='AdErrorEnum', - full_name='google.ads.googleads.v2.errors.AdErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ADERRORENUM_ADERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=118, - serialized_end=4326, -) - -_ADERRORENUM_ADERROR.containing_type = _ADERRORENUM -DESCRIPTOR.message_types_by_name['AdErrorEnum'] = _ADERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdErrorEnum = _reflection.GeneratedProtocolMessageType('AdErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _ADERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.ad_error_pb2' - , - __doc__ = """Container for enum describing possible ad errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.AdErrorEnum) - )) -_sym_db.RegisterMessage(AdErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/ad_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/ad_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/ad_group_ad_error_pb2.py b/google/ads/google_ads/v2/proto/errors/ad_group_ad_error_pb2.py deleted file mode 100644 index 0fbcda2da..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_group_ad_error_pb2.py +++ /dev/null @@ -1,125 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/ad_group_ad_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023AdGroupAdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::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.v2.errorsB\x11\x41\x64GroupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ADGROUPERRORENUM_ADGROUPERROR = _descriptor.EnumDescriptor( - name='AdGroupError', - full_name='google.ads.googleads.v2.errors.AdGroupErrorEnum.AdGroupError', - 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='DUPLICATE_ADGROUP_NAME', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_ADGROUP_NAME', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADVERTISER_NOT_ON_CONTENT_NETWORK', index=4, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_TOO_BIG', index=5, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH', index=6, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_ADGROUP_NAME', index=7, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADGROUP_LABEL_DOES_NOT_EXIST', index=8, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADGROUP_LABEL_ALREADY_EXISTS', index=9, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CONTENT_BID_CRITERION_TYPE_GROUP', index=10, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE', index=11, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY', index=12, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING', index=13, number=14, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=145, - serialized_end=668, -) -_sym_db.RegisterEnumDescriptor(_ADGROUPERRORENUM_ADGROUPERROR) - - -_ADGROUPERRORENUM = _descriptor.Descriptor( - name='AdGroupErrorEnum', - full_name='google.ads.googleads.v2.errors.AdGroupErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ADGROUPERRORENUM_ADGROUPERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=124, - serialized_end=668, -) - -_ADGROUPERRORENUM_ADGROUPERROR.containing_type = _ADGROUPERRORENUM -DESCRIPTOR.message_types_by_name['AdGroupErrorEnum'] = _ADGROUPERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupErrorEnum = _reflection.GeneratedProtocolMessageType('AdGroupErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.ad_group_error_pb2' - , - __doc__ = """Container for enum describing possible ad group errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.AdGroupErrorEnum) - )) -_sym_db.RegisterMessage(AdGroupErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/ad_group_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/ad_group_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_group_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/ad_group_feed_error_pb2.py b/google/ads/google_ads/v2/proto/errors/ad_group_feed_error_pb2.py deleted file mode 100644 index d8fd13b6c..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_group_feed_error_pb2.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/ad_group_feed_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\025AdGroupFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/errors/ad_group_feed_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x15\x41\x64GroupFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR = _descriptor.EnumDescriptor( - name='AdGroupFeedError', - full_name='google.ads.googleads.v2.errors.AdGroupFeedErrorEnum.AdGroupFeedError', - 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='FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CREATE_FOR_REMOVED_FEED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADGROUP_FEED_ALREADY_EXISTS', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PLACEHOLDER_TYPE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_EXISTING_LOCATION_CUSTOMER_FEED', index=8, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=154, - serialized_end=477, -) -_sym_db.RegisterEnumDescriptor(_ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR) - - -_ADGROUPFEEDERRORENUM = _descriptor.Descriptor( - name='AdGroupFeedErrorEnum', - full_name='google.ads.googleads.v2.errors.AdGroupFeedErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=477, -) - -_ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR.containing_type = _ADGROUPFEEDERRORENUM -DESCRIPTOR.message_types_by_name['AdGroupFeedErrorEnum'] = _ADGROUPFEEDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupFeedErrorEnum = _reflection.GeneratedProtocolMessageType('AdGroupFeedErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPFEEDERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.AdGroupFeedErrorEnum) - )) -_sym_db.RegisterMessage(AdGroupFeedErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/ad_group_feed_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/ad_group_feed_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_group_feed_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/ad_parameter_error_pb2.py b/google/ads/google_ads/v2/proto/errors/ad_parameter_error_pb2.py deleted file mode 100644 index 921b8a2f2..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_parameter_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/ad_parameter_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_v2/proto/errors/ad_parameter_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\025AdParameterErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/errors/ad_parameter_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x15\x41\x64ParameterErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ADPARAMETERERRORENUM_ADPARAMETERERROR = _descriptor.EnumDescriptor( - name='AdParameterError', - full_name='google.ads.googleads.v2.errors.AdParameterErrorEnum.AdParameterError', - 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='AD_GROUP_CRITERION_MUST_BE_KEYWORD', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_INSERTION_TEXT_FORMAT', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=152, - serialized_end=275, -) -_sym_db.RegisterEnumDescriptor(_ADPARAMETERERRORENUM_ADPARAMETERERROR) - - -_ADPARAMETERERRORENUM = _descriptor.Descriptor( - name='AdParameterErrorEnum', - full_name='google.ads.googleads.v2.errors.AdParameterErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ADPARAMETERERRORENUM_ADPARAMETERERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=275, -) - -_ADPARAMETERERRORENUM_ADPARAMETERERROR.containing_type = _ADPARAMETERERRORENUM -DESCRIPTOR.message_types_by_name['AdParameterErrorEnum'] = _ADPARAMETERERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdParameterErrorEnum = _reflection.GeneratedProtocolMessageType('AdParameterErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _ADPARAMETERERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.ad_parameter_error_pb2' - , - __doc__ = """Container for enum describing possible ad parameter errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.AdParameterErrorEnum) - )) -_sym_db.RegisterMessage(AdParameterErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/ad_parameter_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/ad_parameter_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_parameter_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/ad_sharing_error_pb2.py b/google/ads/google_ads/v2/proto/errors/ad_sharing_error_pb2.py deleted file mode 100644 index fa457e992..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_sharing_error_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/ad_sharing_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_v2/proto/errors/ad_sharing_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023AdSharingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/errors/ad_sharing_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x13\x41\x64SharingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ADSHARINGERRORENUM_ADSHARINGERROR = _descriptor.EnumDescriptor( - name='AdSharingError', - full_name='google.ads.googleads.v2.errors.AdSharingErrorEnum.AdSharingError', - 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='AD_GROUP_ALREADY_CONTAINS_AD', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCOMPATIBLE_AD_UNDER_AD_GROUP', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SHARE_INACTIVE_AD', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=149, - serialized_end=295, -) -_sym_db.RegisterEnumDescriptor(_ADSHARINGERRORENUM_ADSHARINGERROR) - - -_ADSHARINGERRORENUM = _descriptor.Descriptor( - name='AdSharingErrorEnum', - full_name='google.ads.googleads.v2.errors.AdSharingErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ADSHARINGERRORENUM_ADSHARINGERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=295, -) - -_ADSHARINGERRORENUM_ADSHARINGERROR.containing_type = _ADSHARINGERRORENUM -DESCRIPTOR.message_types_by_name['AdSharingErrorEnum'] = _ADSHARINGERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdSharingErrorEnum = _reflection.GeneratedProtocolMessageType('AdSharingErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _ADSHARINGERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.ad_sharing_error_pb2' - , - __doc__ = """Container for enum describing possible ad sharing errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.AdSharingErrorEnum) - )) -_sym_db.RegisterMessage(AdSharingErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/ad_sharing_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/ad_sharing_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/ad_sharing_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/adx_error_pb2.py b/google/ads/google_ads/v2/proto/errors/adx_error_pb2.py deleted file mode 100644 index b4c8595a4..000000000 --- a/google/ads/google_ads/v2/proto/errors/adx_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/adx_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_v2/proto/errors/adx_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\rAdxErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n4google/ads/googleads_v2/proto/errors/adx_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\rAdxErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ADXERRORENUM_ADXERROR = _descriptor.EnumDescriptor( - name='AdxError', - full_name='google.ads.googleads.v2.errors.AdxErrorEnum.AdxError', - 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_FEATURE', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=134, - serialized_end=199, -) -_sym_db.RegisterEnumDescriptor(_ADXERRORENUM_ADXERROR) - - -_ADXERRORENUM = _descriptor.Descriptor( - name='AdxErrorEnum', - full_name='google.ads.googleads.v2.errors.AdxErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ADXERRORENUM_ADXERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=118, - serialized_end=199, -) - -_ADXERRORENUM_ADXERROR.containing_type = _ADXERRORENUM -DESCRIPTOR.message_types_by_name['AdxErrorEnum'] = _ADXERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdxErrorEnum = _reflection.GeneratedProtocolMessageType('AdxErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _ADXERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.adx_error_pb2' - , - __doc__ = """Container for enum describing possible adx errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.AdxErrorEnum) - )) -_sym_db.RegisterMessage(AdxErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/adx_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/adx_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/adx_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/asset_error_pb2.py b/google/ads/google_ads/v2/proto/errors/asset_error_pb2.py deleted file mode 100644 index 6d3f52ba7..000000000 --- a/google/ads/google_ads/v2/proto/errors/asset_error_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/asset_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_v2/proto/errors/asset_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\017AssetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/errors/asset_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0f\x41ssetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ASSETERRORENUM_ASSETERROR = _descriptor.EnumDescriptor( - name='AssetError', - full_name='google.ads.googleads.v2.errors.AssetErrorEnum.AssetError', - 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='CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_ASSET', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_ASSET_NAME', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ASSET_DATA_IS_MISSING', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_ASSET_NAME', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=140, - serialized_end=331, -) -_sym_db.RegisterEnumDescriptor(_ASSETERRORENUM_ASSETERROR) - - -_ASSETERRORENUM = _descriptor.Descriptor( - name='AssetErrorEnum', - full_name='google.ads.googleads.v2.errors.AssetErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ASSETERRORENUM_ASSETERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=331, -) - -_ASSETERRORENUM_ASSETERROR.containing_type = _ASSETERRORENUM -DESCRIPTOR.message_types_by_name['AssetErrorEnum'] = _ASSETERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AssetErrorEnum = _reflection.GeneratedProtocolMessageType('AssetErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _ASSETERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.asset_error_pb2' - , - __doc__ = """Container for enum describing possible asset errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.AssetErrorEnum) - )) -_sym_db.RegisterMessage(AssetErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/asset_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/asset_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/asset_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/authentication_error_pb2.py b/google/ads/google_ads/v2/proto/errors/authentication_error_pb2.py deleted file mode 100644 index eb3265905..000000000 --- a/google/ads/google_ads/v2/proto/errors/authentication_error_pb2.py +++ /dev/null @@ -1,165 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/authentication_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_v2/proto/errors/authentication_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\030AuthenticationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/errors/authentication_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x18\x41uthenticationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR = _descriptor.EnumDescriptor( - name='AuthenticationError', - full_name='google.ads.googleads.v2.errors.AuthenticationErrorEnum.AuthenticationError', - 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='AUTHENTICATION_ERROR', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CLIENT_CUSTOMER_ID_INVALID', index=3, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_FOUND', index=4, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GOOGLE_ACCOUNT_DELETED', index=5, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GOOGLE_ACCOUNT_COOKIE_INVALID', index=6, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GOOGLE_ACCOUNT_AUTHENTICATION_FAILED', index=7, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH', index=8, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOGIN_COOKIE_REQUIRED', index=9, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_ADS_USER', index=10, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OAUTH_TOKEN_INVALID', index=11, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OAUTH_TOKEN_EXPIRED', index=12, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OAUTH_TOKEN_DISABLED', index=13, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OAUTH_TOKEN_REVOKED', index=14, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OAUTH_TOKEN_HEADER_INVALID', index=15, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOGIN_COOKIE_INVALID', index=16, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='USER_ID_INVALID', index=17, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TWO_STEP_VERIFICATION_NOT_ENROLLED', index=18, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADVANCED_PROTECTION_NOT_ENROLLED', index=19, number=24, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=158, - serialized_end=746, -) -_sym_db.RegisterEnumDescriptor(_AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR) - - -_AUTHENTICATIONERRORENUM = _descriptor.Descriptor( - name='AuthenticationErrorEnum', - full_name='google.ads.googleads.v2.errors.AuthenticationErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=746, -) - -_AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR.containing_type = _AUTHENTICATIONERRORENUM -DESCRIPTOR.message_types_by_name['AuthenticationErrorEnum'] = _AUTHENTICATIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AuthenticationErrorEnum = _reflection.GeneratedProtocolMessageType('AuthenticationErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _AUTHENTICATIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.authentication_error_pb2' - , - __doc__ = """Container for enum describing possible authentication errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.AuthenticationErrorEnum) - )) -_sym_db.RegisterMessage(AuthenticationErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/authentication_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/authentication_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/authentication_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/authorization_error_pb2.py b/google/ads/google_ads/v2/proto/errors/authorization_error_pb2.py deleted file mode 100644 index 4d86c9e7c..000000000 --- a/google/ads/google_ads/v2/proto/errors/authorization_error_pb2.py +++ /dev/null @@ -1,137 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/authorization_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_v2/proto/errors/authorization_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\027AuthorizationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/errors/authorization_error.proto\x12\x1egoogle.ads.googleads.v2.errors\x1a\x1cgoogle/api/annotations.proto\"\x9a\x03\n\x16\x41uthorizationErrorEnum\"\xff\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\n\x12=\n9INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION\x10\x0b\x42\xf2\x01\n\"com.google.ads.googleads.v2.errorsB\x17\x41uthorizationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR = _descriptor.EnumDescriptor( - name='AuthorizationError', - full_name='google.ads.googleads.v2.errors.AuthorizationErrorEnum.AuthorizationError', - 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='USER_PERMISSION_DENIED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DEVELOPER_TOKEN_NOT_WHITELISTED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DEVELOPER_TOKEN_PROHIBITED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROJECT_DISABLED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AUTHORIZATION_ERROR', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ACTION_NOT_PERMITTED', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCOMPLETE_SIGNUP', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_ENABLED', index=9, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_TOS', index=10, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - 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), - ], - containing_type=None, - serialized_options=None, - serialized_start=156, - serialized_end=539, -) -_sym_db.RegisterEnumDescriptor(_AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR) - - -_AUTHORIZATIONERRORENUM = _descriptor.Descriptor( - name='AuthorizationErrorEnum', - full_name='google.ads.googleads.v2.errors.AuthorizationErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=539, -) - -_AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR.containing_type = _AUTHORIZATIONERRORENUM -DESCRIPTOR.message_types_by_name['AuthorizationErrorEnum'] = _AUTHORIZATIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AuthorizationErrorEnum = _reflection.GeneratedProtocolMessageType('AuthorizationErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _AUTHORIZATIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.authorization_error_pb2' - , - __doc__ = """Container for enum describing possible authorization errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.AuthorizationErrorEnum) - )) -_sym_db.RegisterMessage(AuthorizationErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/authorization_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/authorization_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/authorization_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/bidding_error_pb2.py b/google/ads/google_ads/v2/proto/errors/bidding_error_pb2.py deleted file mode 100644 index e2ac799d8..000000000 --- a/google/ads/google_ads/v2/proto/errors/bidding_error_pb2.py +++ /dev/null @@ -1,185 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/bidding_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_v2/proto/errors/bidding_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\021BiddingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/errors/bidding_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x11\x42iddingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_BIDDINGERRORENUM_BIDDINGERROR = _descriptor.EnumDescriptor( - name='BiddingError', - full_name='google.ads.googleads.v2.errors.BiddingErrorEnum.BiddingError', - 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='BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN', index=3, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE', index=4, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_BIDDING_STRATEGY_TYPE', index=5, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_BID', index=6, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE', index=7, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_TRACKING_NOT_ENABLED', index=8, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_ENOUGH_CONVERSIONS', index=9, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY', index=10, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY', index=11, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE', index=12, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER', index=13, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA', index=14, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS', index=15, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS', index=16, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION', index=17, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_TOO_SMALL', index=18, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_TOO_BIG', index=19, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_TOO_MANY_FRACTIONAL_DIGITS', index=20, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DOMAIN_NAME', index=21, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_COMPATIBLE_WITH_PAYMENT_MODE', index=22, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_COMPATIBLE_WITH_BUDGET_TYPE', index=23, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE', index=24, number=36, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=1198, -) -_sym_db.RegisterEnumDescriptor(_BIDDINGERRORENUM_BIDDINGERROR) - - -_BIDDINGERRORENUM = _descriptor.Descriptor( - name='BiddingErrorEnum', - full_name='google.ads.googleads.v2.errors.BiddingErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _BIDDINGERRORENUM_BIDDINGERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=1198, -) - -_BIDDINGERRORENUM_BIDDINGERROR.containing_type = _BIDDINGERRORENUM -DESCRIPTOR.message_types_by_name['BiddingErrorEnum'] = _BIDDINGERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BiddingErrorEnum = _reflection.GeneratedProtocolMessageType('BiddingErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _BIDDINGERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.bidding_error_pb2' - , - __doc__ = """Container for enum describing possible bidding errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.BiddingErrorEnum) - )) -_sym_db.RegisterMessage(BiddingErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/bidding_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/bidding_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/bidding_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/bidding_strategy_error_pb2.py b/google/ads/google_ads/v2/proto/errors/bidding_strategy_error_pb2.py deleted file mode 100644 index 8367988fd..000000000 --- a/google/ads/google_ads/v2/proto/errors/bidding_strategy_error_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/bidding_strategy_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_v2/proto/errors/bidding_strategy_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\031BiddingStrategyErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/errors/bidding_strategy_error.proto\x12\x1egoogle.ads.googleads.v2.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_v2/proto/errors/billing_setup_error.proto\x12\x1egoogle.ads.googleads.v2.errors\x1a\x1cgoogle/api/annotations.proto\"\xa1\x05\n\x15\x42illingSetupErrorEnum\"\x87\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\x42\xf1\x01\n\"com.google.ads.googleads.v2.errorsB\x16\x42illingSetupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_BILLINGSETUPERRORENUM_BILLINGSETUPERROR = _descriptor.EnumDescriptor( - name='BillingSetupError', - full_name='google.ads.googleads.v2.errors.BillingSetupErrorEnum.BillingSetupError', - 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_USE_EXISTING_AND_NEW_ACCOUNT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_REMOVE_STARTED_BILLING_SETUP', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PAYMENTS_ACCOUNT', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_START_TIME_TYPE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='THIRD_PARTY_ALREADY_HAS_BILLING', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BILLING_SETUP_IN_PROGRESS', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_SIGNUP_PERMISSION', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CHANGE_OF_BILL_TO_IN_PROGRESS', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PAYMENTS_PROFILE_NOT_FOUND', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PAYMENTS_ACCOUNT_NOT_FOUND', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PAYMENTS_PROFILE_INELIGIBLE', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - 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), - ], - containing_type=None, - serialized_options=None, - serialized_start=155, - serialized_end=802, -) -_sym_db.RegisterEnumDescriptor(_BILLINGSETUPERRORENUM_BILLINGSETUPERROR) - - -_BILLINGSETUPERRORENUM = _descriptor.Descriptor( - name='BillingSetupErrorEnum', - full_name='google.ads.googleads.v2.errors.BillingSetupErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _BILLINGSETUPERRORENUM_BILLINGSETUPERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=802, -) - -_BILLINGSETUPERRORENUM_BILLINGSETUPERROR.containing_type = _BILLINGSETUPERRORENUM -DESCRIPTOR.message_types_by_name['BillingSetupErrorEnum'] = _BILLINGSETUPERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BillingSetupErrorEnum = _reflection.GeneratedProtocolMessageType('BillingSetupErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _BILLINGSETUPERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.billing_setup_error_pb2' - , - __doc__ = """Container for enum describing possible billing setup errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.BillingSetupErrorEnum) - )) -_sym_db.RegisterMessage(BillingSetupErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/billing_setup_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/billing_setup_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/billing_setup_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/campaign_budget_error_pb2.py b/google/ads/google_ads/v2/proto/errors/campaign_budget_error_pb2.py deleted file mode 100644 index 64ccd5b21..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_budget_error_pb2.py +++ /dev/null @@ -1,153 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/campaign_budget_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_v2/proto/errors/campaign_budget_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\030CampaignBudgetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/errors/campaign_budget_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x18\x43\x61mpaignBudgetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR = _descriptor.EnumDescriptor( - name='CampaignBudgetError', - full_name='google.ads.googleads.v2.errors.CampaignBudgetErrorEnum.CampaignBudgetError', - 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_BUDGET_CANNOT_BE_SHARED', index=2, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_BUDGET_REMOVED', index=3, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_BUDGET_IN_USE', index=4, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE', index=5, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_NAME', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MONEY_AMOUNT_IN_WRONG_CURRENCY', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MONEY_AMOUNT_TOO_LARGE', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NEGATIVE_MONEY_AMOUNT', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT', index=16, number=16, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=159, - serialized_end=867, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR) - - -_CAMPAIGNBUDGETERRORENUM = _descriptor.Descriptor( - name='CampaignBudgetErrorEnum', - full_name='google.ads.googleads.v2.errors.CampaignBudgetErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=867, -) - -_CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR.containing_type = _CAMPAIGNBUDGETERRORENUM -DESCRIPTOR.message_types_by_name['CampaignBudgetErrorEnum'] = _CAMPAIGNBUDGETERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignBudgetErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignBudgetErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNBUDGETERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.campaign_budget_error_pb2' - , - __doc__ = """Container for enum describing possible campaign budget errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CampaignBudgetErrorEnum) - )) -_sym_db.RegisterMessage(CampaignBudgetErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/campaign_budget_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/campaign_budget_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_budget_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/campaign_criterion_error_pb2.py b/google/ads/google_ads/v2/proto/errors/campaign_criterion_error_pb2.py deleted file mode 100644 index 0bd2bae38..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_criterion_error_pb2.py +++ /dev/null @@ -1,137 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/campaign_criterion_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_v2/proto/errors/campaign_criterion_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\033CampaignCriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/errors/campaign_criterion_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1b\x43\x61mpaignCriterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR = _descriptor.EnumDescriptor( - name='CampaignCriterionError', - full_name='google.ads.googleads.v2.errors.CampaignCriterionErrorEnum.CampaignCriterionError', - 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='CONCRETE_TYPE_REQUIRED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PLACEMENT_URL', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_EXCLUDE_CRITERIA_TYPE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_STATUS_FOR_CRITERIA_TYPE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_AND_EXCLUDE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_OPERATIONS', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_EXISTING_FIELD', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_UPDATE_NEGATIVE_CRITERION', index=12, number=12, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=165, - serialized_end=635, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR) - - -_CAMPAIGNCRITERIONERRORENUM = _descriptor.Descriptor( - name='CampaignCriterionErrorEnum', - full_name='google.ads.googleads.v2.errors.CampaignCriterionErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=134, - serialized_end=635, -) - -_CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR.containing_type = _CAMPAIGNCRITERIONERRORENUM -DESCRIPTOR.message_types_by_name['CampaignCriterionErrorEnum'] = _CAMPAIGNCRITERIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignCriterionErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignCriterionErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNCRITERIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.campaign_criterion_error_pb2' - , - __doc__ = """Container for enum describing possible campaign criterion errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CampaignCriterionErrorEnum) - )) -_sym_db.RegisterMessage(CampaignCriterionErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/campaign_criterion_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/campaign_criterion_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_criterion_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/campaign_draft_error_pb2.py b/google/ads/google_ads/v2/proto/errors/campaign_draft_error_pb2.py deleted file mode 100644 index 63f45a98b..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_draft_error_pb2.py +++ /dev/null @@ -1,133 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/campaign_draft_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_v2/proto/errors/campaign_draft_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\027CampaignDraftErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/errors/campaign_draft_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x17\x43\x61mpaignDraftErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR = _descriptor.EnumDescriptor( - name='CampaignDraftError', - full_name='google.ads.googleads.v2.errors.CampaignDraftErrorEnum.CampaignDraftError', - 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='DUPLICATE_DRAFT_NAME', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STATUS_TRANSITION_FROM_REMOVED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STATUS_TRANSITION_FROM_PROMOTED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_CANNOT_CREATE_DRAFT', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_CANNOT_CREATE_DRAFT', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DRAFT_CHANGE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STATUS_TRANSITION', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY', index=11, number=11, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=157, - serialized_end=586, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR) - - -_CAMPAIGNDRAFTERRORENUM = _descriptor.Descriptor( - name='CampaignDraftErrorEnum', - full_name='google.ads.googleads.v2.errors.CampaignDraftErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=586, -) - -_CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR.containing_type = _CAMPAIGNDRAFTERRORENUM -DESCRIPTOR.message_types_by_name['CampaignDraftErrorEnum'] = _CAMPAIGNDRAFTERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignDraftErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignDraftErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNDRAFTERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.campaign_draft_error_pb2' - , - __doc__ = """Container for enum describing possible campaign draft errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CampaignDraftErrorEnum) - )) -_sym_db.RegisterMessage(CampaignDraftErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/campaign_draft_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/campaign_draft_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_draft_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/campaign_error_pb2.py b/google/ads/google_ads/v2/proto/errors/campaign_error_pb2.py deleted file mode 100644 index f17cf3c8a..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_error_pb2.py +++ /dev/null @@ -1,253 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/campaign_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_v2/proto/errors/campaign_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022CampaignErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/errors/campaign_error.proto\x12\x1egoogle.ads.googleads.v2.errors\x1a\x1cgoogle/api/annotations.proto\"\xbe\r\n\x11\x43\x61mpaignErrorEnum\"\xa8\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+\x12#\n\x1fINSUFFICIENT_APP_INSTALLS_COUNT\x10,B\xed\x01\n\"com.google.ads.googleads.v2.errorsB\x12\x43\x61mpaignErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNERRORENUM_CAMPAIGNERROR = _descriptor.EnumDescriptor( - name='CampaignError', - full_name='google.ads.googleads.v2.errors.CampaignErrorEnum.CampaignError', - 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_TARGET_CONTENT_NETWORK', index=2, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_SEARCH_NETWORK', index=3, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH', index=4, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN', index=5, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK', index=6, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_PARTNER_SEARCH_NETWORK', index=7, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY', index=8, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS', index=9, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN', index=10, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_CAMPAIGN_NAME', index=11, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCOMPATIBLE_CAMPAIGN_FIELD', index=12, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CAMPAIGN_NAME', index=13, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_AD_SERVING_OPTIMIZATION_STATUS', index=14, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TRACKING_URL', index=15, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING', index=16, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MAX_IMPRESSIONS_NOT_IN_RANGE', index=17, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TIME_UNIT_NOT_SUPPORTED', index=18, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED', index=19, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BUDGET_CANNOT_BE_SHARED', index=20, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_CANNOT_USE_SHARED_BUDGET', index=21, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS', index=22, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_LABEL_DOES_NOT_EXIST', index=23, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_LABEL_ALREADY_EXISTS', index=24, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_SHOPPING_SETTING', index=25, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_SHOPPING_SALES_COUNTRY', index=26, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING', index=27, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE', index=28, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_ADVERTISING_CHANNEL_SUB_TYPE', index=29, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED', index=30, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_AD_ROTATION_MODE', index=31, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED', index=32, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_DATE_TO_PAST', index=33, number=36, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_HOTEL_CUSTOMER_LINK', index=34, number=37, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_HOTEL_CUSTOMER_LINK', index=35, number=38, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_HOTEL_SETTING', index=36, number=39, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP', index=37, number=40, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APP_NOT_FOUND', index=38, number=41, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE', index=39, number=42, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS', index=40, number=43, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INSUFFICIENT_APP_INSTALLS_COUNT', index=41, number=44, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=146, - serialized_end=1850, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNERRORENUM_CAMPAIGNERROR) - - -_CAMPAIGNERRORENUM = _descriptor.Descriptor( - name='CampaignErrorEnum', - full_name='google.ads.googleads.v2.errors.CampaignErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNERRORENUM_CAMPAIGNERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=124, - serialized_end=1850, -) - -_CAMPAIGNERRORENUM_CAMPAIGNERROR.containing_type = _CAMPAIGNERRORENUM -DESCRIPTOR.message_types_by_name['CampaignErrorEnum'] = _CAMPAIGNERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.campaign_error_pb2' - , - __doc__ = """Container for enum describing possible campaign errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CampaignErrorEnum) - )) -_sym_db.RegisterMessage(CampaignErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/campaign_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/campaign_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/campaign_experiment_error_pb2.py b/google/ads/google_ads/v2/proto/errors/campaign_experiment_error_pb2.py deleted file mode 100644 index 264d5f309..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_experiment_error_pb2.py +++ /dev/null @@ -1,133 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/campaign_experiment_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_v2/proto/errors/campaign_experiment_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\034CampaignExperimentErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/errors/campaign_experiment_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1c\x43\x61mpaignExperimentErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR = _descriptor.EnumDescriptor( - name='CampaignExperimentError', - full_name='google.ads.googleads.v2.errors.CampaignExperimentErrorEnum.CampaignExperimentError', - 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='DUPLICATE_NAME', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TRANSITION', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_CANNOT_CREATE_EXPERIMENT', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_CANNOT_CREATE_EXPERIMENT', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS', index=11, number=11, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=167, - serialized_end=647, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR) - - -_CAMPAIGNEXPERIMENTERRORENUM = _descriptor.Descriptor( - name='CampaignExperimentErrorEnum', - full_name='google.ads.googleads.v2.errors.CampaignExperimentErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=647, -) - -_CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR.containing_type = _CAMPAIGNEXPERIMENTERRORENUM -DESCRIPTOR.message_types_by_name['CampaignExperimentErrorEnum'] = _CAMPAIGNEXPERIMENTERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignExperimentErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNEXPERIMENTERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.campaign_experiment_error_pb2' - , - __doc__ = """Container for enum describing possible campaign experiment errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CampaignExperimentErrorEnum) - )) -_sym_db.RegisterMessage(CampaignExperimentErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/campaign_experiment_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/campaign_experiment_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_experiment_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/campaign_feed_error_pb2.py b/google/ads/google_ads/v2/proto/errors/campaign_feed_error_pb2.py deleted file mode 100644 index 3a6426b21..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_feed_error_pb2.py +++ /dev/null @@ -1,117 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/campaign_feed_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_v2/proto/errors/campaign_feed_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\026CampaignFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/errors/campaign_feed_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x16\x43\x61mpaignFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR = _descriptor.EnumDescriptor( - name='CampaignFeedError', - full_name='google.ads.googleads.v2.errors.CampaignFeedErrorEnum.CampaignFeedError', - 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='FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CREATE_FOR_REMOVED_FEED', index=3, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED', index=4, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED', index=5, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PLACEHOLDER_TYPE', index=6, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', index=7, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=155, - serialized_end=453, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR) - - -_CAMPAIGNFEEDERRORENUM = _descriptor.Descriptor( - name='CampaignFeedErrorEnum', - full_name='google.ads.googleads.v2.errors.CampaignFeedErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=453, -) - -_CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR.containing_type = _CAMPAIGNFEEDERRORENUM -DESCRIPTOR.message_types_by_name['CampaignFeedErrorEnum'] = _CAMPAIGNFEEDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignFeedErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignFeedErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNFEEDERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.campaign_feed_error_pb2' - , - __doc__ = """Container for enum describing possible campaign feed errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CampaignFeedErrorEnum) - )) -_sym_db.RegisterMessage(CampaignFeedErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/campaign_feed_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/campaign_feed_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_feed_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/campaign_shared_set_error_pb2.py b/google/ads/google_ads/v2/proto/errors/campaign_shared_set_error_pb2.py deleted file mode 100644 index 48f3084d4..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_shared_set_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/campaign_shared_set_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\033CampaignSharedSetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/errors/campaign_shared_set_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1b\x43\x61mpaignSharedSetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR = _descriptor.EnumDescriptor( - name='CampaignSharedSetError', - full_name='google.ads.googleads.v2.errors.CampaignSharedSetErrorEnum.CampaignSharedSetError', - 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='SHARED_SET_ACCESS_DENIED', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=164, - serialized_end=248, -) -_sym_db.RegisterEnumDescriptor(_CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR) - - -_CAMPAIGNSHAREDSETERRORENUM = _descriptor.Descriptor( - name='CampaignSharedSetErrorEnum', - full_name='google.ads.googleads.v2.errors.CampaignSharedSetErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=134, - serialized_end=248, -) - -_CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR.containing_type = _CAMPAIGNSHAREDSETERRORENUM -DESCRIPTOR.message_types_by_name['CampaignSharedSetErrorEnum'] = _CAMPAIGNSHAREDSETERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignSharedSetErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignSharedSetErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNSHAREDSETERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.CampaignSharedSetErrorEnum) - )) -_sym_db.RegisterMessage(CampaignSharedSetErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/campaign_shared_set_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/campaign_shared_set_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/campaign_shared_set_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/change_status_error_pb2.py b/google/ads/google_ads/v2/proto/errors/change_status_error_pb2.py deleted file mode 100644 index 0b24664f9..000000000 --- a/google/ads/google_ads/v2/proto/errors/change_status_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/change_status_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_v2/proto/errors/change_status_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\026ChangeStatusErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/errors/change_status_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x16\x43hangeStatusErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CHANGESTATUSERRORENUM_CHANGESTATUSERROR = _descriptor.EnumDescriptor( - name='ChangeStatusError', - full_name='google.ads.googleads.v2.errors.ChangeStatusErrorEnum.ChangeStatusError', - 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='START_DATE_TOO_OLD', index=2, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=226, -) -_sym_db.RegisterEnumDescriptor(_CHANGESTATUSERRORENUM_CHANGESTATUSERROR) - - -_CHANGESTATUSERRORENUM = _descriptor.Descriptor( - name='ChangeStatusErrorEnum', - full_name='google.ads.googleads.v2.errors.ChangeStatusErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CHANGESTATUSERRORENUM_CHANGESTATUSERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=226, -) - -_CHANGESTATUSERRORENUM_CHANGESTATUSERROR.containing_type = _CHANGESTATUSERRORENUM -DESCRIPTOR.message_types_by_name['ChangeStatusErrorEnum'] = _CHANGESTATUSERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ChangeStatusErrorEnum = _reflection.GeneratedProtocolMessageType('ChangeStatusErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CHANGESTATUSERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.change_status_error_pb2' - , - __doc__ = """Container for enum describing possible change status errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ChangeStatusErrorEnum) - )) -_sym_db.RegisterMessage(ChangeStatusErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/change_status_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/change_status_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/change_status_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/collection_size_error_pb2.py b/google/ads/google_ads/v2/proto/errors/collection_size_error_pb2.py deleted file mode 100644 index 835802573..000000000 --- a/google/ads/google_ads/v2/proto/errors/collection_size_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/collection_size_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_v2/proto/errors/collection_size_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\030CollectionSizeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/errors/collection_size_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x18\x43ollectionSizeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR = _descriptor.EnumDescriptor( - name='CollectionSizeError', - full_name='google.ads.googleads.v2.errors.CollectionSizeErrorEnum.CollectionSizeError', - 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='TOO_FEW', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=157, - serialized_end=235, -) -_sym_db.RegisterEnumDescriptor(_COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR) - - -_COLLECTIONSIZEERRORENUM = _descriptor.Descriptor( - name='CollectionSizeErrorEnum', - full_name='google.ads.googleads.v2.errors.CollectionSizeErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=235, -) - -_COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR.containing_type = _COLLECTIONSIZEERRORENUM -DESCRIPTOR.message_types_by_name['CollectionSizeErrorEnum'] = _COLLECTIONSIZEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CollectionSizeErrorEnum = _reflection.GeneratedProtocolMessageType('CollectionSizeErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _COLLECTIONSIZEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.collection_size_error_pb2' - , - __doc__ = """Container for enum describing possible collection size errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CollectionSizeErrorEnum) - )) -_sym_db.RegisterMessage(CollectionSizeErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/collection_size_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/collection_size_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/collection_size_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/context_error_pb2.py b/google/ads/google_ads/v2/proto/errors/context_error_pb2.py deleted file mode 100644 index 4c2164317..000000000 --- a/google/ads/google_ads/v2/proto/errors/context_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/context_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_v2/proto/errors/context_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\021ContextErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/errors/context_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x11\x43ontextErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CONTEXTERRORENUM_CONTEXTERROR = _descriptor.EnumDescriptor( - name='ContextError', - full_name='google.ads.googleads.v2.errors.ContextErrorEnum.ContextError', - 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='OPERATION_NOT_PERMITTED_FOR_CONTEXT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=279, -) -_sym_db.RegisterEnumDescriptor(_CONTEXTERRORENUM_CONTEXTERROR) - - -_CONTEXTERRORENUM = _descriptor.Descriptor( - name='ContextErrorEnum', - full_name='google.ads.googleads.v2.errors.ContextErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CONTEXTERRORENUM_CONTEXTERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=279, -) - -_CONTEXTERRORENUM_CONTEXTERROR.containing_type = _CONTEXTERRORENUM -DESCRIPTOR.message_types_by_name['ContextErrorEnum'] = _CONTEXTERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ContextErrorEnum = _reflection.GeneratedProtocolMessageType('ContextErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CONTEXTERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.context_error_pb2' - , - __doc__ = """Container for enum describing possible context errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ContextErrorEnum) - )) -_sym_db.RegisterMessage(ContextErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/context_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/context_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/context_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/conversion_action_error_pb2.py b/google/ads/google_ads/v2/proto/errors/conversion_action_error_pb2.py deleted file mode 100644 index 5f167839a..000000000 --- a/google/ads/google_ads/v2/proto/errors/conversion_action_error_pb2.py +++ /dev/null @@ -1,125 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/conversion_action_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_v2/proto/errors/conversion_action_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\032ConversionActionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/errors/conversion_action_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1a\x43onversionActionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR = _descriptor.EnumDescriptor( - name='ConversionActionError', - full_name='google.ads.googleads.v2.errors.ConversionActionErrorEnum.ConversionActionError', - 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='DUPLICATE_NAME', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_APP_ID', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATA_DRIVEN_MODEL_EXPIRED', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATA_DRIVEN_MODEL_STALE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATA_DRIVEN_MODEL_UNKNOWN', index=9, number=9, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=163, - serialized_end=500, -) -_sym_db.RegisterEnumDescriptor(_CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR) - - -_CONVERSIONACTIONERRORENUM = _descriptor.Descriptor( - name='ConversionActionErrorEnum', - full_name='google.ads.googleads.v2.errors.ConversionActionErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=133, - serialized_end=500, -) - -_CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR.containing_type = _CONVERSIONACTIONERRORENUM -DESCRIPTOR.message_types_by_name['ConversionActionErrorEnum'] = _CONVERSIONACTIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ConversionActionErrorEnum = _reflection.GeneratedProtocolMessageType('ConversionActionErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONACTIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.conversion_action_error_pb2' - , - __doc__ = """Container for enum describing possible conversion action errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ConversionActionErrorEnum) - )) -_sym_db.RegisterMessage(ConversionActionErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/conversion_action_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/conversion_action_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/conversion_action_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/conversion_adjustment_upload_error_pb2.py b/google/ads/google_ads/v2/proto/errors/conversion_adjustment_upload_error_pb2.py deleted file mode 100644 index fe97efb02..000000000 --- a/google/ads/google_ads/v2/proto/errors/conversion_adjustment_upload_error_pb2.py +++ /dev/null @@ -1,130 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/conversion_adjustment_upload_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB$ConversionAdjustmentUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nMgoogle/ads/googleads_v2/proto/errors/conversion_adjustment_upload_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB$ConversionAdjustmentUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR = _descriptor.EnumDescriptor( - name='ConversionAdjustmentUploadError', - full_name='google.ads.googleads.v2.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError', - 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='TOO_RECENT_CONVERSION_ACTION', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CONVERSION_ACTION', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_ALREADY_RETRACTED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_NOT_FOUND', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_EXPIRED', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADJUSTMENT_PRECEDES_CONVERSION', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MORE_RECENT_RESTATEMENT_FOUND', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_RECENT_CONVERSION', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE', index=10, number=10, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=184, - serialized_end=574, -) -_sym_db.RegisterEnumDescriptor(_CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR) - - -_CONVERSIONADJUSTMENTUPLOADERRORENUM = _descriptor.Descriptor( - name='ConversionAdjustmentUploadErrorEnum', - full_name='google.ads.googleads.v2.errors.ConversionAdjustmentUploadErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=144, - serialized_end=574, -) - -_CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR.containing_type = _CONVERSIONADJUSTMENTUPLOADERRORENUM -DESCRIPTOR.message_types_by_name['ConversionAdjustmentUploadErrorEnum'] = _CONVERSIONADJUSTMENTUPLOADERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ConversionAdjustmentUploadErrorEnum = _reflection.GeneratedProtocolMessageType('ConversionAdjustmentUploadErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONADJUSTMENTUPLOADERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.ConversionAdjustmentUploadErrorEnum) - )) -_sym_db.RegisterMessage(ConversionAdjustmentUploadErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/conversion_upload_error_pb2.py b/google/ads/google_ads/v2/proto/errors/conversion_upload_error_pb2.py deleted file mode 100644 index fa59f1d03..000000000 --- a/google/ads/google_ads/v2/proto/errors/conversion_upload_error_pb2.py +++ /dev/null @@ -1,177 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/conversion_upload_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_v2/proto/errors/conversion_upload_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\032ConversionUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/errors/conversion_upload_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1a\x43onversionUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR = _descriptor.EnumDescriptor( - name='ConversionUploadError', - full_name='google.ads.googleads.v2.errors.ConversionUploadErrorEnum.ConversionUploadError', - 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='TOO_MANY_CONVERSIONS_IN_REQUEST', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNPARSEABLE_GCLID', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_PRECEDES_GCLID', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPIRED_GCLID', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_RECENT_GCLID', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GCLID_NOT_FOUND', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNAUTHORIZED_CUSTOMER', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CONVERSION_ACTION', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_RECENT_CONVERSION_ACTION', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ORDER_ID_ALREADY_IN_USE', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_ORDER_ID', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_RECENT_CALL', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPIRED_CALL', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALL_NOT_FOUND', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_PRECEDES_CALL', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNPARSEABLE_CALLERS_PHONE_NUMBER', index=22, number=22, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=163, - serialized_end=985, -) -_sym_db.RegisterEnumDescriptor(_CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR) - - -_CONVERSIONUPLOADERRORENUM = _descriptor.Descriptor( - name='ConversionUploadErrorEnum', - full_name='google.ads.googleads.v2.errors.ConversionUploadErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=133, - serialized_end=985, -) - -_CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR.containing_type = _CONVERSIONUPLOADERRORENUM -DESCRIPTOR.message_types_by_name['ConversionUploadErrorEnum'] = _CONVERSIONUPLOADERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ConversionUploadErrorEnum = _reflection.GeneratedProtocolMessageType('ConversionUploadErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONUPLOADERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.conversion_upload_error_pb2' - , - __doc__ = """Container for enum describing possible conversion upload errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ConversionUploadErrorEnum) - )) -_sym_db.RegisterMessage(ConversionUploadErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/conversion_upload_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/conversion_upload_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/conversion_upload_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/country_code_error_pb2.py b/google/ads/google_ads/v2/proto/errors/country_code_error_pb2.py deleted file mode 100644 index 32607d244..000000000 --- a/google/ads/google_ads/v2/proto/errors/country_code_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/country_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_v2/proto/errors/country_code_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\025CountryCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/errors/country_code_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x15\x43ountryCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_COUNTRYCODEERRORENUM_COUNTRYCODEERROR = _descriptor.EnumDescriptor( - name='CountryCodeError', - full_name='google.ads.googleads.v2.errors.CountryCodeErrorEnum.CountryCodeError', - 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_COUNTRY_CODE', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=151, - serialized_end=225, -) -_sym_db.RegisterEnumDescriptor(_COUNTRYCODEERRORENUM_COUNTRYCODEERROR) - - -_COUNTRYCODEERRORENUM = _descriptor.Descriptor( - name='CountryCodeErrorEnum', - full_name='google.ads.googleads.v2.errors.CountryCodeErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _COUNTRYCODEERRORENUM_COUNTRYCODEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=127, - serialized_end=225, -) - -_COUNTRYCODEERRORENUM_COUNTRYCODEERROR.containing_type = _COUNTRYCODEERRORENUM -DESCRIPTOR.message_types_by_name['CountryCodeErrorEnum'] = _COUNTRYCODEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CountryCodeErrorEnum = _reflection.GeneratedProtocolMessageType('CountryCodeErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _COUNTRYCODEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.country_code_error_pb2' - , - __doc__ = """Container for enum describing country code errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CountryCodeErrorEnum) - )) -_sym_db.RegisterMessage(CountryCodeErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/country_code_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/country_code_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/country_code_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/criterion_error_pb2.py b/google/ads/google_ads/v2/proto/errors/criterion_error_pb2.py deleted file mode 100644 index b7c61d367..000000000 --- a/google/ads/google_ads/v2/proto/errors/criterion_error_pb2.py +++ /dev/null @@ -1,481 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/criterion_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_v2/proto/errors/criterion_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023CriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/errors/criterion_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x13\x43riterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CRITERIONERRORENUM_CRITERIONERROR = _descriptor.EnumDescriptor( - name='CriterionError', - full_name='google.ads.googleads.v2.errors.CriterionErrorEnum.CriterionError', - 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='CONCRETE_TYPE_REQUIRED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_EXCLUDED_CATEGORY', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_KEYWORD_TEXT', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEYWORD_TEXT_TOO_LONG', 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='KEYWORD_HAS_INVALID_CHARS', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PLACEMENT_URL', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_USER_LIST', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_USER_INTEREST', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FORMAT_FOR_PLACEMENT_URL', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLACEMENT_URL_IS_TOO_LONG', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLACEMENT_URL_HAS_ILLEGAL_CHAR', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TOPIC_PATH', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_YOUTUBE_CHANNEL_ID', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_YOUTUBE_VIDEO_ID', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='YOUTUBE_VERTICAL_CHANNEL_DEPRECATED', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='YOUTUBE_URL_UNSUPPORTED', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_EXCLUDE_CRITERIA_TYPE', index=22, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_CRITERIA_TYPE', index=23, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PRODUCT_FILTER', index=24, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_FILTER_TOO_LONG', index=25, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_EXCLUDE_SIMILAR_USER_LIST', index=26, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_CLOSED_USER_LIST', index=27, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS', index=28, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS', index=29, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS', index=30, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS', index=31, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS', index=32, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE', index=33, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CUSTOM_AFFINITY', index=34, number=96, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CUSTOM_INTENT', index=35, number=97, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_IP_ADDRESS', index=36, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_IP_FORMAT', index=37, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MOBILE_APP', index=38, number=36, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MOBILE_APP_CATEGORY', index=39, number=37, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CRITERION_ID', index=40, number=38, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_CRITERION', index=41, number=39, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_OBSOLETE_CRITERION', index=42, number=40, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CRITERION_ID_AND_TYPE_MISMATCH', index=43, number=41, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PROXIMITY_RADIUS', index=44, number=42, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PROXIMITY_RADIUS_UNITS', index=45, number=43, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STREETADDRESS_LENGTH', index=46, number=44, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CITYNAME_LENGTH', index=47, number=45, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_REGIONCODE_LENGTH', index=48, number=46, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_REGIONNAME_LENGTH', index=49, number=47, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_POSTALCODE_LENGTH', index=50, number=48, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_COUNTRY_CODE', index=51, number=49, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_LATITUDE', index=52, number=50, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_LONGITUDE', index=53, number=51, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL', index=54, number=52, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PROXIMITY_ADDRESS', index=55, number=53, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_USER_DOMAIN_NAME', index=56, number=54, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CRITERION_PARAMETER_TOO_LONG', index=57, number=55, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_TIME_INTERVALS_OVERLAP', index=58, number=56, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS', index=59, number=57, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_INVALID_TIME_INTERVAL', index=60, number=58, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT', index=61, number=59, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS', index=62, number=60, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_BID_MODIFY_CRITERION_TYPE', index=63, number=61, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT', index=64, number=62, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_BID_MODIFY_NEGATIVE_CRITERION', index=65, number=63, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_MODIFIER_ALREADY_EXISTS', index=66, number=64, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_ID_NOT_ALLOWED', index=67, number=65, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE', index=68, number=66, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY', index=69, number=67, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_EXCLUDE_CRITERION', index=70, number=68, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_REMOVE_CRITERION', index=71, number=69, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_SCOPE_TOO_LONG', index=72, number=70, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_SCOPE_TOO_MANY_DIMENSIONS', index=73, number=71, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_PARTITION_TOO_LONG', index=74, number=72, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRODUCT_PARTITION_TOO_MANY_DIMENSIONS', index=75, number=73, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PRODUCT_DIMENSION', index=76, number=74, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PRODUCT_DIMENSION_TYPE', index=77, number=75, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PRODUCT_BIDDING_CATEGORY', index=78, number=76, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_SHOPPING_SETTING', index=79, number=77, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MATCHING_FUNCTION', index=80, number=78, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_FILTER_NOT_ALLOWED', index=81, number=79, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FEED_FOR_LOCATION_FILTER', index=82, number=98, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_FILTER_INVALID', index=83, number=80, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP', index=84, number=81, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION', index=85, number=82, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION', index=86, number=83, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING', index=87, number=84, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_WEBPAGE_CONDITION', index=88, number=85, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_WEBPAGE_CONDITION_URL', index=89, number=86, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY', index=90, number=87, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL', index=91, number=88, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS', index=92, number=89, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING', index=93, number=90, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX', index=94, number=91, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX', index=95, number=92, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED', index=96, number=93, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION', index=97, number=94, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP', index=98, number=95, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=148, - serialized_end=3877, -) -_sym_db.RegisterEnumDescriptor(_CRITERIONERRORENUM_CRITERIONERROR) - - -_CRITERIONERRORENUM = _descriptor.Descriptor( - name='CriterionErrorEnum', - full_name='google.ads.googleads.v2.errors.CriterionErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CRITERIONERRORENUM_CRITERIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=125, - serialized_end=3877, -) - -_CRITERIONERRORENUM_CRITERIONERROR.containing_type = _CRITERIONERRORENUM -DESCRIPTOR.message_types_by_name['CriterionErrorEnum'] = _CRITERIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CriterionErrorEnum = _reflection.GeneratedProtocolMessageType('CriterionErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CRITERIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.criterion_error_pb2' - , - __doc__ = """Container for enum describing possible criterion errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CriterionErrorEnum) - )) -_sym_db.RegisterMessage(CriterionErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/criterion_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/criterion_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/criterion_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/currency_code_error_pb2.py b/google/ads/google_ads/v2/proto/errors/currency_code_error_pb2.py deleted file mode 100644 index 8b555fa36..000000000 --- a/google/ads/google_ads/v2/proto/errors/currency_code_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/errors/currency_code_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\026CurrencyCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/errors/currency_code_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x16\x43urrencyCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CURRENCYCODEERRORENUM_CURRENCYCODEERROR = _descriptor.EnumDescriptor( - name='CurrencyCodeError', - full_name='google.ads.googleads.v2.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.v2.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_v2.proto.errors.currency_code_error_pb2' - , - __doc__ = """Container for enum describing possible currency code errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CurrencyCodeErrorEnum) - )) -_sym_db.RegisterMessage(CurrencyCodeErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/currency_code_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/currency_code_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/currency_code_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/custom_interest_error_pb2.py b/google/ads/google_ads/v2/proto/errors/custom_interest_error_pb2.py deleted file mode 100644 index ed6f079f4..000000000 --- a/google/ads/google_ads/v2/proto/errors/custom_interest_error_pb2.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/custom_interest_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_v2/proto/errors/custom_interest_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\030CustomInterestErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/errors/custom_interest_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x18\x43ustomInterestErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR = _descriptor.EnumDescriptor( - name='CustomInterestError', - full_name='google.ads.googleads.v2.errors.CustomInterestErrorEnum.CustomInterestError', - 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='NAME_ALREADY_USED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TYPE_AND_PARAMETER_NOT_FOUND', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TYPE_AND_PARAMETER_ALREADY_EXISTED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CUSTOM_INTEREST_MEMBER_TYPE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_REMOVE_WHILE_IN_USE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CHANGE_TYPE', index=8, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=159, - serialized_end=476, -) -_sym_db.RegisterEnumDescriptor(_CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR) - - -_CUSTOMINTERESTERRORENUM = _descriptor.Descriptor( - name='CustomInterestErrorEnum', - full_name='google.ads.googleads.v2.errors.CustomInterestErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=476, -) - -_CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR.containing_type = _CUSTOMINTERESTERRORENUM -DESCRIPTOR.message_types_by_name['CustomInterestErrorEnum'] = _CUSTOMINTERESTERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomInterestErrorEnum = _reflection.GeneratedProtocolMessageType('CustomInterestErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMINTERESTERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.custom_interest_error_pb2' - , - __doc__ = """Container for enum describing possible custom interest errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CustomInterestErrorEnum) - )) -_sym_db.RegisterMessage(CustomInterestErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/custom_interest_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/custom_interest_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/custom_interest_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/customer_client_link_error_pb2.py b/google/ads/google_ads/v2/proto/errors/customer_client_link_error_pb2.py deleted file mode 100644 index 94d673c5f..000000000 --- a/google/ads/google_ads/v2/proto/errors/customer_client_link_error_pb2.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/customer_client_link_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\034CustomerClientLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/errors/customer_client_link_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1c\x43ustomerClientLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR = _descriptor.EnumDescriptor( - name='CustomerClientLinkError', - full_name='google.ads.googleads.v2.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError', - 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='CLIENT_ALREADY_INVITED_BY_THIS_MANAGER', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CLIENT_ALREADY_MANAGED_IN_HIERARCHY', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CYCLIC_LINK_NOT_ALLOWED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_HAS_TOO_MANY_ACCOUNTS', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CLIENT_HAS_TOO_MANY_INVITATIONS', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER', index=8, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=168, - serialized_end=501, -) -_sym_db.RegisterEnumDescriptor(_CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR) - - -_CUSTOMERCLIENTLINKERRORENUM = _descriptor.Descriptor( - name='CustomerClientLinkErrorEnum', - full_name='google.ads.googleads.v2.errors.CustomerClientLinkErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=136, - serialized_end=501, -) - -_CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR.containing_type = _CUSTOMERCLIENTLINKERRORENUM -DESCRIPTOR.message_types_by_name['CustomerClientLinkErrorEnum'] = _CUSTOMERCLIENTLINKERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomerClientLinkErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerClientLinkErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERCLIENTLINKERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.customer_client_link_error_pb2' - , - __doc__ = """Container for enum describing possible CustomeClientLink errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CustomerClientLinkErrorEnum) - )) -_sym_db.RegisterMessage(CustomerClientLinkErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/customer_client_link_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/customer_client_link_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/customer_client_link_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/customer_error_pb2.py b/google/ads/google_ads/v2/proto/errors/customer_error_pb2.py deleted file mode 100644 index 735269f11..000000000 --- a/google/ads/google_ads/v2/proto/errors/customer_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/customer_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_v2/proto/errors/customer_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022CustomerErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/errors/customer_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x12\x43ustomerErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CUSTOMERERRORENUM_CUSTOMERERROR = _descriptor.EnumDescriptor( - name='CustomerError', - full_name='google.ads.googleads.v2.errors.CustomerErrorEnum.CustomerError', - 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='STATUS_CHANGE_DISALLOWED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ACCOUNT_NOT_SET_UP', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=243, -) -_sym_db.RegisterEnumDescriptor(_CUSTOMERERRORENUM_CUSTOMERERROR) - - -_CUSTOMERERRORENUM = _descriptor.Descriptor( - name='CustomerErrorEnum', - full_name='google.ads.googleads.v2.errors.CustomerErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CUSTOMERERRORENUM_CUSTOMERERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=243, -) - -_CUSTOMERERRORENUM_CUSTOMERERROR.containing_type = _CUSTOMERERRORENUM -DESCRIPTOR.message_types_by_name['CustomerErrorEnum'] = _CUSTOMERERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomerErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.customer_error_pb2' - , - __doc__ = """Container for enum describing possible customer errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CustomerErrorEnum) - )) -_sym_db.RegisterMessage(CustomerErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/customer_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/customer_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/customer_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/customer_feed_error_pb2.py b/google/ads/google_ads/v2/proto/errors/customer_feed_error_pb2.py deleted file mode 100644 index 12bfbee50..000000000 --- a/google/ads/google_ads/v2/proto/errors/customer_feed_error_pb2.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/customer_feed_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_v2/proto/errors/customer_feed_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\026CustomerFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/errors/customer_feed_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x16\x43ustomerFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR = _descriptor.EnumDescriptor( - name='CustomerFeedError', - full_name='google.ads.googleads.v2.errors.CustomerFeedErrorEnum.CustomerFeedError', - 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='FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CREATE_FOR_REMOVED_FEED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_REMOVED_CUSTOMER_FEED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PLACEHOLDER_TYPE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED', index=8, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=155, - serialized_end=504, -) -_sym_db.RegisterEnumDescriptor(_CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR) - - -_CUSTOMERFEEDERRORENUM = _descriptor.Descriptor( - name='CustomerFeedErrorEnum', - full_name='google.ads.googleads.v2.errors.CustomerFeedErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=504, -) - -_CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR.containing_type = _CUSTOMERFEEDERRORENUM -DESCRIPTOR.message_types_by_name['CustomerFeedErrorEnum'] = _CUSTOMERFEEDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomerFeedErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerFeedErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERFEEDERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.customer_feed_error_pb2' - , - __doc__ = """Container for enum describing possible customer feed errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CustomerFeedErrorEnum) - )) -_sym_db.RegisterMessage(CustomerFeedErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/customer_feed_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/customer_feed_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/customer_feed_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/customer_manager_link_error_pb2.py b/google/ads/google_ads/v2/proto/errors/customer_manager_link_error_pb2.py deleted file mode 100644 index 2711365c3..000000000 --- a/google/ads/google_ads/v2/proto/errors/customer_manager_link_error_pb2.py +++ /dev/null @@ -1,125 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/customer_manager_link_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\035CustomerManagerLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/errors/customer_manager_link_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1d\x43ustomerManagerLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR = _descriptor.EnumDescriptor( - name='CustomerManagerLinkError', - full_name='google.ads.googleads.v2.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError', - 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='NO_PENDING_INVITE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SAME_CLIENT_MORE_THAN_ONCE_PER_CALL', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_CHILD_FOUND', index=9, number=9, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=170, - serialized_end=553, -) -_sym_db.RegisterEnumDescriptor(_CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR) - - -_CUSTOMERMANAGERLINKERRORENUM = _descriptor.Descriptor( - name='CustomerManagerLinkErrorEnum', - full_name='google.ads.googleads.v2.errors.CustomerManagerLinkErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=137, - serialized_end=553, -) - -_CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR.containing_type = _CUSTOMERMANAGERLINKERRORENUM -DESCRIPTOR.message_types_by_name['CustomerManagerLinkErrorEnum'] = _CUSTOMERMANAGERLINKERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomerManagerLinkErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerManagerLinkErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERMANAGERLINKERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.customer_manager_link_error_pb2' - , - __doc__ = """Container for enum describing possible CustomerManagerLink errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.CustomerManagerLinkErrorEnum) - )) -_sym_db.RegisterMessage(CustomerManagerLinkErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/customer_manager_link_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/customer_manager_link_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/customer_manager_link_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/database_error_pb2.py b/google/ads/google_ads/v2/proto/errors/database_error_pb2.py deleted file mode 100644 index 69b29663f..000000000 --- a/google/ads/google_ads/v2/proto/errors/database_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/database_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_v2/proto/errors/database_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022DatabaseErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/errors/database_error.proto\x12\x1egoogle.ads.googleads.v2.errors\x1a\x1cgoogle/api/annotations.proto\"~\n\x11\x44\x61tabaseErrorEnum\"i\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\x42\xed\x01\n\"com.google.ads.googleads.v2.errorsB\x12\x44\x61tabaseErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DATABASEERRORENUM_DATABASEERROR = _descriptor.EnumDescriptor( - name='DatabaseError', - full_name='google.ads.googleads.v2.errors.DatabaseErrorEnum.DatabaseError', - 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='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), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=249, -) -_sym_db.RegisterEnumDescriptor(_DATABASEERRORENUM_DATABASEERROR) - - -_DATABASEERRORENUM = _descriptor.Descriptor( - name='DatabaseErrorEnum', - full_name='google.ads.googleads.v2.errors.DatabaseErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DATABASEERRORENUM_DATABASEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=249, -) - -_DATABASEERRORENUM_DATABASEERROR.containing_type = _DATABASEERRORENUM -DESCRIPTOR.message_types_by_name['DatabaseErrorEnum'] = _DATABASEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DatabaseErrorEnum = _reflection.GeneratedProtocolMessageType('DatabaseErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _DATABASEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.database_error_pb2' - , - __doc__ = """Container for enum describing possible database errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.DatabaseErrorEnum) - )) -_sym_db.RegisterMessage(DatabaseErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/database_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/database_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/database_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/date_error_pb2.py b/google/ads/google_ads/v2/proto/errors/date_error_pb2.py deleted file mode 100644 index 287e7c812..000000000 --- a/google/ads/google_ads/v2/proto/errors/date_error_pb2.py +++ /dev/null @@ -1,133 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/date_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_v2/proto/errors/date_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\016DateErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/errors/date_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0e\x44\x61teErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DATEERRORENUM_DATEERROR = _descriptor.EnumDescriptor( - name='DateError', - full_name='google.ads.googleads.v2.errors.DateErrorEnum.DateError', - 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_FIELD_VALUES_IN_DATE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FIELD_VALUES_IN_DATE_TIME', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STRING_DATE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STRING_DATE_TIME_MICROS', index=5, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STRING_DATE_TIME_SECONDS', index=6, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET', index=7, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EARLIER_THAN_MINIMUM_DATE', index=8, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LATER_THAN_MAXIMUM_DATE', index=9, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE', index=10, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL', index=11, number=10, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=138, - serialized_end=567, -) -_sym_db.RegisterEnumDescriptor(_DATEERRORENUM_DATEERROR) - - -_DATEERRORENUM = _descriptor.Descriptor( - name='DateErrorEnum', - full_name='google.ads.googleads.v2.errors.DateErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DATEERRORENUM_DATEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=120, - serialized_end=567, -) - -_DATEERRORENUM_DATEERROR.containing_type = _DATEERRORENUM -DESCRIPTOR.message_types_by_name['DateErrorEnum'] = _DATEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DateErrorEnum = _reflection.GeneratedProtocolMessageType('DateErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _DATEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.date_error_pb2' - , - __doc__ = """Container for enum describing possible date errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.DateErrorEnum) - )) -_sym_db.RegisterMessage(DateErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/date_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/date_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/date_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/date_range_error_pb2.py b/google/ads/google_ads/v2/proto/errors/date_range_error_pb2.py deleted file mode 100644 index 6a8dc6eea..000000000 --- a/google/ads/google_ads/v2/proto/errors/date_range_error_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/date_range_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_v2/proto/errors/date_range_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023DateRangeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/errors/date_range_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x13\x44\x61teRangeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DATERANGEERRORENUM_DATERANGEERROR = _descriptor.EnumDescriptor( - name='DateRangeError', - full_name='google.ads.googleads.v2.errors.DateRangeErrorEnum.DateRangeError', - 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_DATE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='START_DATE_AFTER_END_DATE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_DATE_TO_PAST', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AFTER_MAXIMUM_ALLOWABLE_DATE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=149, - serialized_end=356, -) -_sym_db.RegisterEnumDescriptor(_DATERANGEERRORENUM_DATERANGEERROR) - - -_DATERANGEERRORENUM = _descriptor.Descriptor( - name='DateRangeErrorEnum', - full_name='google.ads.googleads.v2.errors.DateRangeErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DATERANGEERRORENUM_DATERANGEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=356, -) - -_DATERANGEERRORENUM_DATERANGEERROR.containing_type = _DATERANGEERRORENUM -DESCRIPTOR.message_types_by_name['DateRangeErrorEnum'] = _DATERANGEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DateRangeErrorEnum = _reflection.GeneratedProtocolMessageType('DateRangeErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _DATERANGEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.date_range_error_pb2' - , - __doc__ = """Container for enum describing possible date range errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.DateRangeErrorEnum) - )) -_sym_db.RegisterMessage(DateRangeErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/date_range_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/date_range_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/date_range_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/distinct_error_pb2.py b/google/ads/google_ads/v2/proto/errors/distinct_error_pb2.py deleted file mode 100644 index 65a5f4645..000000000 --- a/google/ads/google_ads/v2/proto/errors/distinct_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/distinct_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_v2/proto/errors/distinct_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022DistinctErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/errors/distinct_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x12\x44istinctErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_DISTINCTERRORENUM_DISTINCTERROR = _descriptor.EnumDescriptor( - name='DistinctError', - full_name='google.ads.googleads.v2.errors.DistinctErrorEnum.DistinctError', - 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='DUPLICATE_ELEMENT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_TYPE', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=232, -) -_sym_db.RegisterEnumDescriptor(_DISTINCTERRORENUM_DISTINCTERROR) - - -_DISTINCTERRORENUM = _descriptor.Descriptor( - name='DistinctErrorEnum', - full_name='google.ads.googleads.v2.errors.DistinctErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DISTINCTERRORENUM_DISTINCTERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=232, -) - -_DISTINCTERRORENUM_DISTINCTERROR.containing_type = _DISTINCTERRORENUM -DESCRIPTOR.message_types_by_name['DistinctErrorEnum'] = _DISTINCTERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DistinctErrorEnum = _reflection.GeneratedProtocolMessageType('DistinctErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _DISTINCTERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.distinct_error_pb2' - , - __doc__ = """Container for enum describing possible distinct errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.DistinctErrorEnum) - )) -_sym_db.RegisterMessage(DistinctErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/distinct_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/distinct_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/distinct_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/enum_error_pb2.py b/google/ads/google_ads/v2/proto/errors/enum_error_pb2.py deleted file mode 100644 index a280a9d49..000000000 --- a/google/ads/google_ads/v2/proto/errors/enum_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/enum_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_v2/proto/errors/enum_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\016EnumErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/errors/enum_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0e\x45numErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_ENUMERRORENUM_ENUMERROR = _descriptor.EnumDescriptor( - name='EnumError', - full_name='google.ads.googleads.v2.errors.EnumErrorEnum.EnumError', - 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='ENUM_VALUE_NOT_PERMITTED', index=2, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=136, - serialized_end=207, -) -_sym_db.RegisterEnumDescriptor(_ENUMERRORENUM_ENUMERROR) - - -_ENUMERRORENUM = _descriptor.Descriptor( - name='EnumErrorEnum', - full_name='google.ads.googleads.v2.errors.EnumErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _ENUMERRORENUM_ENUMERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=119, - serialized_end=207, -) - -_ENUMERRORENUM_ENUMERROR.containing_type = _ENUMERRORENUM -DESCRIPTOR.message_types_by_name['EnumErrorEnum'] = _ENUMERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -EnumErrorEnum = _reflection.GeneratedProtocolMessageType('EnumErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _ENUMERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.enum_error_pb2' - , - __doc__ = """Container for enum describing possible enum errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.EnumErrorEnum) - )) -_sym_db.RegisterMessage(EnumErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/enum_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/enum_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/enum_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/errors_pb2.py b/google/ads/google_ads/v2/proto/errors/errors_pb2.py deleted file mode 100644 index e0967bc12..000000000 --- a/google/ads/google_ads/v2/proto/errors/errors_pb2.py +++ /dev/null @@ -1,2006 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/errors.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.v2.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v2.proto.common import value_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_value__pb2 -from google.ads.google_ads.v2.proto.errors import access_invitation_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_access__invitation__error__pb2 -from google.ads.google_ads.v2.proto.errors import account_budget_proposal_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2 -from google.ads.google_ads.v2.proto.errors import ad_customizer_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__customizer__error__pb2 -from google.ads.google_ads.v2.proto.errors import ad_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__error__pb2 -from google.ads.google_ads.v2.proto.errors import ad_group_ad_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__ad__error__pb2 -from google.ads.google_ads.v2.proto.errors import ad_group_bid_modifier_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2 -from google.ads.google_ads.v2.proto.errors import ad_group_criterion_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2 -from google.ads.google_ads.v2.proto.errors import ad_group_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__error__pb2 -from google.ads.google_ads.v2.proto.errors import ad_group_feed_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__feed__error__pb2 -from google.ads.google_ads.v2.proto.errors import ad_parameter_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__parameter__error__pb2 -from google.ads.google_ads.v2.proto.errors import ad_sharing_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__sharing__error__pb2 -from google.ads.google_ads.v2.proto.errors import adx_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_adx__error__pb2 -from google.ads.google_ads.v2.proto.errors import asset_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_asset__error__pb2 -from google.ads.google_ads.v2.proto.errors import authentication_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_authentication__error__pb2 -from google.ads.google_ads.v2.proto.errors import authorization_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_authorization__error__pb2 -from google.ads.google_ads.v2.proto.errors import bidding_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_bidding__error__pb2 -from google.ads.google_ads.v2.proto.errors import bidding_strategy_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_bidding__strategy__error__pb2 -from google.ads.google_ads.v2.proto.errors import billing_setup_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_billing__setup__error__pb2 -from google.ads.google_ads.v2.proto.errors import campaign_budget_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__budget__error__pb2 -from google.ads.google_ads.v2.proto.errors import campaign_criterion_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__criterion__error__pb2 -from google.ads.google_ads.v2.proto.errors import campaign_draft_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__draft__error__pb2 -from google.ads.google_ads.v2.proto.errors import campaign_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__error__pb2 -from google.ads.google_ads.v2.proto.errors import campaign_experiment_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__experiment__error__pb2 -from google.ads.google_ads.v2.proto.errors import campaign_feed_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__feed__error__pb2 -from google.ads.google_ads.v2.proto.errors import campaign_shared_set_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2 -from google.ads.google_ads.v2.proto.errors import change_status_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_change__status__error__pb2 -from google.ads.google_ads.v2.proto.errors import collection_size_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_collection__size__error__pb2 -from google.ads.google_ads.v2.proto.errors import context_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_context__error__pb2 -from google.ads.google_ads.v2.proto.errors import conversion_action_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_conversion__action__error__pb2 -from google.ads.google_ads.v2.proto.errors import conversion_adjustment_upload_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2 -from google.ads.google_ads.v2.proto.errors import conversion_upload_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_conversion__upload__error__pb2 -from google.ads.google_ads.v2.proto.errors import country_code_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_country__code__error__pb2 -from google.ads.google_ads.v2.proto.errors import criterion_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_criterion__error__pb2 -from google.ads.google_ads.v2.proto.errors import currency_code_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_currency__code__error__pb2 -from google.ads.google_ads.v2.proto.errors import custom_interest_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_custom__interest__error__pb2 -from google.ads.google_ads.v2.proto.errors import customer_client_link_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_customer__client__link__error__pb2 -from google.ads.google_ads.v2.proto.errors import customer_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_customer__error__pb2 -from google.ads.google_ads.v2.proto.errors import customer_feed_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_customer__feed__error__pb2 -from google.ads.google_ads.v2.proto.errors import customer_manager_link_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_customer__manager__link__error__pb2 -from google.ads.google_ads.v2.proto.errors import database_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_database__error__pb2 -from google.ads.google_ads.v2.proto.errors import date_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_date__error__pb2 -from google.ads.google_ads.v2.proto.errors import date_range_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_date__range__error__pb2 -from google.ads.google_ads.v2.proto.errors import distinct_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_distinct__error__pb2 -from google.ads.google_ads.v2.proto.errors import enum_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_enum__error__pb2 -from google.ads.google_ads.v2.proto.errors import extension_feed_item_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_extension__feed__item__error__pb2 -from google.ads.google_ads.v2.proto.errors import extension_setting_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_extension__setting__error__pb2 -from google.ads.google_ads.v2.proto.errors import feed_attribute_reference_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2 -from google.ads.google_ads.v2.proto.errors import feed_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__error__pb2 -from google.ads.google_ads.v2.proto.errors import feed_item_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__item__error__pb2 -from google.ads.google_ads.v2.proto.errors import feed_item_target_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__item__target__error__pb2 -from google.ads.google_ads.v2.proto.errors import feed_item_validation_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__item__validation__error__pb2 -from google.ads.google_ads.v2.proto.errors import feed_mapping_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__mapping__error__pb2 -from google.ads.google_ads.v2.proto.errors import field_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_field__error__pb2 -from google.ads.google_ads.v2.proto.errors import field_mask_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_field__mask__error__pb2 -from google.ads.google_ads.v2.proto.errors import function_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_function__error__pb2 -from google.ads.google_ads.v2.proto.errors import function_parsing_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_function__parsing__error__pb2 -from google.ads.google_ads.v2.proto.errors import geo_target_constant_suggestion_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2 -from google.ads.google_ads.v2.proto.errors import header_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_header__error__pb2 -from google.ads.google_ads.v2.proto.errors import id_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_id__error__pb2 -from google.ads.google_ads.v2.proto.errors import image_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_image__error__pb2 -from google.ads.google_ads.v2.proto.errors import internal_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_internal__error__pb2 -from google.ads.google_ads.v2.proto.errors import invoice_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_invoice__error__pb2 -from google.ads.google_ads.v2.proto.errors import keyword_plan_ad_group_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2 -from google.ads.google_ads.v2.proto.errors import keyword_plan_campaign_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2 -from google.ads.google_ads.v2.proto.errors import keyword_plan_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__error__pb2 -from google.ads.google_ads.v2.proto.errors import keyword_plan_idea_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2 -from google.ads.google_ads.v2.proto.errors import keyword_plan_keyword_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__keyword__error__pb2 -from google.ads.google_ads.v2.proto.errors import keyword_plan_negative_keyword_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__negative__keyword__error__pb2 -from google.ads.google_ads.v2.proto.errors import label_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_label__error__pb2 -from google.ads.google_ads.v2.proto.errors import language_code_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_language__code__error__pb2 -from google.ads.google_ads.v2.proto.errors import list_operation_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_list__operation__error__pb2 -from google.ads.google_ads.v2.proto.errors import manager_link_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_manager__link__error__pb2 -from google.ads.google_ads.v2.proto.errors import media_bundle_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_media__bundle__error__pb2 -from google.ads.google_ads.v2.proto.errors import media_file_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_media__file__error__pb2 -from google.ads.google_ads.v2.proto.errors import media_upload_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_media__upload__error__pb2 -from google.ads.google_ads.v2.proto.errors import multiplier_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_multiplier__error__pb2 -from google.ads.google_ads.v2.proto.errors import mutate_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_mutate__error__pb2 -from google.ads.google_ads.v2.proto.errors import mutate_job_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_mutate__job__error__pb2 -from google.ads.google_ads.v2.proto.errors import new_resource_creation_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_new__resource__creation__error__pb2 -from google.ads.google_ads.v2.proto.errors import not_empty_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_not__empty__error__pb2 -from google.ads.google_ads.v2.proto.errors import not_whitelisted_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_not__whitelisted__error__pb2 -from google.ads.google_ads.v2.proto.errors import null_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_null__error__pb2 -from google.ads.google_ads.v2.proto.errors import operation_access_denied_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_operation__access__denied__error__pb2 -from google.ads.google_ads.v2.proto.errors import operator_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_operator__error__pb2 -from google.ads.google_ads.v2.proto.errors import partial_failure_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_partial__failure__error__pb2 -from google.ads.google_ads.v2.proto.errors import policy_finding_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_policy__finding__error__pb2 -from google.ads.google_ads.v2.proto.errors import policy_validation_parameter_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2 -from google.ads.google_ads.v2.proto.errors import policy_violation_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_policy__violation__error__pb2 -from google.ads.google_ads.v2.proto.errors import query_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_query__error__pb2 -from google.ads.google_ads.v2.proto.errors import quota_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_quota__error__pb2 -from google.ads.google_ads.v2.proto.errors import range_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_range__error__pb2 -from google.ads.google_ads.v2.proto.errors import reach_plan_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_reach__plan__error__pb2 -from google.ads.google_ads.v2.proto.errors import recommendation_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_recommendation__error__pb2 -from google.ads.google_ads.v2.proto.errors import region_code_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_region__code__error__pb2 -from google.ads.google_ads.v2.proto.errors import request_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_request__error__pb2 -from google.ads.google_ads.v2.proto.errors import resource_access_denied_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_resource__access__denied__error__pb2 -from google.ads.google_ads.v2.proto.errors import resource_count_limit_exceeded_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2 -from google.ads.google_ads.v2.proto.errors import setting_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_setting__error__pb2 -from google.ads.google_ads.v2.proto.errors import shared_criterion_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_shared__criterion__error__pb2 -from google.ads.google_ads.v2.proto.errors import shared_set_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_shared__set__error__pb2 -from google.ads.google_ads.v2.proto.errors import size_limit_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_size__limit__error__pb2 -from google.ads.google_ads.v2.proto.errors import string_format_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_string__format__error__pb2 -from google.ads.google_ads.v2.proto.errors import string_length_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_string__length__error__pb2 -from google.ads.google_ads.v2.proto.errors import url_field_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_url__field__error__pb2 -from google.ads.google_ads.v2.proto.errors import user_list_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_user__list__error__pb2 -from google.ads.google_ads.v2.proto.errors import youtube_video_registration_error_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/errors/errors.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\013ErrorsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n1google/ads/googleads_v2/proto/errors/errors.proto\x12\x1egoogle.ads.googleads.v2.errors\x1a\x31google/ads/googleads_v2/proto/common/policy.proto\x1a\x30google/ads/googleads_v2/proto/common/value.proto\x1a\x42google/ads/googleads_v2/proto/errors/access_invitation_error.proto\x1aHgoogle/ads/googleads_v2/proto/errors/account_budget_proposal_error.proto\x1a>google/ads/googleads_v2/proto/errors/ad_customizer_error.proto\x1a\x33google/ads/googleads_v2/proto/errors/ad_error.proto\x1agoogle/ads/googleads_v2/proto/errors/ad_group_feed_error.proto\x1a=google/ads/googleads_v2/proto/errors/ad_parameter_error.proto\x1a;google/ads/googleads_v2/proto/errors/ad_sharing_error.proto\x1a\x34google/ads/googleads_v2/proto/errors/adx_error.proto\x1a\x36google/ads/googleads_v2/proto/errors/asset_error.proto\x1a?google/ads/googleads_v2/proto/errors/authentication_error.proto\x1a>google/ads/googleads_v2/proto/errors/authorization_error.proto\x1a\x38google/ads/googleads_v2/proto/errors/bidding_error.proto\x1a\x41google/ads/googleads_v2/proto/errors/bidding_strategy_error.proto\x1a>google/ads/googleads_v2/proto/errors/billing_setup_error.proto\x1a@google/ads/googleads_v2/proto/errors/campaign_budget_error.proto\x1a\x43google/ads/googleads_v2/proto/errors/campaign_criterion_error.proto\x1a?google/ads/googleads_v2/proto/errors/campaign_draft_error.proto\x1a\x39google/ads/googleads_v2/proto/errors/campaign_error.proto\x1a\x44google/ads/googleads_v2/proto/errors/campaign_experiment_error.proto\x1a>google/ads/googleads_v2/proto/errors/campaign_feed_error.proto\x1a\x44google/ads/googleads_v2/proto/errors/campaign_shared_set_error.proto\x1a>google/ads/googleads_v2/proto/errors/change_status_error.proto\x1a@google/ads/googleads_v2/proto/errors/collection_size_error.proto\x1a\x38google/ads/googleads_v2/proto/errors/context_error.proto\x1a\x42google/ads/googleads_v2/proto/errors/conversion_action_error.proto\x1aMgoogle/ads/googleads_v2/proto/errors/conversion_adjustment_upload_error.proto\x1a\x42google/ads/googleads_v2/proto/errors/conversion_upload_error.proto\x1a=google/ads/googleads_v2/proto/errors/country_code_error.proto\x1a:google/ads/googleads_v2/proto/errors/criterion_error.proto\x1a>google/ads/googleads_v2/proto/errors/currency_code_error.proto\x1a@google/ads/googleads_v2/proto/errors/custom_interest_error.proto\x1a\x45google/ads/googleads_v2/proto/errors/customer_client_link_error.proto\x1a\x39google/ads/googleads_v2/proto/errors/customer_error.proto\x1a>google/ads/googleads_v2/proto/errors/customer_feed_error.proto\x1a\x46google/ads/googleads_v2/proto/errors/customer_manager_link_error.proto\x1a\x39google/ads/googleads_v2/proto/errors/database_error.proto\x1a\x35google/ads/googleads_v2/proto/errors/date_error.proto\x1a;google/ads/googleads_v2/proto/errors/date_range_error.proto\x1a\x39google/ads/googleads_v2/proto/errors/distinct_error.proto\x1a\x35google/ads/googleads_v2/proto/errors/enum_error.proto\x1a\x44google/ads/googleads_v2/proto/errors/extension_feed_item_error.proto\x1a\x42google/ads/googleads_v2/proto/errors/extension_setting_error.proto\x1aIgoogle/ads/googleads_v2/proto/errors/feed_attribute_reference_error.proto\x1a\x35google/ads/googleads_v2/proto/errors/feed_error.proto\x1a:google/ads/googleads_v2/proto/errors/feed_item_error.proto\x1a\x41google/ads/googleads_v2/proto/errors/feed_item_target_error.proto\x1a\x45google/ads/googleads_v2/proto/errors/feed_item_validation_error.proto\x1a=google/ads/googleads_v2/proto/errors/feed_mapping_error.proto\x1a\x36google/ads/googleads_v2/proto/errors/field_error.proto\x1a;google/ads/googleads_v2/proto/errors/field_mask_error.proto\x1a\x39google/ads/googleads_v2/proto/errors/function_error.proto\x1a\x41google/ads/googleads_v2/proto/errors/function_parsing_error.proto\x1aOgoogle/ads/googleads_v2/proto/errors/geo_target_constant_suggestion_error.proto\x1a\x37google/ads/googleads_v2/proto/errors/header_error.proto\x1a\x33google/ads/googleads_v2/proto/errors/id_error.proto\x1a\x36google/ads/googleads_v2/proto/errors/image_error.proto\x1a\x39google/ads/googleads_v2/proto/errors/internal_error.proto\x1a\x38google/ads/googleads_v2/proto/errors/invoice_error.proto\x1a\x46google/ads/googleads_v2/proto/errors/keyword_plan_ad_group_error.proto\x1a\x46google/ads/googleads_v2/proto/errors/keyword_plan_campaign_error.proto\x1a=google/ads/googleads_v2/proto/errors/keyword_plan_error.proto\x1a\x42google/ads/googleads_v2/proto/errors/keyword_plan_idea_error.proto\x1a\x45google/ads/googleads_v2/proto/errors/keyword_plan_keyword_error.proto\x1aNgoogle/ads/googleads_v2/proto/errors/keyword_plan_negative_keyword_error.proto\x1a\x36google/ads/googleads_v2/proto/errors/label_error.proto\x1a>google/ads/googleads_v2/proto/errors/language_code_error.proto\x1a?google/ads/googleads_v2/proto/errors/list_operation_error.proto\x1a=google/ads/googleads_v2/proto/errors/manager_link_error.proto\x1a=google/ads/googleads_v2/proto/errors/media_bundle_error.proto\x1a;google/ads/googleads_v2/proto/errors/media_file_error.proto\x1a=google/ads/googleads_v2/proto/errors/media_upload_error.proto\x1a;google/ads/googleads_v2/proto/errors/multiplier_error.proto\x1a\x37google/ads/googleads_v2/proto/errors/mutate_error.proto\x1a;google/ads/googleads_v2/proto/errors/mutate_job_error.proto\x1a\x46google/ads/googleads_v2/proto/errors/new_resource_creation_error.proto\x1a:google/ads/googleads_v2/proto/errors/not_empty_error.proto\x1a@google/ads/googleads_v2/proto/errors/not_whitelisted_error.proto\x1a\x35google/ads/googleads_v2/proto/errors/null_error.proto\x1aHgoogle/ads/googleads_v2/proto/errors/operation_access_denied_error.proto\x1a\x39google/ads/googleads_v2/proto/errors/operator_error.proto\x1a@google/ads/googleads_v2/proto/errors/partial_failure_error.proto\x1a?google/ads/googleads_v2/proto/errors/policy_finding_error.proto\x1aLgoogle/ads/googleads_v2/proto/errors/policy_validation_parameter_error.proto\x1a\x41google/ads/googleads_v2/proto/errors/policy_violation_error.proto\x1a\x36google/ads/googleads_v2/proto/errors/query_error.proto\x1a\x36google/ads/googleads_v2/proto/errors/quota_error.proto\x1a\x36google/ads/googleads_v2/proto/errors/range_error.proto\x1a;google/ads/googleads_v2/proto/errors/reach_plan_error.proto\x1a?google/ads/googleads_v2/proto/errors/recommendation_error.proto\x1agoogle/ads/googleads_v2/proto/errors/string_format_error.proto\x1a>google/ads/googleads_v2/proto/errors/string_length_error.proto\x1a:google/ads/googleads_v2/proto/errors/url_field_error.proto\x1a:google/ads/googleads_v2/proto/errors/user_list_error.proto\x1aKgoogle/ads/googleads_v2/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.v2.errors.GoogleAdsError\"\x98\x02\n\x0eGoogleAdsError\x12=\n\nerror_code\x18\x01 \x01(\x0b\x32).google.ads.googleads.v2.errors.ErrorCode\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x36\n\x07trigger\x18\x03 \x01(\x0b\x32%.google.ads.googleads.v2.common.Value\x12?\n\x08location\x18\x04 \x01(\x0b\x32-.google.ads.googleads.v2.errors.ErrorLocation\x12=\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32,.google.ads.googleads.v2.errors.ErrorDetails\"\xc4V\n\tErrorCode\x12V\n\rrequest_error\x18\x01 \x01(\x0e\x32=.google.ads.googleads.v2.errors.RequestErrorEnum.RequestErrorH\x00\x12o\n\x16\x62idding_strategy_error\x18\x02 \x01(\x0e\x32M.google.ads.googleads.v2.errors.BiddingStrategyErrorEnum.BiddingStrategyErrorH\x00\x12Z\n\x0furl_field_error\x18\x03 \x01(\x0e\x32?.google.ads.googleads.v2.errors.UrlFieldErrorEnum.UrlFieldErrorH\x00\x12i\n\x14list_operation_error\x18\x04 \x01(\x0e\x32I.google.ads.googleads.v2.errors.ListOperationErrorEnum.ListOperationErrorH\x00\x12P\n\x0bquery_error\x18\x05 \x01(\x0e\x32\x39.google.ads.googleads.v2.errors.QueryErrorEnum.QueryErrorH\x00\x12S\n\x0cmutate_error\x18\x07 \x01(\x0e\x32;.google.ads.googleads.v2.errors.MutateErrorEnum.MutateErrorH\x00\x12]\n\x10\x66ield_mask_error\x18\x08 \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.FieldMaskErrorEnum.FieldMaskErrorH\x00\x12h\n\x13\x61uthorization_error\x18\t \x01(\x0e\x32I.google.ads.googleads.v2.errors.AuthorizationErrorEnum.AuthorizationErrorH\x00\x12Y\n\x0einternal_error\x18\n \x01(\x0e\x32?.google.ads.googleads.v2.errors.InternalErrorEnum.InternalErrorH\x00\x12P\n\x0bquota_error\x18\x0b \x01(\x0e\x32\x39.google.ads.googleads.v2.errors.QuotaErrorEnum.QuotaErrorH\x00\x12G\n\x08\x61\x64_error\x18\x0c \x01(\x0e\x32\x33.google.ads.googleads.v2.errors.AdErrorEnum.AdErrorH\x00\x12W\n\x0e\x61\x64_group_error\x18\r \x01(\x0e\x32=.google.ads.googleads.v2.errors.AdGroupErrorEnum.AdGroupErrorH\x00\x12l\n\x15\x63\x61mpaign_budget_error\x18\x0e \x01(\x0e\x32K.google.ads.googleads.v2.errors.CampaignBudgetErrorEnum.CampaignBudgetErrorH\x00\x12Y\n\x0e\x63\x61mpaign_error\x18\x0f \x01(\x0e\x32?.google.ads.googleads.v2.errors.CampaignErrorEnum.CampaignErrorH\x00\x12k\n\x14\x61uthentication_error\x18\x11 \x01(\x0e\x32K.google.ads.googleads.v2.errors.AuthenticationErrorEnum.AuthenticationErrorH\x00\x12s\n\x18\x61\x64_group_criterion_error\x18\x12 \x01(\x0e\x32O.google.ads.googleads.v2.errors.AdGroupCriterionErrorEnum.AdGroupCriterionErrorH\x00\x12\x66\n\x13\x61\x64_customizer_error\x18\x13 \x01(\x0e\x32G.google.ads.googleads.v2.errors.AdCustomizerErrorEnum.AdCustomizerErrorH\x00\x12^\n\x11\x61\x64_group_ad_error\x18\x15 \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.AdGroupAdErrorEnum.AdGroupAdErrorH\x00\x12]\n\x10\x61\x64_sharing_error\x18\x18 \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.AdSharingErrorEnum.AdSharingErrorH\x00\x12J\n\tadx_error\x18\x19 \x01(\x0e\x32\x35.google.ads.googleads.v2.errors.AdxErrorEnum.AdxErrorH\x00\x12P\n\x0b\x61sset_error\x18k \x01(\x0e\x32\x39.google.ads.googleads.v2.errors.AssetErrorEnum.AssetErrorH\x00\x12V\n\rbidding_error\x18\x1a \x01(\x0e\x32=.google.ads.googleads.v2.errors.BiddingErrorEnum.BiddingErrorH\x00\x12u\n\x18\x63\x61mpaign_criterion_error\x18\x1d \x01(\x0e\x32Q.google.ads.googleads.v2.errors.CampaignCriterionErrorEnum.CampaignCriterionErrorH\x00\x12l\n\x15\x63ollection_size_error\x18\x1f \x01(\x0e\x32K.google.ads.googleads.v2.errors.CollectionSizeErrorEnum.CollectionSizeErrorH\x00\x12\x63\n\x12\x63ountry_code_error\x18m \x01(\x0e\x32\x45.google.ads.googleads.v2.errors.CountryCodeErrorEnum.CountryCodeErrorH\x00\x12\\\n\x0f\x63riterion_error\x18 \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.CriterionErrorEnum.CriterionErrorH\x00\x12Y\n\x0e\x63ustomer_error\x18Z \x01(\x0e\x32?.google.ads.googleads.v2.errors.CustomerErrorEnum.CustomerErrorH\x00\x12M\n\ndate_error\x18! \x01(\x0e\x32\x37.google.ads.googleads.v2.errors.DateErrorEnum.DateErrorH\x00\x12]\n\x10\x64\x61te_range_error\x18\" \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.DateRangeErrorEnum.DateRangeErrorH\x00\x12Y\n\x0e\x64istinct_error\x18# \x01(\x0e\x32?.google.ads.googleads.v2.errors.DistinctErrorEnum.DistinctErrorH\x00\x12\x85\x01\n\x1e\x66\x65\x65\x64_attribute_reference_error\x18$ \x01(\x0e\x32[.google.ads.googleads.v2.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceErrorH\x00\x12Y\n\x0e\x66unction_error\x18% \x01(\x0e\x32?.google.ads.googleads.v2.errors.FunctionErrorEnum.FunctionErrorH\x00\x12o\n\x16\x66unction_parsing_error\x18& \x01(\x0e\x32M.google.ads.googleads.v2.errors.FunctionParsingErrorEnum.FunctionParsingErrorH\x00\x12G\n\x08id_error\x18\' \x01(\x0e\x32\x33.google.ads.googleads.v2.errors.IdErrorEnum.IdErrorH\x00\x12P\n\x0bimage_error\x18( \x01(\x0e\x32\x39.google.ads.googleads.v2.errors.ImageErrorEnum.ImageErrorH\x00\x12\x66\n\x13language_code_error\x18n \x01(\x0e\x32G.google.ads.googleads.v2.errors.LanguageCodeErrorEnum.LanguageCodeErrorH\x00\x12\x63\n\x12media_bundle_error\x18* \x01(\x0e\x32\x45.google.ads.googleads.v2.errors.MediaBundleErrorEnum.MediaBundleErrorH\x00\x12\x63\n\x12media_upload_error\x18t \x01(\x0e\x32\x45.google.ads.googleads.v2.errors.MediaUploadErrorEnum.MediaUploadErrorH\x00\x12]\n\x10media_file_error\x18V \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.MediaFileErrorEnum.MediaFileErrorH\x00\x12_\n\x10multiplier_error\x18, \x01(\x0e\x32\x43.google.ads.googleads.v2.errors.MultiplierErrorEnum.MultiplierErrorH\x00\x12|\n\x1bnew_resource_creation_error\x18- \x01(\x0e\x32U.google.ads.googleads.v2.errors.NewResourceCreationErrorEnum.NewResourceCreationErrorH\x00\x12Z\n\x0fnot_empty_error\x18. \x01(\x0e\x32?.google.ads.googleads.v2.errors.NotEmptyErrorEnum.NotEmptyErrorH\x00\x12M\n\nnull_error\x18/ \x01(\x0e\x32\x37.google.ads.googleads.v2.errors.NullErrorEnum.NullErrorH\x00\x12Y\n\x0eoperator_error\x18\x30 \x01(\x0e\x32?.google.ads.googleads.v2.errors.OperatorErrorEnum.OperatorErrorH\x00\x12P\n\x0brange_error\x18\x31 \x01(\x0e\x32\x39.google.ads.googleads.v2.errors.RangeErrorEnum.RangeErrorH\x00\x12k\n\x14recommendation_error\x18: \x01(\x0e\x32K.google.ads.googleads.v2.errors.RecommendationErrorEnum.RecommendationErrorH\x00\x12`\n\x11region_code_error\x18\x33 \x01(\x0e\x32\x43.google.ads.googleads.v2.errors.RegionCodeErrorEnum.RegionCodeErrorH\x00\x12V\n\rsetting_error\x18\x34 \x01(\x0e\x32=.google.ads.googleads.v2.errors.SettingErrorEnum.SettingErrorH\x00\x12\x66\n\x13string_format_error\x18\x35 \x01(\x0e\x32G.google.ads.googleads.v2.errors.StringFormatErrorEnum.StringFormatErrorH\x00\x12\x66\n\x13string_length_error\x18\x36 \x01(\x0e\x32G.google.ads.googleads.v2.errors.StringLengthErrorEnum.StringLengthErrorH\x00\x12\x82\x01\n\x1doperation_access_denied_error\x18\x37 \x01(\x0e\x32Y.google.ads.googleads.v2.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedErrorH\x00\x12\x7f\n\x1cresource_access_denied_error\x18\x38 \x01(\x0e\x32W.google.ads.googleads.v2.errors.ResourceAccessDeniedErrorEnum.ResourceAccessDeniedErrorH\x00\x12\x92\x01\n#resource_count_limit_exceeded_error\x18\x39 \x01(\x0e\x32\x63.google.ads.googleads.v2.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededErrorH\x00\x12\x8b\x01\n youtube_video_registration_error\x18u \x01(\x0e\x32_.google.ads.googleads.v2.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationErrorH\x00\x12z\n\x1b\x61\x64_group_bid_modifier_error\x18; \x01(\x0e\x32S.google.ads.googleads.v2.errors.AdGroupBidModifierErrorEnum.AdGroupBidModifierErrorH\x00\x12V\n\rcontext_error\x18< \x01(\x0e\x32=.google.ads.googleads.v2.errors.ContextErrorEnum.ContextErrorH\x00\x12P\n\x0b\x66ield_error\x18= \x01(\x0e\x32\x39.google.ads.googleads.v2.errors.FieldErrorEnum.FieldErrorH\x00\x12]\n\x10shared_set_error\x18> \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.SharedSetErrorEnum.SharedSetErrorH\x00\x12o\n\x16shared_criterion_error\x18? \x01(\x0e\x32M.google.ads.googleads.v2.errors.SharedCriterionErrorEnum.SharedCriterionErrorH\x00\x12v\n\x19\x63\x61mpaign_shared_set_error\x18@ \x01(\x0e\x32Q.google.ads.googleads.v2.errors.CampaignSharedSetErrorEnum.CampaignSharedSetErrorH\x00\x12r\n\x17\x63onversion_action_error\x18\x41 \x01(\x0e\x32O.google.ads.googleads.v2.errors.ConversionActionErrorEnum.ConversionActionErrorH\x00\x12\x91\x01\n\"conversion_adjustment_upload_error\x18s \x01(\x0e\x32\x63.google.ads.googleads.v2.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadErrorH\x00\x12r\n\x17\x63onversion_upload_error\x18o \x01(\x0e\x32O.google.ads.googleads.v2.errors.ConversionUploadErrorEnum.ConversionUploadErrorH\x00\x12S\n\x0cheader_error\x18\x42 \x01(\x0e\x32;.google.ads.googleads.v2.errors.HeaderErrorEnum.HeaderErrorH\x00\x12Y\n\x0e\x64\x61tabase_error\x18\x43 \x01(\x0e\x32?.google.ads.googleads.v2.errors.DatabaseErrorEnum.DatabaseErrorH\x00\x12i\n\x14policy_finding_error\x18\x44 \x01(\x0e\x32I.google.ads.googleads.v2.errors.PolicyFindingErrorEnum.PolicyFindingErrorH\x00\x12M\n\nenum_error\x18\x46 \x01(\x0e\x32\x37.google.ads.googleads.v2.errors.EnumErrorEnum.EnumErrorH\x00\x12\x63\n\x12keyword_plan_error\x18G \x01(\x0e\x32\x45.google.ads.googleads.v2.errors.KeywordPlanErrorEnum.KeywordPlanErrorH\x00\x12|\n\x1bkeyword_plan_campaign_error\x18H \x01(\x0e\x32U.google.ads.googleads.v2.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignErrorH\x00\x12\x92\x01\n#keyword_plan_negative_keyword_error\x18I \x01(\x0e\x32\x63.google.ads.googleads.v2.errors.KeywordPlanNegativeKeywordErrorEnum.KeywordPlanNegativeKeywordErrorH\x00\x12z\n\x1bkeyword_plan_ad_group_error\x18J \x01(\x0e\x32S.google.ads.googleads.v2.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupErrorH\x00\x12y\n\x1akeyword_plan_keyword_error\x18K \x01(\x0e\x32S.google.ads.googleads.v2.errors.KeywordPlanKeywordErrorEnum.KeywordPlanKeywordErrorH\x00\x12p\n\x17keyword_plan_idea_error\x18L \x01(\x0e\x32M.google.ads.googleads.v2.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaErrorH\x00\x12\x82\x01\n\x1d\x61\x63\x63ount_budget_proposal_error\x18M \x01(\x0e\x32Y.google.ads.googleads.v2.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalErrorH\x00\x12Z\n\x0fuser_list_error\x18N \x01(\x0e\x32?.google.ads.googleads.v2.errors.UserListErrorEnum.UserListErrorH\x00\x12\x66\n\x13\x63hange_status_error\x18O \x01(\x0e\x32G.google.ads.googleads.v2.errors.ChangeStatusErrorEnum.ChangeStatusErrorH\x00\x12M\n\nfeed_error\x18P \x01(\x0e\x32\x37.google.ads.googleads.v2.errors.FeedErrorEnum.FeedErrorH\x00\x12\x95\x01\n$geo_target_constant_suggestion_error\x18Q \x01(\x0e\x32\x65.google.ads.googleads.v2.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionErrorH\x00\x12i\n\x14\x63\x61mpaign_draft_error\x18R \x01(\x0e\x32I.google.ads.googleads.v2.errors.CampaignDraftErrorEnum.CampaignDraftErrorH\x00\x12Z\n\x0f\x66\x65\x65\x64_item_error\x18S \x01(\x0e\x32?.google.ads.googleads.v2.errors.FeedItemErrorEnum.FeedItemErrorH\x00\x12P\n\x0blabel_error\x18T \x01(\x0e\x32\x39.google.ads.googleads.v2.errors.LabelErrorEnum.LabelErrorH\x00\x12\x66\n\x13\x62illing_setup_error\x18W \x01(\x0e\x32G.google.ads.googleads.v2.errors.BillingSetupErrorEnum.BillingSetupErrorH\x00\x12y\n\x1a\x63ustomer_client_link_error\x18X \x01(\x0e\x32S.google.ads.googleads.v2.errors.CustomerClientLinkErrorEnum.CustomerClientLinkErrorH\x00\x12|\n\x1b\x63ustomer_manager_link_error\x18[ \x01(\x0e\x32U.google.ads.googleads.v2.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkErrorH\x00\x12\x63\n\x12\x66\x65\x65\x64_mapping_error\x18\\ \x01(\x0e\x32\x45.google.ads.googleads.v2.errors.FeedMappingErrorEnum.FeedMappingErrorH\x00\x12\x66\n\x13\x63ustomer_feed_error\x18] \x01(\x0e\x32G.google.ads.googleads.v2.errors.CustomerFeedErrorEnum.CustomerFeedErrorH\x00\x12\x64\n\x13\x61\x64_group_feed_error\x18^ \x01(\x0e\x32\x45.google.ads.googleads.v2.errors.AdGroupFeedErrorEnum.AdGroupFeedErrorH\x00\x12\x66\n\x13\x63\x61mpaign_feed_error\x18` \x01(\x0e\x32G.google.ads.googleads.v2.errors.CampaignFeedErrorEnum.CampaignFeedErrorH\x00\x12l\n\x15\x63ustom_interest_error\x18\x61 \x01(\x0e\x32K.google.ads.googleads.v2.errors.CustomInterestErrorEnum.CustomInterestErrorH\x00\x12x\n\x19\x63\x61mpaign_experiment_error\x18\x62 \x01(\x0e\x32S.google.ads.googleads.v2.errors.CampaignExperimentErrorEnum.CampaignExperimentErrorH\x00\x12v\n\x19\x65xtension_feed_item_error\x18\x64 \x01(\x0e\x32Q.google.ads.googleads.v2.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemErrorH\x00\x12\x63\n\x12\x61\x64_parameter_error\x18\x65 \x01(\x0e\x32\x45.google.ads.googleads.v2.errors.AdParameterErrorEnum.AdParameterErrorH\x00\x12y\n\x1a\x66\x65\x65\x64_item_validation_error\x18\x66 \x01(\x0e\x32S.google.ads.googleads.v2.errors.FeedItemValidationErrorEnum.FeedItemValidationErrorH\x00\x12r\n\x17\x65xtension_setting_error\x18g \x01(\x0e\x32O.google.ads.googleads.v2.errors.ExtensionSettingErrorEnum.ExtensionSettingErrorH\x00\x12m\n\x16\x66\x65\x65\x64_item_target_error\x18h \x01(\x0e\x32K.google.ads.googleads.v2.errors.FeedItemTargetErrorEnum.FeedItemTargetErrorH\x00\x12o\n\x16policy_violation_error\x18i \x01(\x0e\x32M.google.ads.googleads.v2.errors.PolicyViolationErrorEnum.PolicyViolationErrorH\x00\x12]\n\x10mutate_job_error\x18l \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.MutateJobErrorEnum.MutateJobErrorH\x00\x12l\n\x15partial_failure_error\x18p \x01(\x0e\x32K.google.ads.googleads.v2.errors.PartialFailureErrorEnum.PartialFailureErrorH\x00\x12\x8e\x01\n!policy_validation_parameter_error\x18r \x01(\x0e\x32\x61.google.ads.googleads.v2.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterErrorH\x00\x12]\n\x10size_limit_error\x18v \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.SizeLimitErrorEnum.SizeLimitErrorH\x00\x12l\n\x15not_whitelisted_error\x18x \x01(\x0e\x32K.google.ads.googleads.v2.errors.NotWhitelistedErrorEnum.NotWhitelistedErrorH\x00\x12\x63\n\x12manager_link_error\x18y \x01(\x0e\x32\x45.google.ads.googleads.v2.errors.ManagerLinkErrorEnum.ManagerLinkErrorH\x00\x12\x66\n\x13\x63urrency_code_error\x18z \x01(\x0e\x32G.google.ads.googleads.v2.errors.CurrencyCodeErrorEnum.CurrencyCodeErrorH\x00\x12r\n\x17\x61\x63\x63\x65ss_invitation_error\x18| \x01(\x0e\x32O.google.ads.googleads.v2.errors.AccessInvitationErrorEnum.AccessInvitationErrorH\x00\x12]\n\x10reach_plan_error\x18} \x01(\x0e\x32\x41.google.ads.googleads.v2.errors.ReachPlanErrorEnum.ReachPlanErrorH\x00\x12V\n\rinvoice_error\x18~ \x01(\x0e\x32=.google.ads.googleads.v2.errors.InvoiceErrorEnum.InvoiceErrorH\x00\x42\x0c\n\nerror_code\"\xc0\x01\n\rErrorLocation\x12[\n\x13\x66ield_path_elements\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v2.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.v2.errors.PolicyViolationDetails\x12T\n\x16policy_finding_details\x18\x03 \x01(\x0b\x32\x34.google.ads.googleads.v2.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.v2.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.v2.common.PolicyTopicEntryB\xe6\x01\n\"com.google.ads.googleads.v2.errorsB\x0b\x45rrorsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_value__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_access__invitation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__customizer__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__ad__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__group__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__parameter__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__sharing__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_adx__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_asset__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_authentication__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_authorization__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_bidding__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_bidding__strategy__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_billing__setup__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__budget__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__draft__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__experiment__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_change__status__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_collection__size__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_context__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_conversion__action__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_conversion__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_country__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_currency__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_custom__interest__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_customer__client__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_customer__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_customer__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_customer__manager__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_database__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_date__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_date__range__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_distinct__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_enum__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_extension__feed__item__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_extension__setting__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__item__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__item__target__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__item__validation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__mapping__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_field__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_field__mask__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_function__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_function__parsing__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_header__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_id__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_image__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_internal__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_invoice__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__keyword__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_keyword__plan__negative__keyword__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_label__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_language__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_list__operation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_manager__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_media__bundle__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_media__file__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_media__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_multiplier__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_mutate__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_mutate__job__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_new__resource__creation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_not__empty__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_not__whitelisted__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_null__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_operation__access__denied__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_operator__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_partial__failure__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_policy__finding__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_policy__violation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_query__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_quota__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_range__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_reach__plan__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_recommendation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_region__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_request__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_resource__access__denied__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_setting__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_shared__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_shared__set__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_size__limit__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_string__format__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_string__length__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_url__field__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_user__list__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.errors.GoogleAdsFailure', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='errors', full_name='google.ads.googleads.v2.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, - 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=7036, - serialized_end=7118, -) - - -_GOOGLEADSERROR = _descriptor.Descriptor( - name='GoogleAdsError', - full_name='google.ads.googleads.v2.errors.GoogleAdsError', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='error_code', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=7121, - serialized_end=7401, -) - - -_ERRORCODE = _descriptor.Descriptor( - name='ErrorCode', - full_name='google.ads.googleads.v2.errors.ErrorCode', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='request_error', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.errors.ErrorCode.keyword_plan_negative_keyword_error', index=69, - number=73, type=14, cpp_type=8, label=1, - has_default_value=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.v2.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.v2.errors.ErrorCode.keyword_plan_keyword_error', index=71, - number=75, type=14, cpp_type=8, label=1, - has_default_value=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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.errors.ErrorCode.mutate_job_error', index=96, - number=108, type=14, cpp_type=8, label=1, - has_default_value=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.v2.errors.ErrorCode.partial_failure_error', index=97, - 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='policy_validation_parameter_error', full_name='google.ads.googleads.v2.errors.ErrorCode.policy_validation_parameter_error', index=98, - 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='size_limit_error', full_name='google.ads.googleads.v2.errors.ErrorCode.size_limit_error', index=99, - 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='not_whitelisted_error', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='error_code', full_name='google.ads.googleads.v2.errors.ErrorCode.error_code', - index=0, containing_type=None, fields=[]), - ], - serialized_start=7404, - serialized_end=18480, -) - - -_ERRORLOCATION_FIELDPATHELEMENT = _descriptor.Descriptor( - name='FieldPathElement', - full_name='google.ads.googleads.v2.errors.ErrorLocation.FieldPathElement', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='field_name', full_name='google.ads.googleads.v2.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.v2.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, - 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=18593, - serialized_end=18675, -) - -_ERRORLOCATION = _descriptor.Descriptor( - name='ErrorLocation', - full_name='google.ads.googleads.v2.errors.ErrorLocation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='field_path_elements', full_name='google.ads.googleads.v2.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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_ERRORLOCATION_FIELDPATHELEMENT, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=18483, - serialized_end=18675, -) - - -_ERRORDETAILS = _descriptor.Descriptor( - name='ErrorDetails', - full_name='google.ads.googleads.v2.errors.ErrorDetails', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='unpublished_error_code', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=18678, - serialized_end=18900, -) - - -_POLICYVIOLATIONDETAILS = _descriptor.Descriptor( - name='PolicyViolationDetails', - full_name='google.ads.googleads.v2.errors.PolicyViolationDetails', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='external_policy_description', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=18903, - serialized_end=19082, -) - - -_POLICYFINDINGDETAILS = _descriptor.Descriptor( - name='PolicyFindingDetails', - full_name='google.ads.googleads.v2.errors.PolicyFindingDetails', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='policy_topic_entries', full_name='google.ads.googleads.v2.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, - 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=19084, - serialized_end=19186, -) - -_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__v2_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__v2_dot_proto_dot_errors_dot_request__error__pb2._REQUESTERRORENUM_REQUESTERROR -_ERRORCODE.fields_by_name['bidding_strategy_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_errors_dot_list__operation__error__pb2._LISTOPERATIONERRORENUM_LISTOPERATIONERROR -_ERRORCODE.fields_by_name['query_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_query__error__pb2._QUERYERRORENUM_QUERYERROR -_ERRORCODE.fields_by_name['mutate_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_mutate__error__pb2._MUTATEERRORENUM_MUTATEERROR -_ERRORCODE.fields_by_name['field_mask_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_field__mask__error__pb2._FIELDMASKERRORENUM_FIELDMASKERROR -_ERRORCODE.fields_by_name['authorization_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_authorization__error__pb2._AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR -_ERRORCODE.fields_by_name['internal_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_internal__error__pb2._INTERNALERRORENUM_INTERNALERROR -_ERRORCODE.fields_by_name['quota_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_quota__error__pb2._QUOTAERRORENUM_QUOTAERROR -_ERRORCODE.fields_by_name['ad_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_ad__error__pb2._ADERRORENUM_ADERROR -_ERRORCODE.fields_by_name['ad_group_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_errors_dot_campaign__budget__error__pb2._CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR -_ERRORCODE.fields_by_name['campaign_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_campaign__error__pb2._CAMPAIGNERRORENUM_CAMPAIGNERROR -_ERRORCODE.fields_by_name['authentication_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_errors_dot_ad__sharing__error__pb2._ADSHARINGERRORENUM_ADSHARINGERROR -_ERRORCODE.fields_by_name['adx_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_adx__error__pb2._ADXERRORENUM_ADXERROR -_ERRORCODE.fields_by_name['asset_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_asset__error__pb2._ASSETERRORENUM_ASSETERROR -_ERRORCODE.fields_by_name['bidding_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_bidding__error__pb2._BIDDINGERRORENUM_BIDDINGERROR -_ERRORCODE.fields_by_name['campaign_criterion_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_errors_dot_country__code__error__pb2._COUNTRYCODEERRORENUM_COUNTRYCODEERROR -_ERRORCODE.fields_by_name['criterion_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_criterion__error__pb2._CRITERIONERRORENUM_CRITERIONERROR -_ERRORCODE.fields_by_name['customer_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_customer__error__pb2._CUSTOMERERRORENUM_CUSTOMERERROR -_ERRORCODE.fields_by_name['date_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_date__error__pb2._DATEERRORENUM_DATEERROR -_ERRORCODE.fields_by_name['date_range_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_date__range__error__pb2._DATERANGEERRORENUM_DATERANGEERROR -_ERRORCODE.fields_by_name['distinct_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_errors_dot_function__error__pb2._FUNCTIONERRORENUM_FUNCTIONERROR -_ERRORCODE.fields_by_name['function_parsing_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_function__parsing__error__pb2._FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR -_ERRORCODE.fields_by_name['id_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_id__error__pb2._IDERRORENUM_IDERROR -_ERRORCODE.fields_by_name['image_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_image__error__pb2._IMAGEERRORENUM_IMAGEERROR -_ERRORCODE.fields_by_name['language_code_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_errors_dot_media__file__error__pb2._MEDIAFILEERRORENUM_MEDIAFILEERROR -_ERRORCODE.fields_by_name['multiplier_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_errors_dot_not__empty__error__pb2._NOTEMPTYERRORENUM_NOTEMPTYERROR -_ERRORCODE.fields_by_name['null_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_null__error__pb2._NULLERRORENUM_NULLERROR -_ERRORCODE.fields_by_name['operator_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_operator__error__pb2._OPERATORERRORENUM_OPERATORERROR -_ERRORCODE.fields_by_name['range_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_range__error__pb2._RANGEERRORENUM_RANGEERROR -_ERRORCODE.fields_by_name['recommendation_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_recommendation__error__pb2._RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR -_ERRORCODE.fields_by_name['region_code_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_region__code__error__pb2._REGIONCODEERRORENUM_REGIONCODEERROR -_ERRORCODE.fields_by_name['setting_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_setting__error__pb2._SETTINGERRORENUM_SETTINGERROR -_ERRORCODE.fields_by_name['string_format_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_errors_dot_context__error__pb2._CONTEXTERRORENUM_CONTEXTERROR -_ERRORCODE.fields_by_name['field_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_field__error__pb2._FIELDERRORENUM_FIELDERROR -_ERRORCODE.fields_by_name['shared_set_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_errors_dot_conversion__upload__error__pb2._CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR -_ERRORCODE.fields_by_name['header_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_header__error__pb2._HEADERERRORENUM_HEADERERROR -_ERRORCODE.fields_by_name['database_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_database__error__pb2._DATABASEERRORENUM_DATABASEERROR -_ERRORCODE.fields_by_name['policy_finding_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_policy__finding__error__pb2._POLICYFINDINGERRORENUM_POLICYFINDINGERROR -_ERRORCODE.fields_by_name['enum_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_enum__error__pb2._ENUMERRORENUM_ENUMERROR -_ERRORCODE.fields_by_name['keyword_plan_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_errors_dot_change__status__error__pb2._CHANGESTATUSERRORENUM_CHANGESTATUSERROR -_ERRORCODE.fields_by_name['feed_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_errors_dot_feed__item__error__pb2._FEEDITEMERRORENUM_FEEDITEMERROR -_ERRORCODE.fields_by_name['label_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_label__error__pb2._LABELERRORENUM_LABELERROR -_ERRORCODE.fields_by_name['billing_setup_error'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_errors_dot_reach__plan__error__pb2._REACHPLANERRORENUM_REACHPLANERROR -_ERRORCODE.fields_by_name['invoice_error'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_invoice__error__pb2._INVOICEERRORENUM_INVOICEERROR -_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'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['bidding_strategy_error']) -_ERRORCODE.fields_by_name['bidding_strategy_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['url_field_error']) -_ERRORCODE.fields_by_name['url_field_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['list_operation_error']) -_ERRORCODE.fields_by_name['list_operation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['query_error']) -_ERRORCODE.fields_by_name['query_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['mutate_error']) -_ERRORCODE.fields_by_name['mutate_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['field_mask_error']) -_ERRORCODE.fields_by_name['field_mask_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['authorization_error']) -_ERRORCODE.fields_by_name['authorization_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['internal_error']) -_ERRORCODE.fields_by_name['internal_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['quota_error']) -_ERRORCODE.fields_by_name['quota_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['ad_error']) -_ERRORCODE.fields_by_name['ad_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['ad_group_error']) -_ERRORCODE.fields_by_name['ad_group_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['campaign_budget_error']) -_ERRORCODE.fields_by_name['campaign_budget_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['campaign_error']) -_ERRORCODE.fields_by_name['campaign_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['authentication_error']) -_ERRORCODE.fields_by_name['authentication_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['ad_group_criterion_error']) -_ERRORCODE.fields_by_name['ad_group_criterion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['ad_customizer_error']) -_ERRORCODE.fields_by_name['ad_customizer_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['ad_group_ad_error']) -_ERRORCODE.fields_by_name['ad_group_ad_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['ad_sharing_error']) -_ERRORCODE.fields_by_name['ad_sharing_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['adx_error']) -_ERRORCODE.fields_by_name['adx_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['asset_error']) -_ERRORCODE.fields_by_name['asset_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['bidding_error']) -_ERRORCODE.fields_by_name['bidding_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['campaign_criterion_error']) -_ERRORCODE.fields_by_name['campaign_criterion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['collection_size_error']) -_ERRORCODE.fields_by_name['collection_size_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['country_code_error']) -_ERRORCODE.fields_by_name['country_code_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['criterion_error']) -_ERRORCODE.fields_by_name['criterion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['customer_error']) -_ERRORCODE.fields_by_name['customer_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['date_error']) -_ERRORCODE.fields_by_name['date_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['date_range_error']) -_ERRORCODE.fields_by_name['date_range_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['distinct_error']) -_ERRORCODE.fields_by_name['distinct_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['feed_attribute_reference_error']) -_ERRORCODE.fields_by_name['feed_attribute_reference_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['function_error']) -_ERRORCODE.fields_by_name['function_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['function_parsing_error']) -_ERRORCODE.fields_by_name['function_parsing_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['id_error']) -_ERRORCODE.fields_by_name['id_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['image_error']) -_ERRORCODE.fields_by_name['image_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['language_code_error']) -_ERRORCODE.fields_by_name['language_code_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['media_bundle_error']) -_ERRORCODE.fields_by_name['media_bundle_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['media_upload_error']) -_ERRORCODE.fields_by_name['media_upload_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['media_file_error']) -_ERRORCODE.fields_by_name['media_file_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['multiplier_error']) -_ERRORCODE.fields_by_name['multiplier_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['new_resource_creation_error']) -_ERRORCODE.fields_by_name['new_resource_creation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['not_empty_error']) -_ERRORCODE.fields_by_name['not_empty_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['null_error']) -_ERRORCODE.fields_by_name['null_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['operator_error']) -_ERRORCODE.fields_by_name['operator_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['range_error']) -_ERRORCODE.fields_by_name['range_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['recommendation_error']) -_ERRORCODE.fields_by_name['recommendation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['region_code_error']) -_ERRORCODE.fields_by_name['region_code_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['setting_error']) -_ERRORCODE.fields_by_name['setting_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['string_format_error']) -_ERRORCODE.fields_by_name['string_format_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['string_length_error']) -_ERRORCODE.fields_by_name['string_length_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['operation_access_denied_error']) -_ERRORCODE.fields_by_name['operation_access_denied_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['resource_access_denied_error']) -_ERRORCODE.fields_by_name['resource_access_denied_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['resource_count_limit_exceeded_error']) -_ERRORCODE.fields_by_name['resource_count_limit_exceeded_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['youtube_video_registration_error']) -_ERRORCODE.fields_by_name['youtube_video_registration_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['ad_group_bid_modifier_error']) -_ERRORCODE.fields_by_name['ad_group_bid_modifier_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['context_error']) -_ERRORCODE.fields_by_name['context_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['field_error']) -_ERRORCODE.fields_by_name['field_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['shared_set_error']) -_ERRORCODE.fields_by_name['shared_set_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['shared_criterion_error']) -_ERRORCODE.fields_by_name['shared_criterion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['campaign_shared_set_error']) -_ERRORCODE.fields_by_name['campaign_shared_set_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['conversion_action_error']) -_ERRORCODE.fields_by_name['conversion_action_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['conversion_adjustment_upload_error']) -_ERRORCODE.fields_by_name['conversion_adjustment_upload_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['conversion_upload_error']) -_ERRORCODE.fields_by_name['conversion_upload_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['header_error']) -_ERRORCODE.fields_by_name['header_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['database_error']) -_ERRORCODE.fields_by_name['database_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['policy_finding_error']) -_ERRORCODE.fields_by_name['policy_finding_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['enum_error']) -_ERRORCODE.fields_by_name['enum_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['keyword_plan_error']) -_ERRORCODE.fields_by_name['keyword_plan_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _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.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.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'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['account_budget_proposal_error']) -_ERRORCODE.fields_by_name['account_budget_proposal_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['user_list_error']) -_ERRORCODE.fields_by_name['user_list_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['change_status_error']) -_ERRORCODE.fields_by_name['change_status_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['feed_error']) -_ERRORCODE.fields_by_name['feed_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['geo_target_constant_suggestion_error']) -_ERRORCODE.fields_by_name['geo_target_constant_suggestion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['campaign_draft_error']) -_ERRORCODE.fields_by_name['campaign_draft_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['feed_item_error']) -_ERRORCODE.fields_by_name['feed_item_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['label_error']) -_ERRORCODE.fields_by_name['label_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['billing_setup_error']) -_ERRORCODE.fields_by_name['billing_setup_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['customer_client_link_error']) -_ERRORCODE.fields_by_name['customer_client_link_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['customer_manager_link_error']) -_ERRORCODE.fields_by_name['customer_manager_link_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['feed_mapping_error']) -_ERRORCODE.fields_by_name['feed_mapping_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['customer_feed_error']) -_ERRORCODE.fields_by_name['customer_feed_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['ad_group_feed_error']) -_ERRORCODE.fields_by_name['ad_group_feed_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['campaign_feed_error']) -_ERRORCODE.fields_by_name['campaign_feed_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['custom_interest_error']) -_ERRORCODE.fields_by_name['custom_interest_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['campaign_experiment_error']) -_ERRORCODE.fields_by_name['campaign_experiment_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['extension_feed_item_error']) -_ERRORCODE.fields_by_name['extension_feed_item_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['ad_parameter_error']) -_ERRORCODE.fields_by_name['ad_parameter_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['feed_item_validation_error']) -_ERRORCODE.fields_by_name['feed_item_validation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['extension_setting_error']) -_ERRORCODE.fields_by_name['extension_setting_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['feed_item_target_error']) -_ERRORCODE.fields_by_name['feed_item_target_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_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'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['policy_validation_parameter_error']) -_ERRORCODE.fields_by_name['policy_validation_parameter_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_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['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'] -_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__v2_dot_proto_dot_common_dot_policy__pb2._POLICYVIOLATIONKEY -_POLICYFINDINGDETAILS.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v2_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 -DESCRIPTOR.message_types_by_name['ErrorLocation'] = _ERRORLOCATION -DESCRIPTOR.message_types_by_name['ErrorDetails'] = _ERRORDETAILS -DESCRIPTOR.message_types_by_name['PolicyViolationDetails'] = _POLICYVIOLATIONDETAILS -DESCRIPTOR.message_types_by_name['PolicyFindingDetails'] = _POLICYFINDINGDETAILS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GoogleAdsFailure = _reflection.GeneratedProtocolMessageType('GoogleAdsFailure', (_message.Message,), dict( - DESCRIPTOR = _GOOGLEADSFAILURE, - __module__ = 'google.ads.googleads_v2.proto.errors.errors_pb2' - , - __doc__ = """Describes how a GoogleAds API call failed. It's returned inside - google.rpc.Status.details when a call fails. - - - Attributes: - errors: - The list of errors that occurred. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.GoogleAdsFailure) - )) -_sym_db.RegisterMessage(GoogleAdsFailure) - -GoogleAdsError = _reflection.GeneratedProtocolMessageType('GoogleAdsError', (_message.Message,), dict( - DESCRIPTOR = _GOOGLEADSERROR, - __module__ = 'google.ads.googleads_v2.proto.errors.errors_pb2' - , - __doc__ = """GoogleAds-specific error. - - - Attributes: - error_code: - An enum value that indicates which error occurred. - message: - A human-readable description of the error. - trigger: - The value that triggered the error. - location: - Describes the part of the request proto that caused the error. - details: - 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.v2.errors.GoogleAdsError) - )) -_sym_db.RegisterMessage(GoogleAdsError) - -ErrorCode = _reflection.GeneratedProtocolMessageType('ErrorCode', (_message.Message,), dict( - DESCRIPTOR = _ERRORCODE, - __module__ = 'google.ads.googleads_v2.proto.errors.errors_pb2' - , - __doc__ = """The error reason represented by type and enum. - - - Attributes: - error_code: - The list of error enums - request_error: - An error caused by the request - bidding_strategy_error: - An error with a Bidding Strategy mutate. - url_field_error: - An error with a URL field mutate. - list_operation_error: - An error with a list operation. - query_error: - An error with an AWQL query - mutate_error: - An error with a mutate - field_mask_error: - An error with a field mask - authorization_error: - An error encountered when trying to authorize a user. - internal_error: - An unexpected server-side error. - quota_error: - An error with the amonut of quota remaining. - ad_error: - An error with an Ad Group Ad mutate. - ad_group_error: - An error with an Ad Group mutate. - campaign_budget_error: - An error with a Campaign Budget mutate. - campaign_error: - An error with a Campaign mutate. - authentication_error: - Indicates failure to properly authenticate user. - ad_group_criterion_error: - Indicates failure to properly authenticate user. - ad_customizer_error: - The reasons for the ad customizer error - ad_group_ad_error: - The reasons for the ad group ad error - ad_sharing_error: - The reasons for the ad sharing error - adx_error: - The reasons for the adx error - asset_error: - The reasons for the asset error - bidding_error: - The reasons for the bidding errors - campaign_criterion_error: - The reasons for the campaign criterion error - collection_size_error: - The reasons for the collection size error - country_code_error: - The reasons for the country code error - criterion_error: - The reasons for the criterion error - customer_error: - The reasons for the customer error - date_error: - The reasons for the date error - date_range_error: - The reasons for the date range error - distinct_error: - The reasons for the distinct error - feed_attribute_reference_error: - The reasons for the feed attribute reference error - function_error: - The reasons for the function error - function_parsing_error: - The reasons for the function parsing error - id_error: - The reasons for the id error - image_error: - The reasons for the image error - language_code_error: - The reasons for the language code error - media_bundle_error: - The reasons for the media bundle error - media_upload_error: - The reasons for media uploading errors. - media_file_error: - The reasons for the media file error - multiplier_error: - The reasons for the multiplier error - new_resource_creation_error: - The reasons for the new resource creation error - not_empty_error: - The reasons for the not empty error - null_error: - The reasons for the null error - operator_error: - The reasons for the operator error - range_error: - The reasons for the range error - recommendation_error: - The reasons for error in applying a recommendation - region_code_error: - The reasons for the region code error - setting_error: - The reasons for the setting error - string_format_error: - The reasons for the string format error - string_length_error: - The reasons for the string length error - operation_access_denied_error: - The reasons for the operation access denied error - resource_access_denied_error: - The reasons for the resource access denied error - resource_count_limit_exceeded_error: - The reasons for the resource count limit exceeded error - youtube_video_registration_error: - The reasons for YouTube video registration errors. - ad_group_bid_modifier_error: - The reasons for the ad group bid modifier error - context_error: - The reasons for the context error - field_error: - The reasons for the field error - shared_set_error: - The reasons for the shared set error - shared_criterion_error: - The reasons for the shared criterion error - campaign_shared_set_error: - The reasons for the campaign shared set error - conversion_action_error: - The reasons for the conversion action error - conversion_adjustment_upload_error: - The reasons for the conversion adjustment upload error - conversion_upload_error: - The reasons for the conversion upload error - header_error: - The reasons for the header error. - database_error: - The reasons for the database error. - policy_finding_error: - The reasons for the policy finding error. - enum_error: - The reason for enum error. - keyword_plan_error: - 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_ad_group_error: - The reason for keyword plan ad group error. - keyword_plan_keyword_error: - The reason for keyword plan keyword error. - keyword_plan_idea_error: - The reason for keyword idea error. - account_budget_proposal_error: - The reasons for account budget proposal errors. - user_list_error: - The reasons for the user list error - change_status_error: - The reasons for the change status error - feed_error: - The reasons for the feed error - geo_target_constant_suggestion_error: - The reasons for the geo target constant suggestion error. - campaign_draft_error: - The reasons for the campaign draft error - feed_item_error: - The reasons for the feed item error - label_error: - The reason for the label error. - billing_setup_error: - The reasons for the billing setup error - customer_client_link_error: - The reasons for the customer client link error - customer_manager_link_error: - The reasons for the customer manager link error - feed_mapping_error: - The reasons for the feed mapping error - customer_feed_error: - The reasons for the customer feed error - ad_group_feed_error: - The reasons for the ad group feed error - campaign_feed_error: - The reasons for the campaign feed error - custom_interest_error: - The reasons for the custom interest error - campaign_experiment_error: - The reasons for the campaign experiment error - extension_feed_item_error: - The reasons for the extension feed item error - ad_parameter_error: - The reasons for the ad parameter error - feed_item_validation_error: - The reasons for the feed item validation error - extension_setting_error: - The reasons for the extension setting error - feed_item_target_error: - 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 - 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 - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ErrorCode) - )) -_sym_db.RegisterMessage(ErrorCode) - -ErrorLocation = _reflection.GeneratedProtocolMessageType('ErrorLocation', (_message.Message,), dict( - - FieldPathElement = _reflection.GeneratedProtocolMessageType('FieldPathElement', (_message.Message,), dict( - DESCRIPTOR = _ERRORLOCATION_FIELDPATHELEMENT, - __module__ = 'google.ads.googleads_v2.proto.errors.errors_pb2' - , - __doc__ = """A part of a field path. - - - Attributes: - field_name: - The name of a field or a oneof - index: - If field\_name is a repeated field, this is the element that - failed - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ErrorLocation.FieldPathElement) - )) - , - DESCRIPTOR = _ERRORLOCATION, - __module__ = 'google.ads.googleads_v2.proto.errors.errors_pb2' - , - __doc__ = """Describes the part of the request proto that caused the error. - - - Attributes: - field_path_elements: - A field path that indicates which field was invalid in the - request. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ErrorLocation) - )) -_sym_db.RegisterMessage(ErrorLocation) -_sym_db.RegisterMessage(ErrorLocation.FieldPathElement) - -ErrorDetails = _reflection.GeneratedProtocolMessageType('ErrorDetails', (_message.Message,), dict( - DESCRIPTOR = _ERRORDETAILS, - __module__ = 'google.ads.googleads_v2.proto.errors.errors_pb2' - , - __doc__ = """Additional error details. - - - 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. - policy_violation_details: - Describes an ad policy violation. - policy_finding_details: - Describes policy violation findings. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ErrorDetails) - )) -_sym_db.RegisterMessage(ErrorDetails) - -PolicyViolationDetails = _reflection.GeneratedProtocolMessageType('PolicyViolationDetails', (_message.Message,), dict( - DESCRIPTOR = _POLICYVIOLATIONDETAILS, - __module__ = 'google.ads.googleads_v2.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. - - - Attributes: - external_policy_description: - Human readable description of policy violation. - key: - Unique identifier for this violation. If policy is exemptible, - this key may be used to request exemption. - external_policy_name: - Human readable name of the policy. - is_exemptible: - Whether user can file an exemption request for this violation. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.PolicyViolationDetails) - )) -_sym_db.RegisterMessage(PolicyViolationDetails) - -PolicyFindingDetails = _reflection.GeneratedProtocolMessageType('PolicyFindingDetails', (_message.Message,), dict( - DESCRIPTOR = _POLICYFINDINGDETAILS, - __module__ = 'google.ads.googleads_v2.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. - - - Attributes: - policy_topic_entries: - The list of policy topics for the resource. Contains the - PROHIBITED or FULLY\_LIMITED policy topic entries that - prevented the resource from being saved (among any other - entries the resource may also have). - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.PolicyFindingDetails) - )) -_sym_db.RegisterMessage(PolicyFindingDetails) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/errors_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/errors_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/errors_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/extension_feed_item_error_pb2.py b/google/ads/google_ads/v2/proto/errors/extension_feed_item_error_pb2.py deleted file mode 100644 index 68ca37450..000000000 --- a/google/ads/google_ads/v2/proto/errors/extension_feed_item_error_pb2.py +++ /dev/null @@ -1,265 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/extension_feed_item_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\033ExtensionFeedItemErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/errors/extension_feed_item_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1b\x45xtensionFeedItemErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR = _descriptor.EnumDescriptor( - name='ExtensionFeedItemError', - full_name='google.ads.googleads.v2.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError', - 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='VALUE_OUT_OF_RANGE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_LIST_TOO_LONG', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_WITH_FINAL_URLS', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_WITHOUT_FINAL_URLS', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PHONE_NUMBER', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PREMIUM_RATE_NUMBER_NOT_ALLOWED', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DISALLOWED_NUMBER_TYPE', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VANITY_PHONE_NUMBER_NOT_ALLOWED', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CALL_CONVERSION_ACTION', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_APP_ID', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='QUOTES_IN_REVIEW_EXTENSION_SNIPPET', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HYPHENS_IN_REVIEW_EXTENSION_SNIPPET', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REVIEW_EXTENSION_SOURCE_INELIGIBLE', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT', index=22, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCONSISTENT_CURRENCY_CODES', index=23, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_EXTENSION_HAS_DUPLICATED_HEADERS', index=24, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION', index=25, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_EXTENSION_HAS_TOO_FEW_ITEMS', index=26, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_EXTENSION_HAS_TOO_MANY_ITEMS', index=27, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_VALUE', index=28, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE', index=29, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DEVICE_PREFERENCE', index=30, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_SCHEDULE_END', index=31, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE', index=32, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_SNIPPETS_HEADER', index=33, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_OPERATE_ON_REMOVED_FEED_ITEM', index=34, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY', index=35, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONFLICTING_CALL_CONVERSION_SETTINGS', index=36, number=36, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTENSION_TYPE_MISMATCH', index=37, number=37, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTENSION_SUBTYPE_REQUIRED', index=38, number=38, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTENSION_TYPE_UNSUPPORTED', index=39, number=39, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS', index=40, number=40, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES', index=41, number=41, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PRICE_FORMAT', index=42, number=42, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION_INVALID_TIME', index=43, number=43, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_DECIMAL_PLACES_SPECIFIED', index=44, number=44, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=166, - serialized_end=1844, -) -_sym_db.RegisterEnumDescriptor(_EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR) - - -_EXTENSIONFEEDITEMERRORENUM = _descriptor.Descriptor( - name='ExtensionFeedItemErrorEnum', - full_name='google.ads.googleads.v2.errors.ExtensionFeedItemErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=1844, -) - -_EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR.containing_type = _EXTENSIONFEEDITEMERRORENUM -DESCRIPTOR.message_types_by_name['ExtensionFeedItemErrorEnum'] = _EXTENSIONFEEDITEMERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ExtensionFeedItemErrorEnum = _reflection.GeneratedProtocolMessageType('ExtensionFeedItemErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _EXTENSIONFEEDITEMERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.ExtensionFeedItemErrorEnum) - )) -_sym_db.RegisterMessage(ExtensionFeedItemErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/extension_feed_item_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/extension_feed_item_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/extension_feed_item_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/extension_setting_error_pb2.py b/google/ads/google_ads/v2/proto/errors/extension_setting_error_pb2.py deleted file mode 100644 index 07a434305..000000000 --- a/google/ads/google_ads/v2/proto/errors/extension_setting_error_pb2.py +++ /dev/null @@ -1,349 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/extension_setting_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_v2/proto/errors/extension_setting_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\032ExtensionSettingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/errors/extension_setting_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1a\x45xtensionSettingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR = _descriptor.EnumDescriptor( - name='ExtensionSettingError', - full_name='google.ads.googleads.v2.errors.ExtensionSettingErrorEnum.ExtensionSettingError', - 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='EXTENSIONS_REQUIRED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_TYPE_EXTENSION_TYPE_MISMATCH', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FEED_TYPE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_CHANGE_FEED_ITEM_ON_CREATE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_UPDATE_NEWLY_CREATED_EXTENSION', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VALUE_OUT_OF_RANGE', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_FIELD_WITH_FINAL_URLS', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URLS_NOT_SET', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PHONE_NUMBER', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', index=22, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PREMIUM_RATE_NUMBER_NOT_ALLOWED', index=23, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DISALLOWED_NUMBER_TYPE', index=24, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', index=25, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VANITY_PHONE_NUMBER_NOT_ALLOWED', index=26, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_COUNTRY_CODE', index=27, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CALL_CONVERSION_TYPE_ID', index=28, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING', index=29, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=30, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_APP_ID', index=31, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='QUOTES_IN_REVIEW_EXTENSION_SNIPPET', index=32, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HYPHENS_IN_REVIEW_EXTENSION_SNIPPET', index=33, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE', index=34, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT', index=35, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_FIELD', index=36, number=36, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCONSISTENT_CURRENCY_CODES', index=37, number=37, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_EXTENSION_HAS_DUPLICATED_HEADERS', index=38, number=38, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION', index=39, number=39, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_EXTENSION_HAS_TOO_FEW_ITEMS', index=40, number=40, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_EXTENSION_HAS_TOO_MANY_ITEMS', index=41, number=41, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_VALUE', index=42, number=42, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DEVICE_PREFERENCE', index=43, number=43, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_SCHEDULE_END', index=44, number=45, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE', index=45, number=47, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OVERLAPPING_SCHEDULES_NOT_ALLOWED', index=46, number=48, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SCHEDULE_END_NOT_AFTER_START', index=47, number=49, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_SCHEDULES_PER_DAY', index=48, number=50, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_EXTENSION_FEED_ITEM_EDIT', index=49, number=51, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_SNIPPETS_HEADER', index=50, number=52, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY', index=51, number=53, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAMPAIGN_TARGETING_MISMATCH', index=52, number=54, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_OPERATE_ON_REMOVED_FEED', index=53, number=55, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTENSION_TYPE_REQUIRED', index=54, number=56, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION', index=55, number=57, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='START_DATE_AFTER_END_DATE', index=56, number=58, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PRICE_FORMAT', index=57, number=59, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION_INVALID_TIME', index=58, number=60, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT', index=59, number=61, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT', index=60, number=62, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_DECIMAL_PLACES_SPECIFIED', index=61, number=63, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_LANGUAGE_CODE', index=62, number=64, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_LANGUAGE', index=63, number=65, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', index=64, number=66, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTENSION_SETTING_UPDATE_IS_A_NOOP', index=65, number=67, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=163, - serialized_end=2717, -) -_sym_db.RegisterEnumDescriptor(_EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR) - - -_EXTENSIONSETTINGERRORENUM = _descriptor.Descriptor( - name='ExtensionSettingErrorEnum', - full_name='google.ads.googleads.v2.errors.ExtensionSettingErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=133, - serialized_end=2717, -) - -_EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR.containing_type = _EXTENSIONSETTINGERRORENUM -DESCRIPTOR.message_types_by_name['ExtensionSettingErrorEnum'] = _EXTENSIONSETTINGERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ExtensionSettingErrorEnum = _reflection.GeneratedProtocolMessageType('ExtensionSettingErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _EXTENSIONSETTINGERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.extension_setting_error_pb2' - , - __doc__ = """Container for enum describing validation errors of extension settings. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ExtensionSettingErrorEnum) - )) -_sym_db.RegisterMessage(ExtensionSettingErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/extension_setting_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/extension_setting_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/extension_setting_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/feed_attribute_reference_error_pb2.py b/google/ads/google_ads/v2/proto/errors/feed_attribute_reference_error_pb2.py deleted file mode 100644 index bef6c138c..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_attribute_reference_error_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/feed_attribute_reference_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB FeedAttributeReferenceErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/errors/feed_attribute_reference_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB FeedAttributeReferenceErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR = _descriptor.EnumDescriptor( - name='FeedAttributeReferenceError', - full_name='google.ads.googleads.v2.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError', - 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_REFERENCE_REMOVED_FEED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FEED_NAME', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FEED_ATTRIBUTE_NAME', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=176, - serialized_end=326, -) -_sym_db.RegisterEnumDescriptor(_FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR) - - -_FEEDATTRIBUTEREFERENCEERRORENUM = _descriptor.Descriptor( - name='FeedAttributeReferenceErrorEnum', - full_name='google.ads.googleads.v2.errors.FeedAttributeReferenceErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=140, - serialized_end=326, -) - -_FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR.containing_type = _FEEDATTRIBUTEREFERENCEERRORENUM -DESCRIPTOR.message_types_by_name['FeedAttributeReferenceErrorEnum'] = _FEEDATTRIBUTEREFERENCEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedAttributeReferenceErrorEnum = _reflection.GeneratedProtocolMessageType('FeedAttributeReferenceErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDATTRIBUTEREFERENCEERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.FeedAttributeReferenceErrorEnum) - )) -_sym_db.RegisterMessage(FeedAttributeReferenceErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/feed_attribute_reference_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/feed_attribute_reference_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_attribute_reference_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/feed_error_pb2.py b/google/ads/google_ads/v2/proto/errors/feed_error_pb2.py deleted file mode 100644 index df7a7fdbe..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_error_pb2.py +++ /dev/null @@ -1,173 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/feed_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_v2/proto/errors/feed_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\016FeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/errors/feed_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0e\x46\x65\x65\x64\x45rrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDERRORENUM_FEEDERROR = _descriptor.EnumDescriptor( - name='FeedError', - full_name='google.ads.googleads.v2.errors.FeedErrorEnum.FeedError', - 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='ATTRIBUTE_NAMES_NOT_UNIQUE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_REMOVED', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_ORIGIN_VALUE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_ORIGIN_IS_NOT_USER', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_AUTH_TOKEN_FOR_EMAIL', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_EMAIL', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_FEED_NAME', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FEED_NAME', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_OAUTH_INFO', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_ATTRIBUTES', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_BUSINESS_ACCOUNT', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_AFFILIATE_CHAIN_ID', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_SYSTEM_FEED', index=21, number=21, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=138, - serialized_end=881, -) -_sym_db.RegisterEnumDescriptor(_FEEDERRORENUM_FEEDERROR) - - -_FEEDERRORENUM = _descriptor.Descriptor( - name='FeedErrorEnum', - full_name='google.ads.googleads.v2.errors.FeedErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDERRORENUM_FEEDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=120, - serialized_end=881, -) - -_FEEDERRORENUM_FEEDERROR.containing_type = _FEEDERRORENUM -DESCRIPTOR.message_types_by_name['FeedErrorEnum'] = _FEEDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedErrorEnum = _reflection.GeneratedProtocolMessageType('FeedErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.feed_error_pb2' - , - __doc__ = """Container for enum describing possible feed errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.FeedErrorEnum) - )) -_sym_db.RegisterMessage(FeedErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/feed_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/feed_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/feed_item_error_pb2.py b/google/ads/google_ads/v2/proto/errors/feed_item_error_pb2.py deleted file mode 100644 index b40b3f406..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_item_error_pb2.py +++ /dev/null @@ -1,129 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/feed_item_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_v2/proto/errors/feed_item_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022FeedItemErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/errors/feed_item_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x12\x46\x65\x65\x64ItemErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDITEMERRORENUM_FEEDITEMERROR = _descriptor.EnumDescriptor( - name='FeedItemError', - full_name='google.ads.googleads.v2.errors.FeedItemErrorEnum.FeedItemError', - 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_CONVERT_ATTRIBUTE_VALUE_FROM_STRING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_OPERATE_ON_REMOVED_FEED_ITEM', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEY_ATTRIBUTES_NOT_FOUND', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_URL', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_KEY_ATTRIBUTES', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEY_ATTRIBUTES_NOT_UNIQUE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE', index=10, number=10, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=147, - serialized_end=516, -) -_sym_db.RegisterEnumDescriptor(_FEEDITEMERRORENUM_FEEDITEMERROR) - - -_FEEDITEMERRORENUM = _descriptor.Descriptor( - name='FeedItemErrorEnum', - full_name='google.ads.googleads.v2.errors.FeedItemErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDITEMERRORENUM_FEEDITEMERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=125, - serialized_end=516, -) - -_FEEDITEMERRORENUM_FEEDITEMERROR.containing_type = _FEEDITEMERRORENUM -DESCRIPTOR.message_types_by_name['FeedItemErrorEnum'] = _FEEDITEMERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.feed_item_error_pb2' - , - __doc__ = """Container for enum describing possible feed item errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.FeedItemErrorEnum) - )) -_sym_db.RegisterMessage(FeedItemErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/feed_item_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/feed_item_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_item_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/feed_item_target_error_pb2.py b/google/ads/google_ads/v2/proto/errors/feed_item_target_error_pb2.py deleted file mode 100644 index 4eeb0cd54..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_item_target_error_pb2.py +++ /dev/null @@ -1,125 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/feed_item_target_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\030FeedItemTargetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/errors/feed_item_target_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x18\x46\x65\x65\x64ItemTargetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR = _descriptor.EnumDescriptor( - name='FeedItemTargetError', - full_name='google.ads.googleads.v2.errors.FeedItemTargetErrorEnum.FeedItemTargetError', - 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='MUST_SET_TARGET_ONEOF_ON_CREATE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_ITEM_TARGET_ALREADY_EXISTS', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_ITEM_SCHEDULES_CANNOT_OVERLAP', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_SCHEDULES_PER_DAY', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - 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=512, -) -_sym_db.RegisterEnumDescriptor(_FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR) - - -_FEEDITEMTARGETERRORENUM = _descriptor.Descriptor( - name='FeedItemTargetErrorEnum', - full_name='google.ads.googleads.v2.errors.FeedItemTargetErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=512, -) - -_FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR.containing_type = _FEEDITEMTARGETERRORENUM -DESCRIPTOR.message_types_by_name['FeedItemTargetErrorEnum'] = _FEEDITEMTARGETERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemTargetErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMTARGETERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.FeedItemTargetErrorEnum) - )) -_sym_db.RegisterMessage(FeedItemTargetErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/feed_item_target_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/feed_item_target_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_item_target_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/feed_item_validation_error_pb2.py b/google/ads/google_ads/v2/proto/errors/feed_item_validation_error_pb2.py deleted file mode 100644 index 8048e9e7d..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_item_validation_error_pb2.py +++ /dev/null @@ -1,481 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/feed_item_validation_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\034FeedItemValidationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/errors/feed_item_validation_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1c\x46\x65\x65\x64ItemValidationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR = _descriptor.EnumDescriptor( - name='FeedItemValidationError', - full_name='google.ads.googleads.v2.errors.FeedItemValidationErrorEnum.FeedItemValidationError', - 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='STRING_TOO_SHORT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRING_TOO_LONG', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VALUE_NOT_SPECIFIED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PHONE_NUMBER', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PREMIUM_RATE_NUMBER_NOT_ALLOWED', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DISALLOWED_NUMBER_TYPE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VALUE_OUT_OF_RANGE', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING', 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='INVALID_APP_ID', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_ATTRIBUTES_FOR_FIELDS', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TYPE_ID', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_EMAIL_ADDRESS', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_HTTPS_URL', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_DELIVERY_ADDRESS', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='START_DATE_AFTER_END_DATE', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_FEED_ITEM_START_TIME', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_FEED_ITEM_END_TIME', index=22, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_FEED_ITEM_ID', index=23, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VANITY_PHONE_NUMBER_NOT_ALLOWED', index=24, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_REVIEW_EXTENSION_SNIPPET', index=25, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_NUMBER_FORMAT', index=26, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DATE_FORMAT', index=27, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PRICE_FORMAT', index=28, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNKNOWN_PLACEHOLDER_FIELD', index=29, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE', index=30, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REVIEW_EXTENSION_SOURCE_INELIGIBLE', index=31, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HYPHENS_IN_REVIEW_EXTENSION_SNIPPET', index=32, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET', index=33, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='QUOTES_IN_REVIEW_EXTENSION_SNIPPET', index=34, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FORM_ENCODED_PARAMS', index=35, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_URL_PARAMETER_NAME', index=36, number=36, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_GEOCODING_RESULT', index=37, number=37, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT', index=38, number=38, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', index=39, number=39, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PLACEHOLDER_FIELD_ID', index=40, number=40, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_URL_TAG', index=41, number=41, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LIST_TOO_LONG', index=42, number=42, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_ATTRIBUTES_COMBINATION', index=43, number=43, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_VALUES', index=44, number=44, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CALL_CONVERSION_ACTION_ID', index=45, number=45, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_WITHOUT_FINAL_URLS', index=46, number=46, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APP_ID_DOESNT_EXIST_IN_APP_STORE', index=47, number=47, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FINAL_URL', index=48, number=48, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TRACKING_URL', index=49, number=49, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL', index=50, number=50, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LIST_TOO_SHORT', index=51, number=51, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_USER_ACTION', index=52, number=52, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TYPE_NAME', index=53, number=53, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_EVENT_CHANGE_STATUS', index=54, number=54, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_SNIPPETS_HEADER', index=55, number=55, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_ANDROID_APP_LINK', index=56, number=56, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=57, number=57, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RESERVED_KEYWORD_OTHER', index=58, number=58, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_OPTION_LABELS', index=59, number=59, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_OPTION_PREFILLS', index=60, number=60, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNEQUAL_LIST_LENGTHS', index=61, number=61, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCONSISTENT_CURRENCY_CODES', index=62, number=62, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_EXTENSION_HAS_DUPLICATED_HEADERS', index=63, number=63, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION', index=64, number=64, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PRICE_EXTENSION_HAS_TOO_FEW_ITEMS', index=65, number=65, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_VALUE', index=66, number=66, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FINAL_MOBILE_URL', index=67, number=67, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_KEYWORDLESS_AD_RULE_LABEL', index=68, number=68, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VALUE_TRACK_PARAMETER_NOT_SUPPORTED', index=69, number=69, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE', index=70, number=70, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_IOS_APP_LINK', index=71, number=71, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID', index=72, number=72, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION_INVALID_TIME', index=73, number=73, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF', index=74, number=74, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT', index=75, number=75, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_DECIMAL_PLACES_SPECIFIED', index=76, number=76, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AD_CUSTOMIZERS_NOT_ALLOWED', index=77, number=77, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_LANGUAGE_CODE', index=78, number=78, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_LANGUAGE', index=79, number=79, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IF_FUNCTION_NOT_ALLOWED', index=80, number=80, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FINAL_URL_SUFFIX', index=81, number=81, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TAG_IN_FINAL_URL_SUFFIX', index=82, number=82, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FINAL_URL_SUFFIX_FORMAT', index=83, number=83, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', index=84, number=84, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED', index=85, number=85, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_DELIVERY_OPTION_IS_SET', index=86, number=86, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CONVERSION_REPORTING_STATE', index=87, number=87, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMAGE_SIZE_WRONG', index=88, number=88, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY', index=89, number=89, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY', index=90, number=90, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_LATITUDE_VALUE', index=91, number=91, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_LONGITUDE_VALUE', index=92, number=92, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_LABELS', index=93, number=93, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_IMAGE_URL', index=94, number=94, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_LATITUDE_VALUE', index=95, number=95, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - 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=3439, -) -_sym_db.RegisterEnumDescriptor(_FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR) - - -_FEEDITEMVALIDATIONERRORENUM = _descriptor.Descriptor( - name='FeedItemValidationErrorEnum', - full_name='google.ads.googleads.v2.errors.FeedItemValidationErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=136, - serialized_end=3439, -) - -_FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR.containing_type = _FEEDITEMVALIDATIONERRORENUM -DESCRIPTOR.message_types_by_name['FeedItemValidationErrorEnum'] = _FEEDITEMVALIDATIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemValidationErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemValidationErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMVALIDATIONERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.FeedItemValidationErrorEnum) - )) -_sym_db.RegisterMessage(FeedItemValidationErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/feed_item_validation_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/feed_item_validation_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_item_validation_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/feed_mapping_error_pb2.py b/google/ads/google_ads/v2/proto/errors/feed_mapping_error_pb2.py deleted file mode 100644 index 11f449899..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_mapping_error_pb2.py +++ /dev/null @@ -1,157 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/feed_mapping_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_v2/proto/errors/feed_mapping_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\025FeedMappingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/errors/feed_mapping_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x15\x46\x65\x65\x64MappingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR = _descriptor.EnumDescriptor( - name='FeedMappingError', - full_name='google.ads.googleads.v2.errors.FeedMappingErrorEnum.FeedMappingError', - 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_PLACEHOLDER_FIELD', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CRITERION_FIELD', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PLACEHOLDER_TYPE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CRITERION_TYPE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_ATTRIBUTE_FIELD_MAPPINGS', index=6, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_ATTRIBUTE_TYPE_MISMATCH', index=7, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED', index=8, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE', index=9, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE', index=10, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD', index=11, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD', index=12, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS', index=13, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS', index=14, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED', index=15, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED', index=16, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE', index=17, number=18, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=871, -) -_sym_db.RegisterEnumDescriptor(_FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR) - - -_FEEDMAPPINGERRORENUM = _descriptor.Descriptor( - name='FeedMappingErrorEnum', - full_name='google.ads.googleads.v2.errors.FeedMappingErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=871, -) - -_FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR.containing_type = _FEEDMAPPINGERRORENUM -DESCRIPTOR.message_types_by_name['FeedMappingErrorEnum'] = _FEEDMAPPINGERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedMappingErrorEnum = _reflection.GeneratedProtocolMessageType('FeedMappingErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FEEDMAPPINGERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.feed_mapping_error_pb2' - , - __doc__ = """Container for enum describing possible feed item errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.FeedMappingErrorEnum) - )) -_sym_db.RegisterMessage(FeedMappingErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/feed_mapping_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/feed_mapping_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/feed_mapping_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/field_error_pb2.py b/google/ads/google_ads/v2/proto/errors/field_error_pb2.py deleted file mode 100644 index bf61210ca..000000000 --- a/google/ads/google_ads/v2/proto/errors/field_error_pb2.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/field_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_v2/proto/errors/field_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\017FieldErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/errors/field_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0f\x46ieldErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FIELDERRORENUM_FIELDERROR = _descriptor.EnumDescriptor( - name='FieldError', - full_name='google.ads.googleads.v2.errors.FieldErrorEnum.FieldError', - 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='REQUIRED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMMUTABLE_FIELD', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_VALUE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VALUE_MUST_BE_UNSET', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REQUIRED_NONEMPTY_LIST', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIELD_CANNOT_BE_CLEARED', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BLACKLISTED_VALUE', index=8, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=140, - serialized_end=341, -) -_sym_db.RegisterEnumDescriptor(_FIELDERRORENUM_FIELDERROR) - - -_FIELDERRORENUM = _descriptor.Descriptor( - name='FieldErrorEnum', - full_name='google.ads.googleads.v2.errors.FieldErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FIELDERRORENUM_FIELDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=341, -) - -_FIELDERRORENUM_FIELDERROR.containing_type = _FIELDERRORENUM -DESCRIPTOR.message_types_by_name['FieldErrorEnum'] = _FIELDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FieldErrorEnum = _reflection.GeneratedProtocolMessageType('FieldErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FIELDERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.field_error_pb2' - , - __doc__ = """Container for enum describing possible field errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.FieldErrorEnum) - )) -_sym_db.RegisterMessage(FieldErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/field_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/field_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/field_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/field_mask_error_pb2.py b/google/ads/google_ads/v2/proto/errors/field_mask_error_pb2.py deleted file mode 100644 index 37cc54cf2..000000000 --- a/google/ads/google_ads/v2/proto/errors/field_mask_error_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/field_mask_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_v2/proto/errors/field_mask_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023FieldMaskErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/errors/field_mask_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x13\x46ieldMaskErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FIELDMASKERRORENUM_FIELDMASKERROR = _descriptor.EnumDescriptor( - name='FieldMaskError', - full_name='google.ads.googleads.v2.errors.FieldMaskErrorEnum.FieldMaskError', - 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='FIELD_MASK_MISSING', index=2, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIELD_MASK_NOT_ALLOWED', index=3, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIELD_NOT_FOUND', index=4, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIELD_HAS_SUBFIELDS', index=5, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=149, - serialized_end=293, -) -_sym_db.RegisterEnumDescriptor(_FIELDMASKERRORENUM_FIELDMASKERROR) - - -_FIELDMASKERRORENUM = _descriptor.Descriptor( - name='FieldMaskErrorEnum', - full_name='google.ads.googleads.v2.errors.FieldMaskErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FIELDMASKERRORENUM_FIELDMASKERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=293, -) - -_FIELDMASKERRORENUM_FIELDMASKERROR.containing_type = _FIELDMASKERRORENUM -DESCRIPTOR.message_types_by_name['FieldMaskErrorEnum'] = _FIELDMASKERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FieldMaskErrorEnum = _reflection.GeneratedProtocolMessageType('FieldMaskErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FIELDMASKERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.field_mask_error_pb2' - , - __doc__ = """Container for enum describing possible field mask errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.FieldMaskErrorEnum) - )) -_sym_db.RegisterMessage(FieldMaskErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/field_mask_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/field_mask_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/field_mask_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/function_error_pb2.py b/google/ads/google_ads/v2/proto/errors/function_error_pb2.py deleted file mode 100644 index b5ab5af79..000000000 --- a/google/ads/google_ads/v2/proto/errors/function_error_pb2.py +++ /dev/null @@ -1,157 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/function_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_v2/proto/errors/function_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022FunctionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/errors/function_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x12\x46unctionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FUNCTIONERRORENUM_FUNCTIONERROR = _descriptor.EnumDescriptor( - name='FunctionError', - full_name='google.ads.googleads.v2.errors.FunctionErrorEnum.FunctionError', - 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_FUNCTION_FORMAT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATA_TYPE_MISMATCH', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CONJUNCTION_OPERANDS', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_NUMBER_OF_OPERANDS', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_OPERAND_TYPE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_OPERATOR', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_REQUEST_CONTEXT_TYPE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FUNCTION_FOR_CALL_PLACEHOLDER', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FUNCTION_FOR_PLACEHOLDER', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_OPERAND', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_CONSTANT_OPERAND_VALUE', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CONSTANT_OPERAND_VALUE', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_NESTING', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLE_FEED_IDS_NOT_SUPPORTED', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_ATTRIBUTE_NAME', index=17, number=17, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=146, - serialized_end=701, -) -_sym_db.RegisterEnumDescriptor(_FUNCTIONERRORENUM_FUNCTIONERROR) - - -_FUNCTIONERRORENUM = _descriptor.Descriptor( - name='FunctionErrorEnum', - full_name='google.ads.googleads.v2.errors.FunctionErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FUNCTIONERRORENUM_FUNCTIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=124, - serialized_end=701, -) - -_FUNCTIONERRORENUM_FUNCTIONERROR.containing_type = _FUNCTIONERRORENUM -DESCRIPTOR.message_types_by_name['FunctionErrorEnum'] = _FUNCTIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FunctionErrorEnum = _reflection.GeneratedProtocolMessageType('FunctionErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FUNCTIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.function_error_pb2' - , - __doc__ = """Container for enum describing possible function errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.FunctionErrorEnum) - )) -_sym_db.RegisterMessage(FunctionErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/function_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/function_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/function_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/function_parsing_error_pb2.py b/google/ads/google_ads/v2/proto/errors/function_parsing_error_pb2.py deleted file mode 100644 index 380ac6490..000000000 --- a/google/ads/google_ads/v2/proto/errors/function_parsing_error_pb2.py +++ /dev/null @@ -1,137 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/function_parsing_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_v2/proto/errors/function_parsing_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\031FunctionParsingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/errors/function_parsing_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x19\x46unctionParsingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR = _descriptor.EnumDescriptor( - name='FunctionParsingError', - full_name='google.ads.googleads.v2.errors.FunctionParsingErrorEnum.FunctionParsingError', - 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='NO_MORE_INPUT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_CHARACTER', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNEXPECTED_SEPARATOR', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNMATCHED_LEFT_BRACKET', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNMATCHED_RIGHT_BRACKET', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_NESTED_FUNCTIONS', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_RIGHT_HAND_OPERAND', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_OPERATOR_NAME', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_OPERANDS', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_OPERANDS', index=12, number=12, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=161, - serialized_end=518, -) -_sym_db.RegisterEnumDescriptor(_FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR) - - -_FUNCTIONPARSINGERRORENUM = _descriptor.Descriptor( - name='FunctionParsingErrorEnum', - full_name='google.ads.googleads.v2.errors.FunctionParsingErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=518, -) - -_FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR.containing_type = _FUNCTIONPARSINGERRORENUM -DESCRIPTOR.message_types_by_name['FunctionParsingErrorEnum'] = _FUNCTIONPARSINGERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FunctionParsingErrorEnum = _reflection.GeneratedProtocolMessageType('FunctionParsingErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _FUNCTIONPARSINGERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.function_parsing_error_pb2' - , - __doc__ = """Container for enum describing possible function parsing errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.FunctionParsingErrorEnum) - )) -_sym_db.RegisterMessage(FunctionParsingErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/function_parsing_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/function_parsing_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/function_parsing_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/geo_target_constant_suggestion_error_pb2.py b/google/ads/google_ads/v2/proto/errors/geo_target_constant_suggestion_error_pb2.py deleted file mode 100644 index 7363e478d..000000000 --- a/google/ads/google_ads/v2/proto/errors/geo_target_constant_suggestion_error_pb2.py +++ /dev/null @@ -1,110 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/geo_target_constant_suggestion_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB%GeoTargetConstantSuggestionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nOgoogle/ads/googleads_v2/proto/errors/geo_target_constant_suggestion_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB%GeoTargetConstantSuggestionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR = _descriptor.EnumDescriptor( - name='GeoTargetConstantSuggestionError', - full_name='google.ads.googleads.v2.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError', - 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='LOCATION_NAME_SIZE_LIMIT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LOCATION_NAME_LIMIT', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_COUNTRY_CODE', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REQUEST_PARAMETERS_UNSET', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=187, - serialized_end=362, -) -_sym_db.RegisterEnumDescriptor(_GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR) - - -_GEOTARGETCONSTANTSUGGESTIONERRORENUM = _descriptor.Descriptor( - name='GeoTargetConstantSuggestionErrorEnum', - full_name='google.ads.googleads.v2.errors.GeoTargetConstantSuggestionErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=146, - serialized_end=362, -) - -_GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR.containing_type = _GEOTARGETCONSTANTSUGGESTIONERRORENUM -DESCRIPTOR.message_types_by_name['GeoTargetConstantSuggestionErrorEnum'] = _GEOTARGETCONSTANTSUGGESTIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GeoTargetConstantSuggestionErrorEnum = _reflection.GeneratedProtocolMessageType('GeoTargetConstantSuggestionErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _GEOTARGETCONSTANTSUGGESTIONERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.GeoTargetConstantSuggestionErrorEnum) - )) -_sym_db.RegisterMessage(GeoTargetConstantSuggestionErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/header_error_pb2.py b/google/ads/google_ads/v2/proto/errors/header_error_pb2.py deleted file mode 100644 index 7b26a039f..000000000 --- a/google/ads/google_ads/v2/proto/errors/header_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/header_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_v2/proto/errors/header_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\020HeaderErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n7google/ads/googleads_v2/proto/errors/header_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x10HeaderErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_HEADERERRORENUM_HEADERERROR = _descriptor.EnumDescriptor( - name='HeaderError', - full_name='google.ads.googleads.v2.errors.HeaderErrorEnum.HeaderError', - 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_LOGIN_CUSTOMER_ID', index=2, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=140, - serialized_end=214, -) -_sym_db.RegisterEnumDescriptor(_HEADERERRORENUM_HEADERERROR) - - -_HEADERERRORENUM = _descriptor.Descriptor( - name='HeaderErrorEnum', - full_name='google.ads.googleads.v2.errors.HeaderErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _HEADERERRORENUM_HEADERERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=214, -) - -_HEADERERRORENUM_HEADERERROR.containing_type = _HEADERERRORENUM -DESCRIPTOR.message_types_by_name['HeaderErrorEnum'] = _HEADERERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -HeaderErrorEnum = _reflection.GeneratedProtocolMessageType('HeaderErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _HEADERERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.header_error_pb2' - , - __doc__ = """Container for enum describing possible header errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.HeaderErrorEnum) - )) -_sym_db.RegisterMessage(HeaderErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/header_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/header_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/header_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/id_error_pb2.py b/google/ads/google_ads/v2/proto/errors/id_error_pb2.py deleted file mode 100644 index 5ff0047de..000000000 --- a/google/ads/google_ads/v2/proto/errors/id_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/id_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_v2/proto/errors/id_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\014IdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n3google/ads/googleads_v2/proto/errors/id_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0cIdErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_IDERRORENUM_IDERROR = _descriptor.EnumDescriptor( - name='IdError', - full_name='google.ads.googleads.v2.errors.IdErrorEnum.IdError', - 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_FOUND', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=132, - serialized_end=186, -) -_sym_db.RegisterEnumDescriptor(_IDERRORENUM_IDERROR) - - -_IDERRORENUM = _descriptor.Descriptor( - name='IdErrorEnum', - full_name='google.ads.googleads.v2.errors.IdErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _IDERRORENUM_IDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=117, - serialized_end=186, -) - -_IDERRORENUM_IDERROR.containing_type = _IDERRORENUM -DESCRIPTOR.message_types_by_name['IdErrorEnum'] = _IDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -IdErrorEnum = _reflection.GeneratedProtocolMessageType('IdErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _IDERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.id_error_pb2' - , - __doc__ = """Container for enum describing possible id errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.IdErrorEnum) - )) -_sym_db.RegisterMessage(IdErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/id_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/id_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/id_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/image_error_pb2.py b/google/ads/google_ads/v2/proto/errors/image_error_pb2.py deleted file mode 100644 index 216378a79..000000000 --- a/google/ads/google_ads/v2/proto/errors/image_error_pb2.py +++ /dev/null @@ -1,241 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/image_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_v2/proto/errors/image_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\017ImageErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/errors/image_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0fImageErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_IMAGEERRORENUM_IMAGEERROR = _descriptor.EnumDescriptor( - name='ImageError', - full_name='google.ads.googleads.v2.errors.ImageErrorEnum.ImageError', - 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_IMAGE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STORAGE_ERROR', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_REQUEST', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNEXPECTED_SIZE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANIMATED_NOT_ALLOWED', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANIMATION_TOO_LONG', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SERVER_ERROR', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CMYK_JPEG_NOT_ALLOWED', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_NOT_ALLOWED', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_WITHOUT_CLICKTAG', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_ERROR_AFTER_FIXING_CLICK_TAG', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANIMATED_VISUAL_EFFECT', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_ERROR', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LAYOUT_PROBLEM', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROBLEM_READING_IMAGE_FILE', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ERROR_STORING_IMAGE', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ASPECT_RATIO_NOT_ALLOWED', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_HAS_NETWORK_OBJECTS', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_HAS_NETWORK_METHODS', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_HAS_URL', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_HAS_MOUSE_TRACKING', index=22, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_HAS_RANDOM_NUM', index=23, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_SELF_TARGETS', index=24, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_BAD_GETURL_TARGET', index=25, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_VERSION_NOT_SUPPORTED', index=26, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_WITHOUT_HARD_CODED_CLICK_URL', index=27, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FLASH_FILE', index=28, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FAILED_TO_FIX_CLICK_TAG_IN_FLASH', index=29, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_ACCESSES_NETWORK_RESOURCES', index=30, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_EXTERNAL_JS_CALL', index=31, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FLASH_EXTERNAL_FS_CALL', index=32, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FILE_TOO_LARGE', index=33, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMAGE_DATA_TOO_LARGE', index=34, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMAGE_PROCESSING_ERROR', index=35, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='IMAGE_TOO_SMALL', index=36, number=36, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_INPUT', index=37, number=37, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROBLEM_READING_FILE', index=38, number=38, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=140, - serialized_end=1155, -) -_sym_db.RegisterEnumDescriptor(_IMAGEERRORENUM_IMAGEERROR) - - -_IMAGEERRORENUM = _descriptor.Descriptor( - name='ImageErrorEnum', - full_name='google.ads.googleads.v2.errors.ImageErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _IMAGEERRORENUM_IMAGEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=1155, -) - -_IMAGEERRORENUM_IMAGEERROR.containing_type = _IMAGEERRORENUM -DESCRIPTOR.message_types_by_name['ImageErrorEnum'] = _IMAGEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ImageErrorEnum = _reflection.GeneratedProtocolMessageType('ImageErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _IMAGEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.image_error_pb2' - , - __doc__ = """Container for enum describing possible image errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ImageErrorEnum) - )) -_sym_db.RegisterMessage(ImageErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/image_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/image_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/image_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/internal_error_pb2.py b/google/ads/google_ads/v2/proto/errors/internal_error_pb2.py deleted file mode 100644 index a1128a788..000000000 --- a/google/ads/google_ads/v2/proto/errors/internal_error_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/internal_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_v2/proto/errors/internal_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022InternalErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/errors/internal_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x12InternalErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_INTERNALERRORENUM_INTERNALERROR = _descriptor.EnumDescriptor( - name='InternalError', - full_name='google.ads.googleads.v2.errors.InternalErrorEnum.InternalError', - 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='INTERNAL_ERROR', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ERROR_CODE_NOT_PUBLISHED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TRANSIENT_ERROR', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=145, - serialized_end=261, -) -_sym_db.RegisterEnumDescriptor(_INTERNALERRORENUM_INTERNALERROR) - - -_INTERNALERRORENUM = _descriptor.Descriptor( - name='InternalErrorEnum', - full_name='google.ads.googleads.v2.errors.InternalErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _INTERNALERRORENUM_INTERNALERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=124, - serialized_end=261, -) - -_INTERNALERRORENUM_INTERNALERROR.containing_type = _INTERNALERRORENUM -DESCRIPTOR.message_types_by_name['InternalErrorEnum'] = _INTERNALERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -InternalErrorEnum = _reflection.GeneratedProtocolMessageType('InternalErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _INTERNALERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.internal_error_pb2' - , - __doc__ = """Container for enum describing possible internal errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.InternalErrorEnum) - )) -_sym_db.RegisterMessage(InternalErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/internal_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/internal_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/internal_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/invoice_error_pb2.py b/google/ads/google_ads/v2/proto/errors/invoice_error_pb2.py deleted file mode 100644 index adf2eee4f..000000000 --- a/google/ads/google_ads/v2/proto/errors/invoice_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/errors/invoice_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\021InvoiceErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/errors/invoice_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x11InvoiceErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_INVOICEERRORENUM_INVOICEERROR = _descriptor.EnumDescriptor( - name='InvoiceError', - full_name='google.ads.googleads.v2.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.v2.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_v2.proto.errors.invoice_error_pb2' - , - __doc__ = """Container for enum describing possible invoice errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.InvoiceErrorEnum) - )) -_sym_db.RegisterMessage(InvoiceErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/invoice_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/invoice_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/invoice_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_ad_group_error_pb2.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_ad_group_error_pb2.py deleted file mode 100644 index 24555e5ab..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_ad_group_error_pb2.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/keyword_plan_ad_group_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\034KeywordPlanAdGroupErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/errors/keyword_plan_ad_group_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1cKeywordPlanAdGroupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR = _descriptor.EnumDescriptor( - name='KeywordPlanAdGroupError', - full_name='google.ads.googleads.v2.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError', - 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_NAME', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_NAME', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=167, - serialized_end=260, -) -_sym_db.RegisterEnumDescriptor(_KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR) - - -_KEYWORDPLANADGROUPERRORENUM = _descriptor.Descriptor( - name='KeywordPlanAdGroupErrorEnum', - full_name='google.ads.googleads.v2.errors.KeywordPlanAdGroupErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=136, - serialized_end=260, -) - -_KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR.containing_type = _KEYWORDPLANADGROUPERRORENUM -DESCRIPTOR.message_types_by_name['KeywordPlanAdGroupErrorEnum'] = _KEYWORDPLANADGROUPERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanAdGroupErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanAdGroupErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANADGROUPERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.KeywordPlanAdGroupErrorEnum) - )) -_sym_db.RegisterMessage(KeywordPlanAdGroupErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_campaign_error_pb2.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_campaign_error_pb2.py deleted file mode 100644 index 8ba3038e4..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_campaign_error_pb2.py +++ /dev/null @@ -1,114 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/keyword_plan_campaign_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\035KeywordPlanCampaignErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/errors/keyword_plan_campaign_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1dKeywordPlanCampaignErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR = _descriptor.EnumDescriptor( - name='KeywordPlanCampaignError', - full_name='google.ads.googleads.v2.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError', - 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_NAME', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_LANGUAGES', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_GEOS', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_NAME', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MAX_GEOS_EXCEEDED', index=6, number=6, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=170, - serialized_end=328, -) -_sym_db.RegisterEnumDescriptor(_KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR) - - -_KEYWORDPLANCAMPAIGNERRORENUM = _descriptor.Descriptor( - name='KeywordPlanCampaignErrorEnum', - full_name='google.ads.googleads.v2.errors.KeywordPlanCampaignErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=137, - serialized_end=328, -) - -_KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR.containing_type = _KEYWORDPLANCAMPAIGNERRORENUM -DESCRIPTOR.message_types_by_name['KeywordPlanCampaignErrorEnum'] = _KEYWORDPLANCAMPAIGNERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanCampaignErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANCAMPAIGNERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.KeywordPlanCampaignErrorEnum) - )) -_sym_db.RegisterMessage(KeywordPlanCampaignErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_campaign_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_campaign_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_campaign_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_error_pb2.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_error_pb2.py deleted file mode 100644 index 992b2e43b..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_error_pb2.py +++ /dev/null @@ -1,151 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/keyword_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_v2/proto/errors/keyword_plan_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\025KeywordPlanErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/errors/keyword_plan_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x15KeywordPlanErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_KEYWORDPLANERRORENUM_KEYWORDPLANERROR = _descriptor.EnumDescriptor( - name='KeywordPlanError', - full_name='google.ads.googleads.v2.errors.KeywordPlanErrorEnum.KeywordPlanError', - 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='BID_MULTIPLIER_OUT_OF_RANGE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_TOO_HIGH', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_TOO_LOW', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_TOO_MANY_FRACTIONAL_DIGITS', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DAILY_BUDGET_TOO_LOW', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_VALUE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEYWORD_PLAN_HAS_NO_KEYWORDS', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEYWORD_PLAN_NOT_ENABLED', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='KEYWORD_PLAN_NOT_FOUND', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_BID', index=12, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_FORECAST_PERIOD', index=13, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FORECAST_DATE_RANGE', index=14, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_NAME', index=15, number=16, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=584, -) -_sym_db.RegisterEnumDescriptor(_KEYWORDPLANERRORENUM_KEYWORDPLANERROR) - - -_KEYWORDPLANERRORENUM = _descriptor.Descriptor( - name='KeywordPlanErrorEnum', - full_name='google.ads.googleads.v2.errors.KeywordPlanErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _KEYWORDPLANERRORENUM_KEYWORDPLANERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=584, -) - -_KEYWORDPLANERRORENUM_KEYWORDPLANERROR.containing_type = _KEYWORDPLANERRORENUM -DESCRIPTOR.message_types_by_name['KeywordPlanErrorEnum'] = _KEYWORDPLANERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.KeywordPlanErrorEnum) - )) -_sym_db.RegisterMessage(KeywordPlanErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_idea_error_pb2.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_idea_error_pb2.py deleted file mode 100644 index 124a3bc7b..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_idea_error_pb2.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/keyword_plan_idea_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\031KeywordPlanIdeaErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/errors/keyword_plan_idea_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x19KeywordPlanIdeaErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR = _descriptor.EnumDescriptor( - name='KeywordPlanIdeaError', - full_name='google.ads.googleads.v2.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError', - 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='URL_CRAWL_ERROR', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_VALUE', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=160, - serialized_end=252, -) -_sym_db.RegisterEnumDescriptor(_KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR) - - -_KEYWORDPLANIDEAERRORENUM = _descriptor.Descriptor( - name='KeywordPlanIdeaErrorEnum', - full_name='google.ads.googleads.v2.errors.KeywordPlanIdeaErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=252, -) - -_KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR.containing_type = _KEYWORDPLANIDEAERRORENUM -DESCRIPTOR.message_types_by_name['KeywordPlanIdeaErrorEnum'] = _KEYWORDPLANIDEAERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanIdeaErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanIdeaErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANIDEAERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.keyword_plan_idea_error_pb2' - , - __doc__ = """Container for enum describing possible errors from - KeywordPlanIdeaService. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.KeywordPlanIdeaErrorEnum) - )) -_sym_db.RegisterMessage(KeywordPlanIdeaErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_idea_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_idea_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_idea_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_keyword_error_pb2.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_keyword_error_pb2.py deleted file mode 100644 index f03855661..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_keyword_error_pb2.py +++ /dev/null @@ -1,118 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/keyword_plan_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_v2/proto/errors/keyword_plan_keyword_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\034KeywordPlanKeywordErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/errors/keyword_plan_keyword_error.proto\x12\x1egoogle.ads.googleads.v2.errors\x1a\x1cgoogle/api/annotations.proto\"\x82\x02\n\x1bKeywordPlanKeywordErrorEnum\"\xe2\x01\n\x17KeywordPlanKeywordError\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\x42\xf7\x01\n\"com.google.ads.googleads.v2.errorsB\x1cKeywordPlanKeywordErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_KEYWORDPLANKEYWORDERRORENUM_KEYWORDPLANKEYWORDERROR = _descriptor.EnumDescriptor( - name='KeywordPlanKeywordError', - full_name='google.ads.googleads.v2.errors.KeywordPlanKeywordErrorEnum.KeywordPlanKeywordError', - 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), - ], - containing_type=None, - serialized_options=None, - serialized_start=168, - serialized_end=394, -) -_sym_db.RegisterEnumDescriptor(_KEYWORDPLANKEYWORDERRORENUM_KEYWORDPLANKEYWORDERROR) - - -_KEYWORDPLANKEYWORDERRORENUM = _descriptor.Descriptor( - name='KeywordPlanKeywordErrorEnum', - full_name='google.ads.googleads.v2.errors.KeywordPlanKeywordErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _KEYWORDPLANKEYWORDERRORENUM_KEYWORDPLANKEYWORDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=136, - serialized_end=394, -) - -_KEYWORDPLANKEYWORDERRORENUM_KEYWORDPLANKEYWORDERROR.containing_type = _KEYWORDPLANKEYWORDERRORENUM -DESCRIPTOR.message_types_by_name['KeywordPlanKeywordErrorEnum'] = _KEYWORDPLANKEYWORDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanKeywordErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanKeywordErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANKEYWORDERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.keyword_plan_keyword_error_pb2' - , - __doc__ = """Container for enum describing possible errors from applying a keyword or - a negative keyword from a keyword plan. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.KeywordPlanKeywordErrorEnum) - )) -_sym_db.RegisterMessage(KeywordPlanKeywordErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_keyword_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_keyword_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_keyword_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_negative_keyword_error_pb2.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_negative_keyword_error_pb2.py deleted file mode 100644 index 02d5f2925..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_negative_keyword_error_pb2.py +++ /dev/null @@ -1,94 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/keyword_plan_negative_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_v2/proto/errors/keyword_plan_negative_keyword_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB$KeywordPlanNegativeKeywordErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nNgoogle/ads/googleads_v2/proto/errors/keyword_plan_negative_keyword_error.proto\x12\x1egoogle.ads.googleads.v2.errors\x1a\x1cgoogle/api/annotations.proto\"f\n#KeywordPlanNegativeKeywordErrorEnum\"?\n\x1fKeywordPlanNegativeKeywordError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x42\xff\x01\n\"com.google.ads.googleads.v2.errorsB$KeywordPlanNegativeKeywordErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_KEYWORDPLANNEGATIVEKEYWORDERRORENUM_KEYWORDPLANNEGATIVEKEYWORDERROR = _descriptor.EnumDescriptor( - name='KeywordPlanNegativeKeywordError', - full_name='google.ads.googleads.v2.errors.KeywordPlanNegativeKeywordErrorEnum.KeywordPlanNegativeKeywordError', - 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=183, - serialized_end=246, -) -_sym_db.RegisterEnumDescriptor(_KEYWORDPLANNEGATIVEKEYWORDERRORENUM_KEYWORDPLANNEGATIVEKEYWORDERROR) - - -_KEYWORDPLANNEGATIVEKEYWORDERRORENUM = _descriptor.Descriptor( - name='KeywordPlanNegativeKeywordErrorEnum', - full_name='google.ads.googleads.v2.errors.KeywordPlanNegativeKeywordErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _KEYWORDPLANNEGATIVEKEYWORDERRORENUM_KEYWORDPLANNEGATIVEKEYWORDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=144, - serialized_end=246, -) - -_KEYWORDPLANNEGATIVEKEYWORDERRORENUM_KEYWORDPLANNEGATIVEKEYWORDERROR.containing_type = _KEYWORDPLANNEGATIVEKEYWORDERRORENUM -DESCRIPTOR.message_types_by_name['KeywordPlanNegativeKeywordErrorEnum'] = _KEYWORDPLANNEGATIVEKEYWORDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanNegativeKeywordErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanNegativeKeywordErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANNEGATIVEKEYWORDERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.keyword_plan_negative_keyword_error_pb2' - , - __doc__ = """Container for enum describing possible errors from applying a keyword - plan negative keyword. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.KeywordPlanNegativeKeywordErrorEnum) - )) -_sym_db.RegisterMessage(KeywordPlanNegativeKeywordErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/keyword_plan_negative_keyword_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/keyword_plan_negative_keyword_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/keyword_plan_negative_keyword_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/label_error_pb2.py b/google/ads/google_ads/v2/proto/errors/label_error_pb2.py deleted file mode 100644 index 20111f680..000000000 --- a/google/ads/google_ads/v2/proto/errors/label_error_pb2.py +++ /dev/null @@ -1,129 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/label_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_v2/proto/errors/label_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\017LabelErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/errors/label_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0fLabelErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_LABELERRORENUM_LABELERROR = _descriptor.EnumDescriptor( - name='LabelError', - full_name='google.ads.googleads.v2.errors.LabelErrorEnum.LabelError', - 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_APPLY_INACTIVE_LABEL', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXCEEDED_LABEL_LIMIT_PER_TYPE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_RESOURCE_FOR_MANAGER_LABEL', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_NAME', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_LABEL_NAME', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ATTACH_LABEL_TO_DRAFT', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER', index=10, number=10, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=140, - serialized_end=527, -) -_sym_db.RegisterEnumDescriptor(_LABELERRORENUM_LABELERROR) - - -_LABELERRORENUM = _descriptor.Descriptor( - name='LabelErrorEnum', - full_name='google.ads.googleads.v2.errors.LabelErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LABELERRORENUM_LABELERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=527, -) - -_LABELERRORENUM_LABELERROR.containing_type = _LABELERRORENUM -DESCRIPTOR.message_types_by_name['LabelErrorEnum'] = _LABELERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -LabelErrorEnum = _reflection.GeneratedProtocolMessageType('LabelErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _LABELERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.label_error_pb2' - , - __doc__ = """Container for enum describing possible label errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.LabelErrorEnum) - )) -_sym_db.RegisterMessage(LabelErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/label_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/label_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/label_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/language_code_error_pb2.py b/google/ads/google_ads/v2/proto/errors/language_code_error_pb2.py deleted file mode 100644 index 7ae3d3b08..000000000 --- a/google/ads/google_ads/v2/proto/errors/language_code_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/language_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_v2/proto/errors/language_code_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\026LanguageCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/errors/language_code_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x16LanguageCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_LANGUAGECODEERRORENUM_LANGUAGECODEERROR = _descriptor.EnumDescriptor( - name='LanguageCodeError', - full_name='google.ads.googleads.v2.errors.LanguageCodeErrorEnum.LanguageCodeError', - 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='LANGUAGE_CODE_NOT_FOUND', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_LANGUAGE_CODE', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=154, - serialized_end=259, -) -_sym_db.RegisterEnumDescriptor(_LANGUAGECODEERRORENUM_LANGUAGECODEERROR) - - -_LANGUAGECODEERRORENUM = _descriptor.Descriptor( - name='LanguageCodeErrorEnum', - full_name='google.ads.googleads.v2.errors.LanguageCodeErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LANGUAGECODEERRORENUM_LANGUAGECODEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=259, -) - -_LANGUAGECODEERRORENUM_LANGUAGECODEERROR.containing_type = _LANGUAGECODEERRORENUM -DESCRIPTOR.message_types_by_name['LanguageCodeErrorEnum'] = _LANGUAGECODEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -LanguageCodeErrorEnum = _reflection.GeneratedProtocolMessageType('LanguageCodeErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _LANGUAGECODEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.language_code_error_pb2' - , - __doc__ = """Container for enum describing language code errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.LanguageCodeErrorEnum) - )) -_sym_db.RegisterMessage(LanguageCodeErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/language_code_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/language_code_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/language_code_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/list_operation_error_pb2.py b/google/ads/google_ads/v2/proto/errors/list_operation_error_pb2.py deleted file mode 100644 index 6441717db..000000000 --- a/google/ads/google_ads/v2/proto/errors/list_operation_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/list_operation_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_v2/proto/errors/list_operation_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\027ListOperationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/errors/list_operation_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x17ListOperationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_LISTOPERATIONERRORENUM_LISTOPERATIONERROR = _descriptor.EnumDescriptor( - name='ListOperationError', - full_name='google.ads.googleads.v2.errors.ListOperationErrorEnum.ListOperationError', - 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='REQUIRED_FIELD_MISSING', index=2, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_VALUES', index=3, number=8, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=155, - serialized_end=255, -) -_sym_db.RegisterEnumDescriptor(_LISTOPERATIONERRORENUM_LISTOPERATIONERROR) - - -_LISTOPERATIONERRORENUM = _descriptor.Descriptor( - name='ListOperationErrorEnum', - full_name='google.ads.googleads.v2.errors.ListOperationErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LISTOPERATIONERRORENUM_LISTOPERATIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=255, -) - -_LISTOPERATIONERRORENUM_LISTOPERATIONERROR.containing_type = _LISTOPERATIONERRORENUM -DESCRIPTOR.message_types_by_name['ListOperationErrorEnum'] = _LISTOPERATIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ListOperationErrorEnum = _reflection.GeneratedProtocolMessageType('ListOperationErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _LISTOPERATIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.list_operation_error_pb2' - , - __doc__ = """Container for enum describing possible list operation errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ListOperationErrorEnum) - )) -_sym_db.RegisterMessage(ListOperationErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/list_operation_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/list_operation_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/list_operation_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/manager_link_error_pb2.py b/google/ads/google_ads/v2/proto/errors/manager_link_error_pb2.py deleted file mode 100644 index 81163becf..000000000 --- a/google/ads/google_ads/v2/proto/errors/manager_link_error_pb2.py +++ /dev/null @@ -1,149 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/manager_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_v2/proto/errors/manager_link_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\025ManagerLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/errors/manager_link_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x15ManagerLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_MANAGERLINKERRORENUM_MANAGERLINKERROR = _descriptor.EnumDescriptor( - name='ManagerLinkError', - full_name='google.ads.googleads.v2.errors.ManagerLinkErrorEnum.ManagerLinkError', - 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='ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_MANAGERS', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_INVITES', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ALREADY_INVITED_BY_THIS_MANAGER', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ALREADY_MANAGED_BY_THIS_MANAGER', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ALREADY_MANAGED_IN_HIERARCHY', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_CHILD_FOUND', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CLIENT_HAS_NO_ADMIN_USER', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MAX_DEPTH_EXCEEDED', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CYCLE_NOT_ALLOWED', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_ACCOUNTS', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_ACCOUNTS_AT_MANAGER', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NON_OWNER_USER_CANNOT_MODIFY_LINK', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS', index=15, number=15, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=637, -) -_sym_db.RegisterEnumDescriptor(_MANAGERLINKERRORENUM_MANAGERLINKERROR) - - -_MANAGERLINKERRORENUM = _descriptor.Descriptor( - name='ManagerLinkErrorEnum', - full_name='google.ads.googleads.v2.errors.ManagerLinkErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MANAGERLINKERRORENUM_MANAGERLINKERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=637, -) - -_MANAGERLINKERRORENUM_MANAGERLINKERROR.containing_type = _MANAGERLINKERRORENUM -DESCRIPTOR.message_types_by_name['ManagerLinkErrorEnum'] = _MANAGERLINKERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ManagerLinkErrorEnum = _reflection.GeneratedProtocolMessageType('ManagerLinkErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _MANAGERLINKERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.manager_link_error_pb2' - , - __doc__ = """Container for enum describing possible ManagerLink errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.ManagerLinkErrorEnum) - )) -_sym_db.RegisterMessage(ManagerLinkErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/manager_link_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/manager_link_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/manager_link_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/media_bundle_error_pb2.py b/google/ads/google_ads/v2/proto/errors/media_bundle_error_pb2.py deleted file mode 100644 index a732a5910..000000000 --- a/google/ads/google_ads/v2/proto/errors/media_bundle_error_pb2.py +++ /dev/null @@ -1,181 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/media_bundle_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_v2/proto/errors/media_bundle_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\025MediaBundleErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/errors/media_bundle_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x15MediaBundleErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR = _descriptor.EnumDescriptor( - name='MediaBundleError', - full_name='google.ads.googleads.v2.errors.MediaBundleErrorEnum.MediaBundleError', - 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='BAD_REQUEST', index=2, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DOUBLECLICK_BUNDLE_NOT_ALLOWED', index=3, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXTERNAL_URL_NOT_ALLOWED', index=4, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FILE_TOO_LARGE', index=5, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED', index=6, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_INPUT', index=7, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MEDIA_BUNDLE', index=8, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MEDIA_BUNDLE_ENTRY', index=9, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MIME_TYPE', index=10, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PATH', index=11, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_URL_REFERENCE', index=12, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MEDIA_DATA_TOO_LARGE', index=13, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY', index=14, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SERVER_ERROR', index=15, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STORAGE_ERROR', index=16, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SWIFFY_BUNDLE_NOT_ALLOWED', index=17, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_FILES', index=18, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNEXPECTED_SIZE', index=19, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT', index=20, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_HTML5_FEATURE', index=21, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT', index=22, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOM_EXIT_NOT_ALLOWED', index=23, number=24, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=824, -) -_sym_db.RegisterEnumDescriptor(_MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR) - - -_MEDIABUNDLEERRORENUM = _descriptor.Descriptor( - name='MediaBundleErrorEnum', - full_name='google.ads.googleads.v2.errors.MediaBundleErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=824, -) - -_MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR.containing_type = _MEDIABUNDLEERRORENUM -DESCRIPTOR.message_types_by_name['MediaBundleErrorEnum'] = _MEDIABUNDLEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -MediaBundleErrorEnum = _reflection.GeneratedProtocolMessageType('MediaBundleErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _MEDIABUNDLEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.media_bundle_error_pb2' - , - __doc__ = """Container for enum describing possible media bundle errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.MediaBundleErrorEnum) - )) -_sym_db.RegisterMessage(MediaBundleErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/media_bundle_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/media_bundle_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/media_bundle_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/media_file_error_pb2.py b/google/ads/google_ads/v2/proto/errors/media_file_error_pb2.py deleted file mode 100644 index 21c55ace5..000000000 --- a/google/ads/google_ads/v2/proto/errors/media_file_error_pb2.py +++ /dev/null @@ -1,185 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/media_file_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_v2/proto/errors/media_file_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023MediaFileErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/errors/media_file_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x13MediaFileErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_MEDIAFILEERRORENUM_MEDIAFILEERROR = _descriptor.EnumDescriptor( - name='MediaFileError', - full_name='google.ads.googleads.v2.errors.MediaFileErrorEnum.MediaFileError', - 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_CREATE_STANDARD_ICON', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_MEDIA', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EMPTY_FIELD', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RESOURCE_REFERENCED_IN_MULTIPLE_OPS', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MEDIA_FILE_ID', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MEDIA_SUB_TYPE', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MEDIA_FILE_TYPE', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_MIME_TYPE', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_REFERENCE_ID', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_YOU_TUBE_ID', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MEDIA_FILE_FAILED_TRANSCODING', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MEDIA_NOT_TRANSCODED', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_FIELDS_SPECIFIED', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NULL_REFERENCE_ID_AND_MEDIA_ID', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_LONG', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_TYPE', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='YOU_TUBE_SERVICE_UNAVAILABLE', index=22, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION', index=23, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='YOU_TUBE_VIDEO_NOT_FOUND', index=24, number=24, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=149, - serialized_end=917, -) -_sym_db.RegisterEnumDescriptor(_MEDIAFILEERRORENUM_MEDIAFILEERROR) - - -_MEDIAFILEERRORENUM = _descriptor.Descriptor( - name='MediaFileErrorEnum', - full_name='google.ads.googleads.v2.errors.MediaFileErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MEDIAFILEERRORENUM_MEDIAFILEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=917, -) - -_MEDIAFILEERRORENUM_MEDIAFILEERROR.containing_type = _MEDIAFILEERRORENUM -DESCRIPTOR.message_types_by_name['MediaFileErrorEnum'] = _MEDIAFILEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -MediaFileErrorEnum = _reflection.GeneratedProtocolMessageType('MediaFileErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _MEDIAFILEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.media_file_error_pb2' - , - __doc__ = """Container for enum describing possible media file errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.MediaFileErrorEnum) - )) -_sym_db.RegisterMessage(MediaFileErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/media_file_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/media_file_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/media_file_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/media_upload_error_pb2.py b/google/ads/google_ads/v2/proto/errors/media_upload_error_pb2.py deleted file mode 100644 index ffe95c9b7..000000000 --- a/google/ads/google_ads/v2/proto/errors/media_upload_error_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/media_upload_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_v2/proto/errors/media_upload_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\025MediaUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/errors/media_upload_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x15MediaUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR = _descriptor.EnumDescriptor( - name='MediaUploadError', - full_name='google.ads.googleads.v2.errors.MediaUploadErrorEnum.MediaUploadError', - 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='FILE_TOO_BIG', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNPARSEABLE_IMAGE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ANIMATED_IMAGE_NOT_ALLOWED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FORMAT_NOT_ALLOWED', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=298, -) -_sym_db.RegisterEnumDescriptor(_MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR) - - -_MEDIAUPLOADERRORENUM = _descriptor.Descriptor( - name='MediaUploadErrorEnum', - full_name='google.ads.googleads.v2.errors.MediaUploadErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=298, -) - -_MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR.containing_type = _MEDIAUPLOADERRORENUM -DESCRIPTOR.message_types_by_name['MediaUploadErrorEnum'] = _MEDIAUPLOADERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -MediaUploadErrorEnum = _reflection.GeneratedProtocolMessageType('MediaUploadErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _MEDIAUPLOADERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.media_upload_error_pb2' - , - __doc__ = """Container for enum describing possible media uploading errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.MediaUploadErrorEnum) - )) -_sym_db.RegisterMessage(MediaUploadErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/media_upload_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/media_upload_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/media_upload_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/multiplier_error_pb2.py b/google/ads/google_ads/v2/proto/errors/multiplier_error_pb2.py deleted file mode 100644 index 6ebd3f32a..000000000 --- a/google/ads/google_ads/v2/proto/errors/multiplier_error_pb2.py +++ /dev/null @@ -1,141 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/multiplier_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_v2/proto/errors/multiplier_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\024MultiplierErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/errors/multiplier_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x14MultiplierErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_MULTIPLIERERRORENUM_MULTIPLIERERROR = _descriptor.EnumDescriptor( - name='MultiplierError', - full_name='google.ads.googleads.v2.errors.MultiplierErrorEnum.MultiplierError', - 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='MULTIPLIER_TOO_HIGH', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLIER_TOO_LOW', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_FRACTIONAL_DIGITS', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_MULTIPLIER_SPECIFIED', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH', index=13, number=13, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=150, - serialized_end=717, -) -_sym_db.RegisterEnumDescriptor(_MULTIPLIERERRORENUM_MULTIPLIERERROR) - - -_MULTIPLIERERRORENUM = _descriptor.Descriptor( - name='MultiplierErrorEnum', - full_name='google.ads.googleads.v2.errors.MultiplierErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MULTIPLIERERRORENUM_MULTIPLIERERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=717, -) - -_MULTIPLIERERRORENUM_MULTIPLIERERROR.containing_type = _MULTIPLIERERRORENUM -DESCRIPTOR.message_types_by_name['MultiplierErrorEnum'] = _MULTIPLIERERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -MultiplierErrorEnum = _reflection.GeneratedProtocolMessageType('MultiplierErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _MULTIPLIERERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.multiplier_error_pb2' - , - __doc__ = """Container for enum describing possible multiplier errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.MultiplierErrorEnum) - )) -_sym_db.RegisterMessage(MultiplierErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/multiplier_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/multiplier_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/multiplier_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/mutate_error_pb2.py b/google/ads/google_ads/v2/proto/errors/mutate_error_pb2.py deleted file mode 100644 index f52b6f4a9..000000000 --- a/google/ads/google_ads/v2/proto/errors/mutate_error_pb2.py +++ /dev/null @@ -1,117 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/mutate_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_v2/proto/errors/mutate_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\020MutateErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n7google/ads/googleads_v2/proto/errors/mutate_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x10MutateErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_MUTATEERRORENUM_MUTATEERROR = _descriptor.EnumDescriptor( - name='MutateError', - full_name='google.ads.googleads.v2.errors.MutateErrorEnum.MutateError', - 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='RESOURCE_NOT_FOUND', index=2, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ID_EXISTS_IN_MULTIPLE_MUTATES', index=3, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INCONSISTENT_FIELD_VALUES', index=4, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MUTATE_NOT_ALLOWED', index=5, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RESOURCE_NOT_IN_GOOGLE_ADS', index=6, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RESOURCE_ALREADY_EXISTS', index=7, number=11, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=142, - serialized_end=360, -) -_sym_db.RegisterEnumDescriptor(_MUTATEERRORENUM_MUTATEERROR) - - -_MUTATEERRORENUM = _descriptor.Descriptor( - name='MutateErrorEnum', - full_name='google.ads.googleads.v2.errors.MutateErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MUTATEERRORENUM_MUTATEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=122, - serialized_end=360, -) - -_MUTATEERRORENUM_MUTATEERROR.containing_type = _MUTATEERRORENUM -DESCRIPTOR.message_types_by_name['MutateErrorEnum'] = _MUTATEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -MutateErrorEnum = _reflection.GeneratedProtocolMessageType('MutateErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _MUTATEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.mutate_error_pb2' - , - __doc__ = """Container for enum describing possible mutate errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.MutateErrorEnum) - )) -_sym_db.RegisterMessage(MutateErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/mutate_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/mutate_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/mutate_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/mutate_job_error_pb2.py b/google/ads/google_ads/v2/proto/errors/mutate_job_error_pb2.py deleted file mode 100644 index 5858e1c4b..000000000 --- a/google/ads/google_ads/v2/proto/errors/mutate_job_error_pb2.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/mutate_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_v2/proto/errors/mutate_job_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023MutateJobErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/errors/mutate_job_error.proto\x12\x1egoogle.ads.googleads.v2.errors\x1a\x1cgoogle/api/annotations.proto\"\xd5\x01\n\x12MutateJobErrorEnum\"\xbe\x01\n\x0eMutateJobError\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\x42\xee\x01\n\"com.google.ads.googleads.v2.errorsB\x13MutateJobErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_MUTATEJOBERRORENUM_MUTATEJOBERROR = _descriptor.EnumDescriptor( - name='MutateJobError', - full_name='google.ads.googleads.v2.errors.MutateJobErrorEnum.MutateJobError', - 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), - ], - containing_type=None, - serialized_options=None, - serialized_start=149, - serialized_end=339, -) -_sym_db.RegisterEnumDescriptor(_MUTATEJOBERRORENUM_MUTATEJOBERROR) - - -_MUTATEJOBERRORENUM = _descriptor.Descriptor( - name='MutateJobErrorEnum', - full_name='google.ads.googleads.v2.errors.MutateJobErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _MUTATEJOBERRORENUM_MUTATEJOBERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=339, -) - -_MUTATEJOBERRORENUM_MUTATEJOBERROR.containing_type = _MUTATEJOBERRORENUM -DESCRIPTOR.message_types_by_name['MutateJobErrorEnum'] = _MUTATEJOBERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -MutateJobErrorEnum = _reflection.GeneratedProtocolMessageType('MutateJobErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _MUTATEJOBERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.mutate_job_error_pb2' - , - __doc__ = """Container for enum describing possible mutate job errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.MutateJobErrorEnum) - )) -_sym_db.RegisterMessage(MutateJobErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/mutate_job_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/mutate_job_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/mutate_job_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/new_resource_creation_error_pb2.py b/google/ads/google_ads/v2/proto/errors/new_resource_creation_error_pb2.py deleted file mode 100644 index 09f656e36..000000000 --- a/google/ads/google_ads/v2/proto/errors/new_resource_creation_error_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/new_resource_creation_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\035NewResourceCreationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/errors/new_resource_creation_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1dNewResourceCreationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR = _descriptor.EnumDescriptor( - name='NewResourceCreationError', - full_name='google.ads.googleads.v2.errors.NewResourceCreationErrorEnum.NewResourceCreationError', - 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_SET_ID_FOR_CREATE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_TEMP_IDS', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TEMP_ID_RESOURCE_HAD_ERRORS', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=170, - serialized_end=313, -) -_sym_db.RegisterEnumDescriptor(_NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR) - - -_NEWRESOURCECREATIONERRORENUM = _descriptor.Descriptor( - name='NewResourceCreationErrorEnum', - full_name='google.ads.googleads.v2.errors.NewResourceCreationErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=137, - serialized_end=313, -) - -_NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR.containing_type = _NEWRESOURCECREATIONERRORENUM -DESCRIPTOR.message_types_by_name['NewResourceCreationErrorEnum'] = _NEWRESOURCECREATIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -NewResourceCreationErrorEnum = _reflection.GeneratedProtocolMessageType('NewResourceCreationErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _NEWRESOURCECREATIONERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.NewResourceCreationErrorEnum) - )) -_sym_db.RegisterMessage(NewResourceCreationErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/new_resource_creation_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/new_resource_creation_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/new_resource_creation_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/not_empty_error_pb2.py b/google/ads/google_ads/v2/proto/errors/not_empty_error_pb2.py deleted file mode 100644 index 12b88db6c..000000000 --- a/google/ads/google_ads/v2/proto/errors/not_empty_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/not_empty_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_v2/proto/errors/not_empty_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022NotEmptyErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/errors/not_empty_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x12NotEmptyErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_NOTEMPTYERRORENUM_NOTEMPTYERROR = _descriptor.EnumDescriptor( - name='NotEmptyError', - full_name='google.ads.googleads.v2.errors.NotEmptyErrorEnum.NotEmptyError', - 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='EMPTY_LIST', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=145, - serialized_end=206, -) -_sym_db.RegisterEnumDescriptor(_NOTEMPTYERRORENUM_NOTEMPTYERROR) - - -_NOTEMPTYERRORENUM = _descriptor.Descriptor( - name='NotEmptyErrorEnum', - full_name='google.ads.googleads.v2.errors.NotEmptyErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _NOTEMPTYERRORENUM_NOTEMPTYERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=124, - serialized_end=206, -) - -_NOTEMPTYERRORENUM_NOTEMPTYERROR.containing_type = _NOTEMPTYERRORENUM -DESCRIPTOR.message_types_by_name['NotEmptyErrorEnum'] = _NOTEMPTYERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -NotEmptyErrorEnum = _reflection.GeneratedProtocolMessageType('NotEmptyErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _NOTEMPTYERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.not_empty_error_pb2' - , - __doc__ = """Container for enum describing possible not empty errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.NotEmptyErrorEnum) - )) -_sym_db.RegisterMessage(NotEmptyErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/not_empty_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/not_empty_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/not_empty_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/not_whitelisted_error_pb2.py b/google/ads/google_ads/v2/proto/errors/not_whitelisted_error_pb2.py deleted file mode 100644 index 1c6f6fb41..000000000 --- a/google/ads/google_ads/v2/proto/errors/not_whitelisted_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/not_whitelisted_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_v2/proto/errors/not_whitelisted_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\030NotWhitelistedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/errors/not_whitelisted_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x18NotWhitelistedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_NOTWHITELISTEDERRORENUM_NOTWHITELISTEDERROR = _descriptor.EnumDescriptor( - name='NotWhitelistedError', - full_name='google.ads.googleads.v2.errors.NotWhitelistedErrorEnum.NotWhitelistedError', - 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='CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=157, - serialized_end=255, -) -_sym_db.RegisterEnumDescriptor(_NOTWHITELISTEDERRORENUM_NOTWHITELISTEDERROR) - - -_NOTWHITELISTEDERRORENUM = _descriptor.Descriptor( - name='NotWhitelistedErrorEnum', - full_name='google.ads.googleads.v2.errors.NotWhitelistedErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _NOTWHITELISTEDERRORENUM_NOTWHITELISTEDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=255, -) - -_NOTWHITELISTEDERRORENUM_NOTWHITELISTEDERROR.containing_type = _NOTWHITELISTEDERRORENUM -DESCRIPTOR.message_types_by_name['NotWhitelistedErrorEnum'] = _NOTWHITELISTEDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -NotWhitelistedErrorEnum = _reflection.GeneratedProtocolMessageType('NotWhitelistedErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _NOTWHITELISTEDERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.not_whitelisted_error_pb2' - , - __doc__ = """Container for enum describing possible not whitelisted errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.NotWhitelistedErrorEnum) - )) -_sym_db.RegisterMessage(NotWhitelistedErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/not_whitelisted_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/not_whitelisted_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/not_whitelisted_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/null_error_pb2.py b/google/ads/google_ads/v2/proto/errors/null_error_pb2.py deleted file mode 100644 index d96f43219..000000000 --- a/google/ads/google_ads/v2/proto/errors/null_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/null_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_v2/proto/errors/null_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\016NullErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/errors/null_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0eNullErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_NULLERRORENUM_NULLERROR = _descriptor.EnumDescriptor( - name='NullError', - full_name='google.ads.googleads.v2.errors.NullErrorEnum.NullError', - 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='NULL_CONTENT', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=136, - serialized_end=195, -) -_sym_db.RegisterEnumDescriptor(_NULLERRORENUM_NULLERROR) - - -_NULLERRORENUM = _descriptor.Descriptor( - name='NullErrorEnum', - full_name='google.ads.googleads.v2.errors.NullErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _NULLERRORENUM_NULLERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=119, - serialized_end=195, -) - -_NULLERRORENUM_NULLERROR.containing_type = _NULLERRORENUM -DESCRIPTOR.message_types_by_name['NullErrorEnum'] = _NULLERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -NullErrorEnum = _reflection.GeneratedProtocolMessageType('NullErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _NULLERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.null_error_pb2' - , - __doc__ = """Container for enum describing possible null errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.NullErrorEnum) - )) -_sym_db.RegisterMessage(NullErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/null_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/null_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/null_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/operation_access_denied_error_pb2.py b/google/ads/google_ads/v2/proto/errors/operation_access_denied_error_pb2.py deleted file mode 100644 index 34945f1c2..000000000 --- a/google/ads/google_ads/v2/proto/errors/operation_access_denied_error_pb2.py +++ /dev/null @@ -1,133 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/operation_access_denied_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\037OperationAccessDeniedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/errors/operation_access_denied_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x1fOperationAccessDeniedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR = _descriptor.EnumDescriptor( - name='OperationAccessDeniedError', - full_name='google.ads.googleads.v2.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError', - 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='ACTION_NOT_PERMITTED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CREATE_OPERATION_NOT_PERMITTED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REMOVE_OPERATION_NOT_PERMITTED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UPDATE_OPERATION_NOT_PERMITTED', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CREATE_AS_REMOVED_NOT_PERMITTED', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MUTATE_NOT_PERMITTED_FOR_CUSTOMER', index=11, number=11, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=174, - serialized_end=630, -) -_sym_db.RegisterEnumDescriptor(_OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR) - - -_OPERATIONACCESSDENIEDERRORENUM = _descriptor.Descriptor( - name='OperationAccessDeniedErrorEnum', - full_name='google.ads.googleads.v2.errors.OperationAccessDeniedErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=139, - serialized_end=630, -) - -_OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR.containing_type = _OPERATIONACCESSDENIEDERRORENUM -DESCRIPTOR.message_types_by_name['OperationAccessDeniedErrorEnum'] = _OPERATIONACCESSDENIEDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -OperationAccessDeniedErrorEnum = _reflection.GeneratedProtocolMessageType('OperationAccessDeniedErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _OPERATIONACCESSDENIEDERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.OperationAccessDeniedErrorEnum) - )) -_sym_db.RegisterMessage(OperationAccessDeniedErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/operation_access_denied_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/operation_access_denied_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/operation_access_denied_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/operator_error_pb2.py b/google/ads/google_ads/v2/proto/errors/operator_error_pb2.py deleted file mode 100644 index dce4b2327..000000000 --- a/google/ads/google_ads/v2/proto/errors/operator_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/operator_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_v2/proto/errors/operator_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022OperatorErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/errors/operator_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x12OperatorErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_OPERATORERRORENUM_OPERATORERROR = _descriptor.EnumDescriptor( - name='OperatorError', - full_name='google.ads.googleads.v2.errors.OperatorErrorEnum.OperatorError', - 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='OPERATOR_NOT_SUPPORTED', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=217, -) -_sym_db.RegisterEnumDescriptor(_OPERATORERRORENUM_OPERATORERROR) - - -_OPERATORERRORENUM = _descriptor.Descriptor( - name='OperatorErrorEnum', - full_name='google.ads.googleads.v2.errors.OperatorErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _OPERATORERRORENUM_OPERATORERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=217, -) - -_OPERATORERRORENUM_OPERATORERROR.containing_type = _OPERATORERRORENUM -DESCRIPTOR.message_types_by_name['OperatorErrorEnum'] = _OPERATORERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -OperatorErrorEnum = _reflection.GeneratedProtocolMessageType('OperatorErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _OPERATORERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.operator_error_pb2' - , - __doc__ = """Container for enum describing possible operator errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.OperatorErrorEnum) - )) -_sym_db.RegisterMessage(OperatorErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/operator_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/operator_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/operator_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/partial_failure_error_pb2.py b/google/ads/google_ads/v2/proto/errors/partial_failure_error_pb2.py deleted file mode 100644 index d667d5859..000000000 --- a/google/ads/google_ads/v2/proto/errors/partial_failure_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/partial_failure_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_v2/proto/errors/partial_failure_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\030PartialFailureErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/errors/partial_failure_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x18PartialFailureErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR = _descriptor.EnumDescriptor( - name='PartialFailureError', - full_name='google.ads.googleads.v2.errors.PartialFailureErrorEnum.PartialFailureError', - 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='PARTIAL_FAILURE_MODE_REQUIRED', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=157, - serialized_end=243, -) -_sym_db.RegisterEnumDescriptor(_PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR) - - -_PARTIALFAILUREERRORENUM = _descriptor.Descriptor( - name='PartialFailureErrorEnum', - full_name='google.ads.googleads.v2.errors.PartialFailureErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=243, -) - -_PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR.containing_type = _PARTIALFAILUREERRORENUM -DESCRIPTOR.message_types_by_name['PartialFailureErrorEnum'] = _PARTIALFAILUREERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PartialFailureErrorEnum = _reflection.GeneratedProtocolMessageType('PartialFailureErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _PARTIALFAILUREERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.partial_failure_error_pb2' - , - __doc__ = """Container for enum describing possible partial failure errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.PartialFailureErrorEnum) - )) -_sym_db.RegisterMessage(PartialFailureErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/partial_failure_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/partial_failure_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/partial_failure_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/policy_finding_error_pb2.py b/google/ads/google_ads/v2/proto/errors/policy_finding_error_pb2.py deleted file mode 100644 index fd184bd8f..000000000 --- a/google/ads/google_ads/v2/proto/errors/policy_finding_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/policy_finding_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_v2/proto/errors/policy_finding_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\027PolicyFindingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/errors/policy_finding_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x17PolicyFindingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POLICYFINDINGERRORENUM_POLICYFINDINGERROR = _descriptor.EnumDescriptor( - name='PolicyFindingError', - full_name='google.ads.googleads.v2.errors.PolicyFindingErrorEnum.PolicyFindingError', - 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='POLICY_FINDING', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='POLICY_TOPIC_NOT_FOUND', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=155, - serialized_end=253, -) -_sym_db.RegisterEnumDescriptor(_POLICYFINDINGERRORENUM_POLICYFINDINGERROR) - - -_POLICYFINDINGERRORENUM = _descriptor.Descriptor( - name='PolicyFindingErrorEnum', - full_name='google.ads.googleads.v2.errors.PolicyFindingErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POLICYFINDINGERRORENUM_POLICYFINDINGERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=129, - serialized_end=253, -) - -_POLICYFINDINGERRORENUM_POLICYFINDINGERROR.containing_type = _POLICYFINDINGERRORENUM -DESCRIPTOR.message_types_by_name['PolicyFindingErrorEnum'] = _POLICYFINDINGERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PolicyFindingErrorEnum = _reflection.GeneratedProtocolMessageType('PolicyFindingErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _POLICYFINDINGERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.policy_finding_error_pb2' - , - __doc__ = """Container for enum describing possible policy finding errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.PolicyFindingErrorEnum) - )) -_sym_db.RegisterMessage(PolicyFindingErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/policy_finding_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/policy_finding_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/policy_finding_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/policy_validation_parameter_error_pb2.py b/google/ads/google_ads/v2/proto/errors/policy_validation_parameter_error_pb2.py deleted file mode 100644 index e2d3cf821..000000000 --- a/google/ads/google_ads/v2/proto/errors/policy_validation_parameter_error_pb2.py +++ /dev/null @@ -1,106 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/policy_validation_parameter_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB#PolicyValidationParameterErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nLgoogle/ads/googleads_v2/proto/errors/policy_validation_parameter_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB#PolicyValidationParameterErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR = _descriptor.EnumDescriptor( - name='PolicyValidationParameterError', - full_name='google.ads.googleads.v2.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterError', - 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_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=182, - serialized_end=433, -) -_sym_db.RegisterEnumDescriptor(_POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR) - - -_POLICYVALIDATIONPARAMETERERRORENUM = _descriptor.Descriptor( - name='PolicyValidationParameterErrorEnum', - full_name='google.ads.googleads.v2.errors.PolicyValidationParameterErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=143, - serialized_end=433, -) - -_POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR.containing_type = _POLICYVALIDATIONPARAMETERERRORENUM -DESCRIPTOR.message_types_by_name['PolicyValidationParameterErrorEnum'] = _POLICYVALIDATIONPARAMETERERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PolicyValidationParameterErrorEnum = _reflection.GeneratedProtocolMessageType('PolicyValidationParameterErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _POLICYVALIDATIONPARAMETERERRORENUM, - __module__ = 'google.ads.googleads_v2.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.v2.errors.PolicyValidationParameterErrorEnum) - )) -_sym_db.RegisterMessage(PolicyValidationParameterErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/policy_validation_parameter_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/policy_validation_parameter_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/policy_validation_parameter_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/policy_violation_error_pb2.py b/google/ads/google_ads/v2/proto/errors/policy_violation_error_pb2.py deleted file mode 100644 index 91682dcad..000000000 --- a/google/ads/google_ads/v2/proto/errors/policy_violation_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/policy_violation_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_v2/proto/errors/policy_violation_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\031PolicyViolationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/errors/policy_violation_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x19PolicyViolationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR = _descriptor.EnumDescriptor( - name='PolicyViolationError', - full_name='google.ads.googleads.v2.errors.PolicyViolationErrorEnum.PolicyViolationError', - 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='POLICY_ERROR', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=159, - serialized_end=229, -) -_sym_db.RegisterEnumDescriptor(_POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR) - - -_POLICYVIOLATIONERRORENUM = _descriptor.Descriptor( - name='PolicyViolationErrorEnum', - full_name='google.ads.googleads.v2.errors.PolicyViolationErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=229, -) - -_POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR.containing_type = _POLICYVIOLATIONERRORENUM -DESCRIPTOR.message_types_by_name['PolicyViolationErrorEnum'] = _POLICYVIOLATIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PolicyViolationErrorEnum = _reflection.GeneratedProtocolMessageType('PolicyViolationErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _POLICYVIOLATIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.policy_violation_error_pb2' - , - __doc__ = """Container for enum describing possible policy violation errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.PolicyViolationErrorEnum) - )) -_sym_db.RegisterMessage(PolicyViolationErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/policy_violation_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/policy_violation_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/policy_violation_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/query_error_pb2.py b/google/ads/google_ads/v2/proto/errors/query_error_pb2.py deleted file mode 100644 index eccf499c7..000000000 --- a/google/ads/google_ads/v2/proto/errors/query_error_pb2.py +++ /dev/null @@ -1,305 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/query_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_v2/proto/errors/query_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\017QueryErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/errors/query_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0fQueryErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_QUERYERRORENUM_QUERYERROR = _descriptor.EnumDescriptor( - name='QueryError', - full_name='google.ads.googleads.v2.errors.QueryErrorEnum.QueryError', - 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='QUERY_ERROR', index=2, number=50, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_ENUM_CONSTANT', index=3, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_ESCAPE_SEQUENCE', index=4, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_FIELD_NAME', index=5, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_LIMIT_VALUE', index=6, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_NUMBER', index=7, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_OPERATOR', index=8, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_PARAMETER_NAME', index=9, number=61, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_PARAMETER_VALUE', index=10, number=62, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_RESOURCE_TYPE_IN_FROM_CLAUSE', index=11, number=45, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_SYMBOL', index=12, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BAD_VALUE', index=13, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE_RANGE_TOO_WIDE', index=14, number=36, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DATE_RANGE_TOO_NARROW', index=15, number=60, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_AND', index=16, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_BY', index=17, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE', index=18, number=37, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_FILTERS_ON_DATE_RANGE', index=19, number=55, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_FROM', index=20, number=44, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_LIST', index=21, number=41, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE', index=22, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_SELECT', index=23, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_SINGLE_VALUE', index=24, number=42, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='EXPECTED_VALUE_WITH_BETWEEN_OPERATOR', index=25, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DATE_FORMAT', index=26, number=38, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_STRING_VALUE', index=27, number=57, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_VALUE_WITH_BETWEEN_OPERATOR', index=28, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_VALUE_WITH_DURING_OPERATOR', index=29, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_VALUE_WITH_LIKE_OPERATOR', index=30, number=56, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OPERATOR_FIELD_MISMATCH', index=31, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_EMPTY_LIST_IN_CONDITION', index=32, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_ENUM_CONSTANT', index=33, number=54, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE', index=34, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE', index=35, number=40, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_FIELD_IN_SELECT_CLAUSE', index=36, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_FIELD_IN_WHERE_CLAUSE', index=37, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE', index=38, number=43, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE', index=39, number=48, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE', index=40, number=58, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE', index=41, number=49, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE', index=42, number=51, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE', index=43, number=53, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='LIMIT_VALUE_TOO_LOW', index=44, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_NEWLINE_IN_STRING', index=45, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_VALUE_COMBINATION_IN_LIST', index=46, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR', index=47, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='STRING_NOT_TERMINATED', index=48, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_SEGMENTS', index=49, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNEXPECTED_END_OF_QUERY', index=50, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNEXPECTED_FROM_CLAUSE', index=51, number=47, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNRECOGNIZED_FIELD', index=52, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - 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=1868, -) -_sym_db.RegisterEnumDescriptor(_QUERYERRORENUM_QUERYERROR) - - -_QUERYERRORENUM = _descriptor.Descriptor( - name='QueryErrorEnum', - full_name='google.ads.googleads.v2.errors.QueryErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _QUERYERRORENUM_QUERYERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=1868, -) - -_QUERYERRORENUM_QUERYERROR.containing_type = _QUERYERRORENUM -DESCRIPTOR.message_types_by_name['QueryErrorEnum'] = _QUERYERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -QueryErrorEnum = _reflection.GeneratedProtocolMessageType('QueryErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _QUERYERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.query_error_pb2' - , - __doc__ = """Container for enum describing possible query errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.QueryErrorEnum) - )) -_sym_db.RegisterMessage(QueryErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/query_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/query_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/query_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/quota_error_pb2.py b/google/ads/google_ads/v2/proto/errors/quota_error_pb2.py deleted file mode 100644 index 8f25f816b..000000000 --- a/google/ads/google_ads/v2/proto/errors/quota_error_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/quota_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_v2/proto/errors/quota_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\017QuotaErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/errors/quota_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0fQuotaErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_QUOTAERRORENUM_QUOTAERROR = _descriptor.EnumDescriptor( - name='QuotaError', - full_name='google.ads.googleads.v2.errors.QuotaErrorEnum.QuotaError', - 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='RESOURCE_EXHAUSTED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ACCESS_PROHIBITED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RESOURCE_TEMPORARILY_EXHAUSTED', index=4, number=4, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=139, - serialized_end=264, -) -_sym_db.RegisterEnumDescriptor(_QUOTAERRORENUM_QUOTAERROR) - - -_QUOTAERRORENUM = _descriptor.Descriptor( - name='QuotaErrorEnum', - full_name='google.ads.googleads.v2.errors.QuotaErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _QUOTAERRORENUM_QUOTAERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=121, - serialized_end=264, -) - -_QUOTAERRORENUM_QUOTAERROR.containing_type = _QUOTAERRORENUM -DESCRIPTOR.message_types_by_name['QuotaErrorEnum'] = _QUOTAERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -QuotaErrorEnum = _reflection.GeneratedProtocolMessageType('QuotaErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _QUOTAERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.quota_error_pb2' - , - __doc__ = """Container for enum describing possible quota errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.QuotaErrorEnum) - )) -_sym_db.RegisterMessage(QuotaErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/quota_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/quota_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/quota_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/range_error_pb2.py b/google/ads/google_ads/v2/proto/errors/range_error_pb2.py deleted file mode 100644 index c416b203e..000000000 --- a/google/ads/google_ads/v2/proto/errors/range_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/range_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_v2/proto/errors/range_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\017RangeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/errors/range_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x0fRangeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_RANGEERRORENUM_RANGEERROR = _descriptor.EnumDescriptor( - name='RangeError', - full_name='google.ads.googleads.v2.errors.RangeErrorEnum.RangeError', - 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='TOO_LOW', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_HIGH', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=138, - serialized_end=207, -) -_sym_db.RegisterEnumDescriptor(_RANGEERRORENUM_RANGEERROR) - - -_RANGEERRORENUM = _descriptor.Descriptor( - name='RangeErrorEnum', - full_name='google.ads.googleads.v2.errors.RangeErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _RANGEERRORENUM_RANGEERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=120, - serialized_end=207, -) - -_RANGEERRORENUM_RANGEERROR.containing_type = _RANGEERRORENUM -DESCRIPTOR.message_types_by_name['RangeErrorEnum'] = _RANGEERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -RangeErrorEnum = _reflection.GeneratedProtocolMessageType('RangeErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _RANGEERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.range_error_pb2' - , - __doc__ = """Container for enum describing possible range errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.RangeErrorEnum) - )) -_sym_db.RegisterMessage(RangeErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/range_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/range_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/range_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/reach_plan_error_pb2.py b/google/ads/google_ads/v2/proto/errors/reach_plan_error_pb2.py deleted file mode 100644 index 3dd3670b9..000000000 --- a/google/ads/google_ads/v2/proto/errors/reach_plan_error_pb2.py +++ /dev/null @@ -1,94 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/errors/reach_plan_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023ReachPlanErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/errors/reach_plan_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x13ReachPlanErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_REACHPLANERRORENUM_REACHPLANERROR = _descriptor.EnumDescriptor( - name='ReachPlanError', - full_name='google.ads.googleads.v2.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.v2.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_v2.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.v2.errors.ReachPlanErrorEnum) - )) -_sym_db.RegisterMessage(ReachPlanErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/reach_plan_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/reach_plan_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/reach_plan_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/recommendation_error_pb2.py b/google/ads/google_ads/v2/proto/errors/recommendation_error_pb2.py deleted file mode 100644 index 7c7bf9753..000000000 --- a/google/ads/google_ads/v2/proto/errors/recommendation_error_pb2.py +++ /dev/null @@ -1,150 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/recommendation_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_v2/proto/errors/recommendation_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\030RecommendationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/errors/recommendation_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x18RecommendationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR = _descriptor.EnumDescriptor( - name='RecommendationError', - full_name='google.ads.googleads.v2.errors.RecommendationErrorEnum.RecommendationError', - 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='BUDGET_AMOUNT_TOO_SMALL', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='BUDGET_AMOUNT_TOO_LARGE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_BUDGET_AMOUNT', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='POLICY_ERROR', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_BID_AMOUNT', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADGROUP_KEYWORD_LIMIT', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RECOMMENDATION_ALREADY_APPLIED', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RECOMMENDATION_INVALIDATED', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_OPERATIONS', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NO_OPERATIONS', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DIFFERENT_TYPES_NOT_SUPPORTED', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_RESOURCE_NAME', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RECOMMENDATION_ALREADY_DISMISSED', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_APPLY_REQUEST', index=15, number=15, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=158, - serialized_end=604, -) -_sym_db.RegisterEnumDescriptor(_RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR) - - -_RECOMMENDATIONERRORENUM = _descriptor.Descriptor( - name='RecommendationErrorEnum', - full_name='google.ads.googleads.v2.errors.RecommendationErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=604, -) - -_RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR.containing_type = _RECOMMENDATIONERRORENUM -DESCRIPTOR.message_types_by_name['RecommendationErrorEnum'] = _RECOMMENDATIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -RecommendationErrorEnum = _reflection.GeneratedProtocolMessageType('RecommendationErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.recommendation_error_pb2' - , - __doc__ = """Container for enum describing possible errors from applying a - recommendation. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.RecommendationErrorEnum) - )) -_sym_db.RegisterMessage(RecommendationErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/recommendation_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/recommendation_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/recommendation_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/region_code_error_pb2.py b/google/ads/google_ads/v2/proto/errors/region_code_error_pb2.py deleted file mode 100644 index 96ef85004..000000000 --- a/google/ads/google_ads/v2/proto/errors/region_code_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/region_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_v2/proto/errors/region_code_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\024RegionCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::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.v2.errorsB\x11SettingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SETTINGERRORENUM_SETTINGERROR = _descriptor.EnumDescriptor( - name='SettingError', - full_name='google.ads.googleads.v2.errors.SettingErrorEnum.SettingError', - 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='SETTING_TYPE_IS_NOT_AVAILABLE', index=2, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN', index=3, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP', index=4, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL', index=5, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP', index=6, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT', index=7, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME', index=8, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME', index=9, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE', index=10, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN', index=11, number=12, - 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, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=144, - serialized_end=1209, -) -_sym_db.RegisterEnumDescriptor(_SETTINGERRORENUM_SETTINGERROR) - - -_SETTINGERRORENUM = _descriptor.Descriptor( - name='SettingErrorEnum', - full_name='google.ads.googleads.v2.errors.SettingErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SETTINGERRORENUM_SETTINGERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=123, - serialized_end=1209, -) - -_SETTINGERRORENUM_SETTINGERROR.containing_type = _SETTINGERRORENUM -DESCRIPTOR.message_types_by_name['SettingErrorEnum'] = _SETTINGERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SettingErrorEnum = _reflection.GeneratedProtocolMessageType('SettingErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _SETTINGERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.setting_error_pb2' - , - __doc__ = """Container for enum describing possible setting errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.SettingErrorEnum) - )) -_sym_db.RegisterMessage(SettingErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/setting_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/setting_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/setting_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/shared_criterion_error_pb2.py b/google/ads/google_ads/v2/proto/errors/shared_criterion_error_pb2.py deleted file mode 100644 index 7bc05e536..000000000 --- a/google/ads/google_ads/v2/proto/errors/shared_criterion_error_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/shared_criterion_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_v2/proto/errors/shared_criterion_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\031SharedCriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/errors/shared_criterion_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x19SharedCriterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR = _descriptor.EnumDescriptor( - name='SharedCriterionError', - full_name='google.ads.googleads.v2.errors.SharedCriterionErrorEnum.SharedCriterionError', - 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='CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=160, - serialized_end=264, -) -_sym_db.RegisterEnumDescriptor(_SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR) - - -_SHAREDCRITERIONERRORENUM = _descriptor.Descriptor( - name='SharedCriterionErrorEnum', - full_name='google.ads.googleads.v2.errors.SharedCriterionErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=132, - serialized_end=264, -) - -_SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR.containing_type = _SHAREDCRITERIONERRORENUM -DESCRIPTOR.message_types_by_name['SharedCriterionErrorEnum'] = _SHAREDCRITERIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SharedCriterionErrorEnum = _reflection.GeneratedProtocolMessageType('SharedCriterionErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _SHAREDCRITERIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.shared_criterion_error_pb2' - , - __doc__ = """Container for enum describing possible shared criterion errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.SharedCriterionErrorEnum) - )) -_sym_db.RegisterMessage(SharedCriterionErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/shared_criterion_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/shared_criterion_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/shared_criterion_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/shared_set_error_pb2.py b/google/ads/google_ads/v2/proto/errors/shared_set_error_pb2.py deleted file mode 100644 index 7d8b04e03..000000000 --- a/google/ads/google_ads/v2/proto/errors/shared_set_error_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/shared_set_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_v2/proto/errors/shared_set_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023SharedSetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/errors/shared_set_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x13SharedSetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SHAREDSETERRORENUM_SHAREDSETERROR = _descriptor.EnumDescriptor( - name='SharedSetError', - full_name='google.ads.googleads.v2.errors.SharedSetErrorEnum.SharedSetError', - 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='CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_NAME', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHARED_SET_REMOVED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='SHARED_SET_IN_USE', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=149, - serialized_end=314, -) -_sym_db.RegisterEnumDescriptor(_SHAREDSETERRORENUM_SHAREDSETERROR) - - -_SHAREDSETERRORENUM = _descriptor.Descriptor( - name='SharedSetErrorEnum', - full_name='google.ads.googleads.v2.errors.SharedSetErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SHAREDSETERRORENUM_SHAREDSETERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=314, -) - -_SHAREDSETERRORENUM_SHAREDSETERROR.containing_type = _SHAREDSETERRORENUM -DESCRIPTOR.message_types_by_name['SharedSetErrorEnum'] = _SHAREDSETERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SharedSetErrorEnum = _reflection.GeneratedProtocolMessageType('SharedSetErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _SHAREDSETERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.shared_set_error_pb2' - , - __doc__ = """Container for enum describing possible shared set errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.SharedSetErrorEnum) - )) -_sym_db.RegisterMessage(SharedSetErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/shared_set_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/shared_set_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/shared_set_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/size_limit_error_pb2.py b/google/ads/google_ads/v2/proto/errors/size_limit_error_pb2.py deleted file mode 100644 index 6ac8e9e2b..000000000 --- a/google/ads/google_ads/v2/proto/errors/size_limit_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/size_limit_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_v2/proto/errors/size_limit_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\023SizeLimitErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/errors/size_limit_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x13SizeLimitErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_SIZELIMITERRORENUM_SIZELIMITERROR = _descriptor.EnumDescriptor( - name='SizeLimitError', - full_name='google.ads.googleads.v2.errors.SizeLimitErrorEnum.SizeLimitError', - 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='REQUEST_SIZE_LIMIT_EXCEEDED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RESPONSE_SIZE_LIMIT_EXCEEDED', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=148, - serialized_end=261, -) -_sym_db.RegisterEnumDescriptor(_SIZELIMITERRORENUM_SIZELIMITERROR) - - -_SIZELIMITERRORENUM = _descriptor.Descriptor( - name='SizeLimitErrorEnum', - full_name='google.ads.googleads.v2.errors.SizeLimitErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _SIZELIMITERRORENUM_SIZELIMITERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=261, -) - -_SIZELIMITERRORENUM_SIZELIMITERROR.containing_type = _SIZELIMITERRORENUM -DESCRIPTOR.message_types_by_name['SizeLimitErrorEnum'] = _SIZELIMITERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SizeLimitErrorEnum = _reflection.GeneratedProtocolMessageType('SizeLimitErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _SIZELIMITERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.size_limit_error_pb2' - , - __doc__ = """Container for enum describing possible size limit errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.SizeLimitErrorEnum) - )) -_sym_db.RegisterMessage(SizeLimitErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/size_limit_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/size_limit_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/size_limit_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/string_format_error_pb2.py b/google/ads/google_ads/v2/proto/errors/string_format_error_pb2.py deleted file mode 100644 index fa4331f69..000000000 --- a/google/ads/google_ads/v2/proto/errors/string_format_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/string_format_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_v2/proto/errors/string_format_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\026StringFormatErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/errors/string_format_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x16StringFormatErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_STRINGFORMATERRORENUM_STRINGFORMATERROR = _descriptor.EnumDescriptor( - name='StringFormatError', - full_name='google.ads.googleads.v2.errors.StringFormatErrorEnum.StringFormatError', - 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='ILLEGAL_CHARS', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FORMAT', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=241, -) -_sym_db.RegisterEnumDescriptor(_STRINGFORMATERRORENUM_STRINGFORMATERROR) - - -_STRINGFORMATERRORENUM = _descriptor.Descriptor( - name='StringFormatErrorEnum', - full_name='google.ads.googleads.v2.errors.StringFormatErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _STRINGFORMATERRORENUM_STRINGFORMATERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=241, -) - -_STRINGFORMATERRORENUM_STRINGFORMATERROR.containing_type = _STRINGFORMATERRORENUM -DESCRIPTOR.message_types_by_name['StringFormatErrorEnum'] = _STRINGFORMATERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -StringFormatErrorEnum = _reflection.GeneratedProtocolMessageType('StringFormatErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _STRINGFORMATERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.string_format_error_pb2' - , - __doc__ = """Container for enum describing possible string format errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.StringFormatErrorEnum) - )) -_sym_db.RegisterMessage(StringFormatErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/string_format_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/string_format_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/string_format_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/string_length_error_pb2.py b/google/ads/google_ads/v2/proto/errors/string_length_error_pb2.py deleted file mode 100644 index 68d112c4c..000000000 --- a/google/ads/google_ads/v2/proto/errors/string_length_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/string_length_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_v2/proto/errors/string_length_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\026StringLengthErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/errors/string_length_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x16StringLengthErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_STRINGLENGTHERRORENUM_STRINGLENGTHERROR = _descriptor.EnumDescriptor( - name='StringLengthError', - full_name='google.ads.googleads.v2.errors.StringLengthErrorEnum.StringLengthError', - 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='TOO_SHORT', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_LONG', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=153, - serialized_end=231, -) -_sym_db.RegisterEnumDescriptor(_STRINGLENGTHERRORENUM_STRINGLENGTHERROR) - - -_STRINGLENGTHERRORENUM = _descriptor.Descriptor( - name='StringLengthErrorEnum', - full_name='google.ads.googleads.v2.errors.StringLengthErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _STRINGLENGTHERRORENUM_STRINGLENGTHERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=128, - serialized_end=231, -) - -_STRINGLENGTHERRORENUM_STRINGLENGTHERROR.containing_type = _STRINGLENGTHERRORENUM -DESCRIPTOR.message_types_by_name['StringLengthErrorEnum'] = _STRINGLENGTHERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -StringLengthErrorEnum = _reflection.GeneratedProtocolMessageType('StringLengthErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _STRINGLENGTHERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.string_length_error_pb2' - , - __doc__ = """Container for enum describing possible string length errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.StringLengthErrorEnum) - )) -_sym_db.RegisterMessage(StringLengthErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/string_length_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/string_length_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/string_length_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/url_field_error_pb2.py b/google/ads/google_ads/v2/proto/errors/url_field_error_pb2.py deleted file mode 100644 index 14ed72469..000000000 --- a/google/ads/google_ads/v2/proto/errors/url_field_error_pb2.py +++ /dev/null @@ -1,301 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/url_field_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_v2/proto/errors/url_field_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022UrlFieldErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/errors/url_field_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x12UrlFieldErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_URLFIELDERRORENUM_URLFIELDERROR = _descriptor.EnumDescriptor( - name='UrlFieldError', - full_name='google.ads.googleads.v2.errors.UrlFieldErrorEnum.UrlFieldError', - 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_TRACKING_URL_TEMPLATE', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TAG_IN_TRACKING_URL_TEMPLATE', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_TRACKING_URL_TEMPLATE_TAG', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MALFORMED_TRACKING_URL_TEMPLATE', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_HOST_IN_TRACKING_URL_TEMPLATE', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TLD_IN_TRACKING_URL_TEMPLATE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FINAL_URL', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TAG_IN_FINAL_URL', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REDUNDANT_NESTED_FINAL_URL_TAG', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_PROTOCOL_IN_FINAL_URL', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PROTOCOL_IN_FINAL_URL', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MALFORMED_FINAL_URL', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_HOST_IN_FINAL_URL', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TLD_IN_FINAL_URL', index=18, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FINAL_MOBILE_URL', index=19, number=19, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TAG_IN_FINAL_MOBILE_URL', index=20, number=20, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG', index=21, number=21, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_PROTOCOL_IN_FINAL_MOBILE_URL', index=22, number=22, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PROTOCOL_IN_FINAL_MOBILE_URL', index=23, number=23, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MALFORMED_FINAL_MOBILE_URL', index=24, number=24, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_HOST_IN_FINAL_MOBILE_URL', index=25, number=25, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TLD_IN_FINAL_MOBILE_URL', index=26, number=26, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_FINAL_APP_URL', index=27, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TAG_IN_FINAL_APP_URL', index=28, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REDUNDANT_NESTED_FINAL_APP_URL_TAG', index=29, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MULTIPLE_APP_URLS_FOR_OSTYPE', index=30, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_OSTYPE', index=31, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PROTOCOL_FOR_APP_URL', index=32, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PACKAGE_ID_FOR_APP_URL', index=33, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT', index=34, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY', index=35, number=39, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE', index=36, number=40, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE', index=37, number=41, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG', index=38, number=42, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_PROTOCOL', index=39, number=43, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_PROTOCOL', index=40, number=52, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_URL', index=41, number=44, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DESTINATION_URL_DEPRECATED', index=42, number=45, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TAG_IN_URL', index=43, number=46, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_URL_TAG', index=44, number=47, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_URL_ID', index=45, number=48, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_URL_ID', index=46, number=49, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FINAL_URL_SUFFIX_MALFORMED', index=47, number=50, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TAG_IN_FINAL_URL_SUFFIX', index=48, number=51, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TOP_LEVEL_DOMAIN', index=49, number=53, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MALFORMED_TOP_LEVEL_DOMAIN', index=50, number=54, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MALFORMED_URL', index=51, number=55, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MISSING_HOST', index=52, number=56, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NULL_CUSTOM_PARAMETER_VALUE', index=53, number=57, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=147, - serialized_end=1971, -) -_sym_db.RegisterEnumDescriptor(_URLFIELDERRORENUM_URLFIELDERROR) - - -_URLFIELDERRORENUM = _descriptor.Descriptor( - name='UrlFieldErrorEnum', - full_name='google.ads.googleads.v2.errors.UrlFieldErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _URLFIELDERRORENUM_URLFIELDERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=125, - serialized_end=1971, -) - -_URLFIELDERRORENUM_URLFIELDERROR.containing_type = _URLFIELDERRORENUM -DESCRIPTOR.message_types_by_name['UrlFieldErrorEnum'] = _URLFIELDERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -UrlFieldErrorEnum = _reflection.GeneratedProtocolMessageType('UrlFieldErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _URLFIELDERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.url_field_error_pb2' - , - __doc__ = """Container for enum describing possible url field errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.UrlFieldErrorEnum) - )) -_sym_db.RegisterMessage(UrlFieldErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/url_field_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/url_field_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/url_field_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/user_list_error_pb2.py b/google/ads/google_ads/v2/proto/errors/user_list_error_pb2.py deleted file mode 100644 index b1edd2369..000000000 --- a/google/ads/google_ads/v2/proto/errors/user_list_error_pb2.py +++ /dev/null @@ -1,197 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/errors/user_list_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_v2/proto/errors/user_list_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\022UserListErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/errors/user_list_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\x12UserListErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_USERLISTERRORENUM_USERLISTERROR = _descriptor.EnumDescriptor( - name='UserListError', - full_name='google.ads.googleads.v2.errors.UserListErrorEnum.UserListError', - 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='EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONCRETE_TYPE_REQUIRED', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_TYPE_ID_REQUIRED', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='DUPLICATE_CONVERSION_TYPES', index=5, number=5, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_CONVERSION_TYPE', index=6, number=6, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DESCRIPTION', index=7, number=7, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_NAME', index=8, number=8, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_TYPE', index=9, number=9, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND', index=10, number=10, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_USER_LIST_LOGICAL_RULE_OPERAND', index=11, number=11, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NAME_ALREADY_USED', index=12, number=12, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NEW_CONVERSION_TYPE_NAME_REQUIRED', index=13, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CONVERSION_TYPE_NAME_ALREADY_USED', index=14, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='OWNERSHIP_REQUIRED_FOR_SET', index=15, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='USER_LIST_MUTATE_NOT_SUPPORTED', index=16, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_RULE', index=17, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='INVALID_DATE_RANGE', index=18, number=27, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAN_NOT_MUTATE_SENSITIVE_USERLIST', index=19, number=28, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MAX_NUM_RULEBASED_USERLISTS', index=20, number=29, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_BILLABLE_RECORD_COUNT', index=21, number=30, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='APP_ID_NOT_SET', index=22, number=31, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST', index=23, number=32, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA', index=24, number=33, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='RULE_TYPE_IS_NOT_SUPPORTED', index=25, number=34, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND', index=26, number=35, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS', index=27, number=36, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=147, - serialized_end=1129, -) -_sym_db.RegisterEnumDescriptor(_USERLISTERRORENUM_USERLISTERROR) - - -_USERLISTERRORENUM = _descriptor.Descriptor( - name='UserListErrorEnum', - full_name='google.ads.googleads.v2.errors.UserListErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _USERLISTERRORENUM_USERLISTERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=125, - serialized_end=1129, -) - -_USERLISTERRORENUM_USERLISTERROR.containing_type = _USERLISTERRORENUM -DESCRIPTOR.message_types_by_name['UserListErrorEnum'] = _USERLISTERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -UserListErrorEnum = _reflection.GeneratedProtocolMessageType('UserListErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _USERLISTERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.user_list_error_pb2' - , - __doc__ = """Container for enum describing possible user list errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.UserListErrorEnum) - )) -_sym_db.RegisterMessage(UserListErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/user_list_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/user_list_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/user_list_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/errors/youtube_video_registration_error_pb2.py b/google/ads/google_ads/v2/proto/errors/youtube_video_registration_error_pb2.py deleted file mode 100644 index 59cf8ba1a..000000000 --- a/google/ads/google_ads/v2/proto/errors/youtube_video_registration_error_pb2.py +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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_v2/proto/errors/youtube_video_registration_error.proto', - package='google.ads.googleads.v2.errors', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v2.errorsB\"YoutubeVideoRegistrationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V2.Errors\312\002\036Google\\Ads\\GoogleAds\\V2\\Errors\352\002\"Google::Ads::GoogleAds::V2::Errors'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/errors/youtube_video_registration_error.proto\x12\x1egoogle.ads.googleads.v2.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.v2.errorsB\"YoutubeVideoRegistrationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v2/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V2.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V2\\Errors\xea\x02\"Google::Ads::GoogleAds::V2::Errorsb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - -_YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR = _descriptor.EnumDescriptor( - name='YoutubeVideoRegistrationError', - full_name='google.ads.googleads.v2.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError', - 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='VIDEO_NOT_FOUND', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='VIDEO_NOT_ACCESSIBLE', index=3, number=3, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=179, - serialized_end=287, -) -_sym_db.RegisterEnumDescriptor(_YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR) - - -_YOUTUBEVIDEOREGISTRATIONERRORENUM = _descriptor.Descriptor( - name='YoutubeVideoRegistrationErrorEnum', - full_name='google.ads.googleads.v2.errors.YoutubeVideoRegistrationErrorEnum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=142, - serialized_end=287, -) - -_YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR.containing_type = _YOUTUBEVIDEOREGISTRATIONERRORENUM -DESCRIPTOR.message_types_by_name['YoutubeVideoRegistrationErrorEnum'] = _YOUTUBEVIDEOREGISTRATIONERRORENUM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -YoutubeVideoRegistrationErrorEnum = _reflection.GeneratedProtocolMessageType('YoutubeVideoRegistrationErrorEnum', (_message.Message,), dict( - DESCRIPTOR = _YOUTUBEVIDEOREGISTRATIONERRORENUM, - __module__ = 'google.ads.googleads_v2.proto.errors.youtube_video_registration_error_pb2' - , - __doc__ = """Container for enum describing YouTube video registration errors. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.errors.YoutubeVideoRegistrationErrorEnum) - )) -_sym_db.RegisterMessage(YoutubeVideoRegistrationErrorEnum) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/errors/youtube_video_registration_error_pb2_grpc.py b/google/ads/google_ads/v2/proto/errors/youtube_video_registration_error_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/errors/youtube_video_registration_error_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/account_budget_pb2.py b/google/ads/google_ads/v2/proto/resources/account_budget_pb2.py deleted file mode 100644 index fb32f8e61..000000000 --- a/google/ads/google_ads/v2/proto/resources/account_budget_pb2.py +++ /dev/null @@ -1,585 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/account_budget.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.v2.proto.enums import account_budget_proposal_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2 -from google.ads.google_ads.v2.proto.enums import account_budget_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_account__budget__status__pb2 -from google.ads.google_ads.v2.proto.enums import spending_limit_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_spending__limit__type__pb2 -from google.ads.google_ads.v2.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_time__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_v2/proto/resources/account_budget.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\022AccountBudgetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.resourcesB\x12\x41\x63\x63ountBudgetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_account__budget__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_spending__limit__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_time__type__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.v2.resources.AccountBudget.PendingAccountBudgetProposal', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='account_budget_proposal', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposal_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='start_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='purchase_order_number', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='notes', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='creation_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='end_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='end_time_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='spending_limit_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='spending_limit_type', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='end_time', full_name='google.ads.googleads.v2.resources.AccountBudget.PendingAccountBudgetProposal.end_time', - index=0, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='spending_limit', full_name='google.ads.googleads.v2.resources.AccountBudget.PendingAccountBudgetProposal.spending_limit', - index=1, containing_type=None, fields=[]), - ], - serialized_start=2000, - serialized_end=2796, -) - -_ACCOUNTBUDGET = _descriptor.Descriptor( - name='AccountBudget', - full_name='google.ads.googleads.v2.resources.AccountBudget', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='billing_setup', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_start_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_start_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='total_adjustments_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='amount_served_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='purchase_order_number', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='notes', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='pending_proposal', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_end_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_end_time_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_end_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_end_time_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_spending_limit_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_spending_limit_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_spending_limit_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_spending_limit_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='adjusted_spending_limit_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='adjusted_spending_limit_type', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='proposed_end_time', full_name='google.ads.googleads.v2.resources.AccountBudget.proposed_end_time', - index=0, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='approved_end_time', full_name='google.ads.googleads.v2.resources.AccountBudget.approved_end_time', - index=1, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='proposed_spending_limit', full_name='google.ads.googleads.v2.resources.AccountBudget.proposed_spending_limit', - index=2, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='approved_spending_limit', full_name='google.ads.googleads.v2.resources.AccountBudget.approved_spending_limit', - index=3, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='adjusted_spending_limit', full_name='google.ads.googleads.v2.resources.AccountBudget.adjusted_spending_limit', - index=4, containing_type=None, fields=[]), - ], - serialized_start=415, - serialized_end=2919, -) - -_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__v2_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__v2_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__v2_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']) -_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['end_date_time'].containing_oneof = _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.oneofs_by_name['end_time'] -_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.oneofs_by_name['end_time'].fields.append( - _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['end_time_type']) -_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['end_time_type'].containing_oneof = _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.oneofs_by_name['end_time'] -_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.oneofs_by_name['spending_limit'].fields.append( - _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['spending_limit_micros']) -_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['spending_limit_micros'].containing_oneof = _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.oneofs_by_name['spending_limit'] -_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.oneofs_by_name['spending_limit'].fields.append( - _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['spending_limit_type']) -_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__v2_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 -_ACCOUNTBUDGET.fields_by_name['total_adjustments_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ACCOUNTBUDGET.fields_by_name['amount_served_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ACCOUNTBUDGET.fields_by_name['purchase_order_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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__v2_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__v2_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__v2_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__v2_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'] -_ACCOUNTBUDGET.oneofs_by_name['proposed_end_time'].fields.append( - _ACCOUNTBUDGET.fields_by_name['proposed_end_time_type']) -_ACCOUNTBUDGET.fields_by_name['proposed_end_time_type'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['proposed_end_time'] -_ACCOUNTBUDGET.oneofs_by_name['approved_end_time'].fields.append( - _ACCOUNTBUDGET.fields_by_name['approved_end_date_time']) -_ACCOUNTBUDGET.fields_by_name['approved_end_date_time'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['approved_end_time'] -_ACCOUNTBUDGET.oneofs_by_name['approved_end_time'].fields.append( - _ACCOUNTBUDGET.fields_by_name['approved_end_time_type']) -_ACCOUNTBUDGET.fields_by_name['approved_end_time_type'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['approved_end_time'] -_ACCOUNTBUDGET.oneofs_by_name['proposed_spending_limit'].fields.append( - _ACCOUNTBUDGET.fields_by_name['proposed_spending_limit_micros']) -_ACCOUNTBUDGET.fields_by_name['proposed_spending_limit_micros'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['proposed_spending_limit'] -_ACCOUNTBUDGET.oneofs_by_name['proposed_spending_limit'].fields.append( - _ACCOUNTBUDGET.fields_by_name['proposed_spending_limit_type']) -_ACCOUNTBUDGET.fields_by_name['proposed_spending_limit_type'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['proposed_spending_limit'] -_ACCOUNTBUDGET.oneofs_by_name['approved_spending_limit'].fields.append( - _ACCOUNTBUDGET.fields_by_name['approved_spending_limit_micros']) -_ACCOUNTBUDGET.fields_by_name['approved_spending_limit_micros'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['approved_spending_limit'] -_ACCOUNTBUDGET.oneofs_by_name['approved_spending_limit'].fields.append( - _ACCOUNTBUDGET.fields_by_name['approved_spending_limit_type']) -_ACCOUNTBUDGET.fields_by_name['approved_spending_limit_type'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['approved_spending_limit'] -_ACCOUNTBUDGET.oneofs_by_name['adjusted_spending_limit'].fields.append( - _ACCOUNTBUDGET.fields_by_name['adjusted_spending_limit_micros']) -_ACCOUNTBUDGET.fields_by_name['adjusted_spending_limit_micros'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['adjusted_spending_limit'] -_ACCOUNTBUDGET.oneofs_by_name['adjusted_spending_limit'].fields.append( - _ACCOUNTBUDGET.fields_by_name['adjusted_spending_limit_type']) -_ACCOUNTBUDGET.fields_by_name['adjusted_spending_limit_type'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['adjusted_spending_limit'] -DESCRIPTOR.message_types_by_name['AccountBudget'] = _ACCOUNTBUDGET -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AccountBudget = _reflection.GeneratedProtocolMessageType('AccountBudget', (_message.Message,), dict( - - PendingAccountBudgetProposal = _reflection.GeneratedProtocolMessageType('PendingAccountBudgetProposal', (_message.Message,), dict( - DESCRIPTOR = _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL, - __module__ = 'google.ads.googleads_v2.proto.resources.account_budget_pb2' - , - __doc__ = """A pending proposal associated with the enclosing account-level budget, - if applicable. - - - 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}`` - proposal_type: - 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. - start_date_time: - 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. - notes: - 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. - end_time: - The end time of the account-level budget. - end_date_time: - 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. - spending_limit: - The spending limit. - spending_limit_micros: - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AccountBudget.PendingAccountBudgetProposal) - )) - , - DESCRIPTOR = _ACCOUNTBUDGET, - __module__ = 'google.ads.googleads_v2.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 - proposed changes that are pending approval. The proposed changes that - are pending approval, if any, are found in 'pending\_proposal'. - Effective details about the budget are found in fields prefixed - 'approved\_', 'adjusted\_' and those without a prefix. Since some - effective details may differ from what the user had originally requested - (e.g. spending limit), these differences are juxtaposed via - 'proposed\_', 'approved\_', and possibly 'adjusted\_' fields. - - This resource is mutated using AccountBudgetProposal and cannot be - mutated directly. A budget may have at most one pending proposal at any - given time. It is read through pending\_proposal. - - Once approved, a budget may be subject to adjustments, such as credit - adjustments. Adjustments create differences between the 'approved' and - 'adjusted' fields, which would otherwise be identical. - - - Attributes: - resource_name: - 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. - billing_setup: - 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. - name: - 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. - 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. - total_adjustments_micros: - 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 - total\_adjustments\_micros). - purchase_order_number: - A purchase order number is a value that helps users reference - this budget in their monthly invoices. - notes: - Notes associated with the budget. - pending_proposal: - 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. - proposed_end_time_type: - 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. - approved_end_time_type: - 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. - proposed_spending_limit_type: - 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. - 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. - 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. - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AccountBudget) - )) -_sym_db.RegisterMessage(AccountBudget) -_sym_db.RegisterMessage(AccountBudget.PendingAccountBudgetProposal) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/account_budget_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/account_budget_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/account_budget_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/account_budget_proposal_pb2.py b/google/ads/google_ads/v2/proto/resources/account_budget_proposal_pb2.py deleted file mode 100644 index 025cd8eb0..000000000 --- a/google/ads/google_ads/v2/proto/resources/account_budget_proposal_pb2.py +++ /dev/null @@ -1,377 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/account_budget_proposal.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.v2.proto.enums import account_budget_proposal_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_account__budget__proposal__status__pb2 -from google.ads.google_ads.v2.proto.enums import account_budget_proposal_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2 -from google.ads.google_ads.v2.proto.enums import spending_limit_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_spending__limit__type__pb2 -from google.ads.google_ads.v2.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_time__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_v2/proto/resources/account_budget_proposal.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\032AccountBudgetProposalProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/resources/account_budget_proposal.proto\x12!google.ads.googleads.v2.resources\x1aHgoogle/ads/googleads_v2/proto/enums/account_budget_proposal_status.proto\x1a\x46google/ads/googleads_v2/proto/enums/account_budget_proposal_type.proto\x1a=google/ads/googleads_v2/proto/enums/spending_limit_type.proto\x1a\x33google/ads/googleads_v2/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.v2.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType\x12j\n\x06status\x18\x0f \x01(\x0e\x32Z.google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.resourcesB\x1a\x41\x63\x63ountBudgetProposalProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_account__budget__proposal__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_spending__limit__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_time__type__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.v2.resources.AccountBudgetProposal', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='billing_setup', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='account_budget', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposal_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_start_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_purchase_order_number', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_notes', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='creation_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approval_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_start_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_start_time_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_end_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_end_time_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_end_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_end_time_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_spending_limit_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proposed_spending_limit_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_spending_limit_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approved_spending_limit_type', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='proposed_start_time', full_name='google.ads.googleads.v2.resources.AccountBudgetProposal.proposed_start_time', - index=0, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='proposed_end_time', full_name='google.ads.googleads.v2.resources.AccountBudgetProposal.proposed_end_time', - index=1, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='approved_end_time', full_name='google.ads.googleads.v2.resources.AccountBudgetProposal.approved_end_time', - index=2, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='proposed_spending_limit', full_name='google.ads.googleads.v2.resources.AccountBudgetProposal.proposed_spending_limit', - index=3, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='approved_spending_limit', full_name='google.ads.googleads.v2.resources.AccountBudgetProposal.approved_spending_limit', - index=4, containing_type=None, fields=[]), - ], - serialized_start=433, - serialized_end=2148, -) - -_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__v2_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2._ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE -_ACCOUNTBUDGETPROPOSAL.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v2_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 -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_notes'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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__v2_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__v2_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__v2_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__v2_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'] -_ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_start_time'].fields.append( - _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_start_time_type']) -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_start_time_type'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_start_time'] -_ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_end_time'].fields.append( - _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_end_date_time']) -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_end_date_time'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_end_time'] -_ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_end_time'].fields.append( - _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_end_time_type']) -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_end_time_type'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_end_time'] -_ACCOUNTBUDGETPROPOSAL.oneofs_by_name['approved_end_time'].fields.append( - _ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_end_date_time']) -_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_end_date_time'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['approved_end_time'] -_ACCOUNTBUDGETPROPOSAL.oneofs_by_name['approved_end_time'].fields.append( - _ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_end_time_type']) -_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_end_time_type'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['approved_end_time'] -_ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_spending_limit'].fields.append( - _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_spending_limit_micros']) -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_spending_limit_micros'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_spending_limit'] -_ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_spending_limit'].fields.append( - _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_spending_limit_type']) -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_spending_limit_type'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_spending_limit'] -_ACCOUNTBUDGETPROPOSAL.oneofs_by_name['approved_spending_limit'].fields.append( - _ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_spending_limit_micros']) -_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_spending_limit_micros'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['approved_spending_limit'] -_ACCOUNTBUDGETPROPOSAL.oneofs_by_name['approved_spending_limit'].fields.append( - _ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_spending_limit_type']) -_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_spending_limit_type'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['approved_spending_limit'] -DESCRIPTOR.message_types_by_name['AccountBudgetProposal'] = _ACCOUNTBUDGETPROPOSAL -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AccountBudgetProposal = _reflection.GeneratedProtocolMessageType('AccountBudgetProposal', (_message.Message,), dict( - DESCRIPTOR = _ACCOUNTBUDGETPROPOSAL, - __module__ = 'google.ads.googleads_v2.proto.resources.account_budget_proposal_pb2' - , - __doc__ = """An account-level budget proposal. - - All fields prefixed with 'proposed' may not necessarily be applied - directly. For example, proposed spending limits may be adjusted before - their application. This is true if the 'proposed' field has an - 'approved' counterpart, e.g. spending limits. - - Please note that the proposal type (proposal\_type) changes which fields - are required and which must remain empty. - - - Attributes: - resource_name: - The resource name of the proposal. AccountBudgetProposal - resource names have the form: ``customers/{customer_id}/accou - ntBudgetProposals/{account_budget_proposal_id}`` - id: - The ID of the proposal. - billing_setup: - 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 - associated with this proposal. - status: - 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. - approved_start_date_time: - 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. - proposed_notes: - 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. - approval_date_time: - 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. - proposed_start_time_type: - 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. - proposed_end_time_type: - 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. - approved_end_time_type: - 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. - proposed_spending_limit_type: - 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. - approved_spending_limit_type: - The approved spending limit as a well-defined type, e.g. - INFINITE. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AccountBudgetProposal) - )) -_sym_db.RegisterMessage(AccountBudgetProposal) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/account_budget_proposal_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/account_budget_proposal_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/account_budget_proposal_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_ad_asset_view_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_ad_asset_view_pb2.py deleted file mode 100644 index 133265c8f..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_ad_asset_view_pb2.py +++ /dev/null @@ -1,211 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v2.proto.enums import asset_field_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_asset__field__type__pb2 -from google.ads.google_ads.v2.proto.enums import asset_performance_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_asset__performance__label__pb2 -from google.ads.google_ads.v2.proto.enums import policy_approval_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__approval__status__pb2 -from google.ads.google_ads.v2.proto.enums import policy_review_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__review__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_v2/proto/resources/ad_group_ad_asset_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\027AdGroupAdAssetViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/resources/ad_group_ad_asset_view.proto\x12!google.ads.googleads.v2.resources\x1a\x31google/ads/googleads_v2/proto/common/policy.proto\x1a:google/ads/googleads_v2/proto/enums/asset_field_type.proto\x1a\x41google/ads/googleads_v2/proto/enums/asset_performance_label.proto\x1a@google/ads/googleads_v2/proto/enums/policy_approval_status.proto\x1a>google/ads/googleads_v2/proto/enums/policy_review_status.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa4\x03\n\x12\x41\x64GroupAdAssetView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x31\n\x0b\x61\x64_group_ad\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05\x61sset\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12T\n\nfield_type\x18\x02 \x01(\x0e\x32@.google.ads.googleads.v2.enums.AssetFieldTypeEnum.AssetFieldType\x12V\n\x0epolicy_summary\x18\x03 \x01(\x0b\x32>.google.ads.googleads.v2.resources.AdGroupAdAssetPolicySummary\x12i\n\x11performance_label\x18\x04 \x01(\x0e\x32N.google.ads.googleads.v2.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel\"\xb5\x02\n\x1b\x41\x64GroupAdAssetPolicySummary\x12N\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v2.common.PolicyTopicEntry\x12_\n\rreview_status\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v2.enums.PolicyReviewStatusEnum.PolicyReviewStatus\x12\x65\n\x0f\x61pproval_status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v2.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\x84\x02\n%com.google.ads.googleads.v2.resourcesB\x17\x41\x64GroupAdAssetViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_asset__field__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_asset__performance__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__review__status__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.v2.resources.AdGroupAdAssetView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group_ad', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='asset', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='field_type', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='policy_summary', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='performance_label', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=478, - serialized_end=898, -) - - -_ADGROUPADASSETPOLICYSUMMARY = _descriptor.Descriptor( - name='AdGroupAdAssetPolicySummary', - full_name='google.ads.googleads.v2.resources.AdGroupAdAssetPolicySummary', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='policy_topic_entries', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='review_status', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='approval_status', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=901, - serialized_end=1210, -) - -_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__v2_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__v2_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__v2_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY -_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS -_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v2_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_v2.proto.resources.ad_group_ad_asset_view_pb2' - , - __doc__ = """A link between an AdGroupAd and an Asset. - - - Attributes: - resource_name: - The resource name of the ad group ad asset view. Ad group ad - asset view resource names have the form: ``customers/{custome - r_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdA - sset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.asset - _field_type}`` - ad_group_ad: - The ad group ad to which the asset is linked. - asset: - The asset which is linked to the ad group ad. - field_type: - Role that the asset takes in the ad. - policy_summary: - Policy information for the ad group ad asset. - performance_label: - Performance of an asset linkage. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AdGroupAdAssetView) - )) -_sym_db.RegisterMessage(AdGroupAdAssetView) - -AdGroupAdAssetPolicySummary = _reflection.GeneratedProtocolMessageType('AdGroupAdAssetPolicySummary', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPADASSETPOLICYSUMMARY, - __module__ = 'google.ads.googleads_v2.proto.resources.ad_group_ad_asset_view_pb2' - , - __doc__ = """Contains policy information for an ad group ad asset. - - - Attributes: - policy_topic_entries: - The list of policy findings for the ad group ad asset. - review_status: - Where in the review process this ad group ad asset is. - approval_status: - 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.v2.resources.AdGroupAdAssetPolicySummary) - )) -_sym_db.RegisterMessage(AdGroupAdAssetPolicySummary) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_ad_asset_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_ad_asset_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_ad_asset_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_ad_label_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_ad_label_pb2.py deleted file mode 100644 index b916fa087..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_ad_label_pb2.py +++ /dev/null @@ -1,104 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.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_v2/proto/resources/ad_group_ad_label.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023AdGroupAdLabelProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/resources/ad_group_ad_label.proto\x12!google.ads.googleads.v2.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x87\x01\n\x0e\x41\x64GroupAdLabel\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x31\n\x0b\x61\x64_group_ad\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05label\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x80\x02\n%com.google.ads.googleads.v2.resourcesB\x13\x41\x64GroupAdLabelProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADGROUPADLABEL = _descriptor.Descriptor( - name='AdGroupAdLabel', - full_name='google.ads.googleads.v2.resources.AdGroupAdLabel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group_ad', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='label', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=165, - serialized_end=300, -) - -_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_v2.proto.resources.ad_group_ad_label_pb2' - , - __doc__ = """A relationship between an ad group ad and a label. - - - Attributes: - resource_name: - The resource name of the ad group ad label. Ad group ad label - resource names have the form: ``customers/{customer_id}/adGrou - pAdLabels/{ad_group_id}~{ad_id}~{label_id}`` - ad_group_ad: - The ad group ad to which the label is attached. - label: - The label assigned to the ad group ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AdGroupAdLabel) - )) -_sym_db.RegisterMessage(AdGroupAdLabel) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_ad_label_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_ad_label_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_ad_label_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_ad_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_ad_pb2.py deleted file mode 100644 index 8bd911c8a..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_ad_pb2.py +++ /dev/null @@ -1,209 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v2.proto.enums import ad_group_ad_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__group__ad__status__pb2 -from google.ads.google_ads.v2.proto.enums import ad_strength_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__strength__pb2 -from google.ads.google_ads.v2.proto.enums import policy_approval_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__approval__status__pb2 -from google.ads.google_ads.v2.proto.enums import policy_review_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__review__status__pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__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_v2/proto/resources/ad_group_ad.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\016AdGroupAdProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/resources/ad_group_ad.proto\x12!google.ads.googleads.v2.resources\x1a\x31google/ads/googleads_v2/proto/common/policy.proto\x1agoogle/ads/googleads_v2/proto/enums/policy_review_status.proto\x1a\x30google/ads/googleads_v2/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.v2.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.v2.resources.Ad\x12Q\n\x0epolicy_summary\x18\x06 \x01(\x0b\x32\x39.google.ads.googleads.v2.resources.AdGroupAdPolicySummary\x12M\n\x0b\x61\x64_strength\x18\x07 \x01(\x0e\x32\x38.google.ads.googleads.v2.enums.AdStrengthEnum.AdStrength\"\xb0\x02\n\x16\x41\x64GroupAdPolicySummary\x12N\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v2.common.PolicyTopicEntry\x12_\n\rreview_status\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v2.enums.PolicyReviewStatusEnum.PolicyReviewStatus\x12\x65\n\x0f\x61pproval_status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v2.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\xfb\x01\n%com.google.ads.googleads.v2.resourcesB\x0e\x41\x64GroupAdProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__group__ad__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__strength__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__review__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.AdGroupAd', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.resources.AdGroupAdPolicySummary', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='policy_topic_entries', full_name='google.ads.googleads.v2.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.v2.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.v2.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__v2_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__v2_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__v2_dot_proto_dot_enums_dot_ad__strength__pb2._ADSTRENGTHENUM_ADSTRENGTH -_ADGROUPADPOLICYSUMMARY.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY -_ADGROUPADPOLICYSUMMARY.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS -_ADGROUPADPOLICYSUMMARY.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v2_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_v2.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.v2.resources.AdGroupAd) - )) -_sym_db.RegisterMessage(AdGroupAd) - -AdGroupAdPolicySummary = _reflection.GeneratedProtocolMessageType('AdGroupAdPolicySummary', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPADPOLICYSUMMARY, - __module__ = 'google.ads.googleads_v2.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.v2.resources.AdGroupAdPolicySummary) - )) -_sym_db.RegisterMessage(AdGroupAdPolicySummary) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_ad_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_ad_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_ad_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_audience_view_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_audience_view_pb2.py deleted file mode 100644 index 26b4ed14f..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/ad_group_audience_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\030AdGroupAudienceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/resources/ad_group_audience_view.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x18\x41\x64GroupAudienceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADGROUPAUDIENCEVIEW = _descriptor.Descriptor( - name='AdGroupAudienceView', - full_name='google.ads.googleads.v2.resources.AdGroupAudienceView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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_v2.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.v2.resources.AdGroupAudienceView) - )) -_sym_db.RegisterMessage(AdGroupAudienceView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_audience_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_audience_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_audience_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_bid_modifier_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_bid_modifier_pb2.py deleted file mode 100644 index cadbf6afd..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_bid_modifier_pb2.py +++ /dev/null @@ -1,228 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v2.proto.enums import bid_modifier_source_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_bid__modifier__source__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_v2/proto/resources/ad_group_bid_modifier.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\027AdGroupBidModifierProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/resources/ad_group_bid_modifier.proto\x12!google.ads.googleads.v2.resources\x1a\x33google/ads/googleads_v2/proto/common/criteria.proto\x1a=google/ads/googleads_v2/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.v2.enums.BidModifierSourceEnum.BidModifierSource\x12_\n\x19hotel_date_selection_type\x18\x05 \x01(\x0b\x32:.google.ads.googleads.v2.common.HotelDateSelectionTypeInfoH\x00\x12\x65\n\x1chotel_advance_booking_window\x18\x06 \x01(\x0b\x32=.google.ads.googleads.v2.common.HotelAdvanceBookingWindowInfoH\x00\x12U\n\x14hotel_length_of_stay\x18\x07 \x01(\x0b\x32\x35.google.ads.googleads.v2.common.HotelLengthOfStayInfoH\x00\x12Q\n\x12hotel_check_in_day\x18\x08 \x01(\x0b\x32\x33.google.ads.googleads.v2.common.HotelCheckInDayInfoH\x00\x12<\n\x06\x64\x65vice\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v2.common.DeviceInfoH\x00\x12Q\n\x11preferred_content\x18\x0c \x01(\x0b\x32\x34.google.ads.googleads.v2.common.PreferredContentInfoH\x00\x42\x0b\n\tcriterionB\x84\x02\n%com.google.ads.googleads.v2.resourcesB\x17\x41\x64GroupBidModifierProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_bid__modifier__source__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.v2.resources.AdGroupBidModifier', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='bid_modifier_source', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='hotel_date_selection_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='hotel_advance_booking_window', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='hotel_length_of_stay', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='hotel_check_in_day', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='preferred_content', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v2.resources.AdGroupBidModifier.criterion', - index=0, containing_type=None, fields=[]), - ], - serialized_start=285, - serialized_end=1161, -) - -_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__v2_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__v2_dot_proto_dot_common_dot_criteria__pb2._HOTELDATESELECTIONTYPEINFO -_ADGROUPBIDMODIFIER.fields_by_name['hotel_advance_booking_window'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._HOTELADVANCEBOOKINGWINDOWINFO -_ADGROUPBIDMODIFIER.fields_by_name['hotel_length_of_stay'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._HOTELLENGTHOFSTAYINFO -_ADGROUPBIDMODIFIER.fields_by_name['hotel_check_in_day'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._HOTELCHECKINDAYINFO -_ADGROUPBIDMODIFIER.fields_by_name['device'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO -_ADGROUPBIDMODIFIER.fields_by_name['preferred_content'].message_type = google_dot_ads_dot_googleads__v2_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'] -_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( - _ADGROUPBIDMODIFIER.fields_by_name['hotel_advance_booking_window']) -_ADGROUPBIDMODIFIER.fields_by_name['hotel_advance_booking_window'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] -_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( - _ADGROUPBIDMODIFIER.fields_by_name['hotel_length_of_stay']) -_ADGROUPBIDMODIFIER.fields_by_name['hotel_length_of_stay'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] -_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( - _ADGROUPBIDMODIFIER.fields_by_name['hotel_check_in_day']) -_ADGROUPBIDMODIFIER.fields_by_name['hotel_check_in_day'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] -_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( - _ADGROUPBIDMODIFIER.fields_by_name['device']) -_ADGROUPBIDMODIFIER.fields_by_name['device'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] -_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( - _ADGROUPBIDMODIFIER.fields_by_name['preferred_content']) -_ADGROUPBIDMODIFIER.fields_by_name['preferred_content'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] -DESCRIPTOR.message_types_by_name['AdGroupBidModifier'] = _ADGROUPBIDMODIFIER -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupBidModifier = _reflection.GeneratedProtocolMessageType('AdGroupBidModifier', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPBIDMODIFIER, - __module__ = 'google.ads.googleads_v2.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}`` - ad_group: - The ad group to which this criterion belongs. - criterion_id: - 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. - bid_modifier_source: - 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). - hotel_advance_booking_window: - 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. - hotel_check_in_day: - Criterion for day of the week the booking is for. - device: - A device criterion. - preferred_content: - A preferred content criterion. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AdGroupBidModifier) - )) -_sym_db.RegisterMessage(AdGroupBidModifier) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_bid_modifier_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_bid_modifier_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_bid_modifier_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_label_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_criterion_label_pb2.py deleted file mode 100644 index c9503e7a7..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/ad_group_criterion_label.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\032AdGroupCriterionLabelProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/resources/ad_group_criterion_label.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x1a\x41\x64GroupCriterionLabelProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::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.v2.resources.AdGroupCriterionLabel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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_v2.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/{cus - tomer_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.v2.resources.AdGroupCriterionLabel) - )) -_sym_db.RegisterMessage(AdGroupCriterionLabel) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_label_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_criterion_label_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_label_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_criterion_pb2.py deleted file mode 100644 index 5707d536e..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_pb2.py +++ /dev/null @@ -1,786 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/ad_group_criterion.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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v2.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2 -from google.ads.google_ads.v2.proto.enums import ad_group_criterion_approval_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2 -from google.ads.google_ads.v2.proto.enums import ad_group_criterion_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2 -from google.ads.google_ads.v2.proto.enums import bidding_source_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_bidding__source__pb2 -from google.ads.google_ads.v2.proto.enums import criterion_system_serving_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2 -from google.ads.google_ads.v2.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__type__pb2 -from google.ads.google_ads.v2.proto.enums import quality_score_bucket_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/ad_group_criterion.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\025AdGroupCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/resources/ad_group_criterion.proto\x12!google.ads.googleads.v2.resources\x1a\x33google/ads/googleads_v2/proto/common/criteria.proto\x1a;google/ads/googleads_v2/proto/common/custom_parameter.proto\x1aLgoogle/ads/googleads_v2/proto/enums/ad_group_criterion_approval_status.proto\x1a\x43google/ads/googleads_v2/proto/enums/ad_group_criterion_status.proto\x1a\x38google/ads/googleads_v2/proto/enums/bidding_source.proto\x1aIgoogle/ads/googleads_v2/proto/enums/criterion_system_serving_status.proto\x1a\x38google/ads/googleads_v2/proto/enums/criterion_type.proto\x1a>google/ads/googleads_v2/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.v2.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus\x12U\n\x0cquality_info\x18\x04 \x01(\x0b\x32?.google.ads.googleads.v2.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.v2.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.v2.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus\x12y\n\x0f\x61pproval_status\x18\x35 \x01(\x0e\x32`.google.ads.googleads.v2.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.v2.enums.BiddingSourceEnum.BiddingSource\x12`\n\x18\x65\x66\x66\x65\x63tive_cpm_bid_source\x18\x16 \x01(\x0e\x32>.google.ads.googleads.v2.enums.BiddingSourceEnum.BiddingSource\x12`\n\x18\x65\x66\x66\x65\x63tive_cpv_bid_source\x18\x17 \x01(\x0e\x32>.google.ads.googleads.v2.enums.BiddingSourceEnum.BiddingSource\x12h\n effective_percent_cpc_bid_source\x18# \x01(\x0e\x32>.google.ads.googleads.v2.enums.BiddingSourceEnum.BiddingSource\x12\x61\n\x12position_estimates\x18\n \x01(\x0b\x32\x45.google.ads.googleads.v2.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.v2.common.CustomParameter\x12>\n\x07keyword\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v2.common.KeywordInfoH\x00\x12\x42\n\tplacement\x18\x1c \x01(\x0b\x32-.google.ads.googleads.v2.common.PlacementInfoH\x00\x12T\n\x13mobile_app_category\x18\x1d \x01(\x0b\x32\x35.google.ads.googleads.v2.common.MobileAppCategoryInfoH\x00\x12S\n\x12mobile_application\x18\x1e \x01(\x0b\x32\x35.google.ads.googleads.v2.common.MobileApplicationInfoH\x00\x12I\n\rlisting_group\x18 \x01(\x0b\x32\x30.google.ads.googleads.v2.common.ListingGroupInfoH\x00\x12\x41\n\tage_range\x18$ \x01(\x0b\x32,.google.ads.googleads.v2.common.AgeRangeInfoH\x00\x12<\n\x06gender\x18% \x01(\x0b\x32*.google.ads.googleads.v2.common.GenderInfoH\x00\x12G\n\x0cincome_range\x18& \x01(\x0b\x32/.google.ads.googleads.v2.common.IncomeRangeInfoH\x00\x12M\n\x0fparental_status\x18\' \x01(\x0b\x32\x32.google.ads.googleads.v2.common.ParentalStatusInfoH\x00\x12\x41\n\tuser_list\x18* \x01(\x0b\x32,.google.ads.googleads.v2.common.UserListInfoH\x00\x12I\n\ryoutube_video\x18( \x01(\x0b\x32\x30.google.ads.googleads.v2.common.YouTubeVideoInfoH\x00\x12M\n\x0fyoutube_channel\x18) \x01(\x0b\x32\x32.google.ads.googleads.v2.common.YouTubeChannelInfoH\x00\x12:\n\x05topic\x18+ \x01(\x0b\x32).google.ads.googleads.v2.common.TopicInfoH\x00\x12I\n\ruser_interest\x18- \x01(\x0b\x32\x30.google.ads.googleads.v2.common.UserInterestInfoH\x00\x12>\n\x07webpage\x18. \x01(\x0b\x32+.google.ads.googleads.v2.common.WebpageInfoH\x00\x12P\n\x11\x61pp_payment_model\x18/ \x01(\x0b\x32\x33.google.ads.googleads.v2.common.AppPaymentModelInfoH\x00\x12M\n\x0f\x63ustom_affinity\x18\x30 \x01(\x0b\x32\x32.google.ads.googleads.v2.common.CustomAffinityInfoH\x00\x12I\n\rcustom_intent\x18\x31 \x01(\x0b\x32\x30.google.ads.googleads.v2.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.v2.enums.QualityScoreBucketEnum.QualityScoreBucket\x12j\n\x18post_click_quality_score\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v2.enums.QualityScoreBucketEnum.QualityScoreBucket\x12\x66\n\x14search_predicted_ctr\x18\x04 \x01(\x0e\x32H.google.ads.googleads.v2.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.v2.resourcesB\x15\x41\x64GroupCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_bidding__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_quality__score__bucket__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.v2.resources.AdGroupCriterion.QualityInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='quality_score', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='creative_quality_score', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='post_click_quality_score', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='search_predicted_ctr', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4032, - serialized_end=4415, -) - -_ADGROUPCRITERION_POSITIONESTIMATES = _descriptor.Descriptor( - name='PositionEstimates', - full_name='google.ads.googleads.v2.resources.AdGroupCriterion.PositionEstimates', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='first_page_cpc_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='first_position_cpc_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='top_of_page_cpc_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='estimated_add_clicks_at_first_position_cpc', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='estimated_add_cost_at_first_position_cpc', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4418, - serialized_end=4782, -) - -_ADGROUPCRITERION = _descriptor.Descriptor( - name='AdGroupCriterion', - full_name='google.ads.googleads.v2.resources.AdGroupCriterion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='negative', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='system_serving_status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approval_status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.bid_modifier', index=9, - 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.v2.resources.AdGroupCriterion.cpc_bid_micros', 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='cpm_bid_micros', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.cpm_bid_micros', 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), - _descriptor.FieldDescriptor( - name='cpv_bid_micros', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.cpv_bid_micros', index=12, - 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.v2.resources.AdGroupCriterion.percent_cpc_bid_micros', 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='effective_cpc_bid_micros', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.effective_cpc_bid_micros', index=14, - 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='effective_cpm_bid_micros', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.effective_cpm_bid_micros', index=15, - 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='effective_cpv_bid_micros', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.effective_cpv_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='effective_percent_cpc_bid_micros', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.effective_percent_cpc_bid_micros', index=17, - 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='effective_cpc_bid_source', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.effective_cpc_bid_source', index=18, - 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='effective_cpm_bid_source', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.effective_cpm_bid_source', index=19, - 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='effective_cpv_bid_source', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.effective_cpv_bid_source', index=20, - 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='effective_percent_cpc_bid_source', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.effective_percent_cpc_bid_source', index=21, - 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='position_estimates', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.position_estimates', index=22, - 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='final_urls', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.final_urls', index=23, - 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.v2.resources.AdGroupCriterion.final_mobile_urls', index=24, - 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.v2.resources.AdGroupCriterion.final_url_suffix', index=25, - 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.v2.resources.AdGroupCriterion.tracking_url_template', index=26, - 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.v2.resources.AdGroupCriterion.url_custom_parameters', index=27, - 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.v2.resources.AdGroupCriterion.keyword', index=28, - 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='placement', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.placement', index=29, - 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='mobile_app_category', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.mobile_app_category', index=30, - 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='mobile_application', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.mobile_application', index=31, - 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='listing_group', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.listing_group', index=32, - 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='age_range', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.age_range', 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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gender', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.gender', index=34, - 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='income_range', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.income_range', index=35, - 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='parental_status', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.parental_status', index=36, - 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='user_list', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.user_list', index=37, - 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='youtube_video', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.youtube_video', index=38, - 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='youtube_channel', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.youtube_channel', 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='topic', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.topic', index=40, - 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='user_interest', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.user_interest', index=41, - 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='webpage', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.webpage', index=42, - 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='app_payment_model', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.app_payment_model', index=43, - 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='custom_affinity', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.custom_affinity', index=44, - 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='custom_intent', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.custom_intent', index=45, - 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), - ], - extensions=[ - ], - nested_types=[_ADGROUPCRITERION_QUALITYINFO, _ADGROUPCRITERION_POSITIONESTIMATES, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v2.resources.AdGroupCriterion.criterion', - index=0, containing_type=None, fields=[]), - ], - serialized_start=682, - serialized_end=4795, -) - -_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__v2_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__v2_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__v2_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 -_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['top_of_page_cpc_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['estimated_add_clicks_at_first_position_cpc'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2._ADGROUPCRITERIONAPPROVALSTATUSENUM_ADGROUPCRITERIONAPPROVALSTATUS -_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 -_ADGROUPCRITERION.fields_by_name['cpv_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUPCRITERION.fields_by_name['percent_cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUPCRITERION.fields_by_name['effective_cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_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__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER -_ADGROUPCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO -_ADGROUPCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO -_ADGROUPCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO -_ADGROUPCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO -_ADGROUPCRITERION.fields_by_name['listing_group'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._LISTINGGROUPINFO -_ADGROUPCRITERION.fields_by_name['age_range'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._AGERANGEINFO -_ADGROUPCRITERION.fields_by_name['gender'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO -_ADGROUPCRITERION.fields_by_name['income_range'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._INCOMERANGEINFO -_ADGROUPCRITERION.fields_by_name['parental_status'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._PARENTALSTATUSINFO -_ADGROUPCRITERION.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._USERLISTINFO -_ADGROUPCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO -_ADGROUPCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO -_ADGROUPCRITERION.fields_by_name['topic'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._TOPICINFO -_ADGROUPCRITERION.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._USERINTERESTINFO -_ADGROUPCRITERION.fields_by_name['webpage'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._WEBPAGEINFO -_ADGROUPCRITERION.fields_by_name['app_payment_model'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._APPPAYMENTMODELINFO -_ADGROUPCRITERION.fields_by_name['custom_affinity'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._CUSTOMAFFINITYINFO -_ADGROUPCRITERION.fields_by_name['custom_intent'].message_type = google_dot_ads_dot_googleads__v2_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'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['placement']) -_ADGROUPCRITERION.fields_by_name['placement'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['mobile_app_category']) -_ADGROUPCRITERION.fields_by_name['mobile_app_category'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['mobile_application']) -_ADGROUPCRITERION.fields_by_name['mobile_application'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['listing_group']) -_ADGROUPCRITERION.fields_by_name['listing_group'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['age_range']) -_ADGROUPCRITERION.fields_by_name['age_range'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['gender']) -_ADGROUPCRITERION.fields_by_name['gender'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['income_range']) -_ADGROUPCRITERION.fields_by_name['income_range'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['parental_status']) -_ADGROUPCRITERION.fields_by_name['parental_status'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['user_list']) -_ADGROUPCRITERION.fields_by_name['user_list'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['youtube_video']) -_ADGROUPCRITERION.fields_by_name['youtube_video'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['youtube_channel']) -_ADGROUPCRITERION.fields_by_name['youtube_channel'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['topic']) -_ADGROUPCRITERION.fields_by_name['topic'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['user_interest']) -_ADGROUPCRITERION.fields_by_name['user_interest'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['webpage']) -_ADGROUPCRITERION.fields_by_name['webpage'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['app_payment_model']) -_ADGROUPCRITERION.fields_by_name['app_payment_model'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['custom_affinity']) -_ADGROUPCRITERION.fields_by_name['custom_affinity'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( - _ADGROUPCRITERION.fields_by_name['custom_intent']) -_ADGROUPCRITERION.fields_by_name['custom_intent'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] -DESCRIPTOR.message_types_by_name['AdGroupCriterion'] = _ADGROUPCRITERION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupCriterion = _reflection.GeneratedProtocolMessageType('AdGroupCriterion', (_message.Message,), dict( - - QualityInfo = _reflection.GeneratedProtocolMessageType('QualityInfo', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPCRITERION_QUALITYINFO, - __module__ = 'google.ads.googleads_v2.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. - creative_quality_score: - The performance of the ad compared to other advertisers. - post_click_quality_score: - The quality score of the landing page. - search_predicted_ctr: - The click-through rate compared to that of other advertisers. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AdGroupCriterion.QualityInfo) - )) - , - - PositionEstimates = _reflection.GeneratedProtocolMessageType('PositionEstimates', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPCRITERION_POSITIONESTIMATES, - __module__ = 'google.ads.googleads_v2.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. - 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. - 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. - 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. - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AdGroupCriterion.PositionEstimates) - )) - , - DESCRIPTOR = _ADGROUPCRITERION, - __module__ = 'google.ads.googleads_v2.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}`` - criterion_id: - 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. - ad_group: - The ad group to which the criterion belongs. - type: - The type of the criterion. - negative: - 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. - approval_status: - Approval status of the criterion. - bid_modifier: - The modifier for the bid when the criterion matches. The - modifier must be in the range: 0.1 - 10.0. Most targetable - criteria types support modifiers. - cpc_bid_micros: - The CPC (cost-per-click) bid. - cpm_bid_micros: - The CPM (cost-per-thousand viewable impressions) bid. - cpv_bid_micros: - The CPV (cost-per-view) bid. - percent_cpc_bid_micros: - The CPC bid amount, expressed as a fraction of the advertised - price for some good or service. The valid range for the - 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. - effective_cpm_bid_micros: - The effective CPM (cost-per-thousand viewable impressions) - bid. - effective_cpv_bid_micros: - The effective CPV (cost-per-view) bid. - effective_percent_cpc_bid_micros: - The effective Percent CPC bid amount. - effective_cpc_bid_source: - Source of the effective CPC bid. - effective_cpm_bid_source: - Source of the effective CPM bid. - effective_cpv_bid_source: - Source of the effective CPV bid. - effective_percent_cpc_bid_source: - Source of the effective Percent CPC bid. - position_estimates: - Estimates for criterion bids at various positions. - final_urls: - The list of possible final URLs after all cross-domain - redirects for the ad. - final_mobile_urls: - The list of possible final mobile URLs after all cross-domain - redirects. - final_url_suffix: - URL template for appending params to final URL. - tracking_url_template: - The URL template for constructing a tracking URL. - url_custom_parameters: - The list of mappings used to substitute custom parameter tags - in a ``tracking_url_template``, ``final_urls``, or - ``mobile_final_urls``. - criterion: - The ad group criterion. Exactly one must be set. - keyword: - Keyword. - placement: - Placement. - mobile_app_category: - Mobile app category. - mobile_application: - Mobile application. - listing_group: - Listing group. - age_range: - Age range. - gender: - Gender. - income_range: - Income range. - parental_status: - Parental status. - user_list: - User List. - youtube_video: - YouTube Video. - youtube_channel: - YouTube Channel. - topic: - Topic. - user_interest: - User Interest. - webpage: - Webpage - app_payment_model: - App Payment Model. - custom_affinity: - Custom Affinity. - custom_intent: - Custom Intent. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AdGroupCriterion) - )) -_sym_db.RegisterMessage(AdGroupCriterion) -_sym_db.RegisterMessage(AdGroupCriterion.QualityInfo) -_sym_db.RegisterMessage(AdGroupCriterion.PositionEstimates) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_criterion_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_simulation_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_criterion_simulation_pb2.py deleted file mode 100644 index 93030d005..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_simulation_pb2.py +++ /dev/null @@ -1,174 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_simulation__pb2 -from google.ads.google_ads.v2.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_simulation__modification__method__pb2 -from google.ads.google_ads.v2.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/ad_group_criterion_simulation.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\037AdGroupCriterionSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/resources/ad_group_criterion_simulation.proto\x12!google.ads.googleads.v2.resources\x1a\x35google/ads/googleads_v2/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v2/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v2/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.v2.enums.SimulationTypeEnum.SimulationType\x12y\n\x13modification_method\x18\x05 \x01(\x0e\x32\\.google.ads.googleads.v2.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.v2.common.CpcBidSimulationPointListH\x00\x42\x0c\n\npoint_listB\x8c\x02\n%com.google.ads.googleads.v2.resourcesB\x1f\x41\x64GroupCriterionSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.AdGroupCriterionSimulation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE -_ADGROUPCRITERIONSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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_v2.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. - - DISPLAY KEYWORD CPC\_BID UNIFORM SEARCH KEYWORD CPC\_BID UNIFORM - SHOPPING LISTING\_GROUP 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.v2.resources.AdGroupCriterionSimulation) - )) -_sym_db.RegisterMessage(AdGroupCriterionSimulation) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_simulation_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_criterion_simulation_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_criterion_simulation_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_extension_setting_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_extension_setting_pb2.py deleted file mode 100644 index 4c01a507e..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import extension_setting_device_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_extension__setting__device__pb2 -from google.ads.google_ads.v2.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/ad_group_extension_setting.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\034AdGroupExtensionSettingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/resources/ad_group_extension_setting.proto\x12!google.ads.googleads.v2.resources\x1a\x42google/ads/googleads_v2/proto/enums/extension_setting_device.proto\x1a\x38google/ads/googleads_v2/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.v2.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.v2.enums.ExtensionSettingDeviceEnum.ExtensionSettingDeviceB\x89\x02\n%com.google.ads.googleads.v2.resourcesB\x1c\x41\x64GroupExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.AdGroupExtensionSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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__v2_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_v2.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.v2.resources.AdGroupExtensionSetting) - )) -_sym_db.RegisterMessage(AdGroupExtensionSetting) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_extension_setting_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_extension_setting_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_extension_setting_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_feed_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_feed_pb2.py deleted file mode 100644 index 9a13135bb..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_matching__function__pb2 -from google.ads.google_ads.v2.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__link__status__pb2 -from google.ads.google_ads.v2.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/ad_group_feed.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\020AdGroupFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/resources/ad_group_feed.proto\x12!google.ads.googleads.v2.resources\x1a.google.ads.googleads.v2.enums.AdGroupStatusEnum.AdGroupStatus\x12H\n\x04type\x18\x0c \x01(\x0e\x32:.google.ads.googleads.v2.enums.AdGroupTypeEnum.AdGroupType\x12h\n\x10\x61\x64_rotation_mode\x18\x16 \x01(\x0e\x32N.google.ads.googleads.v2.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.v2.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.v2.common.ExplorerAutoOptimizerSetting\x12n\n\x1c\x64isplay_custom_bid_dimension\x18\x17 \x01(\x0e\x32H.google.ads.googleads.v2.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.v2.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.v2.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.v2.enums.BiddingSourceEnum.BiddingSource\x12,\n\x06labels\x18! \x03(\x0b\x32\x1c.google.protobuf.StringValueB\xf9\x01\n%com.google.ads.googleads.v2.resourcesB\x0c\x41\x64GroupProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_explorer__auto__optimizer__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_targeting__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__group__ad__rotation__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__group__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__group__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_bidding__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_targeting__dimension__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.v2.resources.AdGroup', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='ad_rotation_mode', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='cpc_bid_micros', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='target_cpm_micros', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='effective_target_cpa_source', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='effective_target_roas', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='effective_target_roas_source', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='labels', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=661, - serialized_end=2387, -) - -_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__v2_dot_proto_dot_enums_dot_ad__group__status__pb2._ADGROUPSTATUSENUM_ADGROUPSTATUS -_ADGROUP.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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 -_ADGROUP.fields_by_name['target_cpa_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUP.fields_by_name['cpv_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_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__v2_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__v2_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__v2_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__v2_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__v2_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_v2.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: - ``customers/{customer_id}/adGroups/{ad_group_id}`` - id: - 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 - fewer than 255 UTF-8 full-width characters. It must not - contain any null (code point 0x0), NL line feed (code point - 0xA) or carriage return (code point 0xD) characters. - status: - The status of the ad group. - type: - 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. - tracking_url_template: - The URL template for constructing a tracking URL. - url_custom_parameters: - The list of mappings used to substitute custom parameter tags - in a ``tracking_url_template``, ``final_urls``, or - ``mobile_final_urls``. - campaign: - The campaign to which the ad group belongs. - cpc_bid_micros: - The maximum CPC (cost-per-click) bid. - cpm_bid_micros: - The maximum CPM (cost-per-thousand viewable impressions) bid. - target_cpa_micros: - The target CPA (cost-per-acquisition). - cpv_bid_micros: - 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. - target_roas: - The target ROAS (return-on-ad-spend) override. If the ad - group's campaign bidding strategy is a standard Target ROAS - strategy, then this field overrides the target ROAS specified - in the campaign's bidding strategy. Otherwise, this value is - ignored. - percent_cpc_bid_micros: - The percent cpc bid amount, expressed as a fraction of the - advertised price for some good or service. The valid range for - the fraction is [0,1) and the value stored here is 1,000,000 - \* [fraction]. - explorer_auto_optimizer_setting: - Settings for the Display Campaign Optimizer, initially termed - "Explorer". - display_custom_bid_dimension: - Allows advertisers to specify a targeting dimension on which - to place absolute bids. This is only applicable for campaigns - that target only the display network and not search. - final_url_suffix: - URL template for appending params to Final URL. - targeting_setting: - Setting for targeting related features. - effective_target_cpa_micros: - 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 - read-only. - effective_target_roas_source: - Source of the effective target ROAS. This field is read-only. - labels: - The resource names of labels attached to this ad group. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AdGroup) - )) -_sym_db.RegisterMessage(AdGroup) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_simulation_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_group_simulation_pb2.py deleted file mode 100644 index 3cc47e1d5..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_simulation_pb2.py +++ /dev/null @@ -1,190 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_simulation__pb2 -from google.ads.google_ads.v2.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_simulation__modification__method__pb2 -from google.ads.google_ads.v2.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/ad_group_simulation.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\026AdGroupSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/resources/ad_group_simulation.proto\x12!google.ads.googleads.v2.resources\x1a\x35google/ads/googleads_v2/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v2/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v2/proto/enums/simulation_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa8\x05\n\x11\x41\x64GroupSimulation\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\x12N\n\x04type\x18\x03 \x01(\x0e\x32@.google.ads.googleads.v2.enums.SimulationTypeEnum.SimulationType\x12y\n\x13modification_method\x18\x04 \x01(\x0e\x32\\.google.ads.googleads.v2.enums.SimulationModificationMethodEnum.SimulationModificationMethod\x12\x30\n\nstart_date\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x65nd_date\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12W\n\x12\x63pc_bid_point_list\x18\x08 \x01(\x0b\x32\x39.google.ads.googleads.v2.common.CpcBidSimulationPointListH\x00\x12W\n\x12\x63pv_bid_point_list\x18\n \x01(\x0b\x32\x39.google.ads.googleads.v2.common.CpvBidSimulationPointListH\x00\x12]\n\x15target_cpa_point_list\x18\t \x01(\x0b\x32<.google.ads.googleads.v2.common.TargetCpaSimulationPointListH\x00\x42\x0c\n\npoint_listB\x83\x02\n%com.google.ads.googleads.v2.resourcesB\x16\x41\x64GroupSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_simulation__type__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.v2.resources.AdGroupSimulation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='modification_method', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='start_date', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='end_date', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cpc_bid_point_list', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cpv_bid_point_list', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='target_cpa_point_list', full_name='google.ads.googleads.v2.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=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.v2.resources.AdGroupSimulation.point_list', - index=0, containing_type=None, fields=[]), - ], - serialized_start=355, - serialized_end=1035, -) - -_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__v2_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE -_ADGROUPSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_common_dot_simulation__pb2._CPCBIDSIMULATIONPOINTLIST -_ADGROUPSIMULATION.fields_by_name['cpv_bid_point_list'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_simulation__pb2._CPVBIDSIMULATIONPOINTLIST -_ADGROUPSIMULATION.fields_by_name['target_cpa_point_list'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_simulation__pb2._TARGETCPASIMULATIONPOINTLIST -_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'] -DESCRIPTOR.message_types_by_name['AdGroupSimulation'] = _ADGROUPSIMULATION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupSimulation = _reflection.GeneratedProtocolMessageType('AdGroupSimulation', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPSIMULATION, - __module__ = 'google.ads.googleads_v2.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. - - SEARCH CPC\_BID DEFAULT SEARCH CPC\_BID UNIFORM SEARCH TARGET\_CPA - UNIFORM DISPLAY CPC\_BID DEFAULT DISPLAY CPC\_BID UNIFORM DISPLAY - TARGET\_CPA UNIFORM VIDEO CPV\_BID DEFAULT VIDEO CPV\_BID UNIFORM - - - Attributes: - resource_name: - The resource name of the ad group simulation. Ad group - simulation resource names have the form: ``customers/{custome - r_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_me - thod}~{start_date}~{end_date}`` - ad_group_id: - Ad group 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. - cpv_bid_point_list: - Simulation points if the simulation type is CPV\_BID. - target_cpa_point_list: - Simulation points if the simulation type is TARGET\_CPA. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AdGroupSimulation) - )) -_sym_db.RegisterMessage(AdGroupSimulation) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_group_simulation_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_group_simulation_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_group_simulation_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_parameter_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_parameter_pb2.py deleted file mode 100644 index 62a3e7b72..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_parameter_pb2.py +++ /dev/null @@ -1,129 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/ad_parameter.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_v2/proto/resources/ad_parameter.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\020AdParameterProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/resources/ad_parameter.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x10\x41\x64ParameterProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADPARAMETER = _descriptor.Descriptor( - name='AdParameter', - full_name='google.ads.googleads.v2.resources.AdParameter', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='ad_group_criterion', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='parameter_index', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='insertion_text', full_name='google.ads.googleads.v2.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, - 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=160, - serialized_end=362, -) - -_ADPARAMETER.fields_by_name['ad_group_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADPARAMETER.fields_by_name['parameter_index'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADPARAMETER.fields_by_name['insertion_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['AdParameter'] = _ADPARAMETER -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdParameter = _reflection.GeneratedProtocolMessageType('AdParameter', (_message.Message,), dict( - DESCRIPTOR = _ADPARAMETER, - __module__ = 'google.ads.googleads_v2.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 - be a maximum of two AdParameters per ad group criterion. (One with - parameter\_index = 1 and one with parameter\_index = 2.) In the ad the - parameters are referenced by a placeholder of the form "{param#:value}". - E.g. "{param1:$17}" - - - 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}`` - ad_group_criterion: - 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. - insertion_text: - Numeric value to insert into the ad text. The following - restrictions apply: - Can use comma or period as a separator, - with an optional period or comma (respectively) for fractional - values. For example, 1,000,000.00 and 2.000.000,10 are valid. - - Can be prepended or appended with a currency symbol. For - example, $99.99 is valid. - Can be prepended or appended with - a currency code. For example, 99.99USD and EUR200 are valid. - - Can use '%'. For example, 1.0% and 1,0% are valid. - Can use - plus or minus. For example, -10.99 and 25+ are valid. - Can - use '/' between two numbers. For example 4/1 and 0.95/0.45 are - valid. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AdParameter) - )) -_sym_db.RegisterMessage(AdParameter) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_parameter_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_parameter_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_parameter_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_pb2.py deleted file mode 100644 index 49059cc7d..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_pb2.py +++ /dev/null @@ -1,493 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/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.v2.proto.common import ad_type_infos_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2 -from google.ads.google_ads.v2.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2 -from google.ads.google_ads.v2.proto.common import final_app_url_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_final__app__url__pb2 -from google.ads.google_ads.v2.proto.common import url_collection_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_url__collection__pb2 -from google.ads.google_ads.v2.proto.enums import ad_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__type__pb2 -from google.ads.google_ads.v2.proto.enums import device_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_device__pb2 -from google.ads.google_ads.v2.proto.enums import system_managed_entity_source_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_system__managed__entity__source__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_v2/proto/resources/ad.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\007AdProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n0google/ads/googleads_v2/proto/resources/ad.proto\x12!google.ads.googleads.v2.resources\x1a\x38google/ads/googleads_v2/proto/common/ad_type_infos.proto\x1a;google/ads/googleads_v2/proto/common/custom_parameter.proto\x1a\x38google/ads/googleads_v2/proto/common/final_app_url.proto\x1a\x39google/ads/googleads_v2/proto/common/url_collection.proto\x1a\x31google/ads/googleads_v2/proto/enums/ad_type.proto\x1a\x30google/ads/googleads_v2/proto/enums/device.proto\x1a\x46google/ads/googleads_v2/proto/enums/system_managed_entity_source.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xda\x12\n\x02\x41\x64\x12\x15\n\rresource_name\x18% \x01(\t\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.v2.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.v2.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.v2.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.v2.enums.DeviceEnum.Device\x12\x46\n\x0furl_collections\x18\x1a \x03(\x0b\x32-.google.ads.googleads.v2.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.v2.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource\x12=\n\x07text_ad\x18\x06 \x01(\x0b\x32*.google.ads.googleads.v2.common.TextAdInfoH\x00\x12N\n\x10\x65xpanded_text_ad\x18\x07 \x01(\x0b\x32\x32.google.ads.googleads.v2.common.ExpandedTextAdInfoH\x00\x12\x46\n\x0c\x63\x61ll_only_ad\x18\r \x01(\x0b\x32..google.ads.googleads.v2.common.CallOnlyAdInfoH\x00\x12\x61\n\x1a\x65xpanded_dynamic_search_ad\x18\x0e \x01(\x0b\x32;.google.ads.googleads.v2.common.ExpandedDynamicSearchAdInfoH\x00\x12?\n\x08hotel_ad\x18\x0f \x01(\x0b\x32+.google.ads.googleads.v2.common.HotelAdInfoH\x00\x12P\n\x11shopping_smart_ad\x18\x11 \x01(\x0b\x32\x33.google.ads.googleads.v2.common.ShoppingSmartAdInfoH\x00\x12T\n\x13shopping_product_ad\x18\x12 \x01(\x0b\x32\x35.google.ads.googleads.v2.common.ShoppingProductAdInfoH\x00\x12?\n\x08gmail_ad\x18\x15 \x01(\x0b\x32+.google.ads.googleads.v2.common.GmailAdInfoH\x00\x12?\n\x08image_ad\x18\x16 \x01(\x0b\x32+.google.ads.googleads.v2.common.ImageAdInfoH\x00\x12?\n\x08video_ad\x18\x18 \x01(\x0b\x32+.google.ads.googleads.v2.common.VideoAdInfoH\x00\x12V\n\x14responsive_search_ad\x18\x19 \x01(\x0b\x32\x36.google.ads.googleads.v2.common.ResponsiveSearchAdInfoH\x00\x12\x65\n\x1clegacy_responsive_display_ad\x18\x1c \x01(\x0b\x32=.google.ads.googleads.v2.common.LegacyResponsiveDisplayAdInfoH\x00\x12;\n\x06\x61pp_ad\x18\x1d \x01(\x0b\x32).google.ads.googleads.v2.common.AppAdInfoH\x00\x12W\n\x15legacy_app_install_ad\x18\x1e \x01(\x0b\x32\x36.google.ads.googleads.v2.common.LegacyAppInstallAdInfoH\x00\x12X\n\x15responsive_display_ad\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v2.common.ResponsiveDisplayAdInfoH\x00\x12P\n\x11\x64isplay_upload_ad\x18! \x01(\x0b\x32\x33.google.ads.googleads.v2.common.DisplayUploadAdInfoH\x00\x12P\n\x11\x61pp_engagement_ad\x18\" \x01(\x0b\x32\x33.google.ads.googleads.v2.common.AppEngagementAdInfoH\x00\x12i\n\x1eshopping_comparison_listing_ad\x18$ \x01(\x0b\x32?.google.ads.googleads.v2.common.ShoppingComparisonListingAdInfoH\x00\x42\t\n\x07\x61\x64_dataB\xf4\x01\n%com.google.ads.googleads.v2.resourcesB\x07\x41\x64ProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_final__app__url__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_url__collection__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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,]) - - - - -_AD = _descriptor.Descriptor( - name='Ad', - full_name='google.ads.googleads.v2.resources.Ad', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='final_urls', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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='final_url_suffix', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='added_by_google_ads', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='device_preference', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='system_managed_resource_source', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='text_ad', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='expanded_text_ad', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='hotel_ad', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='image_ad', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='video_ad', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='responsive_display_ad', full_name='google.ads.googleads.v2.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.v2.resources.Ad.display_upload_ad', index=30, - 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.v2.resources.Ad.app_engagement_ad', index=31, - 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.v2.resources.Ad.shopping_comparison_listing_ad', index=32, - 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='ad_data', full_name='google.ads.googleads.v2.resources.Ad.ad_data', - index=0, containing_type=None, fields=[]), - ], - serialized_start=559, - serialized_end=2953, -) - -_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__v2_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['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__v2_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__v2_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__v2_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE -_AD.fields_by_name['url_collections'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._TEXTADINFO -_AD.fields_by_name['expanded_text_ad'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._EXPANDEDTEXTADINFO -_AD.fields_by_name['call_only_ad'].message_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._EXPANDEDDYNAMICSEARCHADINFO -_AD.fields_by_name['hotel_ad'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._HOTELADINFO -_AD.fields_by_name['shopping_smart_ad'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGSMARTADINFO -_AD.fields_by_name['shopping_product_ad'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGPRODUCTADINFO -_AD.fields_by_name['gmail_ad'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._GMAILADINFO -_AD.fields_by_name['image_ad'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._IMAGEADINFO -_AD.fields_by_name['video_ad'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._VIDEOADINFO -_AD.fields_by_name['responsive_search_ad'].message_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._LEGACYRESPONSIVEDISPLAYADINFO -_AD.fields_by_name['app_ad'].message_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._LEGACYAPPINSTALLADINFO -_AD.fields_by_name['responsive_display_ad'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._RESPONSIVEDISPLAYADINFO -_AD.fields_by_name['display_upload_ad'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_ad__type__infos__pb2._DISPLAYUPLOADADINFO -_AD.fields_by_name['app_engagement_ad'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['expanded_text_ad']) -_AD.fields_by_name['expanded_text_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['call_only_ad']) -_AD.fields_by_name['call_only_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['expanded_dynamic_search_ad']) -_AD.fields_by_name['expanded_dynamic_search_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['hotel_ad']) -_AD.fields_by_name['hotel_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['shopping_smart_ad']) -_AD.fields_by_name['shopping_smart_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['shopping_product_ad']) -_AD.fields_by_name['shopping_product_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['gmail_ad']) -_AD.fields_by_name['gmail_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['image_ad']) -_AD.fields_by_name['image_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['video_ad']) -_AD.fields_by_name['video_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['responsive_search_ad']) -_AD.fields_by_name['responsive_search_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['legacy_responsive_display_ad']) -_AD.fields_by_name['legacy_responsive_display_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['app_ad']) -_AD.fields_by_name['app_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['legacy_app_install_ad']) -_AD.fields_by_name['legacy_app_install_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_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['display_upload_ad']) -_AD.fields_by_name['display_upload_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['app_engagement_ad']) -_AD.fields_by_name['app_engagement_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -_AD.oneofs_by_name['ad_data'].fields.append( - _AD.fields_by_name['shopping_comparison_listing_ad']) -_AD.fields_by_name['shopping_comparison_listing_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] -DESCRIPTOR.message_types_by_name['Ad'] = _AD -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Ad = _reflection.GeneratedProtocolMessageType('Ad', (_message.Message,), dict( - DESCRIPTOR = _AD, - __module__ = 'google.ads.googleads_v2.proto.resources.ad_pb2' - , - __doc__ = """An ad. - - - Attributes: - resource_name: - The resource name of the ad. Ad resource names have the form: - ``customers/{customer_id}/ads/{ad_id}`` - id: - The ID of the ad. - final_urls: - The list of possible final URLs after all cross-domain - redirects for the ad. - final_app_urls: - A list of final app URLs that will be used on mobile if the - user has the specific app installed. - final_mobile_urls: - The list of possible final mobile URLs after all cross-domain - 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``. - display_url: - The URL that appears in the ad description for some ad - formats. - type: - 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. - device_preference: - The device preference for the ad. You can only specify a - preference for mobile devices. When this preference is set the - ad will be preferred over other ads when being displayed on a - mobile device. The ad can still be displayed on other device - types, e.g. if no other ads are available. If unspecified (no - device preference), all devices are targeted. This is only - supported by some ad types. - url_collections: - 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. - system_managed_resource_source: - 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. - 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. - hotel_ad: - Details pertaining to a hotel ad. - shopping_smart_ad: - Details pertaining to a Smart Shopping ad. - shopping_product_ad: - Details pertaining to a Shopping product ad. - gmail_ad: - Details pertaining to a Gmail ad. - image_ad: - Details pertaining to an Image ad. - video_ad: - Details pertaining to a Video ad. - responsive_search_ad: - Details pertaining to a responsive search ad. - legacy_responsive_display_ad: - Details pertaining to a legacy responsive display ad. - app_ad: - Details pertaining to an app ad. - legacy_app_install_ad: - Details pertaining to a legacy app install ad. - responsive_display_ad: - Details pertaining to a responsive display ad. - display_upload_ad: - Details pertaining to a display upload ad. - app_engagement_ad: - Details pertaining to an app engagement ad. - shopping_comparison_listing_ad: - Details pertaining to a Shopping Comparison Listing ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Ad) - )) -_sym_db.RegisterMessage(Ad) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/ad_schedule_view_pb2.py b/google/ads/google_ads/v2/proto/resources/ad_schedule_view_pb2.py deleted file mode 100644 index 49028516c..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_schedule_view_pb2.py +++ /dev/null @@ -1,84 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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 annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/resources/ad_schedule_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023AdScheduleViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/resources/ad_schedule_view.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x13\x41\x64ScheduleViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADSCHEDULEVIEW = _descriptor.Descriptor( - name='AdScheduleView', - full_name='google.ads.googleads.v2.resources.AdScheduleView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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_v2.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.v2.resources.AdScheduleView) - )) -_sym_db.RegisterMessage(AdScheduleView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/ad_schedule_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/ad_schedule_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/ad_schedule_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/age_range_view_pb2.py b/google/ads/google_ads/v2/proto/resources/age_range_view_pb2.py deleted file mode 100644 index 71ba01e92..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/age_range_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\021AgeRangeViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/resources/bidding_strategy.proto\x12!google.ads.googleads.v2.resources\x1a\x32google/ads/googleads_v2/proto/common/bidding.proto\x1a\x41google/ads/googleads_v2/proto/enums/bidding_strategy_status.proto\x1a?google/ads/googleads_v2/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.v2.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus\x12X\n\x04type\x18\x05 \x01(\x0e\x32J.google.ads.googleads.v2.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.v2.common.EnhancedCpcH\x00\x12L\n\x11page_one_promoted\x18\x08 \x01(\x0b\x32/.google.ads.googleads.v2.common.PageOnePromotedH\x00\x12?\n\ntarget_cpa\x18\t \x01(\x0b\x32).google.ads.googleads.v2.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v2.common.TargetImpressionShareH\x00\x12R\n\x14target_outrank_share\x18\n \x01(\x0b\x32\x32.google.ads.googleads.v2.common.TargetOutrankShareH\x00\x12\x41\n\x0btarget_roas\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v2.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x0c \x01(\x0b\x32+.google.ads.googleads.v2.common.TargetSpendH\x00\x42\x08\n\x06schemeB\x81\x02\n%com.google.ads.googleads.v2.resourcesB\x14\x42iddingStrategyProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_bidding__strategy__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_bidding__strategy__type__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.v2.resources.BiddingStrategy', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='campaign_count', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='non_removed_campaign_count', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='enhanced_cpc', full_name='google.ads.googleads.v2.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.v2.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.v2.resources.BiddingStrategy.target_cpa', 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), - _descriptor.FieldDescriptor( - name='target_impression_share', full_name='google.ads.googleads.v2.resources.BiddingStrategy.target_impression_share', index=10, - 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.v2.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.v2.resources.BiddingStrategy.target_roas', index=12, - 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.v2.resources.BiddingStrategy.target_spend', index=13, - 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='scheme', full_name='google.ads.googleads.v2.resources.BiddingStrategy.scheme', - index=0, containing_type=None, fields=[]), - ], - serialized_start=348, - serialized_end=1309, -) - -_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__v2_dot_proto_dot_enums_dot_bidding__strategy__status__pb2._BIDDINGSTRATEGYSTATUSENUM_BIDDINGSTRATEGYSTATUS -_BIDDINGSTRATEGY.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_common_dot_bidding__pb2._ENHANCEDCPC -_BIDDINGSTRATEGY.fields_by_name['page_one_promoted'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._PAGEONEPROMOTED -_BIDDINGSTRATEGY.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA -_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE -_BIDDINGSTRATEGY.fields_by_name['target_outrank_share'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._TARGETOUTRANKSHARE -_BIDDINGSTRATEGY.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS -_BIDDINGSTRATEGY.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v2_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'] -_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append( - _BIDDINGSTRATEGY.fields_by_name['target_spend']) -_BIDDINGSTRATEGY.fields_by_name['target_spend'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] -DESCRIPTOR.message_types_by_name['BiddingStrategy'] = _BIDDINGSTRATEGY -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BiddingStrategy = _reflection.GeneratedProtocolMessageType('BiddingStrategy', (_message.Message,), dict( - DESCRIPTOR = _BIDDINGSTRATEGY, - __module__ = 'google.ads.googleads_v2.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}`` - id: - 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. - type: - 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 - 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. This field is deprecated. Creating a new bidding - strategy with this field or attaching bidding strategies with - this field to a campaign will fail. Mutates to strategies that - already have this scheme populated are allowed. - target_cpa: - A bidding strategy that sets bids to help get as many - conversions as possible at the target cost-per-acquisition - (CPA) you set. - 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. This field is deprecated. Creating a new bidding - strategy with this field or attaching bidding strategies with - this field to a campaign will fail. Mutates to strategies that - already have this scheme populated are allowed. - target_roas: - A bidding strategy that helps you maximize revenue while - averaging a specific target Return On Ad Spend (ROAS). - target_spend: - 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.v2.resources.BiddingStrategy) - )) -_sym_db.RegisterMessage(BiddingStrategy) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/bidding_strategy_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/bidding_strategy_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/bidding_strategy_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/billing_setup_pb2.py b/google/ads/google_ads/v2/proto/resources/billing_setup_pb2.py deleted file mode 100644 index 0cd8046ef..000000000 --- a/google/ads/google_ads/v2/proto/resources/billing_setup_pb2.py +++ /dev/null @@ -1,304 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/billing_setup.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.v2.proto.enums import billing_setup_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_billing__setup__status__pb2 -from google.ads.google_ads.v2.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_time__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_v2/proto/resources/billing_setup.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\021BillingSetupProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/resources/billing_setup.proto\x12!google.ads.googleads.v2.resources\x1a>google/ads/googleads_v2/proto/enums/billing_setup_status.proto\x1a\x33google/ads/googleads_v2/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.v2.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.v2.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.v2.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.v2.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.v2.resourcesB\x11\x42illingSetupProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_billing__setup__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_time__type__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.v2.resources.BillingSetup.PaymentsAccountInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='payments_account_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='payments_account_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='payments_profile_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='payments_profile_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='secondary_payments_profile_id', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=877, - serialized_end=1207, -) - -_BILLINGSETUP = _descriptor.Descriptor( - name='BillingSetup', - full_name='google.ads.googleads.v2.resources.BillingSetup', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='payments_account', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='payments_account_info', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='start_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='start_time_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='end_date_time', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='end_time_type', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[_BILLINGSETUP_PAYMENTSACCOUNTINFO, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='start_time', full_name='google.ads.googleads.v2.resources.BillingSetup.start_time', - index=0, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='end_time', full_name='google.ads.googleads.v2.resources.BillingSetup.end_time', - index=1, containing_type=None, fields=[]), - ], - serialized_start=278, - serialized_end=1233, -) - -_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_account_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_account_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_profile_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_profile_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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__v2_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__v2_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'] -_BILLINGSETUP.oneofs_by_name['start_time'].fields.append( - _BILLINGSETUP.fields_by_name['start_time_type']) -_BILLINGSETUP.fields_by_name['start_time_type'].containing_oneof = _BILLINGSETUP.oneofs_by_name['start_time'] -_BILLINGSETUP.oneofs_by_name['end_time'].fields.append( - _BILLINGSETUP.fields_by_name['end_date_time']) -_BILLINGSETUP.fields_by_name['end_date_time'].containing_oneof = _BILLINGSETUP.oneofs_by_name['end_time'] -_BILLINGSETUP.oneofs_by_name['end_time'].fields.append( - _BILLINGSETUP.fields_by_name['end_time_type']) -_BILLINGSETUP.fields_by_name['end_time_type'].containing_oneof = _BILLINGSETUP.oneofs_by_name['end_time'] -DESCRIPTOR.message_types_by_name['BillingSetup'] = _BILLINGSETUP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BillingSetup = _reflection.GeneratedProtocolMessageType('BillingSetup', (_message.Message,), dict( - - PaymentsAccountInfo = _reflection.GeneratedProtocolMessageType('PaymentsAccountInfo', (_message.Message,), dict( - DESCRIPTOR = _BILLINGSETUP_PAYMENTSACCOUNTINFO, - __module__ = 'google.ads.googleads_v2.proto.resources.billing_setup_pb2' - , - __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". - 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. - 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". - payments_profile_name: - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.BillingSetup.PaymentsAccountInfo) - )) - , - DESCRIPTOR = _BILLINGSETUP, - __module__ = 'google.ads.googleads_v2.proto.resources.billing_setup_pb2' - , - __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: - ``customers/{customer_id}/billingSetups/{billing_setup_id}`` - id: - The ID of the billing setup. - status: - 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. - 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. - start_time: - When creating a new billing setup, this is when the setup - should take effect. NOW is the only acceptable start time if - the customer doesn't have any approved setups. When fetching - an existing billing setup, this is the requested start time. - 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. - start_time_type: - 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. - end_time_type: - The end time as a type. The only possible value is FOREVER. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.BillingSetup) - )) -_sym_db.RegisterMessage(BillingSetup) -_sym_db.RegisterMessage(BillingSetup.PaymentsAccountInfo) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/billing_setup_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/billing_setup_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/billing_setup_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/campaign_audience_view_pb2.py b/google/ads/google_ads/v2/proto/resources/campaign_audience_view_pb2.py deleted file mode 100644 index da48e008a..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_audience_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_v2/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 annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/resources/campaign_audience_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\031CampaignAudienceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/resources/campaign_audience_view.proto\x12!google.ads.googleads.v2.resources\x1a\x1cgoogle/api/annotations.proto\"-\n\x14\x43\x61mpaignAudienceView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x86\x02\n%com.google.ads.googleads.v2.resourcesB\x19\x43\x61mpaignAudienceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CAMPAIGNAUDIENCEVIEW = _descriptor.Descriptor( - name='CampaignAudienceView', - full_name='google.ads.googleads.v2.resources.CampaignAudienceView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=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['CampaignAudienceView'] = _CAMPAIGNAUDIENCEVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignAudienceView = _reflection.GeneratedProtocolMessageType('CampaignAudienceView', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNAUDIENCEVIEW, - __module__ = 'google.ads.googleads_v2.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: - The resource name of the campaign audience view. Campaign - audience view resource names have the form: ``customers/{cust - omer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CampaignAudienceView) - )) -_sym_db.RegisterMessage(CampaignAudienceView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/campaign_audience_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/campaign_audience_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_audience_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/campaign_bid_modifier_pb2.py b/google/ads/google_ads/v2/proto/resources/campaign_bid_modifier_pb2.py deleted file mode 100644 index f3cae7675..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_bid_modifier_pb2.py +++ /dev/null @@ -1,135 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__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_v2/proto/resources/campaign_bid_modifier.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\030CampaignBidModifierProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/resources/campaign_bid_modifier.proto\x12!google.ads.googleads.v2.resources\x1a\x33google/ads/googleads_v2/proto/common/criteria.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa1\x02\n\x13\x43\x61mpaignBidModifier\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12.\n\x08\x63\x61mpaign\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\x12O\n\x10interaction_type\x18\x05 \x01(\x0b\x32\x33.google.ads.googleads.v2.common.InteractionTypeInfoH\x00\x42\x0b\n\tcriterionB\x85\x02\n%com.google.ads.googleads.v2.resourcesB\x18\x43\x61mpaignBidModifierProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__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.v2.resources.CampaignBidModifier', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v2.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.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v2.resources.CampaignBidModifier.criterion', - index=0, containing_type=None, fields=[]), - ], - serialized_start=222, - serialized_end=511, -) - -_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__v2_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_v2.proto.resources.campaign_bid_modifier_pb2' - , - __doc__ = """Represents a bid-modifiable only criterion at the campaign level. - - - Attributes: - resource_name: - The resource name of the campaign bid modifier. Campaign bid - modifier resource names have the form: ``customers/{customer_ - id}/campaignBidModifiers/{campaign_id}~{criterion_id}`` - campaign: - The campaign to which this criterion belongs. - criterion_id: - 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: - Criterion for interaction type. Only supported for search - campaigns. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CampaignBidModifier) - )) -_sym_db.RegisterMessage(CampaignBidModifier) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/campaign_bid_modifier_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/campaign_bid_modifier_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_bid_modifier_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/campaign_budget_pb2.py b/google/ads/google_ads/v2/proto/resources/campaign_budget_pb2.py deleted file mode 100644 index 949c87244..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_budget_pb2.py +++ /dev/null @@ -1,286 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/campaign_budget.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.v2.proto.enums import budget_delivery_method_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_budget__delivery__method__pb2 -from google.ads.google_ads.v2.proto.enums import budget_period_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_budget__period__pb2 -from google.ads.google_ads.v2.proto.enums import budget_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_budget__status__pb2 -from google.ads.google_ads.v2.proto.enums import budget_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_budget__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_v2/proto/resources/campaign_budget.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023CampaignBudgetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/resources/campaign_budget.proto\x12!google.ads.googleads.v2.resources\x1a@google/ads/googleads_v2/proto/enums/budget_delivery_method.proto\x1a\x37google/ads/googleads_v2/proto/enums/budget_period.proto\x1a\x37google/ads/googleads_v2/proto/enums/budget_status.proto\x1a\x35google/ads/googleads_v2/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.v2.enums.BudgetStatusEnum.BudgetStatus\x12\x65\n\x0f\x64\x65livery_method\x18\x07 \x01(\x0e\x32L.google.ads.googleads.v2.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.v2.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.v2.enums.BudgetTypeEnum.BudgetTypeB\x80\x02\n%com.google.ads.googleads.v2.resourcesB\x13\x43\x61mpaignBudgetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_budget__delivery__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_budget__period__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_budget__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_budget__type__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.v2.resources.CampaignBudget', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='delivery_method', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='has_recommended_budget', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='recommended_budget_amount_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='period', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='recommended_budget_estimated_change_weekly_clicks', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='recommended_budget_estimated_change_weekly_cost_micros', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='recommended_budget_estimated_change_weekly_interactions', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='recommended_budget_estimated_change_weekly_views', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=398, - serialized_end=1565, -) - -_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__v2_dot_proto_dot_enums_dot_budget__status__pb2._BUDGETSTATUSENUM_BUDGETSTATUS -_CAMPAIGNBUDGET.fields_by_name['delivery_method'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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_v2.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: - ``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 - different campaigns; the system will then allocate the - campaign budget among different campaigns to get optimum - results. - name: - The name of the campaign budget. When creating a campaign - budget through CampaignBudgetService, every explicitly shared - campaign budget must have a non-null, non-empty name. Campaign - budgets that are not explicitly shared derive their name from - the attached campaign's name. The length of this string must - be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed). - amount_micros: - The amount of the budget, in the local currency for the - account. Amount is specified in micros, where one million is - equivalent to one currency unit. Monthly spend is capped at - 30.4 times this amount. - total_amount_micros: - The lifetime amount of the budget, in the local currency for - 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. - delivery_method: - The delivery method that determines the rate at which the - campaign budget is spent. Defaults to STANDARD if unspecified - in a create operation. - explicitly_shared: - Specifies whether the budget is explicitly shared. Defaults to - true if unspecified in a create operation. If true, the - budget was created with the purpose of sharing across one or - more campaigns. If false, the budget was created with the - intention of only being used with a single campaign. The - budget's name and status will stay in sync with the campaign's - name and status. Attempting to share the budget with a second - campaign will result in an error. A non-shared budget can - become an explicitly shared. The same operation must also - 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. - has_recommended_budget: - 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. - period: - 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. - 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. - recommended_budget_estimated_change_weekly_interactions: - 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. - type: - The type of the campaign budget. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CampaignBudget) - )) -_sym_db.RegisterMessage(CampaignBudget) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/campaign_budget_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/campaign_budget_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_budget_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/campaign_criterion_pb2.py b/google/ads/google_ads/v2/proto/resources/campaign_criterion_pb2.py deleted file mode 100644 index d2617cc82..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_criterion_pb2.py +++ /dev/null @@ -1,507 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/campaign_criterion.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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v2.proto.enums import campaign_criterion_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_campaign__criterion__status__pb2 -from google.ads.google_ads.v2.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__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_v2/proto/resources/campaign_criterion.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\026CampaignCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/resources/campaign_criterion.proto\x12!google.ads.googleads.v2.resources\x1a\x33google/ads/googleads_v2/proto/common/criteria.proto\x1a\x43google/ads/googleads_v2/proto/enums/campaign_criterion_status.proto\x1a\x38google/ads/googleads_v2/proto/enums/criterion_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc4\x12\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.v2.enums.CriterionTypeEnum.CriterionType\x12\x62\n\x06status\x18# \x01(\x0e\x32R.google.ads.googleads.v2.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus\x12>\n\x07keyword\x18\x08 \x01(\x0b\x32+.google.ads.googleads.v2.common.KeywordInfoH\x00\x12\x42\n\tplacement\x18\t \x01(\x0b\x32-.google.ads.googleads.v2.common.PlacementInfoH\x00\x12T\n\x13mobile_app_category\x18\n \x01(\x0b\x32\x35.google.ads.googleads.v2.common.MobileAppCategoryInfoH\x00\x12S\n\x12mobile_application\x18\x0b \x01(\x0b\x32\x35.google.ads.googleads.v2.common.MobileApplicationInfoH\x00\x12@\n\x08location\x18\x0c \x01(\x0b\x32,.google.ads.googleads.v2.common.LocationInfoH\x00\x12<\n\x06\x64\x65vice\x18\r \x01(\x0b\x32*.google.ads.googleads.v2.common.DeviceInfoH\x00\x12\x45\n\x0b\x61\x64_schedule\x18\x0f \x01(\x0b\x32..google.ads.googleads.v2.common.AdScheduleInfoH\x00\x12\x41\n\tage_range\x18\x10 \x01(\x0b\x32,.google.ads.googleads.v2.common.AgeRangeInfoH\x00\x12<\n\x06gender\x18\x11 \x01(\x0b\x32*.google.ads.googleads.v2.common.GenderInfoH\x00\x12G\n\x0cincome_range\x18\x12 \x01(\x0b\x32/.google.ads.googleads.v2.common.IncomeRangeInfoH\x00\x12M\n\x0fparental_status\x18\x13 \x01(\x0b\x32\x32.google.ads.googleads.v2.common.ParentalStatusInfoH\x00\x12\x41\n\tuser_list\x18\x16 \x01(\x0b\x32,.google.ads.googleads.v2.common.UserListInfoH\x00\x12I\n\ryoutube_video\x18\x14 \x01(\x0b\x32\x30.google.ads.googleads.v2.common.YouTubeVideoInfoH\x00\x12M\n\x0fyoutube_channel\x18\x15 \x01(\x0b\x32\x32.google.ads.googleads.v2.common.YouTubeChannelInfoH\x00\x12\x42\n\tproximity\x18\x17 \x01(\x0b\x32-.google.ads.googleads.v2.common.ProximityInfoH\x00\x12:\n\x05topic\x18\x18 \x01(\x0b\x32).google.ads.googleads.v2.common.TopicInfoH\x00\x12I\n\rlisting_scope\x18\x19 \x01(\x0b\x32\x30.google.ads.googleads.v2.common.ListingScopeInfoH\x00\x12@\n\x08language\x18\x1a \x01(\x0b\x32,.google.ads.googleads.v2.common.LanguageInfoH\x00\x12?\n\x08ip_block\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v2.common.IpBlockInfoH\x00\x12I\n\rcontent_label\x18\x1c \x01(\x0b\x32\x30.google.ads.googleads.v2.common.ContentLabelInfoH\x00\x12>\n\x07\x63\x61rrier\x18\x1d \x01(\x0b\x32+.google.ads.googleads.v2.common.CarrierInfoH\x00\x12I\n\ruser_interest\x18\x1e \x01(\x0b\x32\x30.google.ads.googleads.v2.common.UserInterestInfoH\x00\x12>\n\x07webpage\x18\x1f \x01(\x0b\x32+.google.ads.googleads.v2.common.WebpageInfoH\x00\x12^\n\x18operating_system_version\x18 \x01(\x0b\x32:.google.ads.googleads.v2.common.OperatingSystemVersionInfoH\x00\x12I\n\rmobile_device\x18! \x01(\x0b\x32\x30.google.ads.googleads.v2.common.MobileDeviceInfoH\x00\x12K\n\x0elocation_group\x18\" \x01(\x0b\x32\x31.google.ads.googleads.v2.common.LocationGroupInfoH\x00\x12M\n\x0f\x63ustom_affinity\x18$ \x01(\x0b\x32\x32.google.ads.googleads.v2.common.CustomAffinityInfoH\x00\x42\x0b\n\tcriterionB\x83\x02\n%com.google.ads.googleads.v2.resourcesB\x16\x43\x61mpaignCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_campaign__criterion__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__type__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.v2.resources.CampaignCriterion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='placement', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='mobile_app_category', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='mobile_application', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='location', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='ad_schedule', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='age_range', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='gender', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='income_range', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='parental_status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='user_list', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='youtube_video', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='youtube_channel', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='proximity', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='topic', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='listing_scope', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='language', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='ip_block', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='content_label', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='carrier', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='user_interest', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='webpage', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operating_system_version', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='mobile_device', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='location_group', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='custom_affinity', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v2.resources.CampaignCriterion.criterion', - index=0, containing_type=None, fields=[]), - ], - serialized_start=346, - serialized_end=2718, -) - -_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__v2_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE -_CAMPAIGNCRITERION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_campaign__criterion__status__pb2._CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS -_CAMPAIGNCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO -_CAMPAIGNCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO -_CAMPAIGNCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO -_CAMPAIGNCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO -_CAMPAIGNCRITERION.fields_by_name['location'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._LOCATIONINFO -_CAMPAIGNCRITERION.fields_by_name['device'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO -_CAMPAIGNCRITERION.fields_by_name['ad_schedule'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._ADSCHEDULEINFO -_CAMPAIGNCRITERION.fields_by_name['age_range'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._AGERANGEINFO -_CAMPAIGNCRITERION.fields_by_name['gender'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO -_CAMPAIGNCRITERION.fields_by_name['income_range'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._INCOMERANGEINFO -_CAMPAIGNCRITERION.fields_by_name['parental_status'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._PARENTALSTATUSINFO -_CAMPAIGNCRITERION.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._USERLISTINFO -_CAMPAIGNCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO -_CAMPAIGNCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO -_CAMPAIGNCRITERION.fields_by_name['proximity'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._PROXIMITYINFO -_CAMPAIGNCRITERION.fields_by_name['topic'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._TOPICINFO -_CAMPAIGNCRITERION.fields_by_name['listing_scope'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._LISTINGSCOPEINFO -_CAMPAIGNCRITERION.fields_by_name['language'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._LANGUAGEINFO -_CAMPAIGNCRITERION.fields_by_name['ip_block'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._IPBLOCKINFO -_CAMPAIGNCRITERION.fields_by_name['content_label'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._CONTENTLABELINFO -_CAMPAIGNCRITERION.fields_by_name['carrier'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._CARRIERINFO -_CAMPAIGNCRITERION.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._USERINTERESTINFO -_CAMPAIGNCRITERION.fields_by_name['webpage'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._WEBPAGEINFO -_CAMPAIGNCRITERION.fields_by_name['operating_system_version'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._OPERATINGSYSTEMVERSIONINFO -_CAMPAIGNCRITERION.fields_by_name['mobile_device'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._MOBILEDEVICEINFO -_CAMPAIGNCRITERION.fields_by_name['location_group'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._LOCATIONGROUPINFO -_CAMPAIGNCRITERION.fields_by_name['custom_affinity'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['placement']) -_CAMPAIGNCRITERION.fields_by_name['placement'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['mobile_app_category']) -_CAMPAIGNCRITERION.fields_by_name['mobile_app_category'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['mobile_application']) -_CAMPAIGNCRITERION.fields_by_name['mobile_application'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['location']) -_CAMPAIGNCRITERION.fields_by_name['location'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['device']) -_CAMPAIGNCRITERION.fields_by_name['device'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['ad_schedule']) -_CAMPAIGNCRITERION.fields_by_name['ad_schedule'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['age_range']) -_CAMPAIGNCRITERION.fields_by_name['age_range'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['gender']) -_CAMPAIGNCRITERION.fields_by_name['gender'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['income_range']) -_CAMPAIGNCRITERION.fields_by_name['income_range'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['parental_status']) -_CAMPAIGNCRITERION.fields_by_name['parental_status'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['user_list']) -_CAMPAIGNCRITERION.fields_by_name['user_list'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['youtube_video']) -_CAMPAIGNCRITERION.fields_by_name['youtube_video'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['youtube_channel']) -_CAMPAIGNCRITERION.fields_by_name['youtube_channel'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['proximity']) -_CAMPAIGNCRITERION.fields_by_name['proximity'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['topic']) -_CAMPAIGNCRITERION.fields_by_name['topic'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['listing_scope']) -_CAMPAIGNCRITERION.fields_by_name['listing_scope'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['language']) -_CAMPAIGNCRITERION.fields_by_name['language'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['ip_block']) -_CAMPAIGNCRITERION.fields_by_name['ip_block'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['content_label']) -_CAMPAIGNCRITERION.fields_by_name['content_label'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['carrier']) -_CAMPAIGNCRITERION.fields_by_name['carrier'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['user_interest']) -_CAMPAIGNCRITERION.fields_by_name['user_interest'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['webpage']) -_CAMPAIGNCRITERION.fields_by_name['webpage'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['operating_system_version']) -_CAMPAIGNCRITERION.fields_by_name['operating_system_version'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( - _CAMPAIGNCRITERION.fields_by_name['mobile_device']) -_CAMPAIGNCRITERION.fields_by_name['mobile_device'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] -_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_v2.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}`` - campaign: - The campaign to which the criterion belongs. - criterion_id: - 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. - type: - The type of the criterion. - status: - The status of the criterion. - criterion: - The campaign criterion. Exactly one must be set. - keyword: - Keyword. - placement: - Placement. - mobile_app_category: - Mobile app category. - mobile_application: - Mobile application. - location: - Location. - device: - Device. - ad_schedule: - Ad Schedule. - age_range: - Age range. - gender: - Gender. - income_range: - Income range. - parental_status: - Parental status. - user_list: - User List. - youtube_video: - YouTube Video. - youtube_channel: - YouTube Channel. - proximity: - Proximity. - topic: - Topic. - listing_scope: - Listing scope. - language: - Language. - ip_block: - IpBlock. - content_label: - ContentLabel. - carrier: - Carrier. - user_interest: - User Interest. - webpage: - Webpage. - operating_system_version: - Operating system version. - mobile_device: - Mobile Device. - location_group: - Location Group - custom_affinity: - Custom Affinity. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CampaignCriterion) - )) -_sym_db.RegisterMessage(CampaignCriterion) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/campaign_criterion_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/campaign_criterion_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_criterion_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/campaign_criterion_simulation_pb2.py b/google/ads/google_ads/v2/proto/resources/campaign_criterion_simulation_pb2.py deleted file mode 100644 index 7e0cffbf9..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_criterion_simulation_pb2.py +++ /dev/null @@ -1,175 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_simulation__pb2 -from google.ads.google_ads.v2.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_simulation__modification__method__pb2 -from google.ads.google_ads.v2.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/campaign_criterion_simulation.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB CampaignCriterionSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/resources/campaign_criterion_simulation.proto\x12!google.ads.googleads.v2.resources\x1a\x35google/ads/googleads_v2/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v2/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v2/proto/enums/simulation_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb7\x04\n\x1b\x43\x61mpaignCriterionSimulation\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x30\n\x0b\x63\x61mpaign_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.v2.enums.SimulationTypeEnum.SimulationType\x12y\n\x13modification_method\x18\x05 \x01(\x0e\x32\\.google.ads.googleads.v2.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\x12\x61\n\x17\x62id_modifier_point_list\x18\x08 \x01(\x0b\x32>.google.ads.googleads.v2.common.BidModifierSimulationPointListH\x00\x42\x0c\n\npoint_listB\x8d\x02\n%com.google.ads.googleads.v2.resourcesB CampaignCriterionSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.CampaignCriterionSimulation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE -_CAMPAIGNCRITERIONSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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_v2.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 SHOPPING - 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.v2.resources.CampaignCriterionSimulation) - )) -_sym_db.RegisterMessage(CampaignCriterionSimulation) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/campaign_criterion_simulation_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/campaign_criterion_simulation_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_criterion_simulation_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/campaign_draft_pb2.py b/google/ads/google_ads/v2/proto/resources/campaign_draft_pb2.py deleted file mode 100644 index 63b8dcded..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import campaign_draft_status_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/campaign_draft.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\022CampaignDraftProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n.google.ads.googleads.v2.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.v2.enums.ExtensionSettingDeviceEnum.ExtensionSettingDeviceB\x8a\x02\n%com.google.ads.googleads.v2.resourcesB\x1d\x43\x61mpaignExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.CampaignExtensionSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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__v2_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_v2.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.v2.resources.CampaignExtensionSetting) - )) -_sym_db.RegisterMessage(CampaignExtensionSetting) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/campaign_extension_setting_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/campaign_extension_setting_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_extension_setting_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/campaign_feed_pb2.py b/google/ads/google_ads/v2/proto/resources/campaign_feed_pb2.py deleted file mode 100644 index 887ec050f..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_matching__function__pb2 -from google.ads.google_ads.v2.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__link__status__pb2 -from google.ads.google_ads.v2.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/campaign_feed.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\021CampaignFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/resources/campaign_feed.proto\x12!google.ads.googleads.v2.resources\x1a.google.ads.googleads.v2.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.v2.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.v2.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.v2.common.FrequencyCapEntry\x12x\n\x1evideo_brand_safety_suitability\x18* \x01(\x0e\x32P.google.ads.googleads.v2.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability\x12O\n\rvanity_pharma\x18, \x01(\x0b\x32\x38.google.ads.googleads.v2.resources.Campaign.VanityPharma\x12\x61\n\x16selective_optimization\x18- \x01(\x0b\x32\x41.google.ads.googleads.v2.resources.Campaign.SelectiveOptimization\x12U\n\x10tracking_setting\x18. \x01(\x0b\x32;.google.ads.googleads.v2.resources.Campaign.TrackingSetting\x12P\n\x0cpayment_mode\x18\x34 \x01(\x0e\x32:.google.ads.googleads.v2.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.v2.common.CommissionH\x00\x12?\n\nmanual_cpc\x18\x18 \x01(\x0b\x32).google.ads.googleads.v2.common.ManualCpcH\x00\x12?\n\nmanual_cpm\x18\x19 \x01(\x0b\x32).google.ads.googleads.v2.common.ManualCpmH\x00\x12?\n\nmanual_cpv\x18% \x01(\x0b\x32).google.ads.googleads.v2.common.ManualCpvH\x00\x12S\n\x14maximize_conversions\x18\x1e \x01(\x0b\x32\x33.google.ads.googleads.v2.common.MaximizeConversionsH\x00\x12\\\n\x19maximize_conversion_value\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v2.common.MaximizeConversionValueH\x00\x12?\n\ntarget_cpa\x18\x1a \x01(\x0b\x32).google.ads.googleads.v2.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v2.common.TargetImpressionShareH\x00\x12\x41\n\x0btarget_roas\x18\x1d \x01(\x0b\x32*.google.ads.googleads.v2.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v2.common.TargetSpendH\x00\x12\x41\n\x0bpercent_cpc\x18\" \x01(\x0b\x32*.google.ads.googleads.v2.common.PercentCpcH\x00\x12?\n\ntarget_cpm\x18) \x01(\x0b\x32).google.ads.googleads.v2.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\x1aQ\n\x15SelectiveOptimization\x12\x38\n\x12\x63onversion_actions\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\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\xb0\x02\n\x12\x41ppCampaignSetting\x12\x8c\x01\n\x1a\x62idding_strategy_goal_type\x18\x01 \x01(\x0e\x32h.google.ads.googleads.v2.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.v2.enums.AppCampaignAppStoreEnum.AppCampaignAppStore\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\x1a\xfa\x01\n\x14GeoTargetTypeSetting\x12p\n\x18positive_geo_target_type\x18\x01 \x01(\x0e\x32N.google.ads.googleads.v2.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType\x12p\n\x18negative_geo_target_type\x18\x02 \x01(\x0e\x32N.google.ads.googleads.v2.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType\x1a\xf3\x01\n\x0cVanityPharma\x12\x80\x01\n\x1evanity_pharma_display_url_mode\x18\x01 \x01(\x0e\x32X.google.ads.googleads.v2.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode\x12`\n\x12vanity_pharma_text\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v2.enums.VanityPharmaTextEnum.VanityPharmaTextB\x1b\n\x19\x63\x61mpaign_bidding_strategyB\xfa\x01\n%com.google.ads.googleads.v2.resourcesB\rCampaignProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_frequency__cap__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_real__time__bidding__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_targeting__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__serving__optimization__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_app__campaign__app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_app__campaign__bidding__strategy__goal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_bidding__strategy__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_brand__safety__suitability__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_campaign__experiment__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_campaign__serving__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_campaign__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_negative__geo__target__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_payment__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_positive__geo__target__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_vanity__pharma__display__url__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_vanity__pharma__text__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.v2.resources.Campaign.NetworkSettings', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='target_google_search', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=5014, - serialized_end=5275, -) - -_CAMPAIGN_HOTELSETTINGINFO = _descriptor.Descriptor( - name='HotelSettingInfo', - full_name='google.ads.googleads.v2.resources.Campaign.HotelSettingInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='hotel_center_id', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5277, - serialized_end=5349, -) - -_CAMPAIGN_SELECTIVEOPTIMIZATION = _descriptor.Descriptor( - name='SelectiveOptimization', - full_name='google.ads.googleads.v2.resources.Campaign.SelectiveOptimization', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='conversion_actions', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5351, - serialized_end=5432, -) - -_CAMPAIGN_DYNAMICSEARCHADSSETTING = _descriptor.Descriptor( - name='DynamicSearchAdsSetting', - full_name='google.ads.googleads.v2.resources.Campaign.DynamicSearchAdsSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='domain_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5435, - serialized_end=5669, -) - -_CAMPAIGN_APPCAMPAIGNSETTING = _descriptor.Descriptor( - name='AppCampaignSetting', - full_name='google.ads.googleads.v2.resources.Campaign.AppCampaignSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='bidding_strategy_goal_type', full_name='google.ads.googleads.v2.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.v2.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.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5672, - serialized_end=5976, -) - -_CAMPAIGN_SHOPPINGSETTING = _descriptor.Descriptor( - name='ShoppingSetting', - full_name='google.ads.googleads.v2.resources.Campaign.ShoppingSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='merchant_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='sales_country', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='campaign_priority', full_name='google.ads.googleads.v2.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.v2.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, - 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=5979, - serialized_end=6205, -) - -_CAMPAIGN_TRACKINGSETTING = _descriptor.Descriptor( - name='TrackingSetting', - full_name='google.ads.googleads.v2.resources.Campaign.TrackingSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='tracking_url', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6207, - serialized_end=6276, -) - -_CAMPAIGN_GEOTARGETTYPESETTING = _descriptor.Descriptor( - name='GeoTargetTypeSetting', - full_name='google.ads.googleads.v2.resources.Campaign.GeoTargetTypeSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='positive_geo_target_type', full_name='google.ads.googleads.v2.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.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6279, - serialized_end=6529, -) - -_CAMPAIGN_VANITYPHARMA = _descriptor.Descriptor( - name='VanityPharma', - full_name='google.ads.googleads.v2.resources.Campaign.VanityPharma', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='vanity_pharma_display_url_mode', full_name='google.ads.googleads.v2.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='vanity_pharma_text', full_name='google.ads.googleads.v2.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, - 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=6532, - serialized_end=6775, -) - -_CAMPAIGN = _descriptor.Descriptor( - name='Campaign', - full_name='google.ads.googleads.v2.resources.Campaign', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='ad_serving_optimization_status', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='advertising_channel_sub_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='dynamic_search_ads_setting', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.resources.Campaign.app_campaign_setting', index=17, - 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.v2.resources.Campaign.labels', index=18, - 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), - _descriptor.FieldDescriptor( - name='experiment_type', full_name='google.ads.googleads.v2.resources.Campaign.experiment_type', index=19, - 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='base_campaign', full_name='google.ads.googleads.v2.resources.Campaign.base_campaign', 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_budget', full_name='google.ads.googleads.v2.resources.Campaign.campaign_budget', index=21, - 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='bidding_strategy_type', full_name='google.ads.googleads.v2.resources.Campaign.bidding_strategy_type', index=22, - 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='start_date', full_name='google.ads.googleads.v2.resources.Campaign.start_date', index=23, - 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.v2.resources.Campaign.end_date', index=24, - 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.v2.resources.Campaign.final_url_suffix', index=25, - 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.v2.resources.Campaign.frequency_caps', index=26, - 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.v2.resources.Campaign.video_brand_safety_suitability', index=27, - 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='vanity_pharma', full_name='google.ads.googleads.v2.resources.Campaign.vanity_pharma', index=28, - 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.v2.resources.Campaign.selective_optimization', index=29, - 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.v2.resources.Campaign.tracking_setting', index=30, - 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='payment_mode', full_name='google.ads.googleads.v2.resources.Campaign.payment_mode', index=31, - 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.v2.resources.Campaign.bidding_strategy', index=32, - 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='commission', full_name='google.ads.googleads.v2.resources.Campaign.commission', index=33, - 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.v2.resources.Campaign.manual_cpc', index=34, - 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.v2.resources.Campaign.manual_cpm', index=35, - 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.v2.resources.Campaign.manual_cpv', index=36, - 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='maximize_conversions', full_name='google.ads.googleads.v2.resources.Campaign.maximize_conversions', index=37, - 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.v2.resources.Campaign.maximize_conversion_value', index=38, - 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.v2.resources.Campaign.target_cpa', index=39, - 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.v2.resources.Campaign.target_impression_share', index=40, - 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.v2.resources.Campaign.target_roas', index=41, - 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.v2.resources.Campaign.target_spend', index=42, - 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.v2.resources.Campaign.percent_cpc', index=43, - 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.v2.resources.Campaign.target_cpm', index=44, - 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), - ], - extensions=[ - ], - nested_types=[_CAMPAIGN_NETWORKSETTINGS, _CAMPAIGN_HOTELSETTINGINFO, _CAMPAIGN_SELECTIVEOPTIMIZATION, _CAMPAIGN_DYNAMICSEARCHADSSETTING, _CAMPAIGN_APPCAMPAIGNSETTING, _CAMPAIGN_SHOPPINGSETTING, _CAMPAIGN_TRACKINGSETTING, _CAMPAIGN_GEOTARGETTYPESETTING, _CAMPAIGN_VANITYPHARMA, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='campaign_bidding_strategy', full_name='google.ads.googleads.v2.resources.Campaign.campaign_bidding_strategy', - index=0, containing_type=None, fields=[]), - ], - serialized_start=1477, - serialized_end=6804, -) - -_CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_google_search'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_search_network'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_content_network'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_partner_search_network'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_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_SELECTIVEOPTIMIZATION.fields_by_name['conversion_actions'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGN_SELECTIVEOPTIMIZATION.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_APPCAMPAIGNSETTING.fields_by_name['bidding_strategy_goal_type'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_enums_dot_app__campaign__app__store__pb2._APPCAMPAIGNAPPSTOREENUM_APPCAMPAIGNAPPSTORE -_CAMPAIGN_APPCAMPAIGNSETTING.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 -_CAMPAIGN_SHOPPINGSETTING.fields_by_name['enable_local'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_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_GEOTARGETTYPESETTING.fields_by_name['positive_geo_target_type'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_enums_dot_negative__geo__target__type__pb2._NEGATIVEGEOTARGETTYPEENUM_NEGATIVEGEOTARGETTYPE -_CAMPAIGN_GEOTARGETTYPESETTING.containing_type = _CAMPAIGN -_CAMPAIGN_VANITYPHARMA.fields_by_name['vanity_pharma_display_url_mode'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_enums_dot_campaign__status__pb2._CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS -_CAMPAIGN.fields_by_name['serving_status'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER -_CAMPAIGN.fields_by_name['real_time_bidding_setting'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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['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__v2_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__v2_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__v2_dot_proto_dot_common_dot_frequency__cap__pb2._FREQUENCYCAPENTRY -_CAMPAIGN.fields_by_name['video_brand_safety_suitability'].enum_type = google_dot_ads_dot_googleads__v2_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['tracking_setting'].message_type = _CAMPAIGN_TRACKINGSETTING -_CAMPAIGN.fields_by_name['payment_mode'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_payment__mode__pb2._PAYMENTMODEENUM_PAYMENTMODE -_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__v2_dot_proto_dot_common_dot_bidding__pb2._COMMISSION -_CAMPAIGN.fields_by_name['manual_cpc'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._MANUALCPC -_CAMPAIGN.fields_by_name['manual_cpm'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._MANUALCPM -_CAMPAIGN.fields_by_name['manual_cpv'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._MANUALCPV -_CAMPAIGN.fields_by_name['maximize_conversions'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONS -_CAMPAIGN.fields_by_name['maximize_conversion_value'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONVALUE -_CAMPAIGN.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA -_CAMPAIGN.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE -_CAMPAIGN.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS -_CAMPAIGN.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._TARGETSPEND -_CAMPAIGN.fields_by_name['percent_cpc'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_bidding__pb2._PERCENTCPC -_CAMPAIGN.fields_by_name['target_cpm'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['commission']) -_CAMPAIGN.fields_by_name['commission'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['manual_cpc']) -_CAMPAIGN.fields_by_name['manual_cpc'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['manual_cpm']) -_CAMPAIGN.fields_by_name['manual_cpm'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['manual_cpv']) -_CAMPAIGN.fields_by_name['manual_cpv'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['maximize_conversions']) -_CAMPAIGN.fields_by_name['maximize_conversions'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['maximize_conversion_value']) -_CAMPAIGN.fields_by_name['maximize_conversion_value'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['target_cpa']) -_CAMPAIGN.fields_by_name['target_cpa'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['target_impression_share']) -_CAMPAIGN.fields_by_name['target_impression_share'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['target_roas']) -_CAMPAIGN.fields_by_name['target_roas'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['target_spend']) -_CAMPAIGN.fields_by_name['target_spend'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['percent_cpc']) -_CAMPAIGN.fields_by_name['percent_cpc'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( - _CAMPAIGN.fields_by_name['target_cpm']) -_CAMPAIGN.fields_by_name['target_cpm'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] -DESCRIPTOR.message_types_by_name['Campaign'] = _CAMPAIGN -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Campaign = _reflection.GeneratedProtocolMessageType('Campaign', (_message.Message,), dict( - - NetworkSettings = _reflection.GeneratedProtocolMessageType('NetworkSettings', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_NETWORKSETTINGS, - __module__ = 'google.ads.googleads_v2.proto.resources.campaign_pb2' - , - __doc__ = """The network settings for the campaign. - - - Attributes: - target_google_search: - Whether ads will be served with google.com search results. - target_search_network: - Whether ads will be served on partner sites in the Google - Search Network (requires ``target_google_search`` to also be - ``true``). - target_content_network: - Whether ads will be served on specified placements in the - Google Display Network. Placements are specified using the - Placement criterion. - target_partner_search_network: - 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.v2.resources.Campaign.NetworkSettings) - )) - , - - HotelSettingInfo = _reflection.GeneratedProtocolMessageType('HotelSettingInfo', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_HOTELSETTINGINFO, - __module__ = 'google.ads.googleads_v2.proto.resources.campaign_pb2' - , - __doc__ = """Campaign-level settings for hotel ads. - - - Attributes: - hotel_center_id: - The linked Hotel Center account. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Campaign.HotelSettingInfo) - )) - , - - SelectiveOptimization = _reflection.GeneratedProtocolMessageType('SelectiveOptimization', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_SELECTIVEOPTIMIZATION, - __module__ = 'google.ads.googleads_v2.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.v2.resources.Campaign.SelectiveOptimization) - )) - , - - DynamicSearchAdsSetting = _reflection.GeneratedProtocolMessageType('DynamicSearchAdsSetting', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_DYNAMICSEARCHADSSETTING, - __module__ = 'google.ads.googleads_v2.proto.resources.campaign_pb2' - , - __doc__ = """The setting for controlling Dynamic Search Ads (DSA). - - - Attributes: - domain_name: - The Internet domain name that this setting represents, e.g., - "google.com" or "www.google.com". - language_code: - The language code specifying the language of the domain, e.g., - "en". - use_supplied_urls_only: - Whether the campaign uses advertiser supplied URLs - exclusively. - feeds: - The list of page feeds associated with the campaign. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Campaign.DynamicSearchAdsSetting) - )) - , - - AppCampaignSetting = _reflection.GeneratedProtocolMessageType('AppCampaignSetting', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_APPCAMPAIGNSETTING, - __module__ = 'google.ads.googleads_v2.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: - A string that uniquely identifies a mobile application. - app_store: - The application store that distributes this specific app. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Campaign.AppCampaignSetting) - )) - , - - ShoppingSetting = _reflection.GeneratedProtocolMessageType('ShoppingSetting', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_SHOPPINGSETTING, - __module__ = 'google.ads.googleads_v2.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 - with other Shopping campaigns. - - - Attributes: - merchant_id: - 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. - campaign_priority: - Priority of the campaign. Campaigns with numerically higher - priorities take precedence over those with lower priorities. - This field is required for Shopping campaigns, with values - between 0 and 2, inclusive. This field is optional for Smart - Shopping campaigns, but must be equal to 3 if set. - enable_local: - Whether to include local products. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Campaign.ShoppingSetting) - )) - , - - TrackingSetting = _reflection.GeneratedProtocolMessageType('TrackingSetting', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_TRACKINGSETTING, - __module__ = 'google.ads.googleads_v2.proto.resources.campaign_pb2' - , - __doc__ = """Campaign level settings for tracking information. - - - Attributes: - tracking_url: - The url used for dynamic tracking. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Campaign.TrackingSetting) - )) - , - - GeoTargetTypeSetting = _reflection.GeneratedProtocolMessageType('GeoTargetTypeSetting', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_GEOTARGETTYPESETTING, - __module__ = 'google.ads.googleads_v2.proto.resources.campaign_pb2' - , - __doc__ = """Represents a collection of settings related to ads geotargeting. - - - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Campaign.GeoTargetTypeSetting) - )) - , - - VanityPharma = _reflection.GeneratedProtocolMessageType('VanityPharma', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_VANITYPHARMA, - __module__ = 'google.ads.googleads_v2.proto.resources.campaign_pb2' - , - __doc__ = """Describes how unbranded pharma ads will be displayed. - - - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Campaign.VanityPharma) - )) - , - DESCRIPTOR = _CAMPAIGN, - __module__ = 'google.ads.googleads_v2.proto.resources.campaign_pb2' - , - __doc__ = """A campaign. - - - Attributes: - resource_name: - The resource name of the campaign. Campaign resource names - have the form: - ``customers/{customer_id}/campaigns/{campaign_id}`` - id: - 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 - any null (code point 0x0), NL line feed (code point 0xA) or - carriage return (code point 0xD) characters. - status: - 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. - 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 - can not be changed. - tracking_url_template: - The URL template for constructing a tracking URL. - url_custom_parameters: - The list of mappings used to substitute custom parameter tags - in a ``tracking_url_template``, ``final_urls``, or - ``mobile_final_urls``. - real_time_bidding_setting: - Settings for Real-Time Bidding, a feature only available for - campaigns targeting the Ad Exchange network. - network_settings: - The network settings for the campaign. - hotel_setting: - The hotel setting for the campaign. - dynamic_search_ads_setting: - The setting for controlling Dynamic Search Ads (DSA). - shopping_setting: - The setting for controlling Shopping campaigns. - targeting_setting: - Setting for targeting related features. - geo_target_type_setting: - The setting for ads geotargeting. - app_campaign_setting: - The setting related to App Campaign. - labels: - The resource names of labels attached to this campaign. - experiment_type: - 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 - ``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. - start_date: - 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 - WHERE clauses. - final_url_suffix: - Suffix used to append query parameters to landing pages that - are served with parallel tracking. - frequency_caps: - 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. - 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. - tracking_setting: - Campaign level settings for tracking information. - payment_mode: - Payment mode for the campaign. - campaign_bidding_strategy: - The bidding strategy for the campaign. Must be either - portfolio (created via BiddingStrategy service) or standard, - that is embedded into the campaign. - bidding_strategy: - Portfolio bidding strategy used by campaign. - commission: - Commission is an automatic bidding strategy in which the - advertiser pays a certain portion of the conversion value. - manual_cpc: - Standard Manual CPC bidding strategy. Manual click-based - bidding where user pays per click. - manual_cpm: - 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. - maximize_conversions: - Standard Maximize Conversions bidding strategy that - automatically maximizes number of conversions given a daily - budget. - maximize_conversion_value: - Standard Maximize Conversion Value bidding strategy that - automatically sets bids to maximize revenue while spending - your budget. - target_cpa: - Standard Target CPA bidding strategy that automatically sets - bids to help get as many conversions as possible at the target - cost-per-acquisition (CPA) you set. - target_impression_share: - Target Impression Share bidding strategy. An automated bidding - strategy that sets bids to achieve a desired percentage of - impressions. - target_roas: - Standard Target ROAS bidding strategy that automatically - maximizes revenue while averaging a specific target return on - ad spend (ROAS). - target_spend: - Standard Target Spend bidding strategy that automatically sets - your bids to help get as many clicks as possible within your - budget. - percent_cpc: - Standard Percent Cpc bidding strategy where bids are a - fraction of the advertised price for some good or service. - target_cpm: - A bidding strategy that automatically optimizes cost per - thousand impressions. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Campaign) - )) -_sym_db.RegisterMessage(Campaign) -_sym_db.RegisterMessage(Campaign.NetworkSettings) -_sym_db.RegisterMessage(Campaign.HotelSettingInfo) -_sym_db.RegisterMessage(Campaign.SelectiveOptimization) -_sym_db.RegisterMessage(Campaign.DynamicSearchAdsSetting) -_sym_db.RegisterMessage(Campaign.AppCampaignSetting) -_sym_db.RegisterMessage(Campaign.ShoppingSetting) -_sym_db.RegisterMessage(Campaign.TrackingSetting) -_sym_db.RegisterMessage(Campaign.GeoTargetTypeSetting) -_sym_db.RegisterMessage(Campaign.VanityPharma) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/campaign_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/campaign_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/campaign_shared_set_pb2.py b/google/ads/google_ads/v2/proto/resources/campaign_shared_set_pb2.py deleted file mode 100644 index a4c82c2cc..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_shared_set_pb2.py +++ /dev/null @@ -1,122 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.enums import campaign_shared_set_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_campaign__shared__set__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_v2/proto/resources/campaign_shared_set.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\026CampaignSharedSetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/resources/campaign_shared_set.proto\x12!google.ads.googleads.v2.resources\x1a\x44google/ads/googleads_v2/proto/enums/campaign_shared_set_status.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xf0\x01\n\x11\x43\x61mpaignSharedSet\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12.\n\x08\x63\x61mpaign\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nshared_set\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x62\n\x06status\x18\x02 \x01(\x0e\x32R.google.ads.googleads.v2.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatusB\x83\x02\n%com.google.ads.googleads.v2.resourcesB\x16\x43\x61mpaignSharedSetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_campaign__shared__set__status__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.v2.resources.CampaignSharedSet', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='shared_set', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=237, - serialized_end=477, -) - -_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__v2_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_v2.proto.resources.campaign_shared_set_pb2' - , - __doc__ = """CampaignSharedSets are used for managing the shared sets associated with - a campaign. - - - Attributes: - resource_name: - The resource name of the campaign shared set. Campaign shared - set resource names have the form: ``customers/{customer_id}/c - ampaignSharedSets/{campaign_id}~{shared_set_id}`` - campaign: - The campaign to which the campaign shared set belongs. - shared_set: - 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: - The status of this campaign shared set. Read only. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CampaignSharedSet) - )) -_sym_db.RegisterMessage(CampaignSharedSet) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/campaign_shared_set_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/campaign_shared_set_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/campaign_shared_set_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/carrier_constant_pb2.py b/google/ads/google_ads/v2/proto/resources/carrier_constant_pb2.py deleted file mode 100644 index ed5882f44..000000000 --- a/google/ads/google_ads/v2/proto/resources/carrier_constant_pb2.py +++ /dev/null @@ -1,115 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.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_v2/proto/resources/carrier_constant.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\024CarrierConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/resources/carrier_constant.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x14\x43\x61rrierConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::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.v2.resources.CarrierConstant', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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_v2.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.v2.resources.CarrierConstant) - )) -_sym_db.RegisterMessage(CarrierConstant) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/carrier_constant_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/carrier_constant_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/carrier_constant_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/change_status_pb2.py b/google/ads/google_ads/v2/proto/resources/change_status_pb2.py deleted file mode 100644 index 6f964df17..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import change_status_operation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_change__status__operation__pb2 -from google.ads.google_ads.v2.proto.enums import change_status_resource_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/change_status.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\021ChangeStatusProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/resources/change_status.proto\x12!google.ads.googleads.v2.resources\x1a\x41google/ads/googleads_v2/proto/enums/change_status_operation.proto\x1a\x45google/ads/googleads_v2/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.v2.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.v2.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.v2.resourcesB\x11\x43hangeStatusProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_change__status__operation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.ChangeStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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__v2_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_v2.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.v2.resources.ChangeStatus) - )) -_sym_db.RegisterMessage(ChangeStatus) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/change_status_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/change_status_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/change_status_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/click_view_pb2.py b/google/ads/google_ads/v2/proto/resources/click_view_pb2.py deleted file mode 100644 index 709d2f15f..000000000 --- a/google/ads/google_ads/v2/proto/resources/click_view_pb2.py +++ /dev/null @@ -1,139 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.common import click_location_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/click_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\016ClickViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/resources/click_view.proto\x12!google.ads.googleads.v2.resources\x1a\x39google/ads/googleads_v2/proto/common/click_location.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xca\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.v2.common.ClickLocation\x12K\n\x14location_of_presence\x18\x04 \x01(\x0b\x32-.google.ads.googleads.v2.common.ClickLocation\x12\x30\n\x0bpage_number\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0b\x61\x64_group_ad\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xfb\x01\n%com.google.ads.googleads.v2.resourcesB\x0e\x43lickViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.resources.ClickView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='ad_group_ad', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=217, - serialized_end=547, -) - -_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__v2_dot_proto_dot_common_dot_click__location__pb2._CLICKLOCATION -_CLICKVIEW.fields_by_name['location_of_presence'].message_type = google_dot_ads_dot_googleads__v2_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_v2.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. - ad_group_ad: - The associated ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.ClickView) - )) -_sym_db.RegisterMessage(ClickView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/click_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/click_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/click_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/conversion_action_pb2.py b/google/ads/google_ads/v2/proto/resources/conversion_action_pb2.py deleted file mode 100644 index fb405e85b..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.common import tag_snippet_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_tag__snippet__pb2 -from google.ads.google_ads.v2.proto.enums import attribution_model_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_attribution__model__pb2 -from google.ads.google_ads.v2.proto.enums import conversion_action_category_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__category__pb2 -from google.ads.google_ads.v2.proto.enums import conversion_action_counting_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2 -from google.ads.google_ads.v2.proto.enums import conversion_action_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__status__pb2 -from google.ads.google_ads.v2.proto.enums import conversion_action_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__type__pb2 -from google.ads.google_ads.v2.proto.enums import data_driven_model_status_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/conversion_action.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\025ConversionActionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/resources/conversion_action.proto\x12!google.ads.googleads.v2.resources\x1a\x36google/ads/googleads_v2/proto/common/tag_snippet.proto\x1a;google/ads/googleads_v2/proto/enums/attribution_model.proto\x1a\x44google/ads/googleads_v2/proto/enums/conversion_action_category.proto\x1aIgoogle/ads/googleads_v2/proto/enums/conversion_action_counting_type.proto\x1a\x42google/ads/googleads_v2/proto/enums/conversion_action_status.proto\x1a@google/ads/googleads_v2/proto/enums/conversion_action_type.proto\x1a\x42google/ads/googleads_v2/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.v2.enums.ConversionActionStatusEnum.ConversionActionStatus\x12Z\n\x04type\x18\x05 \x01(\x0e\x32L.google.ads.googleads.v2.enums.ConversionActionTypeEnum.ConversionActionType\x12\x66\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v2.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.v2.resources.ConversionAction.ValueSettings\x12s\n\rcounting_type\x18\x0c \x01(\x0e\x32\\.google.ads.googleads.v2.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType\x12p\n\x1a\x61ttribution_model_settings\x18\r \x01(\x0b\x32L.google.ads.googleads.v2.resources.ConversionAction.AttributionModelSettings\x12@\n\x0ctag_snippets\x18\x0e \x03(\x0b\x32*.google.ads.googleads.v2.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.v2.enums.AttributionModelEnum.AttributionModel\x12p\n\x18\x64\x61ta_driven_model_status\x18\x02 \x01(\x0e\x32N.google.ads.googleads.v2.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.v2.resourcesB\x15\x43onversionActionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_tag__snippet__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_attribution__model__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.ConversionAction.AttributionModelSettings', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='attribution_model', full_name='google.ads.googleads.v2.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.v2.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.v2.resources.ConversionAction.ValueSettings', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='default_value', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.resources.ConversionAction', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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__v2_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__v2_dot_proto_dot_enums_dot_conversion__action__status__pb2._CONVERSIONACTIONSTATUSENUM_CONVERSIONACTIONSTATUS -_CONVERSIONACTION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__action__type__pb2._CONVERSIONACTIONTYPEENUM_CONVERSIONACTIONTYPE -_CONVERSIONACTION.fields_by_name['category'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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_v2.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.v2.resources.ConversionAction.AttributionModelSettings) - )) - , - - ValueSettings = _reflection.GeneratedProtocolMessageType('ValueSettings', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONACTION_VALUESETTINGS, - __module__ = 'google.ads.googleads_v2.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.v2.resources.ConversionAction.ValueSettings) - )) - , - DESCRIPTOR = _CONVERSIONACTION, - __module__ = 'google.ads.googleads_v2.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.v2.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/v2/proto/resources/conversion_action_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/conversion_action_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/conversion_action_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/custom_interest_pb2.py b/google/ads/google_ads/v2/proto/resources/custom_interest_pb2.py deleted file mode 100644 index 458e8e8fc..000000000 --- a/google/ads/google_ads/v2/proto/resources/custom_interest_pb2.py +++ /dev/null @@ -1,216 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/custom_interest.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.v2.proto.enums import custom_interest_member_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_custom__interest__member__type__pb2 -from google.ads.google_ads.v2.proto.enums import custom_interest_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_custom__interest__status__pb2 -from google.ads.google_ads.v2.proto.enums import custom_interest_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_custom__interest__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_v2/proto/resources/custom_interest.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023CustomInterestProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/resources/custom_interest.proto\x12!google.ads.googleads.v2.resources\x1a\x45google/ads/googleads_v2/proto/enums/custom_interest_member_type.proto\x1a@google/ads/googleads_v2/proto/enums/custom_interest_status.proto\x1a>google/ads/googleads_v2/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.v2.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.v2.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.v2.resources.CustomInterestMember\"\xb2\x01\n\x14\x43ustomInterestMember\x12i\n\x0bmember_type\x18\x01 \x01(\x0e\x32T.google.ads.googleads.v2.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType\x12/\n\tparameter\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x80\x02\n%com.google.ads.googleads.v2.resourcesB\x13\x43ustomInterestProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_custom__interest__member__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_custom__interest__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_custom__interest__type__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.v2.resources.CustomInterest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=364, - serialized_end=795, -) - - -_CUSTOMINTERESTMEMBER = _descriptor.Descriptor( - name='CustomInterestMember', - full_name='google.ads.googleads.v2.resources.CustomInterestMember', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='member_type', full_name='google.ads.googleads.v2.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.v2.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, - 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=798, - serialized_end=976, -) - -_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__v2_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__v2_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__v2_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 -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomInterest = _reflection.GeneratedProtocolMessageType('CustomInterest', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMINTEREST, - __module__ = 'google.ads.googleads_v2.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}`` - id: - Id of the custom interest. - status: - Status of this custom interest. Indicates whether the custom - interest is enabled or removed. - name: - Name of the custom interest. It should be unique across the - same custom affinity audience. This field is required for - create operations. - type: - Type of the custom interest, CUSTOM\_AFFINITY or - CUSTOM\_INTENT. By default the type is set to - CUSTOM\_AFFINITY. - description: - Description of this custom interest audience. - members: - List of custom interest members that this custom interest is - composed of. Members can be added during CustomInterest - creation. If members are presented in UPDATE operation, - existing members will be overridden. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CustomInterest) - )) -_sym_db.RegisterMessage(CustomInterest) - -CustomInterestMember = _reflection.GeneratedProtocolMessageType('CustomInterestMember', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMINTERESTMEMBER, - __module__ = 'google.ads.googleads_v2.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 - changed. - - - Attributes: - member_type: - The type of custom interest member, KEYWORD or URL. - parameter: - Keyword text when member\_type is KEYWORD or URL string when - member\_type is URL. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CustomInterestMember) - )) -_sym_db.RegisterMessage(CustomInterestMember) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/custom_interest_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/custom_interest_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/custom_interest_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/customer_client_link_pb2.py b/google/ads/google_ads/v2/proto/resources/customer_client_link_pb2.py deleted file mode 100644 index 1dab6b087..000000000 --- a/google/ads/google_ads/v2/proto/resources/customer_client_link_pb2.py +++ /dev/null @@ -1,126 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/customer_client_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.v2.proto.enums import manager_link_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_manager__link__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_v2/proto/resources/customer_client_link.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\027CustomerClientLinkProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/resources/customer_client_link.proto\x12!google.ads.googleads.v2.resources\x1a=google/ads/googleads_v2/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.v2.enums.ManagerLinkStatusEnum.ManagerLinkStatus\x12*\n\x06hidden\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x84\x02\n%com.google.ads.googleads.v2.resourcesB\x17\x43ustomerClientLinkProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_manager__link__status__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.v2.resources.CustomerClientLink', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='client_customer', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='manager_link_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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.v2.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, - 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=231, - serialized_end=515, -) - -_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__v2_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_v2.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/{clien - t_customer_id}~{manager_link_id}`` - client_customer: - The client customer linked to this customer. - manager_link_id: - 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.v2.resources.CustomerClientLink) - )) -_sym_db.RegisterMessage(CustomerClientLink) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/customer_client_link_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/customer_client_link_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/customer_client_link_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/customer_client_pb2.py b/google/ads/google_ads/v2/proto/resources/customer_client_pb2.py deleted file mode 100644 index 0e5351912..000000000 --- a/google/ads/google_ads/v2/proto/resources/customer_client_pb2.py +++ /dev/null @@ -1,182 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/resources/customer_client.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023CustomerClientProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/resources/customer_client.proto\x12!google.ads.googleads.v2.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xdc\x03\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.Int64Value\x12/\n\ttime_zone\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\x0ctest_account\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12+\n\x07manager\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x36\n\x10\x64\x65scriptive_name\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rcurrency_code\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\'\n\x02id\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x80\x02\n%com.google.ads.googleads.v2.resourcesB\x13\x43ustomerClientProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::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.v2.resources.CustomerClient', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='time_zone', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='test_account', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='manager', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='descriptive_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=163, - serialized_end=639, -) - -_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_v2.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 - `__. - Read only. - level: - Distance between given customer and client. For self link, the - level value will be 0. Read only. - time_zone: - Common Locale Data Repository (CLDR) string representation of - the time zone of the client, e.g. America/Los\_Angeles. Read - only. - test_account: - Identifies if the client is a test account. Read only. - manager: - Identifies if the client is a manager. Read only. - descriptive_name: - Descriptive name for the client. Read only. - currency_code: - Currency code (e.g. 'USD', 'EUR') for the client. Read only. - id: - The ID of the client customer. Read only. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CustomerClient) - )) -_sym_db.RegisterMessage(CustomerClient) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/customer_client_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/customer_client_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/customer_client_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/customer_extension_setting_pb2.py b/google/ads/google_ads/v2/proto/resources/customer_extension_setting_pb2.py deleted file mode 100644 index f35f1e141..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import extension_setting_device_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_extension__setting__device__pb2 -from google.ads.google_ads.v2.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/customer_extension_setting.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\035CustomerExtensionSettingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/resources/customer_extension_setting.proto\x12!google.ads.googleads.v2.resources\x1a\x42google/ads/googleads_v2/proto/enums/extension_setting_device.proto\x1a\x38google/ads/googleads_v2/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.v2.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.v2.enums.ExtensionSettingDeviceEnum.ExtensionSettingDeviceB\x8a\x02\n%com.google.ads.googleads.v2.resourcesB\x1d\x43ustomerExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.CustomerExtensionSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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__v2_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__v2_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_v2.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.v2.resources.CustomerExtensionSetting) - )) -_sym_db.RegisterMessage(CustomerExtensionSetting) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/customer_extension_setting_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/customer_extension_setting_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/customer_extension_setting_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/customer_feed_pb2.py b/google/ads/google_ads/v2/proto/resources/customer_feed_pb2.py deleted file mode 100644 index 17a2421fa..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_matching__function__pb2 -from google.ads.google_ads.v2.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__link__status__pb2 -from google.ads.google_ads.v2.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/customer_feed.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\021CustomerFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/resources/customer_feed.proto\x12!google.ads.googleads.v2.resources\x1a.google.ads.googleads.v2.enums.CriterionTypeEnum.CriterionType\x12I\n\rcontent_label\x18\x04 \x01(\x0b\x32\x30.google.ads.googleads.v2.common.ContentLabelInfoH\x00\x12S\n\x12mobile_application\x18\x05 \x01(\x0b\x32\x35.google.ads.googleads.v2.common.MobileApplicationInfoH\x00\x12T\n\x13mobile_app_category\x18\x06 \x01(\x0b\x32\x35.google.ads.googleads.v2.common.MobileAppCategoryInfoH\x00\x12\x42\n\tplacement\x18\x07 \x01(\x0b\x32-.google.ads.googleads.v2.common.PlacementInfoH\x00\x12I\n\ryoutube_video\x18\x08 \x01(\x0b\x32\x30.google.ads.googleads.v2.common.YouTubeVideoInfoH\x00\x12M\n\x0fyoutube_channel\x18\t \x01(\x0b\x32\x32.google.ads.googleads.v2.common.YouTubeChannelInfoH\x00\x42\x0b\n\tcriterionB\x8b\x02\n%com.google.ads.googleads.v2.resourcesB\x1e\x43ustomerNegativeCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__type__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.v2.resources.CustomerNegativeCriterion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='content_label', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='mobile_application', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='mobile_app_category', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='placement', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='youtube_video', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='youtube_channel', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v2.resources.CustomerNegativeCriterion.criterion', - index=0, containing_type=None, fields=[]), - ], - serialized_start=286, - serialized_end=936, -) - -_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__v2_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE -_CUSTOMERNEGATIVECRITERION.fields_by_name['content_label'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._CONTENTLABELINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'].fields.append( - _CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_application']) -_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_application'].containing_oneof = _CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'] -_CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'].fields.append( - _CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_app_category']) -_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_app_category'].containing_oneof = _CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'] -_CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'].fields.append( - _CUSTOMERNEGATIVECRITERION.fields_by_name['placement']) -_CUSTOMERNEGATIVECRITERION.fields_by_name['placement'].containing_oneof = _CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'] -_CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'].fields.append( - _CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_video']) -_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_video'].containing_oneof = _CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'] -_CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'].fields.append( - _CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_channel']) -_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_channel'].containing_oneof = _CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'] -DESCRIPTOR.message_types_by_name['CustomerNegativeCriterion'] = _CUSTOMERNEGATIVECRITERION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomerNegativeCriterion = _reflection.GeneratedProtocolMessageType('CustomerNegativeCriterion', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERNEGATIVECRITERION, - __module__ = 'google.ads.googleads_v2.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}`` - id: - The ID of the criterion. - type: - The type of the criterion. - criterion: - The customer negative criterion. Exactly one must be set. - content_label: - ContentLabel. - mobile_application: - MobileApplication. - mobile_app_category: - MobileAppCategory. - placement: - Placement. - youtube_video: - YouTube Video. - youtube_channel: - YouTube Channel. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CustomerNegativeCriterion) - )) -_sym_db.RegisterMessage(CustomerNegativeCriterion) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/customer_negative_criterion_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/customer_negative_criterion_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/customer_negative_criterion_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/customer_pb2.py b/google/ads/google_ads/v2/proto/resources/customer_pb2.py deleted file mode 100644 index afde1f3ab..000000000 --- a/google/ads/google_ads/v2/proto/resources/customer_pb2.py +++ /dev/null @@ -1,417 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/customer.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.v2.proto.enums import customer_pay_per_conversion_eligibility_failure_reason_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_customer__pay__per__conversion__eligibility__failure__reason__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_v2/proto/resources/customer.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\rCustomerProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n6google/ads/googleads_v2/proto/resources/customer.proto\x12!google.ads.googleads.v2.resources\x1a`google/ads/googleads_v2/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.v2.resources.CallReportingSetting\x12\x61\n\x1b\x63onversion_tracking_setting\x18\x0e \x01(\x0b\x32<.google.ads.googleads.v2.resources.ConversionTrackingSetting\x12R\n\x13remarketing_setting\x18\x0f \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.RemarketingSetting\x12\xbd\x01\n.pay_per_conversion_eligibility_failure_reasons\x18\x10 \x03(\x0e\x32\x84\x01.google.ads.googleads.v2.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.v2.resourcesB\rCustomerProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,]) - - - - -_CUSTOMER = _descriptor.Descriptor( - name='Customer', - full_name='google.ads.googleads.v2.resources.Customer', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='descriptive_name', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='time_zone', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='manager', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='test_account', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='call_reporting_setting', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='remarketing_setting', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='pay_per_conversion_eligibility_failure_reasons', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=254, - serialized_end=1276, -) - - -_CALLREPORTINGSETTING = _descriptor.Descriptor( - name='CallReportingSetting', - full_name='google.ads.googleads.v2.resources.CallReportingSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='call_reporting_enabled', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1279, - serialized_end=1494, -) - - -_CONVERSIONTRACKINGSETTING = _descriptor.Descriptor( - name='ConversionTrackingSetting', - full_name='google.ads.googleads.v2.resources.ConversionTrackingSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='conversion_tracking_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='cross_account_conversion_tracking_id', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1497, - serialized_end=1660, -) - - -_REMARKETINGSETTING = _descriptor.Descriptor( - name='RemarketingSetting', - full_name='google.ads.googleads.v2.resources.RemarketingSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='google_global_site_tag', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1662, - serialized_end=1744, -) - -_CUSTOMER.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CUSTOMER.fields_by_name['descriptive_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CUSTOMER.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CUSTOMER.fields_by_name['time_zone'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CUSTOMER.fields_by_name['tracking_url_template'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CUSTOMER.fields_by_name['final_url_suffix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CUSTOMER.fields_by_name['auto_tagging_enabled'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CUSTOMER.fields_by_name['has_partners_badge'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CUSTOMER.fields_by_name['manager'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CUSTOMER.fields_by_name['test_account'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_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__v2_dot_proto_dot_enums_dot_customer__pay__per__conversion__eligibility__failure__reason__pb2._CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON -_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 -_CONVERSIONTRACKINGSETTING.fields_by_name['conversion_tracking_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CONVERSIONTRACKINGSETTING.fields_by_name['cross_account_conversion_tracking_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_REMARKETINGSETTING.fields_by_name['google_global_site_tag'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['Customer'] = _CUSTOMER -DESCRIPTOR.message_types_by_name['CallReportingSetting'] = _CALLREPORTINGSETTING -DESCRIPTOR.message_types_by_name['ConversionTrackingSetting'] = _CONVERSIONTRACKINGSETTING -DESCRIPTOR.message_types_by_name['RemarketingSetting'] = _REMARKETINGSETTING -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Customer = _reflection.GeneratedProtocolMessageType('Customer', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMER, - __module__ = 'google.ads.googleads_v2.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}`` - id: - 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. - time_zone: - The local timezone ID of the customer. - tracking_url_template: - The URL template for constructing a tracking URL out of - parameters. - final_url_suffix: - The URL template for appending params to the final URL - 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 - https://support.google.com/partners/answer/3125774. - manager: - Whether the customer is a manager. - test_account: - 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. - remarketing_setting: - Remarketing setting for a customer. - pay_per_conversion_eligibility_failure_reasons: - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Customer) - )) -_sym_db.RegisterMessage(Customer) - -CallReportingSetting = _reflection.GeneratedProtocolMessageType('CallReportingSetting', (_message.Message,), dict( - DESCRIPTOR = _CALLREPORTINGSETTING, - __module__ = 'google.ads.googleads_v2.proto.resources.customer_pb2' - , - __doc__ = """Call reporting setting for a customer. - - - Attributes: - call_reporting_enabled: - Enable reporting of phone call events by redirecting them via - Google System. - call_conversion_reporting_enabled: - Whether to enable call conversion reporting. - call_conversion_action: - Customer-level call conversion action to attribute a call - conversion to. If not set a default conversion action is used. - Only in effect when call\_conversion\_reporting\_enabled is - set to true. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.CallReportingSetting) - )) -_sym_db.RegisterMessage(CallReportingSetting) - -ConversionTrackingSetting = _reflection.GeneratedProtocolMessageType('ConversionTrackingSetting', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONTRACKINGSETTING, - __module__ = 'google.ads.googleads_v2.proto.resources.customer_pb2' - , - __doc__ = """A collection of customer-wide settings related to Google Ads Conversion - Tracking. - - - 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. - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.ConversionTrackingSetting) - )) -_sym_db.RegisterMessage(ConversionTrackingSetting) - -RemarketingSetting = _reflection.GeneratedProtocolMessageType('RemarketingSetting', (_message.Message,), dict( - DESCRIPTOR = _REMARKETINGSETTING, - __module__ = 'google.ads.googleads_v2.proto.resources.customer_pb2' - , - __doc__ = """Remarketing setting for a customer. - - - Attributes: - google_global_site_tag: - The Google global site tag. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.RemarketingSetting) - )) -_sym_db.RegisterMessage(RemarketingSetting) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/customer_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/customer_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/customer_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/detail_placement_view_pb2.py b/google/ads/google_ads/v2/proto/resources/detail_placement_view_pb2.py deleted file mode 100644 index 32376f03c..000000000 --- a/google/ads/google_ads/v2/proto/resources/detail_placement_view_pb2.py +++ /dev/null @@ -1,142 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.enums import placement_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/detail_placement_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\030DetailPlacementViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/resources/detail_placement_view.proto\x12!google.ads.googleads.v2.resources\x1a\x38google/ads/googleads_v2/proto/enums/placement_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xdd\x02\n\x13\x44\x65tailPlacementView\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@\n\x1agroup_placement_target_url\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\ntarget_url\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12V\n\x0eplacement_type\x18\x06 \x01(\x0e\x32>.google.ads.googleads.v2.enums.PlacementTypeEnum.PlacementTypeB\x85\x02\n%com.google.ads.googleads.v2.resourcesB\x18\x44\x65tailPlacementViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.resources.DetailPlacementView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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_v2.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.v2.resources.DetailPlacementView) - )) -_sym_db.RegisterMessage(DetailPlacementView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/detail_placement_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/detail_placement_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/detail_placement_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/display_keyword_view_pb2.py b/google/ads/google_ads/v2/proto/resources/display_keyword_view_pb2.py deleted file mode 100644 index b6d4ebd69..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/display_keyword_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\027DisplayKeywordViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/resources/display_keyword_view.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x17\x44isplayKeywordViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_DISPLAYKEYWORDVIEW = _descriptor.Descriptor( - name='DisplayKeywordView', - full_name='google.ads.googleads.v2.resources.DisplayKeywordView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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_v2.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.v2.resources.DisplayKeywordView) - )) -_sym_db.RegisterMessage(DisplayKeywordView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/display_keyword_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/display_keyword_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/display_keyword_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/distance_view_pb2.py b/google/ads/google_ads/v2/proto/resources/distance_view_pb2.py deleted file mode 100644 index 441871ba5..000000000 --- a/google/ads/google_ads/v2/proto/resources/distance_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_v2/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.v2.proto.enums import distance_bucket_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_distance__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_v2/proto/resources/distance_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\021DistanceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v2/proto/resources/distance_view.proto\x12!google.ads.googleads.v2.resources\x1a\x39google/ads/googleads_v2/proto/enums/distance_bucket.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb3\x01\n\x0c\x44istanceView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12Y\n\x0f\x64istance_bucket\x18\x02 \x01(\x0e\x32@.google.ads.googleads.v2.enums.DistanceBucketEnum.DistanceBucket\x12\x31\n\rmetric_system\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\xfe\x01\n%com.google.ads.googleads.v2.resourcesB\x11\x44istanceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_distance__bucket__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.v2.resources.DistanceView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='distance_bucket', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='metric_system', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=220, - serialized_end=399, -) - -_DISTANCEVIEW.fields_by_name['distance_bucket'].enum_type = google_dot_ads_dot_googleads__v2_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_v2.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: - The resource name of the distance view. Distance view resource - names have the form: - ``customers/{customer_id}/distanceViews/1~{distance_bucket}`` - distance_bucket: - Grouping of user distance from location extensions. - metric_system: - True if the DistanceBucket is using the metric system, false - otherwise. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.DistanceView) - )) -_sym_db.RegisterMessage(DistanceView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/distance_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/distance_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/distance_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/domain_category_pb2.py b/google/ads/google_ads/v2/proto/resources/domain_category_pb2.py deleted file mode 100644 index 6623ee754..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/domain_category.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023DomainCategoryProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/resources/domain_category.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x13\x44omainCategoryProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::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.v2.resources.DomainCategory', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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_v2.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.v2.resources.DomainCategory) - )) -_sym_db.RegisterMessage(DomainCategory) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/domain_category_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/domain_category_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/domain_category_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/dynamic_search_ads_search_term_view_pb2.py b/google/ads/google_ads/v2/proto/resources/dynamic_search_ads_search_term_view_pb2.py deleted file mode 100644 index 97c917773..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/dynamic_search_ads_search_term_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB#DynamicSearchAdsSearchTermViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nQgoogle/ads/googleads_v2/proto/resources/dynamic_search_ads_search_term_view.proto\x12!google.ads.googleads.v2.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.v2.resourcesB#DynamicSearchAdsSearchTermViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::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.v2.resources.DynamicSearchAdsSearchTermView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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_v2.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.v2.resources.DynamicSearchAdsSearchTermView) - )) -_sym_db.RegisterMessage(DynamicSearchAdsSearchTermView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/expanded_landing_page_view_pb2.py b/google/ads/google_ads/v2/proto/resources/expanded_landing_page_view_pb2.py deleted file mode 100644 index f6a019a44..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/expanded_landing_page_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\034ExpandedLandingPageViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/resources/expanded_landing_page_view.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x1c\x45xpandedLandingPageViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::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.v2.resources.ExpandedLandingPageView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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_v2.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.v2.resources.ExpandedLandingPageView) - )) -_sym_db.RegisterMessage(ExpandedLandingPageView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/expanded_landing_page_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/expanded_landing_page_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/expanded_landing_page_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/extension_feed_item_pb2.py b/google/ads/google_ads/v2/proto/resources/extension_feed_item_pb2.py deleted file mode 100644 index d5b75178e..000000000 --- a/google/ads/google_ads/v2/proto/resources/extension_feed_item_pb2.py +++ /dev/null @@ -1,371 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/extension_feed_item.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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v2.proto.common import extensions_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2 -from google.ads.google_ads.v2.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_extension__type__pb2 -from google.ads.google_ads.v2.proto.enums import feed_item_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__status__pb2 -from google.ads.google_ads.v2.proto.enums import feed_item_target_device_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__target__device__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_v2/proto/resources/extension_feed_item.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\026ExtensionFeedItemProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/resources/extension_feed_item.proto\x12!google.ads.googleads.v2.resources\x1a\x33google/ads/googleads_v2/proto/common/criteria.proto\x1a\x35google/ads/googleads_v2/proto/common/extensions.proto\x1a\x38google/ads/googleads_v2/proto/enums/extension_type.proto\x1a:google/ads/googleads_v2/proto/enums/feed_item_status.proto\x1a\x41google/ads/googleads_v2/proto/enums/feed_item_target_device.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc7\r\n\x11\x45xtensionFeedItem\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x18 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12V\n\x0e\x65xtension_type\x18\r \x01(\x0e\x32>.google.ads.googleads.v2.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.v2.common.AdScheduleInfo\x12\\\n\x06\x64\x65vice\x18\x11 \x01(\x0e\x32L.google.ads.googleads.v2.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice\x12\x42\n\x1ctargeted_geo_target_constant\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x10targeted_keyword\x18\x16 \x01(\x0b\x32+.google.ads.googleads.v2.common.KeywordInfo\x12P\n\x06status\x18\x04 \x01(\x0e\x32@.google.ads.googleads.v2.enums.FeedItemStatusEnum.FeedItemStatus\x12N\n\x12sitelink_feed_item\x18\x02 \x01(\x0b\x32\x30.google.ads.googleads.v2.common.SitelinkFeedItemH\x00\x12\x61\n\x1cstructured_snippet_feed_item\x18\x03 \x01(\x0b\x32\x39.google.ads.googleads.v2.common.StructuredSnippetFeedItemH\x00\x12\x44\n\rapp_feed_item\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v2.common.AppFeedItemH\x00\x12\x46\n\x0e\x63\x61ll_feed_item\x18\x08 \x01(\x0b\x32,.google.ads.googleads.v2.common.CallFeedItemH\x00\x12L\n\x11\x63\x61llout_feed_item\x18\t \x01(\x0b\x32/.google.ads.googleads.v2.common.CalloutFeedItemH\x00\x12U\n\x16text_message_feed_item\x18\n \x01(\x0b\x32\x33.google.ads.googleads.v2.common.TextMessageFeedItemH\x00\x12H\n\x0fprice_feed_item\x18\x0b \x01(\x0b\x32-.google.ads.googleads.v2.common.PriceFeedItemH\x00\x12P\n\x13promotion_feed_item\x18\x0c \x01(\x0b\x32\x31.google.ads.googleads.v2.common.PromotionFeedItemH\x00\x12N\n\x12location_feed_item\x18\x0e \x01(\x0b\x32\x30.google.ads.googleads.v2.common.LocationFeedItemH\x00\x12\x61\n\x1c\x61\x66\x66iliate_location_feed_item\x18\x0f \x01(\x0b\x32\x39.google.ads.googleads.v2.common.AffiliateLocationFeedItemH\x00\x12W\n\x17hotel_callout_feed_item\x18\x17 \x01(\x0b\x32\x34.google.ads.googleads.v2.common.HotelCalloutFeedItemH\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.v2.resourcesB\x16\x45xtensionFeedItemProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_extension__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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,]) - - - - -_EXTENSIONFEEDITEM = _descriptor.Descriptor( - name='ExtensionFeedItem', - full_name='google.ads.googleads.v2.resources.ExtensionFeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='extension_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='start_date_time', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='targeted_keyword', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='sitelink_feed_item', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='affiliate_location_feed_item', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='hotel_callout_feed_item', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='targeted_ad_group', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='extension', full_name='google.ads.googleads.v2.resources.ExtensionFeedItem.extension', - index=0, containing_type=None, fields=[]), - _descriptor.OneofDescriptor( - name='serving_resource_targeting', full_name='google.ads.googleads.v2.resources.ExtensionFeedItem.serving_resource_targeting', - index=1, containing_type=None, fields=[]), - ], - serialized_start=460, - serialized_end=2195, -) - -_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__v2_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__v2_dot_proto_dot_common_dot_criteria__pb2._ADSCHEDULEINFO -_EXTENSIONFEEDITEM.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v2_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['targeted_keyword'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO -_EXTENSIONFEEDITEM.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_common_dot_extensions__pb2._SITELINKFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['structured_snippet_feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2._STRUCTUREDSNIPPETFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['app_feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2._APPFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['call_feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2._CALLFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['callout_feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2._CALLOUTFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['text_message_feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2._TEXTMESSAGEFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['price_feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2._PRICEFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['promotion_feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2._PROMOTIONFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['location_feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2._LOCATIONFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['affiliate_location_feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2._AFFILIATELOCATIONFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['hotel_callout_feed_item'].message_type = google_dot_ads_dot_googleads__v2_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( - _EXTENSIONFEEDITEM.fields_by_name['sitelink_feed_item']) -_EXTENSIONFEEDITEM.fields_by_name['sitelink_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] -_EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( - _EXTENSIONFEEDITEM.fields_by_name['structured_snippet_feed_item']) -_EXTENSIONFEEDITEM.fields_by_name['structured_snippet_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] -_EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( - _EXTENSIONFEEDITEM.fields_by_name['app_feed_item']) -_EXTENSIONFEEDITEM.fields_by_name['app_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] -_EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( - _EXTENSIONFEEDITEM.fields_by_name['call_feed_item']) -_EXTENSIONFEEDITEM.fields_by_name['call_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] -_EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( - _EXTENSIONFEEDITEM.fields_by_name['callout_feed_item']) -_EXTENSIONFEEDITEM.fields_by_name['callout_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] -_EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( - _EXTENSIONFEEDITEM.fields_by_name['text_message_feed_item']) -_EXTENSIONFEEDITEM.fields_by_name['text_message_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] -_EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( - _EXTENSIONFEEDITEM.fields_by_name['price_feed_item']) -_EXTENSIONFEEDITEM.fields_by_name['price_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] -_EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( - _EXTENSIONFEEDITEM.fields_by_name['promotion_feed_item']) -_EXTENSIONFEEDITEM.fields_by_name['promotion_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] -_EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( - _EXTENSIONFEEDITEM.fields_by_name['location_feed_item']) -_EXTENSIONFEEDITEM.fields_by_name['location_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] -_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'] -_EXTENSIONFEEDITEM.oneofs_by_name['serving_resource_targeting'].fields.append( - _EXTENSIONFEEDITEM.fields_by_name['targeted_ad_group']) -_EXTENSIONFEEDITEM.fields_by_name['targeted_ad_group'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['serving_resource_targeting'] -DESCRIPTOR.message_types_by_name['ExtensionFeedItem'] = _EXTENSIONFEEDITEM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ExtensionFeedItem = _reflection.GeneratedProtocolMessageType('ExtensionFeedItem', (_message.Message,), dict( - DESCRIPTOR = _EXTENSIONFEEDITEM, - __module__ = 'google.ads.googleads_v2.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: - ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` - id: - The ID of this feed item. Read-only. - extension_type: - 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 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 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 - maximum of 6 schedules per day. - device: - 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. - extension: - Extension type. - sitelink_feed_item: - Sitelink extension. - structured_snippet_feed_item: - Structured snippet extension. - app_feed_item: - App extension. - call_feed_item: - Call extension. - callout_feed_item: - Callout extension. - text_message_feed_item: - Text message extension. - price_feed_item: - Price extension. - 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. - affiliate_location_feed_item: - 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 - resource. - targeted_campaign: - The targeted campaign. - targeted_ad_group: - The targeted ad group. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.ExtensionFeedItem) - )) -_sym_db.RegisterMessage(ExtensionFeedItem) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/extension_feed_item_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/extension_feed_item_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/extension_feed_item_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/feed_item_pb2.py b/google/ads/google_ads/v2/proto/resources/feed_item_pb2.py deleted file mode 100644 index 0648b9eec..000000000 --- a/google/ads/google_ads/v2/proto/resources/feed_item_pb2.py +++ /dev/null @@ -1,578 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/feed_item.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.v2.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2 -from google.ads.google_ads.v2.proto.common import feed_common_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_feed__common__pb2 -from google.ads.google_ads.v2.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v2.proto.enums import feed_item_quality_approval_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__quality__approval__status__pb2 -from google.ads.google_ads.v2.proto.enums import feed_item_quality_disapproval_reason_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__quality__disapproval__reason__pb2 -from google.ads.google_ads.v2.proto.enums import feed_item_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__status__pb2 -from google.ads.google_ads.v2.proto.enums import feed_item_validation_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__validation__status__pb2 -from google.ads.google_ads.v2.proto.enums import geo_targeting_restriction_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_geo__targeting__restriction__pb2 -from google.ads.google_ads.v2.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_placeholder__type__pb2 -from google.ads.google_ads.v2.proto.enums import policy_approval_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__approval__status__pb2 -from google.ads.google_ads.v2.proto.enums import policy_review_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__review__status__pb2 -from google.ads.google_ads.v2.proto.errors import feed_item_validation_error_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_errors_dot_feed__item__validation__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_v2/proto/resources/feed_item.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\rFeedItemProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n7google/ads/googleads_v2/proto/resources/feed_item.proto\x12!google.ads.googleads.v2.resources\x1a;google/ads/googleads_v2/proto/common/custom_parameter.proto\x1a\x36google/ads/googleads_v2/proto/common/feed_common.proto\x1a\x31google/ads/googleads_v2/proto/common/policy.proto\x1aKgoogle/ads/googleads_v2/proto/enums/feed_item_quality_approval_status.proto\x1aNgoogle/ads/googleads_v2/proto/enums/feed_item_quality_disapproval_reason.proto\x1a:google/ads/googleads_v2/proto/enums/feed_item_status.proto\x1a\x45google/ads/googleads_v2/proto/enums/feed_item_validation_status.proto\x1a\x43google/ads/googleads_v2/proto/enums/geo_targeting_restriction.proto\x1a:google/ads/googleads_v2/proto/enums/placeholder_type.proto\x1a@google/ads/googleads_v2/proto/enums/policy_approval_status.proto\x1a>google/ads/googleads_v2/proto/enums/policy_review_status.proto\x1a\x45google/ads/googleads_v2/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.v2.resources.FeedItemAttributeValue\x12u\n\x19geo_targeting_restriction\x18\x07 \x01(\x0e\x32R.google.ads.googleads.v2.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction\x12N\n\x15url_custom_parameters\x18\x08 \x03(\x0b\x32/.google.ads.googleads.v2.common.CustomParameter\x12P\n\x06status\x18\t \x01(\x0e\x32@.google.ads.googleads.v2.enums.FeedItemStatusEnum.FeedItemStatus\x12V\n\x0cpolicy_infos\x18\n \x03(\x0b\x32@.google.ads.googleads.v2.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.v2.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\"\xb1\x07\n\x1d\x46\x65\x65\x64ItemPlaceholderPolicyInfo\x12\x61\n\x15placeholder_type_enum\x18\n \x01(\x0e\x32\x42.google.ads.googleads.v2.enums.PlaceholderTypeEnum.PlaceholderType\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.v2.enums.PolicyReviewStatusEnum.PolicyReviewStatus\x12\x65\n\x0f\x61pproval_status\x18\x04 \x01(\x0e\x32L.google.ads.googleads.v2.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus\x12N\n\x14policy_topic_entries\x18\x05 \x03(\x0b\x32\x30.google.ads.googleads.v2.common.PolicyTopicEntry\x12o\n\x11validation_status\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v2.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus\x12U\n\x11validation_errors\x18\x07 \x03(\x0b\x32:.google.ads.googleads.v2.resources.FeedItemValidationError\x12\x7f\n\x17quality_approval_status\x18\x08 \x01(\x0e\x32^.google.ads.googleads.v2.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus\x12\x89\x01\n\x1bquality_disapproval_reasons\x18\t \x03(\x0e\x32\x64.google.ads.googleads.v2.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason\"\xa6\x02\n\x17\x46\x65\x65\x64ItemValidationError\x12m\n\x10validation_error\x18\x01 \x01(\x0e\x32S.google.ads.googleads.v2.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.v2.resourcesB\rFeedItemProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_feed__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__quality__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__quality__disapproval__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__validation__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_geo__targeting__restriction__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_policy__review__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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,]) - - - - -_FEEDITEM = _descriptor.Descriptor( - name='FeedItem', - full_name='google.ads.googleads.v2.resources.FeedItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='feed', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='start_date_time', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='policy_infos', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=943, - serialized_end=1623, -) - - -_FEEDITEMATTRIBUTEVALUE = _descriptor.Descriptor( - name='FeedItemAttributeValue', - full_name='google.ads.googleads.v2.resources.FeedItemAttributeValue', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='feed_attribute_id', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=1626, - serialized_end=2184, -) - - -_FEEDITEMPLACEHOLDERPOLICYINFO = _descriptor.Descriptor( - name='FeedItemPlaceholderPolicyInfo', - full_name='google.ads.googleads.v2.resources.FeedItemPlaceholderPolicyInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='placeholder_type_enum', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='feed_mapping_resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='review_status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='approval_status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='policy_topic_entries', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='validation_status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='validation_errors', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='quality_approval_status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='quality_disapproval_reasons', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2187, - serialized_end=3132, -) - - -_FEEDITEMVALIDATIONERROR = _descriptor.Descriptor( - name='FeedItemValidationError', - full_name='google.ads.googleads.v2.resources.FeedItemValidationError', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='validation_error', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='feed_attribute_ids', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='extra_info', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3135, - serialized_end=3429, -) - -_FEEDITEM.fields_by_name['feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEEDITEM.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_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__v2_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__v2_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER -_FEEDITEM.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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_enum'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS -_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY -_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['validation_status'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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 -DESCRIPTOR.message_types_by_name['FeedItem'] = _FEEDITEM -DESCRIPTOR.message_types_by_name['FeedItemAttributeValue'] = _FEEDITEMATTRIBUTEVALUE -DESCRIPTOR.message_types_by_name['FeedItemPlaceholderPolicyInfo'] = _FEEDITEMPLACEHOLDERPOLICYINFO -DESCRIPTOR.message_types_by_name['FeedItemValidationError'] = _FEEDITEMVALIDATIONERROR -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItem = _reflection.GeneratedProtocolMessageType('FeedItem', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEM, - __module__ = 'google.ads.googleads_v2.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: - ``customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}`` - feed: - The feed to which this feed item belongs. - id: - The ID of this feed item. - start_date_time: - Start time in which this feed item is effective and can begin - 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 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: - Geo targeting restriction specifies the type of location that - can be used for targeting. - url_custom_parameters: - The list of mappings used to substitute custom parameter tags - in a ``tracking_url_template``, ``final_urls``, or - ``mobile_final_urls``. - status: - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.FeedItem) - )) -_sym_db.RegisterMessage(FeedItem) - -FeedItemAttributeValue = _reflection.GeneratedProtocolMessageType('FeedItemAttributeValue', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMATTRIBUTEVALUE, - __module__ = 'google.ads.googleads_v2.proto.resources.feed_item_pb2' - , - __doc__ = """A feed item attribute value. - - - Attributes: - feed_attribute_id: - Id of the feed attribute for which the value is associated - with. - integer_value: - Int64 value. Should be set if feed\_attribute\_id refers to a - feed attribute of type INT64. - boolean_value: - Bool value. Should be set if feed\_attribute\_id refers to a - feed attribute of type BOOLEAN. - string_value: - 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. - double_value: - Double value. Should be set if feed\_attribute\_id refers to a - feed attribute of type DOUBLE. - price_value: - Price value. Should be set if feed\_attribute\_id refers to a - feed attribute of type PRICE. - integer_values: - Repeated int64 value. Should be set if feed\_attribute\_id - refers to a feed attribute of type INT64\_LIST. - boolean_values: - Repeated bool value. Should be set if feed\_attribute\_id - refers to a feed attribute of type BOOLEAN\_LIST. - string_values: - Repeated string value. Should be set if feed\_attribute\_id - refers to a feed attribute of type STRING\_LIST, URL\_LIST or - DATE\_TIME\_LIST. For STRING\_LIST and URL\_LIST the total - size of the list in bytes may not exceed 3000. For - DATE\_TIME\_LIST the number of elements may not exceed 200. - For STRING\_LIST the maximum length of each string element is - 1500 characters. For URL\_LIST 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. - double_values: - 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.v2.resources.FeedItemAttributeValue) - )) -_sym_db.RegisterMessage(FeedItemAttributeValue) - -FeedItemPlaceholderPolicyInfo = _reflection.GeneratedProtocolMessageType('FeedItemPlaceholderPolicyInfo', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMPLACEHOLDERPOLICYINFO, - __module__ = 'google.ads.googleads_v2.proto.resources.feed_item_pb2' - , - __doc__ = """Policy, validation, and quality approval info for a feed item for the - specified placeholder type. - - - Attributes: - placeholder_type_enum: - The placeholder type. - feed_mapping_resource_name: - The FeedMapping that contains the placeholder type. - review_status: - 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. - policy_topic_entries: - The list of policy findings for the placeholder type. - validation_status: - The validation status of the palceholder type. - validation_errors: - List of placeholder type validation errors. - quality_approval_status: - Placeholder type quality evaluation approval status. - quality_disapproval_reasons: - List of placeholder type quality evaluation disapproval - reasons. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.FeedItemPlaceholderPolicyInfo) - )) -_sym_db.RegisterMessage(FeedItemPlaceholderPolicyInfo) - -FeedItemValidationError = _reflection.GeneratedProtocolMessageType('FeedItemValidationError', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMVALIDATIONERROR, - __module__ = 'google.ads.googleads_v2.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. - - - Attributes: - validation_error: - 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. - 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). - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.FeedItemValidationError) - )) -_sym_db.RegisterMessage(FeedItemValidationError) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/feed_item_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/feed_item_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/feed_item_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/feed_item_target_pb2.py b/google/ads/google_ads/v2/proto/resources/feed_item_target_pb2.py deleted file mode 100644 index ed3bfc3e0..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v2.proto.enums import feed_item_target_device_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__target__device__pb2 -from google.ads.google_ads.v2.proto.enums import feed_item_target_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/feed_item_target.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023FeedItemTargetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/resources/feed_item_target.proto\x12!google.ads.googleads.v2.resources\x1a\x33google/ads/googleads_v2/proto/common/criteria.proto\x1a\x41google/ads/googleads_v2/proto/enums/feed_item_target_device.proto\x1a?google/ads/googleads_v2/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.v2.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.v2.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.v2.enums.FeedItemTargetDeviceEnum.FeedItemTargetDeviceH\x00\x12\x45\n\x0b\x61\x64_schedule\x18\n \x01(\x0b\x32..google.ads.googleads.v2.common.AdScheduleInfoH\x00\x42\x08\n\x06targetB\x80\x02\n%com.google.ads.googleads.v2.resourcesB\x13\x46\x65\x65\x64ItemTargetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__item__target__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.FeedItemTarget', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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__v2_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__v2_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__v2_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_v2.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}/feedIt - emTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{fe - ed_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.v2.resources.FeedItemTarget) - )) -_sym_db.RegisterMessage(FeedItemTarget) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/feed_item_target_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/feed_item_target_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/feed_item_target_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/feed_mapping_pb2.py b/google/ads/google_ads/v2/proto/resources/feed_mapping_pb2.py deleted file mode 100644 index 1f8e0793e..000000000 --- a/google/ads/google_ads/v2/proto/resources/feed_mapping_pb2.py +++ /dev/null @@ -1,519 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/feed_mapping.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.v2.proto.enums import ad_customizer_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__customizer__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import affiliate_location_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_affiliate__location__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import app_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_app__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import call_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_call__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import callout_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_callout__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import custom_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_custom__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import dsa_page_feed_criterion_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_dsa__page__feed__criterion__field__pb2 -from google.ads.google_ads.v2.proto.enums import education_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_education__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import feed_mapping_criterion_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__mapping__criterion__type__pb2 -from google.ads.google_ads.v2.proto.enums import feed_mapping_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__mapping__status__pb2 -from google.ads.google_ads.v2.proto.enums import flight_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_flight__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import hotel_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import job_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_job__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import local_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_local__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import location_extension_targeting_criterion_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_location__extension__targeting__criterion__field__pb2 -from google.ads.google_ads.v2.proto.enums import location_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_location__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import message_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_message__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_placeholder__type__pb2 -from google.ads.google_ads.v2.proto.enums import price_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_price__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import promotion_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_promotion__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import real_estate_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_real__estate__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import sitelink_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_sitelink__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import structured_snippet_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_structured__snippet__placeholder__field__pb2 -from google.ads.google_ads.v2.proto.enums import travel_placeholder_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_travel__placeholder__field__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_v2/proto/resources/feed_mapping.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\020FeedMappingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/resources/feed_mapping.proto\x12!google.ads.googleads.v2.resources\x1aIgoogle/ads/googleads_v2/proto/enums/ad_customizer_placeholder_field.proto\x1aNgoogle/ads/googleads_v2/proto/enums/affiliate_location_placeholder_field.proto\x1a?google/ads/googleads_v2/proto/enums/app_placeholder_field.proto\x1a@google/ads/googleads_v2/proto/enums/call_placeholder_field.proto\x1a\x43google/ads/googleads_v2/proto/enums/callout_placeholder_field.proto\x1a\x42google/ads/googleads_v2/proto/enums/custom_placeholder_field.proto\x1aGgoogle/ads/googleads_v2/proto/enums/dsa_page_feed_criterion_field.proto\x1a\x45google/ads/googleads_v2/proto/enums/education_placeholder_field.proto\x1a\x45google/ads/googleads_v2/proto/enums/feed_mapping_criterion_type.proto\x1a=google/ads/googleads_v2/proto/enums/feed_mapping_status.proto\x1a\x42google/ads/googleads_v2/proto/enums/flight_placeholder_field.proto\x1a\x41google/ads/googleads_v2/proto/enums/hotel_placeholder_field.proto\x1a?google/ads/googleads_v2/proto/enums/job_placeholder_field.proto\x1a\x41google/ads/googleads_v2/proto/enums/local_placeholder_field.proto\x1aVgoogle/ads/googleads_v2/proto/enums/location_extension_targeting_criterion_field.proto\x1a\x44google/ads/googleads_v2/proto/enums/location_placeholder_field.proto\x1a\x43google/ads/googleads_v2/proto/enums/message_placeholder_field.proto\x1a:google/ads/googleads_v2/proto/enums/placeholder_type.proto\x1a\x41google/ads/googleads_v2/proto/enums/price_placeholder_field.proto\x1a\x45google/ads/googleads_v2/proto/enums/promotion_placeholder_field.proto\x1aGgoogle/ads/googleads_v2/proto/enums/real_estate_placeholder_field.proto\x1a\x44google/ads/googleads_v2/proto/enums/sitelink_placeholder_field.proto\x1aNgoogle/ads/googleads_v2/proto/enums/structured_snippet_placeholder_field.proto\x1a\x42google/ads/googleads_v2/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.v2.resources.AttributeFieldMapping\x12V\n\x06status\x18\x06 \x01(\x0e\x32\x46.google.ads.googleads.v2.enums.FeedMappingStatusEnum.FeedMappingStatus\x12^\n\x10placeholder_type\x18\x03 \x01(\x0e\x32\x42.google.ads.googleads.v2.enums.PlaceholderTypeEnum.PlaceholderTypeH\x00\x12n\n\x0e\x63riterion_type\x18\x04 \x01(\x0e\x32T.google.ads.googleads.v2.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.v2.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderFieldH\x00\x12\x62\n\ncall_field\x18\x04 \x01(\x0e\x32L.google.ads.googleads.v2.enums.CallPlaceholderFieldEnum.CallPlaceholderFieldH\x00\x12_\n\tapp_field\x18\x05 \x01(\x0e\x32J.google.ads.googleads.v2.enums.AppPlaceholderFieldEnum.AppPlaceholderFieldH\x00\x12n\n\x0elocation_field\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v2.enums.LocationPlaceholderFieldEnum.LocationPlaceholderFieldH\x00\x12\x8a\x01\n\x18\x61\x66\x66iliate_location_field\x18\x07 \x01(\x0e\x32\x66.google.ads.googleads.v2.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderFieldH\x00\x12k\n\rcallout_field\x18\x08 \x01(\x0e\x32R.google.ads.googleads.v2.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderFieldH\x00\x12\x8a\x01\n\x18structured_snippet_field\x18\t \x01(\x0e\x32\x66.google.ads.googleads.v2.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderFieldH\x00\x12k\n\rmessage_field\x18\n \x01(\x0e\x32R.google.ads.googleads.v2.enums.MessagePlaceholderFieldEnum.MessagePlaceholderFieldH\x00\x12\x65\n\x0bprice_field\x18\x0b \x01(\x0e\x32N.google.ads.googleads.v2.enums.PricePlaceholderFieldEnum.PricePlaceholderFieldH\x00\x12q\n\x0fpromotion_field\x18\x0c \x01(\x0e\x32V.google.ads.googleads.v2.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderFieldH\x00\x12{\n\x13\x61\x64_customizer_field\x18\r \x01(\x0e\x32\\.google.ads.googleads.v2.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderFieldH\x00\x12u\n\x13\x64sa_page_feed_field\x18\x0e \x01(\x0e\x32V.google.ads.googleads.v2.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionFieldH\x00\x12\xa2\x01\n\"location_extension_targeting_field\x18\x0f \x01(\x0e\x32t.google.ads.googleads.v2.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionFieldH\x00\x12q\n\x0f\x65\x64ucation_field\x18\x10 \x01(\x0e\x32V.google.ads.googleads.v2.enums.EducationPlaceholderFieldEnum.EducationPlaceholderFieldH\x00\x12h\n\x0c\x66light_field\x18\x11 \x01(\x0e\x32P.google.ads.googleads.v2.enums.FlightPlaceholderFieldEnum.FlightPlaceholderFieldH\x00\x12h\n\x0c\x63ustom_field\x18\x12 \x01(\x0e\x32P.google.ads.googleads.v2.enums.CustomPlaceholderFieldEnum.CustomPlaceholderFieldH\x00\x12\x65\n\x0bhotel_field\x18\x13 \x01(\x0e\x32N.google.ads.googleads.v2.enums.HotelPlaceholderFieldEnum.HotelPlaceholderFieldH\x00\x12u\n\x11real_estate_field\x18\x14 \x01(\x0e\x32X.google.ads.googleads.v2.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderFieldH\x00\x12h\n\x0ctravel_field\x18\x15 \x01(\x0e\x32P.google.ads.googleads.v2.enums.TravelPlaceholderFieldEnum.TravelPlaceholderFieldH\x00\x12\x65\n\x0blocal_field\x18\x16 \x01(\x0e\x32N.google.ads.googleads.v2.enums.LocalPlaceholderFieldEnum.LocalPlaceholderFieldH\x00\x12_\n\tjob_field\x18\x17 \x01(\x0e\x32J.google.ads.googleads.v2.enums.JobPlaceholderFieldEnum.JobPlaceholderFieldH\x00\x42\x07\n\x05\x66ieldB\xfd\x01\n%com.google.ads.googleads.v2.resourcesB\x10\x46\x65\x65\x64MappingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_ad__customizer__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_affiliate__location__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_app__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_call__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_callout__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_custom__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_dsa__page__feed__criterion__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_education__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__mapping__criterion__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__mapping__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_flight__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_hotel__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_job__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_local__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_location__extension__targeting__criterion__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_location__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_message__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_price__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_promotion__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_real__estate__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_sitelink__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_structured__snippet__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_travel__placeholder__field__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.v2.resources.FeedMapping', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='feed', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='attribute_field_mappings', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='placeholder_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='criterion_type', full_name='google.ads.googleads.v2.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), - ], - 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.v2.resources.FeedMapping.target', - index=0, containing_type=None, fields=[]), - ], - serialized_start=1844, - serialized_end=2322, -) - - -_ATTRIBUTEFIELDMAPPING = _descriptor.Descriptor( - name='AttributeFieldMapping', - full_name='google.ads.googleads.v2.resources.AttributeFieldMapping', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='feed_attribute_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='field_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='sitelink_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='call_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='app_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='location_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='affiliate_location_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='callout_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='structured_snippet_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='message_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='price_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='promotion_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='ad_customizer_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='dsa_page_feed_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='location_extension_targeting_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='education_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='flight_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='custom_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='hotel_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='real_estate_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='travel_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='local_field', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='job_field', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='field', full_name='google.ads.googleads.v2.resources.AttributeFieldMapping.field', - index=0, containing_type=None, fields=[]), - ], - serialized_start=2325, - serialized_end=4863, -) - -_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__v2_dot_proto_dot_enums_dot_feed__mapping__status__pb2._FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS -_FEEDMAPPING.fields_by_name['placeholder_type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_placeholder__type__pb2._PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE -_FEEDMAPPING.fields_by_name['criterion_type'].enum_type = google_dot_ads_dot_googleads__v2_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'] -_FEEDMAPPING.oneofs_by_name['target'].fields.append( - _FEEDMAPPING.fields_by_name['criterion_type']) -_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__v2_dot_proto_dot_enums_dot_sitelink__placeholder__field__pb2._SITELINKPLACEHOLDERFIELDENUM_SITELINKPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['call_field'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_call__placeholder__field__pb2._CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['app_field'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_app__placeholder__field__pb2._APPPLACEHOLDERFIELDENUM_APPPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['location_field'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_enums_dot_message__placeholder__field__pb2._MESSAGEPLACEHOLDERFIELDENUM_MESSAGEPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['price_field'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_price__placeholder__field__pb2._PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['promotion_field'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_enums_dot_education__placeholder__field__pb2._EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['flight_field'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_flight__placeholder__field__pb2._FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['custom_field'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_custom__placeholder__field__pb2._CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['hotel_field'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_enums_dot_travel__placeholder__field__pb2._TRAVELPLACEHOLDERFIELDENUM_TRAVELPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['local_field'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_local__placeholder__field__pb2._LOCALPLACEHOLDERFIELDENUM_LOCALPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['job_field'].enum_type = google_dot_ads_dot_googleads__v2_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'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['call_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['call_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['app_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['app_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['location_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['location_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['affiliate_location_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['affiliate_location_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['callout_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['callout_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['structured_snippet_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['structured_snippet_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['message_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['message_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['price_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['price_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['promotion_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['promotion_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['ad_customizer_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['ad_customizer_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['dsa_page_feed_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['dsa_page_feed_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['location_extension_targeting_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['location_extension_targeting_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['education_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['education_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['flight_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['flight_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['custom_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['custom_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['hotel_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['hotel_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['real_estate_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['real_estate_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['travel_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['travel_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['local_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['local_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -_ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( - _ATTRIBUTEFIELDMAPPING.fields_by_name['job_field']) -_ATTRIBUTEFIELDMAPPING.fields_by_name['job_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] -DESCRIPTOR.message_types_by_name['FeedMapping'] = _FEEDMAPPING -DESCRIPTOR.message_types_by_name['AttributeFieldMapping'] = _ATTRIBUTEFIELDMAPPING -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedMapping = _reflection.GeneratedProtocolMessageType('FeedMapping', (_message.Message,), dict( - DESCRIPTOR = _FEEDMAPPING, - __module__ = 'google.ads.googleads_v2.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}`` - feed: - 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. - status: - 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). - criterion_type: - 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.v2.resources.FeedMapping) - )) -_sym_db.RegisterMessage(FeedMapping) - -AttributeFieldMapping = _reflection.GeneratedProtocolMessageType('AttributeFieldMapping', (_message.Message,), dict( - DESCRIPTOR = _ATTRIBUTEFIELDMAPPING, - __module__ = 'google.ads.googleads_v2.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. - 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. - field: - Placeholder or criterion field to be populated using data from - the above feed attribute. Required. - sitelink_field: - Sitelink Placeholder Fields. - call_field: - Call Placeholder Fields. - app_field: - App Placeholder Fields. - location_field: - Location Placeholder Fields. This field is read-only. - affiliate_location_field: - Affiliate Location Placeholder Fields. This field is read- - only. - callout_field: - Callout Placeholder Fields. - structured_snippet_field: - Structured Snippet Placeholder Fields. - message_field: - Message Placeholder Fields. - price_field: - Price Placeholder Fields. - promotion_field: - Promotion Placeholder Fields. - ad_customizer_field: - Ad Customizer Placeholder Fields - dsa_page_feed_field: - Dynamic Search Ad Page Feed Fields. - location_extension_targeting_field: - Location Target Fields. - education_field: - Education Placeholder Fields - flight_field: - Flight Placeholder Fields - custom_field: - Custom Placeholder Fields - hotel_field: - Hotel Placeholder Fields - real_estate_field: - Real Estate Placeholder Fields - travel_field: - Travel Placeholder Fields - local_field: - Local Placeholder Fields - job_field: - Job Placeholder Fields - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.AttributeFieldMapping) - )) -_sym_db.RegisterMessage(AttributeFieldMapping) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/feed_mapping_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/feed_mapping_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/feed_mapping_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/feed_pb2.py b/google/ads/google_ads/v2/proto/resources/feed_pb2.py deleted file mode 100644 index 016d7b665..000000000 --- a/google/ads/google_ads/v2/proto/resources/feed_pb2.py +++ /dev/null @@ -1,598 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/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.v2.proto.enums import affiliate_location_feed_relationship_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_affiliate__location__feed__relationship__type__pb2 -from google.ads.google_ads.v2.proto.enums import feed_attribute_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__attribute__type__pb2 -from google.ads.google_ads.v2.proto.enums import feed_origin_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__origin__pb2 -from google.ads.google_ads.v2.proto.enums import feed_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__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_v2/proto/resources/feed.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\tFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n2google/ads/googleads_v2/proto/resources/feed.proto\x12!google.ads.googleads.v2.resources\x1aSgoogle/ads/googleads_v2/proto/enums/affiliate_location_feed_relationship_type.proto\x1a=google/ads/googleads_v2/proto/enums/feed_attribute_type.proto\x1a\x35google/ads/googleads_v2/proto/enums/feed_origin.proto\x1a\x35google/ads/googleads_v2/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.v2.resources.FeedAttribute\x12W\n\x14\x61ttribute_operations\x18\t \x03(\x0b\x32\x39.google.ads.googleads.v2.resources.FeedAttributeOperation\x12H\n\x06origin\x18\x05 \x01(\x0e\x32\x38.google.ads.googleads.v2.enums.FeedOriginEnum.FeedOrigin\x12H\n\x06status\x18\x08 \x01(\x0e\x32\x38.google.ads.googleads.v2.enums.FeedStatusEnum.FeedStatus\x12\x63\n\x19places_location_feed_data\x18\x06 \x01(\x0b\x32>.google.ads.googleads.v2.resources.Feed.PlacesLocationFeedDataH\x00\x12i\n\x1c\x61\x66\x66iliate_location_feed_data\x18\x07 \x01(\x0b\x32\x41.google.ads.googleads.v2.resources.Feed.AffiliateLocationFeedDataH\x00\x1a\xc9\x04\n\x16PlacesLocationFeedData\x12\\\n\noauth_info\x18\x01 \x01(\x0b\x32H.google.ads.googleads.v2.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.v2.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.v2.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.v2.resources.FeedAttributeOperation.Operator\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.ads.googleads.v2.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.v2.resourcesB\tFeedProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_affiliate__location__feed__relationship__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__attribute__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__origin__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_feed__status__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.v2.resources.FeedAttributeOperation.Operator', - 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='ADD', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=2297, - serialized_end=2346, -) -_sym_db.RegisterEnumDescriptor(_FEEDATTRIBUTEOPERATION_OPERATOR) - - -_FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO = _descriptor.Descriptor( - name='OAuthInfo', - full_name='google.ads.googleads.v2.resources.Feed.PlacesLocationFeedData.OAuthInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='http_method', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=1444, - serialized_end=1627, -) - -_FEED_PLACESLOCATIONFEEDDATA = _descriptor.Descriptor( - name='PlacesLocationFeedData', - full_name='google.ads.googleads.v2.resources.Feed.PlacesLocationFeedData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='oauth_info', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='email_address', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1042, - serialized_end=1627, -) - -_FEED_AFFILIATELOCATIONFEEDDATA = _descriptor.Descriptor( - name='AffiliateLocationFeedData', - full_name='google.ads.googleads.v2.resources.Feed.AffiliateLocationFeedData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='chain_ids', full_name='google.ads.googleads.v2.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.v2.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, - 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=1630, - serialized_end=1845, -) - -_FEED = _descriptor.Descriptor( - name='Feed', - full_name='google.ads.googleads.v2.resources.Feed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='attributes', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='places_location_feed_data', full_name='google.ads.googleads.v2.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.v2.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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_FEED_PLACESLOCATIONFEEDDATA, _FEED_AFFILIATELOCATIONFEEDDATA, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='system_feed_generation_data', full_name='google.ads.googleads.v2.resources.Feed.system_feed_generation_data', - index=0, containing_type=None, fields=[]), - ], - serialized_start=410, - serialized_end=1876, -) - - -_FEEDATTRIBUTE = _descriptor.Descriptor( - name='FeedAttribute', - full_name='google.ads.googleads.v2.resources.FeedAttribute', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=1879, - serialized_end=2117, -) - - -_FEEDATTRIBUTEOPERATION = _descriptor.Descriptor( - name='FeedAttributeOperation', - full_name='google.ads.googleads.v2.resources.FeedAttributeOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FEEDATTRIBUTEOPERATION_OPERATOR, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2120, - serialized_end=2346, -) - -_FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO.fields_by_name['http_method'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO.fields_by_name['http_request_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO.fields_by_name['http_authorization_header'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO.containing_type = _FEED_PLACESLOCATIONFEEDDATA -_FEED_PLACESLOCATIONFEEDDATA.fields_by_name['oauth_info'].message_type = _FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO -_FEED_PLACESLOCATIONFEEDDATA.fields_by_name['email_address'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEED_PLACESLOCATIONFEEDDATA.fields_by_name['business_account_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEED_PLACESLOCATIONFEEDDATA.fields_by_name['business_name_filter'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEED_PLACESLOCATIONFEEDDATA.fields_by_name['category_filters'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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__v2_dot_proto_dot_enums_dot_feed__origin__pb2._FEEDORIGINENUM_FEEDORIGIN -_FEED.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v2_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( - _FEED.fields_by_name['places_location_feed_data']) -_FEED.fields_by_name['places_location_feed_data'].containing_oneof = _FEED.oneofs_by_name['system_feed_generation_data'] -_FEED.oneofs_by_name['system_feed_generation_data'].fields.append( - _FEED.fields_by_name['affiliate_location_feed_data']) -_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__v2_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 -_FEEDATTRIBUTEOPERATION_OPERATOR.containing_type = _FEEDATTRIBUTEOPERATION -DESCRIPTOR.message_types_by_name['Feed'] = _FEED -DESCRIPTOR.message_types_by_name['FeedAttribute'] = _FEEDATTRIBUTE -DESCRIPTOR.message_types_by_name['FeedAttributeOperation'] = _FEEDATTRIBUTEOPERATION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Feed = _reflection.GeneratedProtocolMessageType('Feed', (_message.Message,), dict( - - PlacesLocationFeedData = _reflection.GeneratedProtocolMessageType('PlacesLocationFeedData', (_message.Message,), dict( - - OAuthInfo = _reflection.GeneratedProtocolMessageType('OAuthInfo', (_message.Message,), dict( - DESCRIPTOR = _FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO, - __module__ = 'google.ads.googleads_v2.proto.resources.feed_pb2' - , - __doc__ = """Data used for authorization using OAuth. - - - Attributes: - http_method: - The HTTP method used to obtain authorization. - http_request_url: - The HTTP request URL used to obtain authorization. - http_authorization_header: - The HTTP authorization header used to obtain authorization. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Feed.PlacesLocationFeedData.OAuthInfo) - )) - , - DESCRIPTOR = _FEED_PLACESLOCATIONFEEDDATA, - __module__ = 'google.ads.googleads_v2.proto.resources.feed_pb2' - , - __doc__ = """Data used to configure a location feed populated from Google My Business - Locations. - - - 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. - email_address: - Email address of a Google My Business account or email address - of a manager of the Google My Business account. Required. - business_account_id: - Plus page ID of the managed business whose locations should be - used. If this field is not set, then all businesses accessible - by the user (specified by email\_address) are used. This field - is mutate-only and is not selectable. - business_name_filter: - Used to filter Google My Business listings by business name. - If business\_name\_filter is set, only listings with a - matching business name are candidates to be sync'd into - FeedItems. - category_filters: - Used to filter Google My Business listings by categories. If - entries exist in category\_filters, only listings that belong - to any of the categories are candidates to be sync'd into - FeedItems. If no entries exist in category\_filters, then all - listings are candidates for syncing. - label_filters: - Used to filter Google My Business listings by labels. If - entries exist in label\_filters, only listings that has any of - the labels set are candidates to be synchronized into - FeedItems. If no entries exist in label\_filters, then all - listings are candidates for syncing. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Feed.PlacesLocationFeedData) - )) - , - - AffiliateLocationFeedData = _reflection.GeneratedProtocolMessageType('AffiliateLocationFeedData', (_message.Message,), dict( - DESCRIPTOR = _FEED_AFFILIATELOCATIONFEEDDATA, - __module__ = 'google.ads.googleads_v2.proto.resources.feed_pb2' - , - __doc__ = """Data used to configure an affiliate location feed populated with the - specified chains. - - - Attributes: - chain_ids: - The list of chains that the affiliate location feed will sync - the locations from. - relationship_type: - The relationship the chains have with the advertiser. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Feed.AffiliateLocationFeedData) - )) - , - DESCRIPTOR = _FEED, - __module__ = 'google.ads.googleads_v2.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}`` - id: - The ID of the feed. This field is read-only. - name: - Name of the feed. Required. - attributes: - The Feed's attributes. Required on CREATE. 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. - status: - 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. - places_location_feed_data: - Data used to configure a location feed populated from Google - My Business Locations. - affiliate_location_feed_data: - Data used to configure an affiliate location feed populated - with the specified chains. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Feed) - )) -_sym_db.RegisterMessage(Feed) -_sym_db.RegisterMessage(Feed.PlacesLocationFeedData) -_sym_db.RegisterMessage(Feed.PlacesLocationFeedData.OAuthInfo) -_sym_db.RegisterMessage(Feed.AffiliateLocationFeedData) - -FeedAttribute = _reflection.GeneratedProtocolMessageType('FeedAttribute', (_message.Message,), dict( - DESCRIPTOR = _FEEDATTRIBUTE, - __module__ = 'google.ads.googleads_v2.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 - FeedItemAttributes with the same FeedAttributeId. Optionally, a - FeedAttribute can be marked as being part of a FeedItem's unique key. - - - Attributes: - id: - ID of the attribute. - name: - The name of the attribute. Required. - type: - Data type for feed attribute. Required. - is_part_of_key: - Indicates that data corresponding to this attribute is part of - a FeedItem's unique key. It defaults to false if it is - unspecified. Note that a unique key is not required in a - Feed's schema, in which case the FeedItems must be referenced - by their feed\_item\_id. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.FeedAttribute) - )) -_sym_db.RegisterMessage(FeedAttribute) - -FeedAttributeOperation = _reflection.GeneratedProtocolMessageType('FeedAttributeOperation', (_message.Message,), dict( - DESCRIPTOR = _FEEDATTRIBUTEOPERATION, - __module__ = 'google.ads.googleads_v2.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. - value: - The feed attribute being added to the list. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.FeedAttributeOperation) - )) -_sym_db.RegisterMessage(FeedAttributeOperation) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/feed_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/feed_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/feed_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/feed_placeholder_view_pb2.py b/google/ads/google_ads/v2/proto/resources/feed_placeholder_view_pb2.py deleted file mode 100644 index 63360f033..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/feed_placeholder_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\030FeedPlaceholderViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/resources/feed_placeholder_view.proto\x12!google.ads.googleads.v2.resources\x1a:google/ads/googleads_v2/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.v2.enums.PlaceholderTypeEnum.PlaceholderTypeB\x85\x02\n%com.google.ads.googleads.v2.resourcesB\x18\x46\x65\x65\x64PlaceholderViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.resources.FeedPlaceholderView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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__v2_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_v2.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.v2.resources.FeedPlaceholderView) - )) -_sym_db.RegisterMessage(FeedPlaceholderView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/feed_placeholder_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/feed_placeholder_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/feed_placeholder_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/gender_view_pb2.py b/google/ads/google_ads/v2/proto/resources/gender_view_pb2.py deleted file mode 100644 index 2dffe959b..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/gender_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\017GenderViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/resources/gender_view.proto\x12!google.ads.googleads.v2.resources\x1a\x1cgoogle/api/annotations.proto\"#\n\nGenderView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\xfc\x01\n%com.google.ads.googleads.v2.resourcesB\x0fGenderViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GENDERVIEW = _descriptor.Descriptor( - name='GenderView', - full_name='google.ads.googleads.v2.resources.GenderView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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_v2.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.v2.resources.GenderView) - )) -_sym_db.RegisterMessage(GenderView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/gender_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/gender_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/gender_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/geo_target_constant_pb2.py b/google/ads/google_ads/v2/proto/resources/geo_target_constant_pb2.py deleted file mode 100644 index 82ced471c..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import geo_target_constant_status_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/geo_target_constant.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\026GeoTargetConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/resources/geo_target_constant.proto\x12!google.ads.googleads.v2.resources\x1a\x44google/ads/googleads_v2/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.v2.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.v2.resourcesB\x16GeoTargetConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.resources.GeoTargetConstant', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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_v2.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.v2.resources.GeoTargetConstant) - )) -_sym_db.RegisterMessage(GeoTargetConstant) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/geo_target_constant_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/geo_target_constant_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/geo_target_constant_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/geographic_view_pb2.py b/google/ads/google_ads/v2/proto/resources/geographic_view_pb2.py deleted file mode 100644 index 3723fd9d6..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import geo_targeting_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/geographic_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023GeographicViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/resources/geographic_view.proto\x12!google.ads.googleads.v2.resources\x1agoogle/ads/googleads_v2/proto/resources/google_ads_field.proto\x12!google.ads.googleads.v2.resources\x1a\x43google/ads/googleads_v2/proto/enums/google_ads_field_category.proto\x1a\x44google/ads/googleads_v2/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.v2.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.v2.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.v2.resourcesB\x13GoogleAdsFieldProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_google__ads__field__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.GoogleAdsField', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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__v2_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_v2.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.v2.resources.GoogleAdsField) - )) -_sym_db.RegisterMessage(GoogleAdsField) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/google_ads_field_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/google_ads_field_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/google_ads_field_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/group_placement_view_pb2.py b/google/ads/google_ads/v2/proto/resources/group_placement_view_pb2.py deleted file mode 100644 index 17c48d2b6..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import placement_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/group_placement_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\027GroupPlacementViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/resources/group_placement_view.proto\x12!google.ads.googleads.v2.resources\x1a\x38google/ads/googleads_v2/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.v2.enums.PlacementTypeEnum.PlacementTypeB\x84\x02\n%com.google.ads.googleads.v2.resourcesB\x17GroupPlacementViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.resources.GroupPlacementView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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_v2.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.v2.resources.GroupPlacementView) - )) -_sym_db.RegisterMessage(GroupPlacementView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/group_placement_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/group_placement_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/group_placement_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/hotel_group_view_pb2.py b/google/ads/google_ads/v2/proto/resources/hotel_group_view_pb2.py deleted file mode 100644 index 604a0147b..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/hotel_group_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023HotelGroupViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/resources/hotel_group_view.proto\x12!google.ads.googleads.v2.resources\x1a\x1cgoogle/api/annotations.proto\"\'\n\x0eHotelGroupView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x80\x02\n%com.google.ads.googleads.v2.resourcesB\x13HotelGroupViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_HOTELGROUPVIEW = _descriptor.Descriptor( - name='HotelGroupView', - full_name='google.ads.googleads.v2.resources.HotelGroupView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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_v2.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.v2.resources.HotelGroupView) - )) -_sym_db.RegisterMessage(HotelGroupView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/hotel_group_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/hotel_group_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/hotel_group_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/hotel_performance_view_pb2.py b/google/ads/google_ads/v2/proto/resources/hotel_performance_view_pb2.py deleted file mode 100644 index ade863269..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/hotel_performance_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\031HotelPerformanceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/resources/hotel_performance_view.proto\x12!google.ads.googleads.v2.resources\x1a\x1cgoogle/api/annotations.proto\"-\n\x14HotelPerformanceView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x86\x02\n%com.google.ads.googleads.v2.resourcesB\x19HotelPerformanceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_HOTELPERFORMANCEVIEW = _descriptor.Descriptor( - name='HotelPerformanceView', - full_name='google.ads.googleads.v2.resources.HotelPerformanceView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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_v2.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.v2.resources.HotelPerformanceView) - )) -_sym_db.RegisterMessage(HotelPerformanceView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/hotel_performance_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/hotel_performance_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/hotel_performance_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/invoice_pb2.py b/google/ads/google_ads/v2/proto/resources/invoice_pb2.py deleted file mode 100644 index 242cc81a3..000000000 --- a/google/ads/google_ads/v2/proto/resources/invoice_pb2.py +++ /dev/null @@ -1,432 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.common import dates_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_dates__pb2 -from google.ads.google_ads.v2.proto.enums import invoice_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_invoice__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_v2/proto/resources/invoice.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\014InvoiceProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n5google/ads/googleads_v2/proto/resources/invoice.proto\x12!google.ads.googleads.v2.resources\x1a\x30google/ads/googleads_v2/proto/common/dates.proto\x1a\x36google/ads/googleads_v2/proto/enums/invoice_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xcf\x0c\n\x07Invoice\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12(\n\x02id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12H\n\x04type\x18\x03 \x01(\x0e\x32:.google.ads.googleads.v2.enums.InvoiceTypeEnum.InvoiceType\x12\x33\n\rbilling_setup\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13payments_account_id\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13payments_profile_id\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nissue_date\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x64ue_date\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x12service_date_range\x18\t \x01(\x0b\x32).google.ads.googleads.v2.common.DateRange\x12\x33\n\rcurrency_code\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n invoice_level_adjustments_micros\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16subtotal_amount_micros\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11tax_amount_micros\x18\r \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13total_amount_micros\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x11\x63orrected_invoice\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11replaced_invoices\x18\x10 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07pdf_url\x18\x11 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x61\n\x18\x61\x63\x63ount_budget_summaries\x18\x12 \x03(\x0b\x32?.google.ads.googleads.v2.resources.Invoice.AccountBudgetSummary\x1a\xb5\x04\n\x14\x41\x63\x63ountBudgetSummary\x12.\n\x08\x63ustomer\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19\x63ustomer_descriptive_name\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\x12\x39\n\x13\x61\x63\x63ount_budget_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15purchase_order_number\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x16subtotal_amount_micros\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11tax_amount_micros\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13total_amount_micros\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12O\n\x1c\x62illable_activity_date_range\x18\t \x01(\x0b\x32).google.ads.googleads.v2.common.DateRangeB\xf9\x01\n%com.google.ads.googleads.v2.resourcesB\x0cInvoiceProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_dates__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_invoice__type__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.v2.resources.Invoice.AccountBudgetSummary', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='customer_descriptive_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='account_budget', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='account_budget_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='purchase_order_number', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='subtotal_amount_micros', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='tax_amount_micros', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='total_amount_micros', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='billable_activity_date_range', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1311, - serialized_end=1876, -) - -_INVOICE = _descriptor.Descriptor( - name='Invoice', - full_name='google.ads.googleads.v2.resources.Invoice', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='billing_setup', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='payments_account_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='payments_profile_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='issue_date', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='due_date', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='service_date_range', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='invoice_level_adjustments_micros', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='subtotal_amount_micros', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='tax_amount_micros', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='total_amount_micros', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='corrected_invoice', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='replaced_invoices', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='pdf_url', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='account_budget_summaries', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_INVOICE_ACCOUNTBUDGETSUMMARY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=261, - serialized_end=1876, -) - -_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__v2_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__v2_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__v2_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_v2.proto.resources.invoice_pb2' - , - __doc__ = """Represents a summarized account budget billable cost. - - - Attributes: - customer: - 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: - The descriptive name of the account budget’s customer. It - appears on the invoice PDF as "Account". - account_budget: - 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: - The name of the account budget. It appears on the invoice PDF - as "Account budget". - purchase_order_number: - The purchase order number of the account budget. It appears on - the invoice PDF as "Purchase order". - subtotal_amount_micros: - The pretax subtotal amount attributable to this budget during - the service period, in micros. - tax_amount_micros: - The tax amount attributable to this budget during the service - period, in micros. - total_amount_micros: - 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: - 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.v2.resources.Invoice.AccountBudgetSummary) - )) - , - DESCRIPTOR = _INVOICE, - __module__ = 'google.ads.googleads_v2.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: - 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: - The ID of the invoice. It appears on the invoice PDF as - "Invoice number". - type: - The type of invoice. - billing_setup: - The resource name of this invoice’s billing setup. - ``customers/{customer_id}/billingSetups/{billing_setup_id}`` - payments_account_id: - 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: - 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: - The issue date in yyyy-mm-dd format. It appears on the invoice - PDF as either "Issue date" or "Invoice date". - due_date: - The due date in yyyy-mm-dd format. - service_date_range: - The service period date range of this invoice. The end date is - inclusive. - currency_code: - 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: - The total amount of invoice level adjustments. These - adjustments are made on the invoice, not on a specific account - budget. - subtotal_amount_micros: - The pretax subtotal amount, in micros. This equals the sum of - the AccountBudgetSummary subtotal amounts, plus the invoice - level adjustments. - tax_amount_micros: - 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: - The total amount, in micros. This equals the sum of the - invoice subtotal amount and the invoice tax amount. - corrected_invoice: - 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: - 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: - 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: - The list of summarized account budget information associated - with this invoice. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Invoice) - )) -_sym_db.RegisterMessage(Invoice) -_sym_db.RegisterMessage(Invoice.AccountBudgetSummary) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/invoice_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/invoice_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/invoice_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/keyword_plan_ad_group_pb2.py b/google/ads/google_ads/v2/proto/resources/keyword_plan_ad_group_pb2.py deleted file mode 100644 index cc35c475f..000000000 --- a/google/ads/google_ads/v2/proto/resources/keyword_plan_ad_group_pb2.py +++ /dev/null @@ -1,128 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/keyword_plan_ad_group.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_v2/proto/resources/keyword_plan_ad_group.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\027KeywordPlanAdGroupProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/resources/keyword_plan_ad_group.proto\x12!google.ads.googleads.v2.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xf2\x01\n\x12KeywordPlanAdGroup\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12;\n\x15keyword_plan_campaign\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\x33\n\x0e\x63pc_bid_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x84\x02\n%com.google.ads.googleads.v2.resourcesB\x17KeywordPlanAdGroupProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_KEYWORDPLANADGROUP = _descriptor.Descriptor( - name='KeywordPlanAdGroup', - full_name='google.ads.googleads.v2.resources.KeywordPlanAdGroup', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.resources.KeywordPlanAdGroup.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=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='keyword_plan_campaign', full_name='google.ads.googleads.v2.resources.KeywordPlanAdGroup.keyword_plan_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='id', full_name='google.ads.googleads.v2.resources.KeywordPlanAdGroup.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='name', full_name='google.ads.googleads.v2.resources.KeywordPlanAdGroup.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='cpc_bid_micros', full_name='google.ads.googleads.v2.resources.KeywordPlanAdGroup.cpc_bid_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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=169, - serialized_end=411, -) - -_KEYWORDPLANADGROUP.fields_by_name['keyword_plan_campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_KEYWORDPLANADGROUP.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_KEYWORDPLANADGROUP.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_KEYWORDPLANADGROUP.fields_by_name['cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -DESCRIPTOR.message_types_by_name['KeywordPlanAdGroup'] = _KEYWORDPLANADGROUP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanAdGroup = _reflection.GeneratedProtocolMessageType('KeywordPlanAdGroup', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANADGROUP, - __module__ = 'google.ads.googleads_v2.proto.resources.keyword_plan_ad_group_pb2' - , - __doc__ = """A Keyword Planner ad group. Max number of keyword plan ad groups per - plan: 200. - - - Attributes: - resource_name: - The resource name of the Keyword Planner ad group. - KeywordPlanAdGroup resource names have the form: ``customers/ - {customer_id}/keywordPlanAdGroups/{kp_ad_group_id}`` - keyword_plan_campaign: - The keyword plan campaign to which this ad group belongs. - id: - The ID of the keyword plan ad group. - name: - The name of the keyword plan ad group. This field is required - and should not be empty when creating keyword plan ad group. - cpc_bid_micros: - A default ad group max cpc bid in micros in account currency - for all biddable keywords under the keyword plan ad group. If - not set, will inherit from parent campaign. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.KeywordPlanAdGroup) - )) -_sym_db.RegisterMessage(KeywordPlanAdGroup) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/keyword_plan_ad_group_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/keyword_plan_ad_group_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/keyword_plan_ad_group_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/keyword_plan_campaign_pb2.py b/google/ads/google_ads/v2/proto/resources/keyword_plan_campaign_pb2.py deleted file mode 100644 index 89c089c76..000000000 --- a/google/ads/google_ads/v2/proto/resources/keyword_plan_campaign_pb2.py +++ /dev/null @@ -1,209 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/keyword_plan_campaign.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.v2.proto.enums import keyword_plan_network_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_keyword__plan__network__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_v2/proto/resources/keyword_plan_campaign.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\030KeywordPlanCampaignProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/resources/keyword_plan_campaign.proto\x12!google.ads.googleads.v2.resources\x1a>google/ads/googleads_v2/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.v2.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.v2.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.v2.resourcesB\x18KeywordPlanCampaignProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_keyword__plan__network__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.v2.resources.KeywordPlanCampaign', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='keyword_plan', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='keyword_plan_network', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=233, - serialized_end=707, -) - - -_KEYWORDPLANGEOTARGET = _descriptor.Descriptor( - name='KeywordPlanGeoTarget', - full_name='google.ads.googleads.v2.resources.KeywordPlanGeoTarget', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='geo_target_constant', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=709, - serialized_end=790, -) - -_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__v2_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 -DESCRIPTOR.message_types_by_name['KeywordPlanCampaign'] = _KEYWORDPLANCAMPAIGN -DESCRIPTOR.message_types_by_name['KeywordPlanGeoTarget'] = _KEYWORDPLANGEOTARGET -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanCampaign = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaign', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANCAMPAIGN, - __module__ = 'google.ads.googleads_v2.proto.resources.keyword_plan_campaign_pb2' - , - __doc__ = """A Keyword Plan campaign. Max number of keyword plan campaigns per plan - allowed: 1. - - - Attributes: - resource_name: - 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. - name: - The name of the Keyword Plan campaign. This field is required - and should not be empty when creating Keyword Plan campaigns. - language_constants: - The languages targeted for the Keyword Plan campaign. Max - allowed: 1. - keyword_plan_network: - Targeting network. This field is required and should not be - empty when creating Keyword Plan campaigns. - cpc_bid_micros: - A default max cpc bid in micros, and in the account currency, - for all ad groups under the campaign. This field is required - and should not be empty when creating Keyword Plan campaigns. - geo_targets: - The geo targets. Max number allowed: 20. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.KeywordPlanCampaign) - )) -_sym_db.RegisterMessage(KeywordPlanCampaign) - -KeywordPlanGeoTarget = _reflection.GeneratedProtocolMessageType('KeywordPlanGeoTarget', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANGEOTARGET, - __module__ = 'google.ads.googleads_v2.proto.resources.keyword_plan_campaign_pb2' - , - __doc__ = """A geo target. Next ID: 3 - - - Attributes: - geo_target_constant: - Required. The resource name of the geo target. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.KeywordPlanGeoTarget) - )) -_sym_db.RegisterMessage(KeywordPlanGeoTarget) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/keyword_plan_campaign_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/keyword_plan_campaign_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/keyword_plan_campaign_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/keyword_plan_keyword_pb2.py b/google/ads/google_ads/v2/proto/resources/keyword_plan_keyword_pb2.py deleted file mode 100644 index 074d51c9d..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/keyword_plan_keyword.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\027KeywordPlanKeywordProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/resources/keyword_plan_keyword.proto\x12!google.ads.googleads.v2.resources\x1a\n\x05image\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v2.resources.MediaImageH\x00\x12\x46\n\x0cmedia_bundle\x18\x04 \x01(\x0b\x32..google.ads.googleads.v2.resources.MediaBundleH\x00\x12>\n\x05\x61udio\x18\n \x01(\x0b\x32-.google.ads.googleads.v2.resources.MediaAudioH\x00\x12>\n\x05video\x18\x0b \x01(\x0b\x32-.google.ads.googleads.v2.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.v2.resourcesB\x0eMediaFileProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_media__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_mime__type__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.v2.resources.MediaFile', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='mime_type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='source_url', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='file_size', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='image', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='media_bundle', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='audio', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='video', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='mediatype', full_name='google.ads.googleads.v2.resources.MediaFile.mediatype', - index=0, containing_type=None, fields=[]), - ], - serialized_start=265, - serialized_end=902, -) - - -_MEDIAIMAGE = _descriptor.Descriptor( - name='MediaImage', - full_name='google.ads.googleads.v2.resources.MediaImage', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='data', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=904, - serialized_end=959, -) - - -_MEDIABUNDLE = _descriptor.Descriptor( - name='MediaBundle', - full_name='google.ads.googleads.v2.resources.MediaBundle', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='data', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=961, - serialized_end=1017, -) - - -_MEDIAAUDIO = _descriptor.Descriptor( - name='MediaAudio', - full_name='google.ads.googleads.v2.resources.MediaAudio', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ad_duration_millis', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1019, - serialized_end=1088, -) - - -_MEDIAVIDEO = _descriptor.Descriptor( - name='MediaVideo', - full_name='google.ads.googleads.v2.resources.MediaVideo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ad_duration_millis', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='youtube_video_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='advertising_id_code', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='isci_code', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1091, - serialized_end=1324, -) - -_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__v2_dot_proto_dot_enums_dot_media__type__pb2._MEDIATYPEENUM_MEDIATYPE -_MEDIAFILE.fields_by_name['mime_type'].enum_type = google_dot_ads_dot_googleads__v2_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 -_MEDIAFILE.fields_by_name['image'].message_type = _MEDIAIMAGE -_MEDIAFILE.fields_by_name['media_bundle'].message_type = _MEDIABUNDLE -_MEDIAFILE.fields_by_name['audio'].message_type = _MEDIAAUDIO -_MEDIAFILE.fields_by_name['video'].message_type = _MEDIAVIDEO -_MEDIAFILE.oneofs_by_name['mediatype'].fields.append( - _MEDIAFILE.fields_by_name['image']) -_MEDIAFILE.fields_by_name['image'].containing_oneof = _MEDIAFILE.oneofs_by_name['mediatype'] -_MEDIAFILE.oneofs_by_name['mediatype'].fields.append( - _MEDIAFILE.fields_by_name['media_bundle']) -_MEDIAFILE.fields_by_name['media_bundle'].containing_oneof = _MEDIAFILE.oneofs_by_name['mediatype'] -_MEDIAFILE.oneofs_by_name['mediatype'].fields.append( - _MEDIAFILE.fields_by_name['audio']) -_MEDIAFILE.fields_by_name['audio'].containing_oneof = _MEDIAFILE.oneofs_by_name['mediatype'] -_MEDIAFILE.oneofs_by_name['mediatype'].fields.append( - _MEDIAFILE.fields_by_name['video']) -_MEDIAFILE.fields_by_name['video'].containing_oneof = _MEDIAFILE.oneofs_by_name['mediatype'] -_MEDIAIMAGE.fields_by_name['data'].message_type = google_dot_protobuf_dot_wrappers__pb2._BYTESVALUE -_MEDIABUNDLE.fields_by_name['data'].message_type = google_dot_protobuf_dot_wrappers__pb2._BYTESVALUE -_MEDIAAUDIO.fields_by_name['ad_duration_millis'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_MEDIAVIDEO.fields_by_name['ad_duration_millis'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_MEDIAVIDEO.fields_by_name['youtube_video_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_MEDIAVIDEO.fields_by_name['advertising_id_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_MEDIAVIDEO.fields_by_name['isci_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['MediaFile'] = _MEDIAFILE -DESCRIPTOR.message_types_by_name['MediaImage'] = _MEDIAIMAGE -DESCRIPTOR.message_types_by_name['MediaBundle'] = _MEDIABUNDLE -DESCRIPTOR.message_types_by_name['MediaAudio'] = _MEDIAAUDIO -DESCRIPTOR.message_types_by_name['MediaVideo'] = _MEDIAVIDEO -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -MediaFile = _reflection.GeneratedProtocolMessageType('MediaFile', (_message.Message,), dict( - DESCRIPTOR = _MEDIAFILE, - __module__ = 'google.ads.googleads_v2.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: - ``customers/{customer_id}/mediaFiles/{media_file_id}`` - id: - The ID of the media file. - type: - Type of the media file. - mime_type: - The mime type of the media file. - source_url: - 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. - file_size: - The size of the media file in bytes. - mediatype: - The specific type of the media file. - image: - Encapsulates an Image. - media_bundle: - A ZIP archive media the content of which contains HTML5 - assets. - audio: - Encapsulates an Audio. - video: - Encapsulates a Video. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.MediaFile) - )) -_sym_db.RegisterMessage(MediaFile) - -MediaImage = _reflection.GeneratedProtocolMessageType('MediaImage', (_message.Message,), dict( - DESCRIPTOR = _MEDIAIMAGE, - __module__ = 'google.ads.googleads_v2.proto.resources.media_file_pb2' - , - __doc__ = """Encapsulates an Image. - - - Attributes: - data: - Raw image data. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.MediaImage) - )) -_sym_db.RegisterMessage(MediaImage) - -MediaBundle = _reflection.GeneratedProtocolMessageType('MediaBundle', (_message.Message,), dict( - DESCRIPTOR = _MEDIABUNDLE, - __module__ = 'google.ads.googleads_v2.proto.resources.media_file_pb2' - , - __doc__ = """Represents a ZIP archive media the content of which contains HTML5 - assets. - - - Attributes: - data: - Raw zipped data. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.MediaBundle) - )) -_sym_db.RegisterMessage(MediaBundle) - -MediaAudio = _reflection.GeneratedProtocolMessageType('MediaAudio', (_message.Message,), dict( - DESCRIPTOR = _MEDIAAUDIO, - __module__ = 'google.ads.googleads_v2.proto.resources.media_file_pb2' - , - __doc__ = """Encapsulates an Audio. - - - Attributes: - ad_duration_millis: - The duration of the Audio in milliseconds. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.MediaAudio) - )) -_sym_db.RegisterMessage(MediaAudio) - -MediaVideo = _reflection.GeneratedProtocolMessageType('MediaVideo', (_message.Message,), dict( - DESCRIPTOR = _MEDIAVIDEO, - __module__ = 'google.ads.googleads_v2.proto.resources.media_file_pb2' - , - __doc__ = """Encapsulates a Video. - - - Attributes: - ad_duration_millis: - The duration of the Video in milliseconds. - youtube_video_id: - 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. - isci_code: - The Industry Standard Commercial Identifier code for this - video, used mainly for television commercials. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.MediaVideo) - )) -_sym_db.RegisterMessage(MediaVideo) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/media_file_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/media_file_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/media_file_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/merchant_center_link_pb2.py b/google/ads/google_ads/v2/proto/resources/merchant_center_link_pb2.py deleted file mode 100644 index bf40d3e6a..000000000 --- a/google/ads/google_ads/v2/proto/resources/merchant_center_link_pb2.py +++ /dev/null @@ -1,117 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.enums import merchant_center_link_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_merchant__center__link__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_v2/proto/resources/merchant_center_link.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\027MerchantCenterLinkProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/resources/merchant_center_link.proto\x12!google.ads.googleads.v2.resources\x1a\x45google/ads/googleads_v2/proto/enums/merchant_center_link_status.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfe\x01\n\x12MerchantCenterLink\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x42\n\x1cmerchant_center_account_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x64\n\x06status\x18\x05 \x01(\x0e\x32T.google.ads.googleads.v2.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatusB\x84\x02\n%com.google.ads.googleads.v2.resourcesB\x17MerchantCenterLinkProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_merchant__center__link__status__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.v2.resources.MerchantCenterLink', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='merchant_center_account_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v2.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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=239, - serialized_end=493, -) - -_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__v2_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_v2.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: - The resource name of the merchant center link. Merchant center - link resource names have the form: ``customers/{customer_id}/ - merchantCenterLinks/{merchant_center_id}`` - id: - The ID of the Merchant Center account. This field is readonly. - merchant_center_account_name: - 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.v2.resources.MerchantCenterLink) - )) -_sym_db.RegisterMessage(MerchantCenterLink) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/merchant_center_link_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/merchant_center_link_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/merchant_center_link_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/mobile_app_category_constant_pb2.py b/google/ads/google_ads/v2/proto/resources/mobile_app_category_constant_pb2.py deleted file mode 100644 index 115589833..000000000 --- a/google/ads/google_ads/v2/proto/resources/mobile_app_category_constant_pb2.py +++ /dev/null @@ -1,104 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.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_v2/proto/resources/mobile_app_category_constant.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\036MobileAppCategoryConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/resources/mobile_app_category_constant.proto\x12!google.ads.googleads.v2.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x87\x01\n\x19MobileAppCategoryConstant\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x8b\x02\n%com.google.ads.googleads.v2.resourcesB\x1eMobileAppCategoryConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_MOBILEAPPCATEGORYCONSTANT = _descriptor.Descriptor( - name='MobileAppCategoryConstant', - full_name='google.ads.googleads.v2.resources.MobileAppCategoryConstant', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=176, - serialized_end=311, -) - -_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_v2.proto.resources.mobile_app_category_constant_pb2' - , - __doc__ = """A mobile application category constant. - - - Attributes: - resource_name: - The resource name of the mobile app category constant. Mobile - app category constant resource names have the form: - ``mobileAppCategoryConstants/{mobile_app_category_id}`` - id: - The ID of the mobile app category constant. - name: - Mobile app category name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.MobileAppCategoryConstant) - )) -_sym_db.RegisterMessage(MobileAppCategoryConstant) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/mobile_app_category_constant_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/mobile_app_category_constant_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/mobile_app_category_constant_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/mobile_device_constant_pb2.py b/google/ads/google_ads/v2/proto/resources/mobile_device_constant_pb2.py deleted file mode 100644 index 69512537e..000000000 --- a/google/ads/google_ads/v2/proto/resources/mobile_device_constant_pb2.py +++ /dev/null @@ -1,135 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.enums import mobile_device_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_mobile__device__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_v2/proto/resources/mobile_device_constant.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\031MobileDeviceConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/resources/mobile_device_constant.proto\x12!google.ads.googleads.v2.resources\x1a.google.ads.googleads.v2.resources.MutateJob.MutateJobMetadata\x12R\n\x06status\x18\x05 \x01(\x0e\x32\x42.google.ads.googleads.v2.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.v2.resourcesB\x0eMutateJobProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.resources.MutateJob.MutateJobMetadata', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='creation_date_time', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.resources.MutateJob', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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_v2.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.v2.resources.MutateJob.MutateJobMetadata) - )) - , - DESCRIPTOR = _MUTATEJOB, - __module__ = 'google.ads.googleads_v2.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.v2.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/v2/proto/resources/mutate_job_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/mutate_job_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/mutate_job_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/operating_system_version_constant_pb2.py b/google/ads/google_ads/v2/proto/resources/operating_system_version_constant_pb2.py deleted file mode 100644 index 0f45c1709..000000000 --- a/google/ads/google_ads/v2/proto/resources/operating_system_version_constant_pb2.py +++ /dev/null @@ -1,138 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.enums import operating_system_version_operator_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/operating_system_version_constant.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB#OperatingSystemVersionConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nOgoogle/ads/googleads_v2/proto/resources/operating_system_version_constant.proto\x12!google.ads.googleads.v2.resources\x1aPgoogle/ads/googleads_v2/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.v2.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorTypeB\x90\x02\n%com.google.ads.googleads.v2.resourcesB#OperatingSystemVersionConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.resources.OperatingSystemVersionConstant', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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_v2.proto.resources.operating_system_version_constant_pb2' - , - __doc__ = """A mobile operating system version or a range of versions, depending on - ``operator_type``. List of available mobile platforms at - https://developers.google.com/adwords/api/docs/appendix/codes-formats#mobile-platforms - - - Attributes: - resource_name: - The resource name of the operating system version constant. - Operating system version constant resource names have the - form: ``operatingSystemVersionConstants/{criterion_id}`` - id: - The ID of the operating system version. - name: - Name of the operating system. - os_major_version: - The OS Major Version number. - os_minor_version: - The OS Minor Version number. - operator_type: - Determines whether this constant represents a single version - or a range of versions. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.OperatingSystemVersionConstant) - )) -_sym_db.RegisterMessage(OperatingSystemVersionConstant) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/operating_system_version_constant_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/operating_system_version_constant_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/operating_system_version_constant_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/paid_organic_search_term_view_pb2.py b/google/ads/google_ads/v2/proto/resources/paid_organic_search_term_view_pb2.py deleted file mode 100644 index 1332a0665..000000000 --- a/google/ads/google_ads/v2/proto/resources/paid_organic_search_term_view_pb2.py +++ /dev/null @@ -1,97 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/paid_organic_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_v2/proto/resources/paid_organic_search_term_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\036PaidOrganicSearchTermViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/resources/paid_organic_search_term_view.proto\x12!google.ads.googleads.v2.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"e\n\x19PaidOrganicSearchTermView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x31\n\x0bsearch_term\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x8b\x02\n%com.google.ads.googleads.v2.resourcesB\x1ePaidOrganicSearchTermViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_PAIDORGANICSEARCHTERMVIEW = _descriptor.Descriptor( - name='PaidOrganicSearchTermView', - full_name='google.ads.googleads.v2.resources.PaidOrganicSearchTermView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.resources.PaidOrganicSearchTermView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=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.v2.resources.PaidOrganicSearchTermView.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=176, - serialized_end=277, -) - -_PAIDORGANICSEARCHTERMVIEW.fields_by_name['search_term'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['PaidOrganicSearchTermView'] = _PAIDORGANICSEARCHTERMVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PaidOrganicSearchTermView = _reflection.GeneratedProtocolMessageType('PaidOrganicSearchTermView', (_message.Message,), dict( - DESCRIPTOR = _PAIDORGANICSEARCHTERMVIEW, - __module__ = 'google.ads.googleads_v2.proto.resources.paid_organic_search_term_view_pb2' - , - __doc__ = """A paid organic search term view providing a view of search stats across - ads and organic listings 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}/paidO - rganicSearchTermViews/{campaign_id}~ {ad_group_id}~{URL-base64 - search term}`` - search_term: - The search term. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.PaidOrganicSearchTermView) - )) -_sym_db.RegisterMessage(PaidOrganicSearchTermView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/paid_organic_search_term_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/paid_organic_search_term_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/paid_organic_search_term_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/parental_status_view_pb2.py b/google/ads/google_ads/v2/proto/resources/parental_status_view_pb2.py deleted file mode 100644 index fa02ecd4a..000000000 --- a/google/ads/google_ads/v2/proto/resources/parental_status_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_v2/proto/resources/parental_status_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_v2/proto/resources/parental_status_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\027ParentalStatusViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/resources/parental_status_view.proto\x12!google.ads.googleads.v2.resources\x1a\x1cgoogle/api/annotations.proto\"+\n\x12ParentalStatusView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x84\x02\n%com.google.ads.googleads.v2.resourcesB\x17ParentalStatusViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_PARENTALSTATUSVIEW = _descriptor.Descriptor( - name='ParentalStatusView', - full_name='google.ads.googleads.v2.resources.ParentalStatusView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.resources.ParentalStatusView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=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['ParentalStatusView'] = _PARENTALSTATUSVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ParentalStatusView = _reflection.GeneratedProtocolMessageType('ParentalStatusView', (_message.Message,), dict( - DESCRIPTOR = _PARENTALSTATUSVIEW, - __module__ = 'google.ads.googleads_v2.proto.resources.parental_status_view_pb2' - , - __doc__ = """A parental status view. - - - Attributes: - resource_name: - The resource name of the parental status view. Parental Status - view resource names have the form: ``customers/{customer_id}/ - parentalStatusViews/{ad_group_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.ParentalStatusView) - )) -_sym_db.RegisterMessage(ParentalStatusView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/parental_status_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/parental_status_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/parental_status_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/payments_account_pb2.py b/google/ads/google_ads/v2/proto/resources/payments_account_pb2.py deleted file mode 100644 index 2b7580f12..000000000 --- a/google/ads/google_ads/v2/proto/resources/payments_account_pb2.py +++ /dev/null @@ -1,140 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/payments_account.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_v2/proto/resources/payments_account.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\024PaymentsAccountProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/resources/payments_account.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x14PaymentsAccountProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::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.v2.resources.PaymentsAccount', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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_v2.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.v2.resources.PaymentsAccount) - )) -_sym_db.RegisterMessage(PaymentsAccount) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/payments_account_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/payments_account_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/payments_account_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/product_bidding_category_constant_pb2.py b/google/ads/google_ads/v2/proto/resources/product_bidding_category_constant_pb2.py deleted file mode 100644 index e08c056d2..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import product_bidding_category_level_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__bidding__category__level__pb2 -from google.ads.google_ads.v2.proto.enums import product_bidding_category_status_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/product_bidding_category_constant.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB#ProductBiddingCategoryConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nOgoogle/ads/googleads_v2/proto/resources/product_bidding_category_constant.proto\x12!google.ads.googleads.v2.resources\x1aHgoogle/ads/googleads_v2/proto/enums/product_bidding_category_level.proto\x1aIgoogle/ads/googleads_v2/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.v2.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel\x12l\n\x06status\x18\x06 \x01(\x0e\x32\\.google.ads.googleads.v2.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.v2.resourcesB#ProductBiddingCategoryConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_product__bidding__category__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.ProductBiddingCategoryConstant', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_dot_proto_dot_enums_dot_product__bidding__category__level__pb2._PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL -_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v2_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_v2.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.v2.resources.ProductBiddingCategoryConstant) - )) -_sym_db.RegisterMessage(ProductBiddingCategoryConstant) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/product_bidding_category_constant_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/product_bidding_category_constant_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/product_bidding_category_constant_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/product_group_view_pb2.py b/google/ads/google_ads/v2/proto/resources/product_group_view_pb2.py deleted file mode 100644 index c09ca602c..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/product_group_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\025ProductGroupViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/resources/product_group_view.proto\x12!google.ads.googleads.v2.resources\x1a\x1cgoogle/api/annotations.proto\")\n\x10ProductGroupView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x82\x02\n%com.google.ads.googleads.v2.resourcesB\x15ProductGroupViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_PRODUCTGROUPVIEW = _descriptor.Descriptor( - name='ProductGroupView', - full_name='google.ads.googleads.v2.resources.ProductGroupView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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_v2.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.v2.resources.ProductGroupView) - )) -_sym_db.RegisterMessage(ProductGroupView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/product_group_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/product_group_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/product_group_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/recommendation_pb2.py b/google/ads/google_ads/v2/proto/resources/recommendation_pb2.py deleted file mode 100644 index a435bae18..000000000 --- a/google/ads/google_ads/v2/proto/resources/recommendation_pb2.py +++ /dev/null @@ -1,1359 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/recommendation.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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v2.proto.common import extensions_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2 -from google.ads.google_ads.v2.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_keyword__match__type__pb2 -from google.ads.google_ads.v2.proto.enums import recommendation_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_recommendation__type__pb2 -from google.ads.google_ads.v2.proto.enums import target_cpa_opt_in_recommendation_goal_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_target__cpa__opt__in__recommendation__goal__pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__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_v2/proto/resources/recommendation.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\023RecommendationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/resources/search_term_view.proto\x12!google.ads.googleads.v2.resources\x1a\x46google/ads/googleads_v2/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.v2.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatusB\x80\x02\n%com.google.ads.googleads.v2.resourcesB\x13SearchTermViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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.v2.resources.SearchTermView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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__v2_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_v2.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.v2.resources.SearchTermView) - )) -_sym_db.RegisterMessage(SearchTermView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/search_term_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/search_term_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/search_term_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/shared_criterion_pb2.py b/google/ads/google_ads/v2/proto/resources/shared_criterion_pb2.py deleted file mode 100644 index c644ad146..000000000 --- a/google/ads/google_ads/v2/proto/resources/shared_criterion_pb2.py +++ /dev/null @@ -1,199 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/resources/shared_criterion.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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v2.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__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_v2/proto/resources/shared_criterion.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\024SharedCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/resources/shared_criterion.proto\x12!google.ads.googleads.v2.resources\x1a\x33google/ads/googleads_v2/proto/common/criteria.proto\x1a\x38google/ads/googleads_v2/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.v2.enums.CriterionTypeEnum.CriterionType\x12>\n\x07keyword\x18\x03 \x01(\x0b\x32+.google.ads.googleads.v2.common.KeywordInfoH\x00\x12I\n\ryoutube_video\x18\x05 \x01(\x0b\x32\x30.google.ads.googleads.v2.common.YouTubeVideoInfoH\x00\x12M\n\x0fyoutube_channel\x18\x06 \x01(\x0b\x32\x32.google.ads.googleads.v2.common.YouTubeChannelInfoH\x00\x12\x42\n\tplacement\x18\x07 \x01(\x0b\x32-.google.ads.googleads.v2.common.PlacementInfoH\x00\x12T\n\x13mobile_app_category\x18\x08 \x01(\x0b\x32\x35.google.ads.googleads.v2.common.MobileAppCategoryInfoH\x00\x12S\n\x12mobile_application\x18\t \x01(\x0b\x32\x35.google.ads.googleads.v2.common.MobileApplicationInfoH\x00\x42\x0b\n\tcriterionB\x81\x02\n%com.google.ads.googleads.v2.resourcesB\x14SharedCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_criterion__type__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.v2.resources.SharedCriterion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='shared_set', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='keyword', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='youtube_video', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='youtube_channel', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='placement', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='mobile_app_category', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='mobile_application', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v2.resources.SharedCriterion.criterion', - index=0, containing_type=None, fields=[]), - ], - serialized_start=275, - serialized_end=964, -) - -_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__v2_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE -_SHAREDCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO -_SHAREDCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO -_SHAREDCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO -_SHAREDCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO -_SHAREDCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO -_SHAREDCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v2_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'] -_SHAREDCRITERION.oneofs_by_name['criterion'].fields.append( - _SHAREDCRITERION.fields_by_name['youtube_video']) -_SHAREDCRITERION.fields_by_name['youtube_video'].containing_oneof = _SHAREDCRITERION.oneofs_by_name['criterion'] -_SHAREDCRITERION.oneofs_by_name['criterion'].fields.append( - _SHAREDCRITERION.fields_by_name['youtube_channel']) -_SHAREDCRITERION.fields_by_name['youtube_channel'].containing_oneof = _SHAREDCRITERION.oneofs_by_name['criterion'] -_SHAREDCRITERION.oneofs_by_name['criterion'].fields.append( - _SHAREDCRITERION.fields_by_name['placement']) -_SHAREDCRITERION.fields_by_name['placement'].containing_oneof = _SHAREDCRITERION.oneofs_by_name['criterion'] -_SHAREDCRITERION.oneofs_by_name['criterion'].fields.append( - _SHAREDCRITERION.fields_by_name['mobile_app_category']) -_SHAREDCRITERION.fields_by_name['mobile_app_category'].containing_oneof = _SHAREDCRITERION.oneofs_by_name['criterion'] -_SHAREDCRITERION.oneofs_by_name['criterion'].fields.append( - _SHAREDCRITERION.fields_by_name['mobile_application']) -_SHAREDCRITERION.fields_by_name['mobile_application'].containing_oneof = _SHAREDCRITERION.oneofs_by_name['criterion'] -DESCRIPTOR.message_types_by_name['SharedCriterion'] = _SHAREDCRITERION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SharedCriterion = _reflection.GeneratedProtocolMessageType('SharedCriterion', (_message.Message,), dict( - DESCRIPTOR = _SHAREDCRITERION, - __module__ = 'google.ads.googleads_v2.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}`` - shared_set: - The shared set to which the shared criterion belongs. - criterion_id: - The ID of the criterion. This field is ignored for mutates. - type: - The type of the criterion. - criterion: - The criterion. Exactly one must be set. - keyword: - Keyword. - youtube_video: - YouTube Video. - youtube_channel: - YouTube Channel. - placement: - Placement. - mobile_app_category: - Mobile App Category. - mobile_application: - Mobile application. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.SharedCriterion) - )) -_sym_db.RegisterMessage(SharedCriterion) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/shared_criterion_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/shared_criterion_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/shared_criterion_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/shared_set_pb2.py b/google/ads/google_ads/v2/proto/resources/shared_set_pb2.py deleted file mode 100644 index 8ece6f0a8..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.enums import shared_set_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_shared__set__status__pb2 -from google.ads.google_ads.v2.proto.enums import shared_set_type_pb2 as google_dot_ads_dot_googleads__v2_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_v2/proto/resources/shared_set.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\016SharedSetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n8google/ads/googleads_v2/proto/resources/shared_set.proto\x12!google.ads.googleads.v2.resources\x1a;google/ads/googleads_v2/proto/enums/shared_set_status.proto\x1a\x39google/ads/googleads_v2/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.v2.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.v2.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.v2.resourcesB\x0eSharedSetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_shared__set__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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.v2.resources.SharedSet', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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__v2_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__v2_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_v2.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.v2.resources.SharedSet) - )) -_sym_db.RegisterMessage(SharedSet) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/shared_set_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/shared_set_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/shared_set_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/shopping_performance_view_pb2.py b/google/ads/google_ads/v2/proto/resources/shopping_performance_view_pb2.py deleted file mode 100644 index c16d4f631..000000000 --- a/google/ads/google_ads/v2/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_v2/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_v2/proto/resources/shopping_performance_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\034ShoppingPerformanceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\nGgoogle/ads/googleads_v2/proto/resources/shopping_performance_view.proto\x12!google.ads.googleads.v2.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.v2.resourcesB\x1cShoppingPerformanceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_SHOPPINGPERFORMANCEVIEW = _descriptor.Descriptor( - name='ShoppingPerformanceView', - full_name='google.ads.googleads.v2.resources.ShoppingPerformanceView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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_v2.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.v2.resources.ShoppingPerformanceView) - )) -_sym_db.RegisterMessage(ShoppingPerformanceView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/shopping_performance_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/shopping_performance_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/shopping_performance_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/topic_constant_pb2.py b/google/ads/google_ads/v2/proto/resources/topic_constant_pb2.py deleted file mode 100644 index abf10fea0..000000000 --- a/google/ads/google_ads/v2/proto/resources/topic_constant_pb2.py +++ /dev/null @@ -1,120 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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_v2/proto/resources/topic_constant.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\022TopicConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\ngoogle/ads/googleads_v2/proto/enums/user_list_size_range.proto\x1a\x38google/ads/googleads_v2/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.v2.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.v2.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.v2.enums.UserListSizeRangeEnum.UserListSizeRange\x12J\n\x04type\x18\r \x01(\x0e\x32<.google.ads.googleads.v2.enums.UserListTypeEnum.UserListType\x12\x66\n\x0e\x63losing_reason\x18\x0e \x01(\x0e\x32N.google.ads.googleads.v2.enums.UserListClosingReasonEnum.UserListClosingReason\x12S\n\raccess_reason\x18\x0f \x01(\x0e\x32<.google.ads.googleads.v2.enums.AccessReasonEnum.AccessReason\x12n\n\x18\x61\x63\x63ount_user_list_status\x18\x10 \x01(\x0e\x32L.google.ads.googleads.v2.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.v2.common.CrmBasedUserListInfoH\x00\x12P\n\x11similar_user_list\x18\x14 \x01(\x0b\x32\x33.google.ads.googleads.v2.common.SimilarUserListInfoH\x00\x12U\n\x14rule_based_user_list\x18\x15 \x01(\x0b\x32\x35.google.ads.googleads.v2.common.RuleBasedUserListInfoH\x00\x12P\n\x11logical_user_list\x18\x16 \x01(\x0b\x32\x33.google.ads.googleads.v2.common.LogicalUserListInfoH\x00\x12L\n\x0f\x62\x61sic_user_list\x18\x17 \x01(\x0b\x32\x31.google.ads.googleads.v2.common.BasicUserListInfoH\x00\x42\x0b\n\tuser_listB\xfa\x01\n%com.google.ads.googleads.v2.resourcesB\rUserListProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_user__lists__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_access__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__access__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__closing__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__membership__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__size__range__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__type__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.v2.resources.UserList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='read_only', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='size_range_for_display', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='size_for_search', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='size_range_for_search', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='closing_reason', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='account_user_list_status', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='crm_based_user_list', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='rule_based_user_list', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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='user_list', full_name='google.ads.googleads.v2.resources.UserList.user_list', - index=0, containing_type=None, fields=[]), - ], - serialized_start=597, - serialized_end=2276, -) - -_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__v2_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__v2_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__v2_dot_proto_dot_enums_dot_user__list__size__range__pb2._USERLISTSIZERANGEENUM_USERLISTSIZERANGE -_USERLIST.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_user__list__type__pb2._USERLISTTYPEENUM_USERLISTTYPE -_USERLIST.fields_by_name['closing_reason'].enum_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_common_dot_user__lists__pb2._CRMBASEDUSERLISTINFO -_USERLIST.fields_by_name['similar_user_list'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_user__lists__pb2._SIMILARUSERLISTINFO -_USERLIST.fields_by_name['rule_based_user_list'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_user__lists__pb2._RULEBASEDUSERLISTINFO -_USERLIST.fields_by_name['logical_user_list'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_user__lists__pb2._LOGICALUSERLISTINFO -_USERLIST.fields_by_name['basic_user_list'].message_type = google_dot_ads_dot_googleads__v2_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'] -_USERLIST.oneofs_by_name['user_list'].fields.append( - _USERLIST.fields_by_name['similar_user_list']) -_USERLIST.fields_by_name['similar_user_list'].containing_oneof = _USERLIST.oneofs_by_name['user_list'] -_USERLIST.oneofs_by_name['user_list'].fields.append( - _USERLIST.fields_by_name['rule_based_user_list']) -_USERLIST.fields_by_name['rule_based_user_list'].containing_oneof = _USERLIST.oneofs_by_name['user_list'] -_USERLIST.oneofs_by_name['user_list'].fields.append( - _USERLIST.fields_by_name['logical_user_list']) -_USERLIST.fields_by_name['logical_user_list'].containing_oneof = _USERLIST.oneofs_by_name['user_list'] -_USERLIST.oneofs_by_name['user_list'].fields.append( - _USERLIST.fields_by_name['basic_user_list']) -_USERLIST.fields_by_name['basic_user_list'].containing_oneof = _USERLIST.oneofs_by_name['user_list'] -DESCRIPTOR.message_types_by_name['UserList'] = _USERLIST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -UserList = _reflection.GeneratedProtocolMessageType('UserList', (_message.Message,), dict( - DESCRIPTOR = _USERLIST, - __module__ = 'google.ads.googleads_v2.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: - ``customers/{customer_id}/userLists/{user_list_id}`` - id: - 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. - name: - Name of this user list. Depending on its access\_reason, the - user list name may not be unique (e.g. if - access\_reason=SHARED) - description: - Description of this user list. - membership_status: - Membership status of this user list. Indicates whether a user - list is open or active. Only open user lists can accumulate - more users and can be targeted to. - integration_code: - An ID from external system. It is used by user list sellers to - correlate IDs on their systems. - membership_life_span: - Number of days a user's cookie stays on your list since its - most recent addition to the list. This field must be between 0 - and 540 inclusive. However, for CRM based userlists, this - 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. - 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. - 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. - size_range_for_search: - 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. - 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. - 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 - userList owner can decide to revoke the share and make it - DISABLED. The default value of this field is set to ENABLED. - eligible_for_search: - 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. - 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. - rule_based_user_list: - User list generated by a rule. - logical_user_list: - User list that is a custom combination of user lists and user - interests. - basic_user_list: - User list targeting as a collection of conversion or - remarketing actions. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.UserList) - )) -_sym_db.RegisterMessage(UserList) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/user_list_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/user_list_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/user_list_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/user_location_view_pb2.py b/google/ads/google_ads/v2/proto/resources/user_location_view_pb2.py deleted file mode 100644 index bd63551cd..000000000 --- a/google/ads/google_ads/v2/proto/resources/user_location_view_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.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_v2/proto/resources/user_location_view.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\025UserLocationViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/resources/user_location_view.proto\x12!google.ads.googleads.v2.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x9c\x01\n\x10UserLocationView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x39\n\x14\x63ountry_criterion_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x12targeting_location\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x82\x02\n%com.google.ads.googleads.v2.resourcesB\x15UserLocationViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_USERLOCATIONVIEW = _descriptor.Descriptor( - name='UserLocationView', - full_name='google.ads.googleads.v2.resources.UserLocationView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='country_criterion_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='targeting_location', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=166, - serialized_end=322, -) - -_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_v2.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: - The resource name of the user location view. UserLocation view - resource names have the form: ``customers/{customer_id}/userL - ocationViews/{country_criterion_id}~{targeting_location}`` - country_criterion_id: - Criterion Id for the country. - targeting_location: - Indicates whether location was targeted or not. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.UserLocationView) - )) -_sym_db.RegisterMessage(UserLocationView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/user_location_view_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/user_location_view_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/user_location_view_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/resources/video_pb2.py b/google/ads/google_ads/v2/proto/resources/video_pb2.py deleted file mode 100644 index d97d639cf..000000000 --- a/google/ads/google_ads/v2/proto/resources/video_pb2.py +++ /dev/null @@ -1,123 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.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_v2/proto/resources/video.proto', - package='google.ads.googleads.v2.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v2.resourcesB\nVideoProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V2.Resources\312\002!Google\\Ads\\GoogleAds\\V2\\Resources\352\002%Google::Ads::GoogleAds::V2::Resources'), - serialized_pb=_b('\n3google/ads/googleads_v2/proto/resources/video.proto\x12!google.ads.googleads.v2.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xdd\x01\n\x05Video\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12(\n\x02id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nchannel_id\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0f\x64uration_millis\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12+\n\x05title\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xf7\x01\n%com.google.ads.googleads.v2.resourcesB\nVideoProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v2/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V2.Resources\xca\x02!Google\\Ads\\GoogleAds\\V2\\Resources\xea\x02%Google::Ads::GoogleAds::V2::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_VIDEO = _descriptor.Descriptor( - name='Video', - full_name='google.ads.googleads.v2.resources.Video', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='channel_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='duration_millis', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='title', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=153, - serialized_end=374, -) - -_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_v2.proto.resources.video_pb2' - , - __doc__ = """A video. - - - Attributes: - resource_name: - The resource name of the video. Video resource names have the - form: ``customers/{customer_id}/videos/{video_id}`` - id: - The ID of the video. - channel_id: - The owner channel id of the video. - duration_millis: - The duration of the video in milliseconds. - title: - The title of the video. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.resources.Video) - )) -_sym_db.RegisterMessage(Video) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/resources/video_pb2_grpc.py b/google/ads/google_ads/v2/proto/resources/video_pb2_grpc.py deleted file mode 100644 index a89435267..000000000 --- a/google/ads/google_ads/v2/proto/resources/video_pb2_grpc.py +++ /dev/null @@ -1,3 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - diff --git a/google/ads/google_ads/v2/proto/services/account_budget_proposal_service_pb2.py b/google/ads/google_ads/v2/proto/services/account_budget_proposal_service_pb2.py deleted file mode 100644 index 2fc7401d6..000000000 --- a/google/ads/google_ads/v2/proto/services/account_budget_proposal_service_pb2.py +++ /dev/null @@ -1,373 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import account_budget_proposal_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__proposal__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.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/account_budget_proposal_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB!AccountBudgetProposalServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nLgoogle/ads/googleads_v2/proto/services/account_budget_proposal_service.proto\x12 google.ads.googleads.v2.services\x1a\x45google/ads/googleads_v2/proto/resources/account_budget_proposal.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.services.MutateAccountBudgetProposalResult\":\n!MutateAccountBudgetProposalResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8c\x04\n\x1c\x41\x63\x63ountBudgetProposalService\x12\xd9\x01\n\x18GetAccountBudgetProposal\x12\x41.google.ads.googleads.v2.services.GetAccountBudgetProposalRequest\x1a\x38.google.ads.googleads.v2.resources.AccountBudgetProposal\"@\x82\xd3\xe4\x93\x02:\x12\x38/v2/{resource_name=customers/*/accountBudgetProposals/*}\x12\xf2\x01\n\x1bMutateAccountBudgetProposal\x12\x44.google.ads.googleads.v2.services.MutateAccountBudgetProposalRequest\x1a\x45.google.ads.googleads.v2.services.MutateAccountBudgetProposalResponse\"F\x82\xd3\xe4\x93\x02@\";/v2/customers/{customer_id=*}/accountBudgetProposals:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x88\x02\n$com.google.ads.googleads.v2.servicesB!AccountBudgetProposalServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETACCOUNTBUDGETPROPOSALREQUEST = _descriptor.Descriptor( - name='GetAccountBudgetProposalRequest', - full_name='google.ads.googleads.v2.services.GetAccountBudgetProposalRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=274, - serialized_end=330, -) - - -_MUTATEACCOUNTBUDGETPROPOSALREQUEST = _descriptor.Descriptor( - name='MutateAccountBudgetProposalRequest', - full_name='google.ads.googleads.v2.services.MutateAccountBudgetProposalRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v2.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, - 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=333, - serialized_end=498, -) - - -_ACCOUNTBUDGETPROPOSALOPERATION = _descriptor.Descriptor( - name='AccountBudgetProposalOperation', - full_name='google.ads.googleads.v2.services.AccountBudgetProposalOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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.v2.services.AccountBudgetProposalOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=501, - serialized_end=689, -) - - -_MUTATEACCOUNTBUDGETPROPOSALRESPONSE = _descriptor.Descriptor( - name='MutateAccountBudgetProposalResponse', - full_name='google.ads.googleads.v2.services.MutateAccountBudgetProposalResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v2.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, - 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=691, - serialized_end=813, -) - - -_MUTATEACCOUNTBUDGETPROPOSALRESULT = _descriptor.Descriptor( - name='MutateAccountBudgetProposalResult', - full_name='google.ads.googleads.v2.services.MutateAccountBudgetProposalResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=815, - serialized_end=873, -) - -_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__v2_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'] -_ACCOUNTBUDGETPROPOSALOPERATION.oneofs_by_name['operation'].fields.append( - _ACCOUNTBUDGETPROPOSALOPERATION.fields_by_name['remove']) -_ACCOUNTBUDGETPROPOSALOPERATION.fields_by_name['remove'].containing_oneof = _ACCOUNTBUDGETPROPOSALOPERATION.oneofs_by_name['operation'] -_MUTATEACCOUNTBUDGETPROPOSALRESPONSE.fields_by_name['result'].message_type = _MUTATEACCOUNTBUDGETPROPOSALRESULT -DESCRIPTOR.message_types_by_name['GetAccountBudgetProposalRequest'] = _GETACCOUNTBUDGETPROPOSALREQUEST -DESCRIPTOR.message_types_by_name['MutateAccountBudgetProposalRequest'] = _MUTATEACCOUNTBUDGETPROPOSALREQUEST -DESCRIPTOR.message_types_by_name['AccountBudgetProposalOperation'] = _ACCOUNTBUDGETPROPOSALOPERATION -DESCRIPTOR.message_types_by_name['MutateAccountBudgetProposalResponse'] = _MUTATEACCOUNTBUDGETPROPOSALRESPONSE -DESCRIPTOR.message_types_by_name['MutateAccountBudgetProposalResult'] = _MUTATEACCOUNTBUDGETPROPOSALRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAccountBudgetProposalRequest = _reflection.GeneratedProtocolMessageType('GetAccountBudgetProposalRequest', (_message.Message,), dict( - DESCRIPTOR = _GETACCOUNTBUDGETPROPOSALREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.account_budget_proposal_service_pb2' - , - __doc__ = """Request message for - [AccountBudgetProposalService.GetAccountBudgetProposal][google.ads.googleads.v2.services.AccountBudgetProposalService.GetAccountBudgetProposal]. - - - Attributes: - resource_name: - The resource name of the account-level budget proposal to - fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAccountBudgetProposalRequest) - )) -_sym_db.RegisterMessage(GetAccountBudgetProposalRequest) - -MutateAccountBudgetProposalRequest = _reflection.GeneratedProtocolMessageType('MutateAccountBudgetProposalRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEACCOUNTBUDGETPROPOSALREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.account_budget_proposal_service_pb2' - , - __doc__ = """Request message for - [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v2.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. - - - Attributes: - customer_id: - The ID of the customer. - operation: - 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.v2.services.MutateAccountBudgetProposalRequest) - )) -_sym_db.RegisterMessage(MutateAccountBudgetProposalRequest) - -AccountBudgetProposalOperation = _reflection.GeneratedProtocolMessageType('AccountBudgetProposalOperation', (_message.Message,), dict( - DESCRIPTOR = _ACCOUNTBUDGETPROPOSALOPERATION, - __module__ = 'google.ads.googleads_v2.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. - - - Attributes: - update_mask: - FieldMask that determines which budget fields are modified. - While budgets may be modified, proposals that propose such - modifications are final. Therefore, update operations are not - supported for proposals. Proposals that modify budgets have - the 'update' proposal type. Specifying a mask for any other - proposal type is considered an error. - operation: - The mutate operation. - create: - Create operation: A new proposal to create a new budget, edit - an existing budget, end an actively running budget, or remove - an approved budget scheduled to start in the future. No - resource name is expected for the new proposal. - remove: - Remove operation: A resource name for the removed proposal is - expected, in this format: ``customers/{customer_id}/accountBu - dgetProposals/{account_budget_proposal_id}`` A request may be - cancelled iff it is pending. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.AccountBudgetProposalOperation) - )) -_sym_db.RegisterMessage(AccountBudgetProposalOperation) - -MutateAccountBudgetProposalResponse = _reflection.GeneratedProtocolMessageType('MutateAccountBudgetProposalResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEACCOUNTBUDGETPROPOSALRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.account_budget_proposal_service_pb2' - , - __doc__ = """Response message for account-level budget mutate operations. - - - Attributes: - result: - The result of the mutate. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateAccountBudgetProposalResponse) - )) -_sym_db.RegisterMessage(MutateAccountBudgetProposalResponse) - -MutateAccountBudgetProposalResult = _reflection.GeneratedProtocolMessageType('MutateAccountBudgetProposalResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEACCOUNTBUDGETPROPOSALRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.account_budget_proposal_service_pb2' - , - __doc__ = """The result for the account budget proposal mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateAccountBudgetProposalResult) - )) -_sym_db.RegisterMessage(MutateAccountBudgetProposalResult) - - -DESCRIPTOR._options = None - -_ACCOUNTBUDGETPROPOSALSERVICE = _descriptor.ServiceDescriptor( - name='AccountBudgetProposalService', - full_name='google.ads.googleads.v2.services.AccountBudgetProposalService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=876, - serialized_end=1400, - methods=[ - _descriptor.MethodDescriptor( - name='GetAccountBudgetProposal', - full_name='google.ads.googleads.v2.services.AccountBudgetProposalService.GetAccountBudgetProposal', - index=0, - containing_service=None, - input_type=_GETACCOUNTBUDGETPROPOSALREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__proposal__pb2._ACCOUNTBUDGETPROPOSAL, - serialized_options=_b('\202\323\344\223\002:\0228/v2/{resource_name=customers/*/accountBudgetProposals/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateAccountBudgetProposal', - full_name='google.ads.googleads.v2.services.AccountBudgetProposalService.MutateAccountBudgetProposal', - index=1, - containing_service=None, - input_type=_MUTATEACCOUNTBUDGETPROPOSALREQUEST, - output_type=_MUTATEACCOUNTBUDGETPROPOSALRESPONSE, - serialized_options=_b('\202\323\344\223\002@\";/v2/customers/{customer_id=*}/accountBudgetProposals:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ACCOUNTBUDGETPROPOSALSERVICE) - -DESCRIPTOR.services_by_name['AccountBudgetProposalService'] = _ACCOUNTBUDGETPROPOSALSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/account_budget_proposal_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/account_budget_proposal_service_pb2_grpc.py deleted file mode 100644 index f3fc896d8..000000000 --- a/google/ads/google_ads/v2/proto/services/account_budget_proposal_service_pb2_grpc.py +++ /dev/null @@ -1,95 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__proposal__pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_account__budget__proposal__service__pb2 - - -class AccountBudgetProposalServiceStub(object): - """Proto file describing the AccountBudgetProposal service. - - A service for managing account-level budgets via proposals. - - A proposal is a request to create a new budget or make changes to an - existing one. - - Reads for account-level budgets managed by these proposals will be - 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: - The CREATE operation creates a new proposal. - UPDATE operations aren't supported. - The REMOVE operation cancels a pending proposal. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAccountBudgetProposal = channel.unary_unary( - '/google.ads.googleads.v2.services.AccountBudgetProposalService/GetAccountBudgetProposal', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.GetAccountBudgetProposalRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__proposal__pb2.AccountBudgetProposal.FromString, - ) - self.MutateAccountBudgetProposal = channel.unary_unary( - '/google.ads.googleads.v2.services.AccountBudgetProposalService/MutateAccountBudgetProposal', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalResponse.FromString, - ) - - -class AccountBudgetProposalServiceServicer(object): - """Proto file describing the AccountBudgetProposal service. - - A service for managing account-level budgets via proposals. - - A proposal is a request to create a new budget or make changes to an - existing one. - - Reads for account-level budgets managed by these proposals will be - 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: - The CREATE operation creates a new proposal. - UPDATE operations aren't supported. - The REMOVE operation cancels a pending proposal. - """ - - def GetAccountBudgetProposal(self, request, context): - """Returns an account-level budget proposal in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateAccountBudgetProposal(self, request, context): - """Creates, updates, or removes account budget proposals. Operation statuses - are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.GetAccountBudgetProposalRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AccountBudgetProposalService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/account_budget_service_pb2.py b/google/ads/google_ads/v2/proto/services/account_budget_service_pb2.py deleted file mode 100644 index 030fa803a..000000000 --- a/google/ads/google_ads/v2/proto/services/account_budget_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_v2/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.v2.proto.resources import account_budget_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/account_budget_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\031AccountBudgetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/services/account_budget_service.proto\x12 google.ads.googleads.v2.services\x1a.google.ads.googleads.v2.services.GetAdGroupAdAssetViewRequest\x1a\x35.google.ads.googleads.v2.resources.AdGroupAdAssetView\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/adGroupAdAssetViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1e\x41\x64GroupAdAssetViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,]) - - - - -_GETADGROUPADASSETVIEWREQUEST = _descriptor.Descriptor( - name='GetAdGroupAdAssetViewRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupAdAssetViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=238, - serialized_end=291, -) - -DESCRIPTOR.message_types_by_name['GetAdGroupAdAssetViewRequest'] = _GETADGROUPADASSETVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupAdAssetViewRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupAdAssetViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPADASSETVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_asset_view_service_pb2' - , - __doc__ = """Request message for - [AdGroupAdAssetViewService.GetAdGroupAdAssetView][google.ads.googleads.v2.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView]. - - - Attributes: - resource_name: - The resource name of the ad group ad asset view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdGroupAdAssetViewRequest) - )) -_sym_db.RegisterMessage(GetAdGroupAdAssetViewRequest) - - -DESCRIPTOR._options = None - -_ADGROUPADASSETVIEWSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupAdAssetViewService', - full_name='google.ads.googleads.v2.services.AdGroupAdAssetViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=294, - serialized_end=558, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupAdAssetView', - full_name='google.ads.googleads.v2.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView', - index=0, - containing_service=None, - input_type=_GETADGROUPADASSETVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2._ADGROUPADASSETVIEW, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{resource_name=customers/*/adGroupAdAssetViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPADASSETVIEWSERVICE) - -DESCRIPTOR.services_by_name['AdGroupAdAssetViewService'] = _ADGROUPADASSETVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py deleted file mode 100644 index 1f8bcffe7..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 as google_dot_ads_dot_googleads__v2_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.v2.services.AdGroupAdAssetViewService/GetAdGroupAdAssetView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__asset__view__service__pb2.GetAdGroupAdAssetViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_ad__group__ad__asset__view__service__pb2.GetAdGroupAdAssetViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2.AdGroupAdAssetView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupAdAssetViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_ad_label_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_ad_label_service_pb2.py deleted file mode 100644 index d50f6b8e9..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_ad_label_service_pb2.py +++ /dev/null @@ -1,379 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import ad_group_ad_label_pb2 as google_dot_ads_dot_googleads__v2_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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_ad_label_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032AdGroupAdLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/services/ad_group_ad_label_service.proto\x12 google.ads.googleads.v2.services\x1a?google/ads/googleads_v2/proto/resources/ad_group_ad_label.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.services.MutateAdGroupAdLabelResult\"3\n\x1aMutateAdGroupAdLabelResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd0\x03\n\x15\x41\x64GroupAdLabelService\x12\xbd\x01\n\x11GetAdGroupAdLabel\x12:.google.ads.googleads.v2.services.GetAdGroupAdLabelRequest\x1a\x31.google.ads.googleads.v2.resources.AdGroupAdLabel\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/adGroupAdLabels/*}\x12\xd9\x01\n\x15MutateAdGroupAdLabels\x12>.google.ads.googleads.v2.services.MutateAdGroupAdLabelsRequest\x1a?.google.ads.googleads.v2.services.MutateAdGroupAdLabelsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v2/customers/{customer_id=*}/adGroupAdLabels:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1a\x41\x64GroupAdLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPADLABELREQUEST = _descriptor.Descriptor( - name='GetAdGroupAdLabelRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupAdLabelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=253, - serialized_end=302, -) - - -_MUTATEADGROUPADLABELSREQUEST = _descriptor.Descriptor( - name='MutateAdGroupAdLabelsRequest', - full_name='google.ads.googleads.v2.services.MutateAdGroupAdLabelsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=305, - serialized_end=483, -) - - -_ADGROUPADLABELOPERATION = _descriptor.Descriptor( - name='AdGroupAdLabelOperation', - full_name='google.ads.googleads.v2.services.AdGroupAdLabelOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.AdGroupAdLabelOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=485, - serialized_end=610, -) - - -_MUTATEADGROUPADLABELSRESPONSE = _descriptor.Descriptor( - name='MutateAdGroupAdLabelsResponse', - full_name='google.ads.googleads.v2.services.MutateAdGroupAdLabelsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=613, - serialized_end=774, -) - - -_MUTATEADGROUPADLABELRESULT = _descriptor.Descriptor( - name='MutateAdGroupAdLabelResult', - full_name='google.ads.googleads.v2.services.MutateAdGroupAdLabelResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=776, - serialized_end=827, -) - -_MUTATEADGROUPADLABELSREQUEST.fields_by_name['operations'].message_type = _ADGROUPADLABELOPERATION -_ADGROUPADLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_ADGROUPADLABELOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPADLABELOPERATION.fields_by_name['remove']) -_ADGROUPADLABELOPERATION.fields_by_name['remove'].containing_oneof = _ADGROUPADLABELOPERATION.oneofs_by_name['operation'] -_MUTATEADGROUPADLABELSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEADGROUPADLABELSRESPONSE.fields_by_name['results'].message_type = _MUTATEADGROUPADLABELRESULT -DESCRIPTOR.message_types_by_name['GetAdGroupAdLabelRequest'] = _GETADGROUPADLABELREQUEST -DESCRIPTOR.message_types_by_name['MutateAdGroupAdLabelsRequest'] = _MUTATEADGROUPADLABELSREQUEST -DESCRIPTOR.message_types_by_name['AdGroupAdLabelOperation'] = _ADGROUPADLABELOPERATION -DESCRIPTOR.message_types_by_name['MutateAdGroupAdLabelsResponse'] = _MUTATEADGROUPADLABELSRESPONSE -DESCRIPTOR.message_types_by_name['MutateAdGroupAdLabelResult'] = _MUTATEADGROUPADLABELRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupAdLabelRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupAdLabelRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPADLABELREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_label_service_pb2' - , - __doc__ = """Request message for - [AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v2.services.AdGroupAdLabelService.GetAdGroupAdLabel]. - - - Attributes: - resource_name: - The resource name of the ad group ad label to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdGroupAdLabelRequest) - )) -_sym_db.RegisterMessage(GetAdGroupAdLabelRequest) - -MutateAdGroupAdLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdLabelsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPADLABELSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_label_service_pb2' - , - __doc__ = """Request message for - [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v2.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. - - - Attributes: - customer_id: - ID of the customer whose ad group ad labels are being - modified. - operations: - 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 - 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.v2.services.MutateAdGroupAdLabelsRequest) - )) -_sym_db.RegisterMessage(MutateAdGroupAdLabelsRequest) - -AdGroupAdLabelOperation = _reflection.GeneratedProtocolMessageType('AdGroupAdLabelOperation', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPADLABELOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_label_service_pb2' - , - __doc__ = """A single operation (create, remove) on an ad group ad label. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new ad - group ad label. - remove: - Remove operation: A resource name for the ad group ad label - 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.v2.services.AdGroupAdLabelOperation) - )) -_sym_db.RegisterMessage(AdGroupAdLabelOperation) - -MutateAdGroupAdLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdLabelsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPADLABELSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_label_service_pb2' - , - __doc__ = """Response message for an ad group ad labels 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.v2.services.MutateAdGroupAdLabelsResponse) - )) -_sym_db.RegisterMessage(MutateAdGroupAdLabelsResponse) - -MutateAdGroupAdLabelResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdLabelResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPADLABELRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_label_service_pb2' - , - __doc__ = """The result for an ad group ad label mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateAdGroupAdLabelResult) - )) -_sym_db.RegisterMessage(MutateAdGroupAdLabelResult) - - -DESCRIPTOR._options = None - -_ADGROUPADLABELSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupAdLabelService', - full_name='google.ads.googleads.v2.services.AdGroupAdLabelService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=830, - serialized_end=1294, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupAdLabel', - full_name='google.ads.googleads.v2.services.AdGroupAdLabelService.GetAdGroupAdLabel', - index=0, - containing_service=None, - input_type=_GETADGROUPADLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__label__pb2._ADGROUPADLABEL, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{resource_name=customers/*/adGroupAdLabels/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateAdGroupAdLabels', - full_name='google.ads.googleads.v2.services.AdGroupAdLabelService.MutateAdGroupAdLabels', - index=1, - containing_service=None, - input_type=_MUTATEADGROUPADLABELSREQUEST, - output_type=_MUTATEADGROUPADLABELSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v2/customers/{customer_id=*}/adGroupAdLabels:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPADLABELSERVICE) - -DESCRIPTOR.services_by_name['AdGroupAdLabelService'] = _ADGROUPADLABELSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_ad_label_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_ad_label_service_pb2_grpc.py deleted file mode 100644 index b61b86df3..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_ad_label_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.v2.proto.resources import ad_group_ad_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__label__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2 - - -class AdGroupAdLabelServiceStub(object): - """Proto file describing the Ad Group Ad Label service. - - Service to manage labels on ad group ads. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdGroupAdLabel = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupAdLabelService/GetAdGroupAdLabel', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.GetAdGroupAdLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.AdGroupAdLabel.FromString, - ) - self.MutateAdGroupAdLabels = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupAdLabelService/MutateAdGroupAdLabels', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsResponse.FromString, - ) - - -class AdGroupAdLabelServiceServicer(object): - """Proto file describing the Ad Group Ad Label service. - - Service to manage labels on ad group ads. - """ - - def GetAdGroupAdLabel(self, request, context): - """Returns the requested ad group ad label in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateAdGroupAdLabels(self, request, context): - """Creates and removes ad group ad labels. - Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.GetAdGroupAdLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupAdLabelService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_ad_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_ad_service_pb2.py deleted file mode 100644 index ad8bb51ee..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_ad_service_pb2.py +++ /dev/null @@ -1,414 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_ad_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\025AdGroupAdServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/services/ad_group_ad_service.proto\x12 google.ads.googleads.v2.services\x1a\x31google/ads/googleads_v2/proto/common/policy.proto\x1a\x39google/ads/googleads_v2/proto/resources/ad_group_ad.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.common.PolicyValidationParameter\x12>\n\x06\x63reate\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v2.resources.AdGroupAdH\x00\x12>\n\x06update\x18\x02 \x01(\x0b\x32,.google.ads.googleads.v2.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.v2.services.MutateAdGroupAdResult\".\n\x15MutateAdGroupAdResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa3\x03\n\x10\x41\x64GroupAdService\x12\xa9\x01\n\x0cGetAdGroupAd\x12\x35.google.ads.googleads.v2.services.GetAdGroupAdRequest\x1a,.google.ads.googleads.v2.resources.AdGroupAd\"4\x82\xd3\xe4\x93\x02.\x12,/v2/{resource_name=customers/*/adGroupAds/*}\x12\xc5\x01\n\x10MutateAdGroupAds\x12\x39.google.ads.googleads.v2.services.MutateAdGroupAdsRequest\x1a:.google.ads.googleads.v2.services.MutateAdGroupAdsResponse\":\x82\xd3\xe4\x93\x02\x34\"//v2/customers/{customer_id=*}/adGroupAds:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v2.servicesB\x15\x41\x64GroupAdServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPADREQUEST = _descriptor.Descriptor( - name='GetAdGroupAdRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupAdRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=326, - serialized_end=370, -) - - -_MUTATEADGROUPADSREQUEST = _descriptor.Descriptor( - name='MutateAdGroupAdsRequest', - full_name='google.ads.googleads.v2.services.MutateAdGroupAdsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=373, - serialized_end=541, -) - - -_ADGROUPADOPERATION = _descriptor.Descriptor( - name='AdGroupAdOperation', - full_name='google.ads.googleads.v2.services.AdGroupAdOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.AdGroupAdOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=544, - serialized_end=868, -) - - -_MUTATEADGROUPADSRESPONSE = _descriptor.Descriptor( - name='MutateAdGroupAdsResponse', - full_name='google.ads.googleads.v2.services.MutateAdGroupAdsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=871, - serialized_end=1022, -) - - -_MUTATEADGROUPADRESULT = _descriptor.Descriptor( - name='MutateAdGroupAdResult', - full_name='google.ads.googleads.v2.services.MutateAdGroupAdResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=1024, - serialized_end=1070, -) - -_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__v2_dot_proto_dot_common_dot_policy__pb2._POLICYVALIDATIONPARAMETER -_ADGROUPADOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD -_ADGROUPADOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_ADGROUPADOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPADOPERATION.fields_by_name['update']) -_ADGROUPADOPERATION.fields_by_name['update'].containing_oneof = _ADGROUPADOPERATION.oneofs_by_name['operation'] -_ADGROUPADOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPADOPERATION.fields_by_name['remove']) -_ADGROUPADOPERATION.fields_by_name['remove'].containing_oneof = _ADGROUPADOPERATION.oneofs_by_name['operation'] -_MUTATEADGROUPADSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEADGROUPADSRESPONSE.fields_by_name['results'].message_type = _MUTATEADGROUPADRESULT -DESCRIPTOR.message_types_by_name['GetAdGroupAdRequest'] = _GETADGROUPADREQUEST -DESCRIPTOR.message_types_by_name['MutateAdGroupAdsRequest'] = _MUTATEADGROUPADSREQUEST -DESCRIPTOR.message_types_by_name['AdGroupAdOperation'] = _ADGROUPADOPERATION -DESCRIPTOR.message_types_by_name['MutateAdGroupAdsResponse'] = _MUTATEADGROUPADSRESPONSE -DESCRIPTOR.message_types_by_name['MutateAdGroupAdResult'] = _MUTATEADGROUPADRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupAdRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupAdRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPADREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_service_pb2' - , - __doc__ = """Request message for - [AdGroupAdService.GetAdGroupAd][google.ads.googleads.v2.services.AdGroupAdService.GetAdGroupAd]. - - - Attributes: - resource_name: - The resource name of the ad to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdGroupAdRequest) - )) -_sym_db.RegisterMessage(GetAdGroupAdRequest) - -MutateAdGroupAdsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPADSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_service_pb2' - , - __doc__ = """Request message for - [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v2.services.AdGroupAdService.MutateAdGroupAds]. - - - Attributes: - customer_id: - The ID of the customer whose ads are being modified. - operations: - 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 - 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.v2.services.MutateAdGroupAdsRequest) - )) -_sym_db.RegisterMessage(MutateAdGroupAdsRequest) - -AdGroupAdOperation = _reflection.GeneratedProtocolMessageType('AdGroupAdOperation', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPADOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on an ad group ad. - - - Attributes: - update_mask: - FieldMask that determines which resource fields are modified - in an update. - policy_validation_parameter: - Configuration for how policies are validated. - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new ad. - update: - Update operation: The ad is expected to have a valid resource - name. - remove: - Remove operation: A resource name for the removed ad is - expected, in this format: - ``customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.AdGroupAdOperation) - )) -_sym_db.RegisterMessage(AdGroupAdOperation) - -MutateAdGroupAdsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPADSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_ad_service_pb2' - , - __doc__ = """Response message for an ad group ad 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.v2.services.MutateAdGroupAdsResponse) - )) -_sym_db.RegisterMessage(MutateAdGroupAdsResponse) - -MutateAdGroupAdResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPADRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_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.v2.services.MutateAdGroupAdResult) - )) -_sym_db.RegisterMessage(MutateAdGroupAdResult) - - -DESCRIPTOR._options = None - -_ADGROUPADSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupAdService', - full_name='google.ads.googleads.v2.services.AdGroupAdService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1073, - serialized_end=1492, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupAd', - full_name='google.ads.googleads.v2.services.AdGroupAdService.GetAdGroupAd', - index=0, - containing_service=None, - input_type=_GETADGROUPADREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD, - serialized_options=_b('\202\323\344\223\002.\022,/v2/{resource_name=customers/*/adGroupAds/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateAdGroupAds', - full_name='google.ads.googleads.v2.services.AdGroupAdService.MutateAdGroupAds', - index=1, - containing_service=None, - input_type=_MUTATEADGROUPADSREQUEST, - output_type=_MUTATEADGROUPADSRESPONSE, - serialized_options=_b('\202\323\344\223\0024\"//v2/customers/{customer_id=*}/adGroupAds:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPADSERVICE) - -DESCRIPTOR.services_by_name['AdGroupAdService'] = _ADGROUPADSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_ad_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_ad_service_pb2_grpc.py deleted file mode 100644 index b697dbf59..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_ad_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__service__pb2 - - -class AdGroupAdServiceStub(object): - """Proto file describing the Ad Group Ad service. - - Service to manage ads in an ad group. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdGroupAd = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupAdService/GetAdGroupAd', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__service__pb2.GetAdGroupAdRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__pb2.AdGroupAd.FromString, - ) - self.MutateAdGroupAds = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupAdService/MutateAdGroupAds', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsResponse.FromString, - ) - - -class AdGroupAdServiceServicer(object): - """Proto file describing the Ad Group Ad service. - - Service to manage ads in an ad group. - """ - - def GetAdGroupAd(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 MutateAdGroupAds(self, request, context): - """Creates, updates, or removes ads. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__group__ad__service__pb2.GetAdGroupAdRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupAdService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_audience_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_audience_view_service_pb2.py deleted file mode 100644 index 0e6b45842..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_audience_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_v2/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.v2.proto.resources import ad_group_audience_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_audience_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\037AdGroupAudienceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/services/ad_group_audience_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x44google/ads/googleads_v2/proto/resources/ad_group_audience_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"6\n\x1dGetAdGroupAudienceViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8d\x02\n\x1a\x41\x64GroupAudienceViewService\x12\xd1\x01\n\x16GetAdGroupAudienceView\x12?.google.ads.googleads.v2.services.GetAdGroupAudienceViewRequest\x1a\x36.google.ads.googleads.v2.resources.AdGroupAudienceView\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{resource_name=customers/*/adGroupAudienceViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v2.servicesB\x1f\x41\x64GroupAudienceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,]) - - - - -_GETADGROUPAUDIENCEVIEWREQUEST = _descriptor.Descriptor( - name='GetAdGroupAudienceViewRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupAudienceViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=238, - serialized_end=292, -) - -DESCRIPTOR.message_types_by_name['GetAdGroupAudienceViewRequest'] = _GETADGROUPAUDIENCEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupAudienceViewRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupAudienceViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPAUDIENCEVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.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.v2.services.GetAdGroupAudienceViewRequest) - )) -_sym_db.RegisterMessage(GetAdGroupAudienceViewRequest) - - -DESCRIPTOR._options = None - -_ADGROUPAUDIENCEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupAudienceViewService', - full_name='google.ads.googleads.v2.services.AdGroupAudienceViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=295, - serialized_end=564, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupAudienceView', - full_name='google.ads.googleads.v2.services.AdGroupAudienceViewService.GetAdGroupAudienceView', - index=0, - containing_service=None, - input_type=_GETADGROUPAUDIENCEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__audience__view__pb2._ADGROUPAUDIENCEVIEW, - serialized_options=_b('\202\323\344\223\0028\0226/v2/{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/v2/proto/services/ad_group_audience_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_audience_view_service_pb2_grpc.py deleted file mode 100644 index 07887b976..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_audience_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__audience__view__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__audience__view__service__pb2 - - -class AdGroupAudienceViewServiceStub(object): - """Proto file describing the AdGroup Audience View service. - - Service to manage ad group audience views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdGroupAudienceView = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupAudienceViewService/GetAdGroupAudienceView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__audience__view__service__pb2.GetAdGroupAudienceViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.AdGroupAudienceView.FromString, - ) - - -class AdGroupAudienceViewServiceServicer(object): - """Proto file describing the AdGroup Audience View service. - - Service to manage ad group audience views. - """ - - def GetAdGroupAudienceView(self, request, context): - """Returns the requested ad group audience view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__group__audience__view__service__pb2.GetAdGroupAudienceViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.AdGroupAudienceView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupAudienceViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_bid_modifier_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_bid_modifier_service_pb2.py deleted file mode 100644 index 269db221d..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_bid_modifier_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_v2/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')) -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.v2.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v2_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.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 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_bid_modifier_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\036AdGroupBidModifierServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/services/ad_group_bid_modifier_service.proto\x12 google.ads.googleads.v2.services\x1a\x43google/ads/googleads_v2/proto/resources/ad_group_bid_modifier.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.AdGroupBidModifierH\x00\x12G\n\x06update\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v2.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.v2.services.MutateAdGroupBidModifierResult\"7\n\x1eMutateAdGroupBidModifierResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf4\x03\n\x19\x41\x64GroupBidModifierService\x12\xcd\x01\n\x15GetAdGroupBidModifier\x12>.google.ads.googleads.v2.services.GetAdGroupBidModifierRequest\x1a\x35.google.ads.googleads.v2.resources.AdGroupBidModifier\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/adGroupBidModifiers/*}\x12\xe9\x01\n\x19MutateAdGroupBidModifiers\x12\x42.google.ads.googleads.v2.services.MutateAdGroupBidModifiersRequest\x1a\x43.google.ads.googleads.v2.services.MutateAdGroupBidModifiersResponse\"C\x82\xd3\xe4\x93\x02=\"8/v2/customers/{customer_id=*}/adGroupBidModifiers:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1e\x41\x64GroupBidModifierServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPBIDMODIFIERREQUEST = _descriptor.Descriptor( - name='GetAdGroupBidModifierRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupBidModifierRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=295, - serialized_end=348, -) - - -_MUTATEADGROUPBIDMODIFIERSREQUEST = _descriptor.Descriptor( - name='MutateAdGroupBidModifiersRequest', - full_name='google.ads.googleads.v2.services.MutateAdGroupBidModifiersRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=351, - serialized_end=537, -) - - -_ADGROUPBIDMODIFIEROPERATION = _descriptor.Descriptor( - name='AdGroupBidModifierOperation', - full_name='google.ads.googleads.v2.services.AdGroupBidModifierOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.AdGroupBidModifierOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=540, - serialized_end=795, -) - - -_MUTATEADGROUPBIDMODIFIERSRESPONSE = _descriptor.Descriptor( - name='MutateAdGroupBidModifiersResponse', - full_name='google.ads.googleads.v2.services.MutateAdGroupBidModifiersResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=798, - serialized_end=967, -) - - -_MUTATEADGROUPBIDMODIFIERRESULT = _descriptor.Descriptor( - name='MutateAdGroupBidModifierResult', - full_name='google.ads.googleads.v2.services.MutateAdGroupBidModifierResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=969, - serialized_end=1024, -) - -_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__v2_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER -_ADGROUPBIDMODIFIEROPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_ADGROUPBIDMODIFIEROPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPBIDMODIFIEROPERATION.fields_by_name['update']) -_ADGROUPBIDMODIFIEROPERATION.fields_by_name['update'].containing_oneof = _ADGROUPBIDMODIFIEROPERATION.oneofs_by_name['operation'] -_ADGROUPBIDMODIFIEROPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPBIDMODIFIEROPERATION.fields_by_name['remove']) -_ADGROUPBIDMODIFIEROPERATION.fields_by_name['remove'].containing_oneof = _ADGROUPBIDMODIFIEROPERATION.oneofs_by_name['operation'] -_MUTATEADGROUPBIDMODIFIERSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEADGROUPBIDMODIFIERSRESPONSE.fields_by_name['results'].message_type = _MUTATEADGROUPBIDMODIFIERRESULT -DESCRIPTOR.message_types_by_name['GetAdGroupBidModifierRequest'] = _GETADGROUPBIDMODIFIERREQUEST -DESCRIPTOR.message_types_by_name['MutateAdGroupBidModifiersRequest'] = _MUTATEADGROUPBIDMODIFIERSREQUEST -DESCRIPTOR.message_types_by_name['AdGroupBidModifierOperation'] = _ADGROUPBIDMODIFIEROPERATION -DESCRIPTOR.message_types_by_name['MutateAdGroupBidModifiersResponse'] = _MUTATEADGROUPBIDMODIFIERSRESPONSE -DESCRIPTOR.message_types_by_name['MutateAdGroupBidModifierResult'] = _MUTATEADGROUPBIDMODIFIERRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupBidModifierRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupBidModifierRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPBIDMODIFIERREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_bid_modifier_service_pb2' - , - __doc__ = """Request message for - [AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v2.services.AdGroupBidModifierService.GetAdGroupBidModifier]. - - - Attributes: - resource_name: - The resource name of the ad group bid modifier to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdGroupBidModifierRequest) - )) -_sym_db.RegisterMessage(GetAdGroupBidModifierRequest) - -MutateAdGroupBidModifiersRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupBidModifiersRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPBIDMODIFIERSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_bid_modifier_service_pb2' - , - __doc__ = """Request message for - [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v2.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. - - - Attributes: - customer_id: - 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. - 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.v2.services.MutateAdGroupBidModifiersRequest) - )) -_sym_db.RegisterMessage(MutateAdGroupBidModifiersRequest) - -AdGroupBidModifierOperation = _reflection.GeneratedProtocolMessageType('AdGroupBidModifierOperation', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPBIDMODIFIEROPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_bid_modifier_service_pb2' - , - __doc__ = """A single operation (create, remove, update) on an ad group bid modifier. - - - Attributes: - update_mask: - 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 ad - group bid modifier. - update: - Update operation: The ad group bid modifier is expected to - have a valid resource name. - remove: - Remove operation: A resource name for the removed ad group bid - modifier is expected, in this format: ``customers/{customer_i - d}/adGroupBidModifiers/{ad_group_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.AdGroupBidModifierOperation) - )) -_sym_db.RegisterMessage(AdGroupBidModifierOperation) - -MutateAdGroupBidModifiersResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupBidModifiersResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPBIDMODIFIERSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_bid_modifier_service_pb2' - , - __doc__ = """Response message for ad group bid modifiers 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.v2.services.MutateAdGroupBidModifiersResponse) - )) -_sym_db.RegisterMessage(MutateAdGroupBidModifiersResponse) - -MutateAdGroupBidModifierResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupBidModifierResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPBIDMODIFIERRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_bid_modifier_service_pb2' - , - __doc__ = """The result for the criterion mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateAdGroupBidModifierResult) - )) -_sym_db.RegisterMessage(MutateAdGroupBidModifierResult) - - -DESCRIPTOR._options = None - -_ADGROUPBIDMODIFIERSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupBidModifierService', - full_name='google.ads.googleads.v2.services.AdGroupBidModifierService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1027, - serialized_end=1527, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupBidModifier', - full_name='google.ads.googleads.v2.services.AdGroupBidModifierService.GetAdGroupBidModifier', - index=0, - containing_service=None, - input_type=_GETADGROUPBIDMODIFIERREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{resource_name=customers/*/adGroupBidModifiers/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateAdGroupBidModifiers', - full_name='google.ads.googleads.v2.services.AdGroupBidModifierService.MutateAdGroupBidModifiers', - index=1, - containing_service=None, - input_type=_MUTATEADGROUPBIDMODIFIERSREQUEST, - output_type=_MUTATEADGROUPBIDMODIFIERSRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v2/customers/{customer_id=*}/adGroupBidModifiers:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPBIDMODIFIERSERVICE) - -DESCRIPTOR.services_by_name['AdGroupBidModifierService'] = _ADGROUPBIDMODIFIERSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_bid_modifier_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_bid_modifier_service_pb2_grpc.py deleted file mode 100644 index 7c5617173..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_bid_modifier_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.v2.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2 - - -class AdGroupBidModifierServiceStub(object): - """Proto file describing the Ad Group Bid Modifier service. - - Service to manage ad group bid modifiers. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdGroupBidModifier = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupBidModifierService/GetAdGroupBidModifier', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.GetAdGroupBidModifierRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.AdGroupBidModifier.FromString, - ) - self.MutateAdGroupBidModifiers = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupBidModifierService/MutateAdGroupBidModifiers', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersResponse.FromString, - ) - - -class AdGroupBidModifierServiceServicer(object): - """Proto file describing the Ad Group Bid Modifier service. - - Service to manage ad group bid modifiers. - """ - - def GetAdGroupBidModifier(self, request, context): - """Returns the requested ad group bid modifier in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateAdGroupBidModifiers(self, request, context): - """Creates, updates, or removes ad group bid modifiers. - Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.GetAdGroupBidModifierRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupBidModifierService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_criterion_label_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_criterion_label_service_pb2.py deleted file mode 100644 index 3f1232880..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_criterion_label_service_pb2.py +++ /dev/null @@ -1,381 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import ad_group_criterion_label_pb2 as google_dot_ads_dot_googleads__v2_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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_criterion_label_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB!AdGroupCriterionLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nMgoogle/ads/googleads_v2/proto/services/ad_group_criterion_label_service.proto\x12 google.ads.googleads.v2.services\x1a\x46google/ads/googleads_v2/proto/resources/ad_group_criterion_label.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.services.MutateAdGroupCriterionLabelResult\":\n!MutateAdGroupCriterionLabelResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8f\x04\n\x1c\x41\x64GroupCriterionLabelService\x12\xd9\x01\n\x18GetAdGroupCriterionLabel\x12\x41.google.ads.googleads.v2.services.GetAdGroupCriterionLabelRequest\x1a\x38.google.ads.googleads.v2.resources.AdGroupCriterionLabel\"@\x82\xd3\xe4\x93\x02:\x12\x38/v2/{resource_name=customers/*/adGroupCriterionLabels/*}\x12\xf5\x01\n\x1cMutateAdGroupCriterionLabels\x12\x45.google.ads.googleads.v2.services.MutateAdGroupCriterionLabelsRequest\x1a\x46.google.ads.googleads.v2.services.MutateAdGroupCriterionLabelsResponse\"F\x82\xd3\xe4\x93\x02@\";/v2/customers/{customer_id=*}/adGroupCriterionLabels:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x88\x02\n$com.google.ads.googleads.v2.servicesB!AdGroupCriterionLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPCRITERIONLABELREQUEST = _descriptor.Descriptor( - name='GetAdGroupCriterionLabelRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupCriterionLabelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=267, - serialized_end=323, -) - - -_MUTATEADGROUPCRITERIONLABELSREQUEST = _descriptor.Descriptor( - name='MutateAdGroupCriterionLabelsRequest', - full_name='google.ads.googleads.v2.services.MutateAdGroupCriterionLabelsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=326, - serialized_end=518, -) - - -_ADGROUPCRITERIONLABELOPERATION = _descriptor.Descriptor( - name='AdGroupCriterionLabelOperation', - full_name='google.ads.googleads.v2.services.AdGroupCriterionLabelOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.AdGroupCriterionLabelOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=521, - serialized_end=660, -) - - -_MUTATEADGROUPCRITERIONLABELSRESPONSE = _descriptor.Descriptor( - name='MutateAdGroupCriterionLabelsResponse', - full_name='google.ads.googleads.v2.services.MutateAdGroupCriterionLabelsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=663, - serialized_end=838, -) - - -_MUTATEADGROUPCRITERIONLABELRESULT = _descriptor.Descriptor( - name='MutateAdGroupCriterionLabelResult', - full_name='google.ads.googleads.v2.services.MutateAdGroupCriterionLabelResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=840, - serialized_end=898, -) - -_MUTATEADGROUPCRITERIONLABELSREQUEST.fields_by_name['operations'].message_type = _ADGROUPCRITERIONLABELOPERATION -_ADGROUPCRITERIONLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_ADGROUPCRITERIONLABELOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPCRITERIONLABELOPERATION.fields_by_name['remove']) -_ADGROUPCRITERIONLABELOPERATION.fields_by_name['remove'].containing_oneof = _ADGROUPCRITERIONLABELOPERATION.oneofs_by_name['operation'] -_MUTATEADGROUPCRITERIONLABELSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEADGROUPCRITERIONLABELSRESPONSE.fields_by_name['results'].message_type = _MUTATEADGROUPCRITERIONLABELRESULT -DESCRIPTOR.message_types_by_name['GetAdGroupCriterionLabelRequest'] = _GETADGROUPCRITERIONLABELREQUEST -DESCRIPTOR.message_types_by_name['MutateAdGroupCriterionLabelsRequest'] = _MUTATEADGROUPCRITERIONLABELSREQUEST -DESCRIPTOR.message_types_by_name['AdGroupCriterionLabelOperation'] = _ADGROUPCRITERIONLABELOPERATION -DESCRIPTOR.message_types_by_name['MutateAdGroupCriterionLabelsResponse'] = _MUTATEADGROUPCRITERIONLABELSRESPONSE -DESCRIPTOR.message_types_by_name['MutateAdGroupCriterionLabelResult'] = _MUTATEADGROUPCRITERIONLABELRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupCriterionLabelRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupCriterionLabelRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPCRITERIONLABELREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_label_service_pb2' - , - __doc__ = """Request message for - [AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v2.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel]. - - - Attributes: - resource_name: - The resource name of the ad group criterion label to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdGroupCriterionLabelRequest) - )) -_sym_db.RegisterMessage(GetAdGroupCriterionLabelRequest) - -MutateAdGroupCriterionLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriterionLabelsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPCRITERIONLABELSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_label_service_pb2' - , - __doc__ = """Request message for - [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v2.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. - - - Attributes: - customer_id: - ID of the customer whose ad group criterion labels are being - modified. - operations: - 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 - 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.v2.services.MutateAdGroupCriterionLabelsRequest) - )) -_sym_db.RegisterMessage(MutateAdGroupCriterionLabelsRequest) - -AdGroupCriterionLabelOperation = _reflection.GeneratedProtocolMessageType('AdGroupCriterionLabelOperation', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPCRITERIONLABELOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_label_service_pb2' - , - __doc__ = """A single operation (create, remove) on an ad group criterion label. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new ad - group label. - remove: - Remove operation: A resource name for the ad group criterion - label being removed, in this format: ``customers/{customer_id - }/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_i - d}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.AdGroupCriterionLabelOperation) - )) -_sym_db.RegisterMessage(AdGroupCriterionLabelOperation) - -MutateAdGroupCriterionLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriterionLabelsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPCRITERIONLABELSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_label_service_pb2' - , - __doc__ = """Response message for an ad group criterion labels 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.v2.services.MutateAdGroupCriterionLabelsResponse) - )) -_sym_db.RegisterMessage(MutateAdGroupCriterionLabelsResponse) - -MutateAdGroupCriterionLabelResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriterionLabelResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPCRITERIONLABELRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_label_service_pb2' - , - __doc__ = """The result for an ad group criterion label mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateAdGroupCriterionLabelResult) - )) -_sym_db.RegisterMessage(MutateAdGroupCriterionLabelResult) - - -DESCRIPTOR._options = None - -_ADGROUPCRITERIONLABELSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupCriterionLabelService', - full_name='google.ads.googleads.v2.services.AdGroupCriterionLabelService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=901, - serialized_end=1428, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupCriterionLabel', - full_name='google.ads.googleads.v2.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel', - index=0, - containing_service=None, - input_type=_GETADGROUPCRITERIONLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2._ADGROUPCRITERIONLABEL, - serialized_options=_b('\202\323\344\223\002:\0228/v2/{resource_name=customers/*/adGroupCriterionLabels/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateAdGroupCriterionLabels', - full_name='google.ads.googleads.v2.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels', - index=1, - containing_service=None, - input_type=_MUTATEADGROUPCRITERIONLABELSREQUEST, - output_type=_MUTATEADGROUPCRITERIONLABELSRESPONSE, - serialized_options=_b('\202\323\344\223\002@\";/v2/customers/{customer_id=*}/adGroupCriterionLabels:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPCRITERIONLABELSERVICE) - -DESCRIPTOR.services_by_name['AdGroupCriterionLabelService'] = _ADGROUPCRITERIONLABELSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_criterion_label_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_criterion_label_service_pb2_grpc.py deleted file mode 100644 index fcd453ad2..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_criterion_label_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.v2.proto.resources import ad_group_criterion_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2 - - -class AdGroupCriterionLabelServiceStub(object): - """Proto file describing the Ad Group Criterion Label service. - - Service to manage labels on ad group criteria. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdGroupCriterionLabel = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.GetAdGroupCriterionLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.AdGroupCriterionLabel.FromString, - ) - self.MutateAdGroupCriterionLabels = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsResponse.FromString, - ) - - -class AdGroupCriterionLabelServiceServicer(object): - """Proto file describing the Ad Group Criterion Label service. - - Service to manage labels on ad group criteria. - """ - - def GetAdGroupCriterionLabel(self, request, context): - """Returns the requested ad group criterion label in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateAdGroupCriterionLabels(self, request, context): - """Creates and removes ad group criterion labels. - Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.GetAdGroupCriterionLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupCriterionLabelService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_criterion_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_criterion_service_pb2.py deleted file mode 100644 index 33eb4d544..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_criterion_service_pb2.py +++ /dev/null @@ -1,422 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_criterion_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\034AdGroupCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nGgoogle/ads/googleads_v2/proto/services/ad_group_criterion_service.proto\x12 google.ads.googleads.v2.services\x1a\x31google/ads/googleads_v2/proto/common/policy.proto\x1a@google/ads/googleads_v2/proto/resources/ad_group_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.common.PolicyViolationKey\x12\x45\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v2.resources.AdGroupCriterionH\x00\x12\x45\n\x06update\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v2.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.v2.services.MutateAdGroupCriterionResult\"5\n\x1cMutateAdGroupCriterionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd8\x03\n\x17\x41\x64GroupCriterionService\x12\xc3\x01\n\x13GetAdGroupCriterion\x12<.google.ads.googleads.v2.services.GetAdGroupCriterionRequest\x1a\x33.google.ads.googleads.v2.resources.AdGroupCriterion\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/adGroupCriteria/*}\x12\xd9\x01\n\x15MutateAdGroupCriteria\x12>.google.ads.googleads.v2.services.MutateAdGroupCriteriaRequest\x1a?.google.ads.googleads.v2.services.MutateAdGroupCriteriaResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v2/customers/{customer_id=*}/adGroupCriteria:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v2.servicesB\x1c\x41\x64GroupCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPCRITERIONREQUEST = _descriptor.Descriptor( - name='GetAdGroupCriterionRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupCriterionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=340, - serialized_end=391, -) - - -_MUTATEADGROUPCRITERIAREQUEST = _descriptor.Descriptor( - name='MutateAdGroupCriteriaRequest', - full_name='google.ads.googleads.v2.services.MutateAdGroupCriteriaRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=394, - serialized_end=574, -) - - -_ADGROUPCRITERIONOPERATION = _descriptor.Descriptor( - name='AdGroupCriterionOperation', - full_name='google.ads.googleads.v2.services.AdGroupCriterionOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.AdGroupCriterionOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=577, - serialized_end=916, -) - - -_MUTATEADGROUPCRITERIARESPONSE = _descriptor.Descriptor( - name='MutateAdGroupCriteriaResponse', - full_name='google.ads.googleads.v2.services.MutateAdGroupCriteriaResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=919, - serialized_end=1082, -) - - -_MUTATEADGROUPCRITERIONRESULT = _descriptor.Descriptor( - name='MutateAdGroupCriterionResult', - full_name='google.ads.googleads.v2.services.MutateAdGroupCriterionResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=1084, - serialized_end=1137, -) - -_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__v2_dot_proto_dot_common_dot_policy__pb2._POLICYVIOLATIONKEY -_ADGROUPCRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION -_ADGROUPCRITERIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_ADGROUPCRITERIONOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPCRITERIONOPERATION.fields_by_name['update']) -_ADGROUPCRITERIONOPERATION.fields_by_name['update'].containing_oneof = _ADGROUPCRITERIONOPERATION.oneofs_by_name['operation'] -_ADGROUPCRITERIONOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPCRITERIONOPERATION.fields_by_name['remove']) -_ADGROUPCRITERIONOPERATION.fields_by_name['remove'].containing_oneof = _ADGROUPCRITERIONOPERATION.oneofs_by_name['operation'] -_MUTATEADGROUPCRITERIARESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEADGROUPCRITERIARESPONSE.fields_by_name['results'].message_type = _MUTATEADGROUPCRITERIONRESULT -DESCRIPTOR.message_types_by_name['GetAdGroupCriterionRequest'] = _GETADGROUPCRITERIONREQUEST -DESCRIPTOR.message_types_by_name['MutateAdGroupCriteriaRequest'] = _MUTATEADGROUPCRITERIAREQUEST -DESCRIPTOR.message_types_by_name['AdGroupCriterionOperation'] = _ADGROUPCRITERIONOPERATION -DESCRIPTOR.message_types_by_name['MutateAdGroupCriteriaResponse'] = _MUTATEADGROUPCRITERIARESPONSE -DESCRIPTOR.message_types_by_name['MutateAdGroupCriterionResult'] = _MUTATEADGROUPCRITERIONRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupCriterionRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupCriterionRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPCRITERIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_service_pb2' - , - __doc__ = """Request message for - [AdGroupCriterionService.GetAdGroupCriterion][google.ads.googleads.v2.services.AdGroupCriterionService.GetAdGroupCriterion]. - - - Attributes: - resource_name: - The resource name of the criterion to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdGroupCriterionRequest) - )) -_sym_db.RegisterMessage(GetAdGroupCriterionRequest) - -MutateAdGroupCriteriaRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriteriaRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPCRITERIAREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_service_pb2' - , - __doc__ = """Request message for - [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v2.services.AdGroupCriterionService.MutateAdGroupCriteria]. - - - Attributes: - customer_id: - ID of the customer whose criteria are being modified. - operations: - 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 - 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.v2.services.MutateAdGroupCriteriaRequest) - )) -_sym_db.RegisterMessage(MutateAdGroupCriteriaRequest) - -AdGroupCriterionOperation = _reflection.GeneratedProtocolMessageType('AdGroupCriterionOperation', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPCRITERIONOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_service_pb2' - , - __doc__ = """A single operation (create, remove, update) on an ad group criterion. - - - Attributes: - update_mask: - FieldMask that determines which resource fields are modified - in an update. - exempt_policy_violation_keys: - The list of policy violation keys that should not cause a - PolicyViolationError to be reported. Not all policy violations - are exemptable, please refer to the is\_exemptible field in - the returned PolicyViolationError. Resources violating these - polices will be saved, but will not be eligible to serve. They - may begin serving at a later time due to a change in policies, - re-review of the resource, or a change in advertiser - certificates. - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - criterion. - update: - Update operation: The criterion is expected to have a valid - resource name. - remove: - Remove operation: A resource name for the removed criterion is - expected, in this format: ``customers/{customer_id}/adGroupCr - iteria/{ad_group_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.AdGroupCriterionOperation) - )) -_sym_db.RegisterMessage(AdGroupCriterionOperation) - -MutateAdGroupCriteriaResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriteriaResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPCRITERIARESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_service_pb2' - , - __doc__ = """Response message for an ad group criterion 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.v2.services.MutateAdGroupCriteriaResponse) - )) -_sym_db.RegisterMessage(MutateAdGroupCriteriaResponse) - -MutateAdGroupCriterionResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriterionResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPCRITERIONRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_service_pb2' - , - __doc__ = """The result for the criterion mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateAdGroupCriterionResult) - )) -_sym_db.RegisterMessage(MutateAdGroupCriterionResult) - - -DESCRIPTOR._options = None - -_ADGROUPCRITERIONSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupCriterionService', - full_name='google.ads.googleads.v2.services.AdGroupCriterionService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1140, - serialized_end=1612, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupCriterion', - full_name='google.ads.googleads.v2.services.AdGroupCriterionService.GetAdGroupCriterion', - index=0, - containing_service=None, - input_type=_GETADGROUPCRITERIONREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{resource_name=customers/*/adGroupCriteria/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateAdGroupCriteria', - full_name='google.ads.googleads.v2.services.AdGroupCriterionService.MutateAdGroupCriteria', - index=1, - containing_service=None, - input_type=_MUTATEADGROUPCRITERIAREQUEST, - output_type=_MUTATEADGROUPCRITERIARESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v2/customers/{customer_id=*}/adGroupCriteria:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPCRITERIONSERVICE) - -DESCRIPTOR.services_by_name['AdGroupCriterionService'] = _ADGROUPCRITERIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_criterion_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_criterion_service_pb2_grpc.py deleted file mode 100644 index 375fcbd57..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_criterion_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__service__pb2 - - -class AdGroupCriterionServiceStub(object): - """Proto file describing the Ad Group Criterion service. - - Service to manage ad group criteria. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdGroupCriterion = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupCriterionService/GetAdGroupCriterion', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.GetAdGroupCriterionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__pb2.AdGroupCriterion.FromString, - ) - self.MutateAdGroupCriteria = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupCriterionService/MutateAdGroupCriteria', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaResponse.FromString, - ) - - -class AdGroupCriterionServiceServicer(object): - """Proto file describing the Ad Group Criterion service. - - Service to manage ad group criteria. - """ - - def GetAdGroupCriterion(self, request, context): - """Returns the requested criterion in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateAdGroupCriteria(self, request, context): - """Creates, updates, or removes criteria. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.GetAdGroupCriterionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupCriterionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_criterion_simulation_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_criterion_simulation_service_pb2.py deleted file mode 100644 index d8e59b8ea..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_criterion_simulation_service_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.resources import ad_group_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_criterion_simulation_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB&AdGroupCriterionSimulationServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nRgoogle/ads/googleads_v2/proto/services/ad_group_criterion_simulation_service.proto\x12 google.ads.googleads.v2.services\x1aKgoogle/ads/googleads_v2/proto/resources/ad_group_criterion_simulation.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"=\n$GetAdGroupCriterionSimulationRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb0\x02\n!AdGroupCriterionSimulationService\x12\xed\x01\n\x1dGetAdGroupCriterionSimulation\x12\x46.google.ads.googleads.v2.services.GetAdGroupCriterionSimulationRequest\x1a=.google.ads.googleads.v2.resources.AdGroupCriterionSimulation\"E\x82\xd3\xe4\x93\x02?\x12=/v2/{resource_name=customers/*/adGroupCriterionSimulations/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8d\x02\n$com.google.ads.googleads.v2.servicesB&AdGroupCriterionSimulationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,]) - - - - -_GETADGROUPCRITERIONSIMULATIONREQUEST = _descriptor.Descriptor( - name='GetAdGroupCriterionSimulationRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupCriterionSimulationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=252, - serialized_end=313, -) - -DESCRIPTOR.message_types_by_name['GetAdGroupCriterionSimulationRequest'] = _GETADGROUPCRITERIONSIMULATIONREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupCriterionSimulationRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupCriterionSimulationRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPCRITERIONSIMULATIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_criterion_simulation_service_pb2' - , - __doc__ = """Request message for - [AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation][google.ads.googleads.v2.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.v2.services.GetAdGroupCriterionSimulationRequest) - )) -_sym_db.RegisterMessage(GetAdGroupCriterionSimulationRequest) - - -DESCRIPTOR._options = None - -_ADGROUPCRITERIONSIMULATIONSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupCriterionSimulationService', - full_name='google.ads.googleads.v2.services.AdGroupCriterionSimulationService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=316, - serialized_end=620, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupCriterionSimulation', - full_name='google.ads.googleads.v2.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation', - index=0, - containing_service=None, - input_type=_GETADGROUPCRITERIONSIMULATIONREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2._ADGROUPCRITERIONSIMULATION, - serialized_options=_b('\202\323\344\223\002?\022=/v2/{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/v2/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py deleted file mode 100644 index 1f66a4a83..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__simulation__service__pb2 - - -class AdGroupCriterionSimulationServiceStub(object): - """Proto file describing the AdGroupCriterionSimulation service. - - Service to fetch ad group criterion simulations. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdGroupCriterionSimulation = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupCriterionSimulationService/GetAdGroupCriterionSimulation', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__simulation__service__pb2.GetAdGroupCriterionSimulationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.AdGroupCriterionSimulation.FromString, - ) - - -class AdGroupCriterionSimulationServiceServicer(object): - """Proto file describing the AdGroupCriterionSimulation service. - - Service to fetch ad group criterion simulations. - """ - - def GetAdGroupCriterionSimulation(self, request, context): - """Returns the requested ad group criterion simulation in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__group__criterion__simulation__service__pb2.GetAdGroupCriterionSimulationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.AdGroupCriterionSimulation.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupCriterionSimulationService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_extension_setting_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_extension_setting_service_pb2.py deleted file mode 100644 index 0ac5b9db5..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_extension_setting_service_pb2.py +++ /dev/null @@ -1,408 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import ad_group_extension_setting_pb2 as google_dot_ads_dot_googleads__v2_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.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 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_extension_setting_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB#AdGroupExtensionSettingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nOgoogle/ads/googleads_v2/proto/services/ad_group_extension_setting_service.proto\x12 google.ads.googleads.v2.services\x1aHgoogle/ads/googleads_v2/proto/resources/ad_group_extension_setting.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.AdGroupExtensionSettingH\x00\x12L\n\x06update\x18\x02 \x01(\x0b\x32:.google.ads.googleads.v2.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.v2.services.MutateAdGroupExtensionSettingResult\"<\n#MutateAdGroupExtensionSettingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa1\x04\n\x1e\x41\x64GroupExtensionSettingService\x12\xe1\x01\n\x1aGetAdGroupExtensionSetting\x12\x43.google.ads.googleads.v2.services.GetAdGroupExtensionSettingRequest\x1a:.google.ads.googleads.v2.resources.AdGroupExtensionSetting\"B\x82\xd3\xe4\x93\x02<\x12:/v2/{resource_name=customers/*/adGroupExtensionSettings/*}\x12\xfd\x01\n\x1eMutateAdGroupExtensionSettings\x12G.google.ads.googleads.v2.services.MutateAdGroupExtensionSettingsRequest\x1aH.google.ads.googleads.v2.services.MutateAdGroupExtensionSettingsResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v2/customers/{customer_id=*}/adGroupExtensionSettings:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8a\x02\n$com.google.ads.googleads.v2.servicesB#AdGroupExtensionSettingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPEXTENSIONSETTINGREQUEST = _descriptor.Descriptor( - name='GetAdGroupExtensionSettingRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupExtensionSettingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=305, - serialized_end=363, -) - - -_MUTATEADGROUPEXTENSIONSETTINGSREQUEST = _descriptor.Descriptor( - name='MutateAdGroupExtensionSettingsRequest', - full_name='google.ads.googleads.v2.services.MutateAdGroupExtensionSettingsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=366, - serialized_end=562, -) - - -_ADGROUPEXTENSIONSETTINGOPERATION = _descriptor.Descriptor( - name='AdGroupExtensionSettingOperation', - full_name='google.ads.googleads.v2.services.AdGroupExtensionSettingOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.AdGroupExtensionSettingOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=565, - serialized_end=835, -) - - -_MUTATEADGROUPEXTENSIONSETTINGSRESPONSE = _descriptor.Descriptor( - name='MutateAdGroupExtensionSettingsResponse', - full_name='google.ads.googleads.v2.services.MutateAdGroupExtensionSettingsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=838, - serialized_end=1017, -) - - -_MUTATEADGROUPEXTENSIONSETTINGRESULT = _descriptor.Descriptor( - name='MutateAdGroupExtensionSettingResult', - full_name='google.ads.googleads.v2.services.MutateAdGroupExtensionSettingResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=1019, - serialized_end=1079, -) - -_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__v2_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING -_ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_ADGROUPEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['update']) -_ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['update'].containing_oneof = _ADGROUPEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'] -_ADGROUPEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['remove']) -_ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['remove'].containing_oneof = _ADGROUPEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'] -_MUTATEADGROUPEXTENSIONSETTINGSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEADGROUPEXTENSIONSETTINGSRESPONSE.fields_by_name['results'].message_type = _MUTATEADGROUPEXTENSIONSETTINGRESULT -DESCRIPTOR.message_types_by_name['GetAdGroupExtensionSettingRequest'] = _GETADGROUPEXTENSIONSETTINGREQUEST -DESCRIPTOR.message_types_by_name['MutateAdGroupExtensionSettingsRequest'] = _MUTATEADGROUPEXTENSIONSETTINGSREQUEST -DESCRIPTOR.message_types_by_name['AdGroupExtensionSettingOperation'] = _ADGROUPEXTENSIONSETTINGOPERATION -DESCRIPTOR.message_types_by_name['MutateAdGroupExtensionSettingsResponse'] = _MUTATEADGROUPEXTENSIONSETTINGSRESPONSE -DESCRIPTOR.message_types_by_name['MutateAdGroupExtensionSettingResult'] = _MUTATEADGROUPEXTENSIONSETTINGRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupExtensionSettingRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupExtensionSettingRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPEXTENSIONSETTINGREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_extension_setting_service_pb2' - , - __doc__ = """Request message for - [AdGroupExtensionSettingService.GetAdGroupExtensionSetting][google.ads.googleads.v2.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting]. - - - Attributes: - resource_name: - The resource name of the ad group extension setting to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdGroupExtensionSettingRequest) - )) -_sym_db.RegisterMessage(GetAdGroupExtensionSettingRequest) - -MutateAdGroupExtensionSettingsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupExtensionSettingsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPEXTENSIONSETTINGSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_extension_setting_service_pb2' - , - __doc__ = """Request message for - [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v2.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. - - - Attributes: - customer_id: - 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. - 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.v2.services.MutateAdGroupExtensionSettingsRequest) - )) -_sym_db.RegisterMessage(MutateAdGroupExtensionSettingsRequest) - -AdGroupExtensionSettingOperation = _reflection.GeneratedProtocolMessageType('AdGroupExtensionSettingOperation', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPEXTENSIONSETTINGOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_extension_setting_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on an ad group extension - setting. - - - Attributes: - update_mask: - 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 ad - group extension setting. - update: - Update operation: The ad group extension setting is expected - to have a valid resource name. - remove: - Remove operation: A resource name for the removed ad group - extension setting is expected, in this format: ``customers/{c - ustomer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_ - type}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.AdGroupExtensionSettingOperation) - )) -_sym_db.RegisterMessage(AdGroupExtensionSettingOperation) - -MutateAdGroupExtensionSettingsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupExtensionSettingsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPEXTENSIONSETTINGSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_extension_setting_service_pb2' - , - __doc__ = """Response message for an ad group extension setting 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.v2.services.MutateAdGroupExtensionSettingsResponse) - )) -_sym_db.RegisterMessage(MutateAdGroupExtensionSettingsResponse) - -MutateAdGroupExtensionSettingResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupExtensionSettingResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPEXTENSIONSETTINGRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_extension_setting_service_pb2' - , - __doc__ = """The result for the ad group extension setting mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateAdGroupExtensionSettingResult) - )) -_sym_db.RegisterMessage(MutateAdGroupExtensionSettingResult) - - -DESCRIPTOR._options = None - -_ADGROUPEXTENSIONSETTINGSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupExtensionSettingService', - full_name='google.ads.googleads.v2.services.AdGroupExtensionSettingService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1082, - serialized_end=1627, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupExtensionSetting', - full_name='google.ads.googleads.v2.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting', - index=0, - containing_service=None, - input_type=_GETADGROUPEXTENSIONSETTINGREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING, - serialized_options=_b('\202\323\344\223\002<\022:/v2/{resource_name=customers/*/adGroupExtensionSettings/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateAdGroupExtensionSettings', - full_name='google.ads.googleads.v2.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings', - index=1, - containing_service=None, - input_type=_MUTATEADGROUPEXTENSIONSETTINGSREQUEST, - output_type=_MUTATEADGROUPEXTENSIONSETTINGSRESPONSE, - serialized_options=_b('\202\323\344\223\002B\"=/v2/customers/{customer_id=*}/adGroupExtensionSettings:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPEXTENSIONSETTINGSERVICE) - -DESCRIPTOR.services_by_name['AdGroupExtensionSettingService'] = _ADGROUPEXTENSIONSETTINGSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_extension_setting_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_extension_setting_service_pb2_grpc.py deleted file mode 100644 index cc0d006c1..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_extension_setting_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.v2.proto.resources import ad_group_extension_setting_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2 - - -class AdGroupExtensionSettingServiceStub(object): - """Proto file describing the AdGroupExtensionSetting service. - - Service to manage ad group extension settings. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdGroupExtensionSetting = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupExtensionSettingService/GetAdGroupExtensionSetting', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.GetAdGroupExtensionSettingRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.AdGroupExtensionSetting.FromString, - ) - self.MutateAdGroupExtensionSettings = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsResponse.FromString, - ) - - -class AdGroupExtensionSettingServiceServicer(object): - """Proto file describing the AdGroupExtensionSetting service. - - Service to manage ad group extension settings. - """ - - def GetAdGroupExtensionSetting(self, request, context): - """Returns the requested ad group extension setting in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateAdGroupExtensionSettings(self, request, context): - """Creates, updates, or removes ad group extension settings. Operation - statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.GetAdGroupExtensionSettingRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupExtensionSettingService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_feed_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_feed_service_pb2.py deleted file mode 100644 index 0533fb4e3..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_feed_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_v2/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')) -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.v2.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__feed__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_feed_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\027AdGroupFeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/services/ad_group_feed_service.proto\x12 google.ads.googleads.v2.services\x1a;google/ads/googleads_v2/proto/resources/ad_group_feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.AdGroupFeedH\x00\x12@\n\x06update\x18\x02 \x01(\x0b\x32..google.ads.googleads.v2.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.v2.services.MutateAdGroupFeedResult\"0\n\x17MutateAdGroupFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb5\x03\n\x12\x41\x64GroupFeedService\x12\xb1\x01\n\x0eGetAdGroupFeed\x12\x37.google.ads.googleads.v2.services.GetAdGroupFeedRequest\x1a..google.ads.googleads.v2.resources.AdGroupFeed\"6\x82\xd3\xe4\x93\x02\x30\x12./v2/{resource_name=customers/*/adGroupFeeds/*}\x12\xcd\x01\n\x12MutateAdGroupFeeds\x12;.google.ads.googleads.v2.services.MutateAdGroupFeedsRequest\x1a<.google.ads.googleads.v2.services.MutateAdGroupFeedsResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v2/customers/{customer_id=*}/adGroupFeeds:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfe\x01\n$com.google.ads.googleads.v2.servicesB\x17\x41\x64GroupFeedServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPFEEDREQUEST = _descriptor.Descriptor( - name='GetAdGroupFeedRequest', - full_name='google.ads.googleads.v2.services.GetAdGroupFeedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=279, - serialized_end=325, -) - - -_MUTATEADGROUPFEEDSREQUEST = _descriptor.Descriptor( - name='MutateAdGroupFeedsRequest', - full_name='google.ads.googleads.v2.services.MutateAdGroupFeedsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=328, - serialized_end=500, -) - - -_ADGROUPFEEDOPERATION = _descriptor.Descriptor( - name='AdGroupFeedOperation', - full_name='google.ads.googleads.v2.services.AdGroupFeedOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.AdGroupFeedOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=503, - serialized_end=737, -) - - -_MUTATEADGROUPFEEDSRESPONSE = _descriptor.Descriptor( - name='MutateAdGroupFeedsResponse', - full_name='google.ads.googleads.v2.services.MutateAdGroupFeedsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=895, -) - - -_MUTATEADGROUPFEEDRESULT = _descriptor.Descriptor( - name='MutateAdGroupFeedResult', - full_name='google.ads.googleads.v2.services.MutateAdGroupFeedResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=897, - serialized_end=945, -) - -_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__v2_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED -_ADGROUPFEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_ADGROUPFEEDOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPFEEDOPERATION.fields_by_name['update']) -_ADGROUPFEEDOPERATION.fields_by_name['update'].containing_oneof = _ADGROUPFEEDOPERATION.oneofs_by_name['operation'] -_ADGROUPFEEDOPERATION.oneofs_by_name['operation'].fields.append( - _ADGROUPFEEDOPERATION.fields_by_name['remove']) -_ADGROUPFEEDOPERATION.fields_by_name['remove'].containing_oneof = _ADGROUPFEEDOPERATION.oneofs_by_name['operation'] -_MUTATEADGROUPFEEDSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEADGROUPFEEDSRESPONSE.fields_by_name['results'].message_type = _MUTATEADGROUPFEEDRESULT -DESCRIPTOR.message_types_by_name['GetAdGroupFeedRequest'] = _GETADGROUPFEEDREQUEST -DESCRIPTOR.message_types_by_name['MutateAdGroupFeedsRequest'] = _MUTATEADGROUPFEEDSREQUEST -DESCRIPTOR.message_types_by_name['AdGroupFeedOperation'] = _ADGROUPFEEDOPERATION -DESCRIPTOR.message_types_by_name['MutateAdGroupFeedsResponse'] = _MUTATEADGROUPFEEDSRESPONSE -DESCRIPTOR.message_types_by_name['MutateAdGroupFeedResult'] = _MUTATEADGROUPFEEDRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupFeedRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupFeedRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPFEEDREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_feed_service_pb2' - , - __doc__ = """Request message for - [AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v2.services.AdGroupFeedService.GetAdGroupFeed]. - - - Attributes: - resource_name: - The resource name of the ad group feed to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdGroupFeedRequest) - )) -_sym_db.RegisterMessage(GetAdGroupFeedRequest) - -MutateAdGroupFeedsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupFeedsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPFEEDSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_feed_service_pb2' - , - __doc__ = """Request message for - [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v2.services.AdGroupFeedService.MutateAdGroupFeeds]. - - - Attributes: - customer_id: - The ID of the customer whose ad group feeds are being - modified. - operations: - 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 - 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.v2.services.MutateAdGroupFeedsRequest) - )) -_sym_db.RegisterMessage(MutateAdGroupFeedsRequest) - -AdGroupFeedOperation = _reflection.GeneratedProtocolMessageType('AdGroupFeedOperation', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPFEEDOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_feed_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on an ad group feed. - - - Attributes: - update_mask: - 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 ad - group feed. - update: - Update operation: The ad group feed is expected to have a - valid resource name. - remove: - Remove operation: A resource name for the removed ad group - feed is expected, in this format: ``customers/{customer_id}/a - dGroupFeeds/{ad_group_id}~{feed_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.AdGroupFeedOperation) - )) -_sym_db.RegisterMessage(AdGroupFeedOperation) - -MutateAdGroupFeedsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupFeedsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPFEEDSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_feed_service_pb2' - , - __doc__ = """Response message for an ad group feed 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.v2.services.MutateAdGroupFeedsResponse) - )) -_sym_db.RegisterMessage(MutateAdGroupFeedsResponse) - -MutateAdGroupFeedResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupFeedResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADGROUPFEEDRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.ad_group_feed_service_pb2' - , - __doc__ = """The result for the ad group feed mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateAdGroupFeedResult) - )) -_sym_db.RegisterMessage(MutateAdGroupFeedResult) - - -DESCRIPTOR._options = None - -_ADGROUPFEEDSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupFeedService', - full_name='google.ads.googleads.v2.services.AdGroupFeedService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=948, - serialized_end=1385, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupFeed', - full_name='google.ads.googleads.v2.services.AdGroupFeedService.GetAdGroupFeed', - index=0, - containing_service=None, - input_type=_GETADGROUPFEEDREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED, - serialized_options=_b('\202\323\344\223\0020\022./v2/{resource_name=customers/*/adGroupFeeds/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateAdGroupFeeds', - full_name='google.ads.googleads.v2.services.AdGroupFeedService.MutateAdGroupFeeds', - index=1, - containing_service=None, - input_type=_MUTATEADGROUPFEEDSREQUEST, - output_type=_MUTATEADGROUPFEEDSRESPONSE, - serialized_options=_b('\202\323\344\223\0026\"1/v2/customers/{customer_id=*}/adGroupFeeds:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPFEEDSERVICE) - -DESCRIPTOR.services_by_name['AdGroupFeedService'] = _ADGROUPFEEDSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_feed_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_group_feed_service_pb2_grpc.py deleted file mode 100644 index 126dc493c..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_feed_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.v2.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__feed__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__feed__service__pb2 - - -class AdGroupFeedServiceStub(object): - """Proto file describing the AdGroupFeed service. - - Service to manage ad group feeds. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdGroupFeed = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupFeedService/GetAdGroupFeed', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__feed__service__pb2.GetAdGroupFeedRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__feed__pb2.AdGroupFeed.FromString, - ) - self.MutateAdGroupFeeds = channel.unary_unary( - '/google.ads.googleads.v2.services.AdGroupFeedService/MutateAdGroupFeeds', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsResponse.FromString, - ) - - -class AdGroupFeedServiceServicer(object): - """Proto file describing the AdGroupFeed service. - - Service to manage ad group feeds. - """ - - def GetAdGroupFeed(self, request, context): - """Returns the requested ad group feed in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateAdGroupFeeds(self, request, context): - """Creates, updates, or removes ad group feeds. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__group__feed__service__pb2.GetAdGroupFeedRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdGroupFeedService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_group_label_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_group_label_service_pb2.py deleted file mode 100644 index 137ed9935..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_group_label_service_pb2.py +++ /dev/null @@ -1,378 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import ad_group_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__label__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_group_label_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\030AdGroupLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/services/ad_group_label_service.proto\x12 google.ads.googleads.v2.services\x1agoogle/ads/googleads_v2/proto/resources/ad_schedule_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"1\n\x18GetAdScheduleViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf4\x01\n\x15\x41\x64ScheduleViewService\x12\xbd\x01\n\x11GetAdScheduleView\x12:.google.ads.googleads.v2.services.GetAdScheduleViewRequest\x1a\x31.google.ads.googleads.v2.resources.AdScheduleView\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/adScheduleViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1a\x41\x64ScheduleViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__schedule__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETADSCHEDULEVIEWREQUEST = _descriptor.Descriptor( - name='GetAdScheduleViewRequest', - full_name='google.ads.googleads.v2.services.GetAdScheduleViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=226, - serialized_end=275, -) - -DESCRIPTOR.message_types_by_name['GetAdScheduleViewRequest'] = _GETADSCHEDULEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdScheduleViewRequest = _reflection.GeneratedProtocolMessageType('GetAdScheduleViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADSCHEDULEVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_schedule_view_service_pb2' - , - __doc__ = """Request message for - [AdScheduleViewService.GetAdScheduleView][google.ads.googleads.v2.services.AdScheduleViewService.GetAdScheduleView]. - - - Attributes: - resource_name: - The resource name of the ad schedule view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdScheduleViewRequest) - )) -_sym_db.RegisterMessage(GetAdScheduleViewRequest) - - -DESCRIPTOR._options = None - -_ADSCHEDULEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='AdScheduleViewService', - full_name='google.ads.googleads.v2.services.AdScheduleViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=278, - serialized_end=522, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdScheduleView', - full_name='google.ads.googleads.v2.services.AdScheduleViewService.GetAdScheduleView', - index=0, - containing_service=None, - input_type=_GETADSCHEDULEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__schedule__view__pb2._ADSCHEDULEVIEW, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{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/v2/proto/services/ad_schedule_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_schedule_view_service_pb2_grpc.py deleted file mode 100644 index 598c78dba..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_schedule_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__schedule__view__pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__schedule__view__service__pb2 - - -class AdScheduleViewServiceStub(object): - """Proto file describing the AdSchedule View service. - - Service to fetch ad schedule views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetAdScheduleView = channel.unary_unary( - '/google.ads.googleads.v2.services.AdScheduleViewService/GetAdScheduleView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__schedule__view__service__pb2.GetAdScheduleViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__schedule__view__pb2.AdScheduleView.FromString, - ) - - -class AdScheduleViewServiceServicer(object): - """Proto file describing the AdSchedule View service. - - Service to fetch ad schedule views. - """ - - def GetAdScheduleView(self, request, context): - """Returns the requested ad schedule view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_ad__schedule__view__service__pb2.GetAdScheduleViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__schedule__view__pb2.AdScheduleView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdScheduleViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/ad_service_pb2.py b/google/ads/google_ads/v2/proto/services/ad_service_pb2.py deleted file mode 100644 index be91613c3..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_service_pb2.py +++ /dev/null @@ -1,339 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__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.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/ad_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\016AdServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n7google/ads/googleads_v2/proto/services/ad_service.proto\x12 google.ads.googleads.v2.services\x1a\x30google/ads/googleads_v2/proto/resources/ad.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/api/client.proto\"%\n\x0cGetAdRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"j\n\x10MutateAdsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\x41\n\noperations\x18\x02 \x03(\x0b\x32-.google.ads.googleads.v2.services.AdOperation\"\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.v2.resources.AdH\x00\x42\x0b\n\toperation\"V\n\x11MutateAdsResponse\x12\x41\n\x07results\x18\x02 \x03(\x0b\x32\x30.google.ads.googleads.v2.services.MutateAdResult\"\'\n\x0eMutateAdResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe4\x02\n\tAdService\x12\x8d\x01\n\x05GetAd\x12..google.ads.googleads.v2.services.GetAdRequest\x1a%.google.ads.googleads.v2.resources.Ad\"-\x82\xd3\xe4\x93\x02\'\x12%/v2/{resource_name=customers/*/ads/*}\x12\xa9\x01\n\tMutateAds\x12\x32.google.ads.googleads.v2.services.MutateAdsRequest\x1a\x33.google.ads.googleads.v2.services.MutateAdsResponse\"3\x82\xd3\xe4\x93\x02-\"(/v2/customers/{customer_id=*}/ads:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xf5\x01\n$com.google.ads.googleads.v2.servicesB\x0e\x41\x64ServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETADREQUEST = _descriptor.Descriptor( - name='GetAdRequest', - full_name='google.ads.googleads.v2.services.GetAdRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=232, - serialized_end=269, -) - - -_MUTATEADSREQUEST = _descriptor.Descriptor( - name='MutateAdsRequest', - full_name='google.ads.googleads.v2.services.MutateAdsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=271, - serialized_end=377, -) - - -_ADOPERATION = _descriptor.Descriptor( - name='AdOperation', - full_name='google.ads.googleads.v2.services.AdOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.services.AdOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=380, - serialized_end=512, -) - - -_MUTATEADSRESPONSE = _descriptor.Descriptor( - name='MutateAdsResponse', - full_name='google.ads.googleads.v2.services.MutateAdsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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=514, - serialized_end=600, -) - - -_MUTATEADRESULT = _descriptor.Descriptor( - name='MutateAdResult', - full_name='google.ads.googleads.v2.services.MutateAdResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=602, - serialized_end=641, -) - -_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__v2_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_v2.proto.services.ad_service_pb2' - , - __doc__ = """Request message for - [AdService.GetAd][google.ads.googleads.v2.services.AdService.GetAd]. - - - Attributes: - resource_name: - The resource name of the ad to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetAdRequest) - )) -_sym_db.RegisterMessage(GetAdRequest) - -MutateAdsRequest = _reflection.GeneratedProtocolMessageType('MutateAdsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.ad_service_pb2' - , - __doc__ = """Request message for - [AdService.MutateAds][google.ads.googleads.v2.services.AdService.MutateAds]. - - - Attributes: - customer_id: - The ID of the customer whose ads are being modified. - operations: - The list of operations to perform on individual ads. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateAdsRequest) - )) -_sym_db.RegisterMessage(MutateAdsRequest) - -AdOperation = _reflection.GeneratedProtocolMessageType('AdOperation', (_message.Message,), dict( - DESCRIPTOR = _ADOPERATION, - __module__ = 'google.ads.googleads_v2.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.v2.services.AdOperation) - )) -_sym_db.RegisterMessage(AdOperation) - -MutateAdsResponse = _reflection.GeneratedProtocolMessageType('MutateAdsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADSRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateAdsResponse) - )) -_sym_db.RegisterMessage(MutateAdsResponse) - -MutateAdResult = _reflection.GeneratedProtocolMessageType('MutateAdResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEADRESULT, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateAdResult) - )) -_sym_db.RegisterMessage(MutateAdResult) - - -DESCRIPTOR._options = None - -_ADSERVICE = _descriptor.ServiceDescriptor( - name='AdService', - full_name='google.ads.googleads.v2.services.AdService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=644, - serialized_end=1000, - methods=[ - _descriptor.MethodDescriptor( - name='GetAd', - full_name='google.ads.googleads.v2.services.AdService.GetAd', - index=0, - containing_service=None, - input_type=_GETADREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__pb2._AD, - serialized_options=_b('\202\323\344\223\002\'\022%/v2/{resource_name=customers/*/ads/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateAds', - full_name='google.ads.googleads.v2.services.AdService.MutateAds', - index=1, - containing_service=None, - input_type=_MUTATEADSREQUEST, - output_type=_MUTATEADSRESPONSE, - serialized_options=_b('\202\323\344\223\002-\"(/v2/customers/{customer_id=*}/ads:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADSERVICE) - -DESCRIPTOR.services_by_name['AdService'] = _ADSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/ad_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/ad_service_pb2_grpc.py deleted file mode 100644 index 98b467d23..000000000 --- a/google/ads/google_ads/v2/proto/services/ad_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2 as google_dot_ads_dot_googleads__v2_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.v2.services.AdService/GetAd', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__service__pb2.GetAdRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__pb2.Ad.FromString, - ) - self.MutateAds = channel.unary_unary( - '/google.ads.googleads.v2.services.AdService/MutateAds', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__service__pb2.MutateAdsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_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. - """ - 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__v2_dot_proto_dot_services_dot_ad__service__pb2.GetAdRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_ad__service__pb2.MutateAdsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__service__pb2.MutateAdsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.AdService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/age_range_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/age_range_view_service_pb2.py deleted file mode 100644 index 41bf3126c..000000000 --- a/google/ads/google_ads/v2/proto/services/age_range_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_v2/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.v2.proto.resources import age_range_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/age_range_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\030AgeRangeViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/services/age_range_view_service.proto\x12 google.ads.googleads.v2.services\x1agoogle/ads/googleads_v2/proto/resources/bidding_strategy.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.BiddingStrategyH\x00\x12\x44\n\x06update\x18\x02 \x01(\x0b\x32\x32.google.ads.googleads.v2.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.v2.services.MutateBiddingStrategyResult\"4\n\x1bMutateBiddingStrategyResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xde\x03\n\x16\x42iddingStrategyService\x12\xc2\x01\n\x12GetBiddingStrategy\x12;.google.ads.googleads.v2.services.GetBiddingStrategyRequest\x1a\x32.google.ads.googleads.v2.resources.BiddingStrategy\";\x82\xd3\xe4\x93\x02\x35\x12\x33/v2/{resource_name=customers/*/biddingStrategies/*}\x12\xe1\x01\n\x17MutateBiddingStrategies\x12@.google.ads.googleads.v2.services.MutateBiddingStrategiesRequest\x1a\x41.google.ads.googleads.v2.services.MutateBiddingStrategiesResponse\"A\x82\xd3\xe4\x93\x02;\"6/v2/customers/{customer_id=*}/biddingStrategies:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v2.servicesB\x1b\x42iddingStrategyServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETBIDDINGSTRATEGYREQUEST = _descriptor.Descriptor( - name='GetBiddingStrategyRequest', - full_name='google.ads.googleads.v2.services.GetBiddingStrategyRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=285, - serialized_end=335, -) - - -_MUTATEBIDDINGSTRATEGIESREQUEST = _descriptor.Descriptor( - name='MutateBiddingStrategiesRequest', - full_name='google.ads.googleads.v2.services.MutateBiddingStrategiesRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=338, - serialized_end=519, -) - - -_BIDDINGSTRATEGYOPERATION = _descriptor.Descriptor( - name='BiddingStrategyOperation', - full_name='google.ads.googleads.v2.services.BiddingStrategyOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.BiddingStrategyOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=522, - serialized_end=768, -) - - -_MUTATEBIDDINGSTRATEGIESRESPONSE = _descriptor.Descriptor( - name='MutateBiddingStrategiesResponse', - full_name='google.ads.googleads.v2.services.MutateBiddingStrategiesResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=771, - serialized_end=935, -) - - -_MUTATEBIDDINGSTRATEGYRESULT = _descriptor.Descriptor( - name='MutateBiddingStrategyResult', - full_name='google.ads.googleads.v2.services.MutateBiddingStrategyResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=937, - serialized_end=989, -) - -_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__v2_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY -_BIDDINGSTRATEGYOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_BIDDINGSTRATEGYOPERATION.oneofs_by_name['operation'].fields.append( - _BIDDINGSTRATEGYOPERATION.fields_by_name['update']) -_BIDDINGSTRATEGYOPERATION.fields_by_name['update'].containing_oneof = _BIDDINGSTRATEGYOPERATION.oneofs_by_name['operation'] -_BIDDINGSTRATEGYOPERATION.oneofs_by_name['operation'].fields.append( - _BIDDINGSTRATEGYOPERATION.fields_by_name['remove']) -_BIDDINGSTRATEGYOPERATION.fields_by_name['remove'].containing_oneof = _BIDDINGSTRATEGYOPERATION.oneofs_by_name['operation'] -_MUTATEBIDDINGSTRATEGIESRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEBIDDINGSTRATEGIESRESPONSE.fields_by_name['results'].message_type = _MUTATEBIDDINGSTRATEGYRESULT -DESCRIPTOR.message_types_by_name['GetBiddingStrategyRequest'] = _GETBIDDINGSTRATEGYREQUEST -DESCRIPTOR.message_types_by_name['MutateBiddingStrategiesRequest'] = _MUTATEBIDDINGSTRATEGIESREQUEST -DESCRIPTOR.message_types_by_name['BiddingStrategyOperation'] = _BIDDINGSTRATEGYOPERATION -DESCRIPTOR.message_types_by_name['MutateBiddingStrategiesResponse'] = _MUTATEBIDDINGSTRATEGIESRESPONSE -DESCRIPTOR.message_types_by_name['MutateBiddingStrategyResult'] = _MUTATEBIDDINGSTRATEGYRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetBiddingStrategyRequest = _reflection.GeneratedProtocolMessageType('GetBiddingStrategyRequest', (_message.Message,), dict( - DESCRIPTOR = _GETBIDDINGSTRATEGYREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.bidding_strategy_service_pb2' - , - __doc__ = """Request message for - [BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v2.services.BiddingStrategyService.GetBiddingStrategy]. - - - Attributes: - resource_name: - The resource name of the bidding strategy to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetBiddingStrategyRequest) - )) -_sym_db.RegisterMessage(GetBiddingStrategyRequest) - -MutateBiddingStrategiesRequest = _reflection.GeneratedProtocolMessageType('MutateBiddingStrategiesRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEBIDDINGSTRATEGIESREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.bidding_strategy_service_pb2' - , - __doc__ = """Request message for - [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v2.services.BiddingStrategyService.MutateBiddingStrategies]. - - - Attributes: - customer_id: - The ID of the customer whose bidding strategies are being - modified. - operations: - 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 - 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.v2.services.MutateBiddingStrategiesRequest) - )) -_sym_db.RegisterMessage(MutateBiddingStrategiesRequest) - -BiddingStrategyOperation = _reflection.GeneratedProtocolMessageType('BiddingStrategyOperation', (_message.Message,), dict( - DESCRIPTOR = _BIDDINGSTRATEGYOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.bidding_strategy_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a bidding strategy. - - - Attributes: - update_mask: - 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 - bidding strategy. - update: - Update operation: The bidding strategy is expected to have a - valid resource name. - remove: - Remove operation: A resource name for the removed bidding - strategy is expected, in this format: ``customers/{customer_i - d}/biddingStrategies/{bidding_strategy_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.BiddingStrategyOperation) - )) -_sym_db.RegisterMessage(BiddingStrategyOperation) - -MutateBiddingStrategiesResponse = _reflection.GeneratedProtocolMessageType('MutateBiddingStrategiesResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEBIDDINGSTRATEGIESRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.bidding_strategy_service_pb2' - , - __doc__ = """Response message for bidding strategy 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.v2.services.MutateBiddingStrategiesResponse) - )) -_sym_db.RegisterMessage(MutateBiddingStrategiesResponse) - -MutateBiddingStrategyResult = _reflection.GeneratedProtocolMessageType('MutateBiddingStrategyResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEBIDDINGSTRATEGYRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.bidding_strategy_service_pb2' - , - __doc__ = """The result for the bidding strategy mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateBiddingStrategyResult) - )) -_sym_db.RegisterMessage(MutateBiddingStrategyResult) - - -DESCRIPTOR._options = None - -_BIDDINGSTRATEGYSERVICE = _descriptor.ServiceDescriptor( - name='BiddingStrategyService', - full_name='google.ads.googleads.v2.services.BiddingStrategyService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=992, - serialized_end=1470, - methods=[ - _descriptor.MethodDescriptor( - name='GetBiddingStrategy', - full_name='google.ads.googleads.v2.services.BiddingStrategyService.GetBiddingStrategy', - index=0, - containing_service=None, - input_type=_GETBIDDINGSTRATEGYREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY, - serialized_options=_b('\202\323\344\223\0025\0223/v2/{resource_name=customers/*/biddingStrategies/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateBiddingStrategies', - full_name='google.ads.googleads.v2.services.BiddingStrategyService.MutateBiddingStrategies', - index=1, - containing_service=None, - input_type=_MUTATEBIDDINGSTRATEGIESREQUEST, - output_type=_MUTATEBIDDINGSTRATEGIESRESPONSE, - serialized_options=_b('\202\323\344\223\002;\"6/v2/customers/{customer_id=*}/biddingStrategies:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_BIDDINGSTRATEGYSERVICE) - -DESCRIPTOR.services_by_name['BiddingStrategyService'] = _BIDDINGSTRATEGYSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/bidding_strategy_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/bidding_strategy_service_pb2_grpc.py deleted file mode 100644 index 70e4325b2..000000000 --- a/google/ads/google_ads/v2/proto/services/bidding_strategy_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.v2.proto.resources import bidding_strategy_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_bidding__strategy__pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_bidding__strategy__service__pb2 - - -class BiddingStrategyServiceStub(object): - """Proto file describing the Bidding Strategy service. - - Service to manage bidding strategies. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetBiddingStrategy = channel.unary_unary( - '/google.ads.googleads.v2.services.BiddingStrategyService/GetBiddingStrategy', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_bidding__strategy__service__pb2.GetBiddingStrategyRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_bidding__strategy__pb2.BiddingStrategy.FromString, - ) - self.MutateBiddingStrategies = channel.unary_unary( - '/google.ads.googleads.v2.services.BiddingStrategyService/MutateBiddingStrategies', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesResponse.FromString, - ) - - -class BiddingStrategyServiceServicer(object): - """Proto file describing the Bidding Strategy service. - - Service to manage bidding strategies. - """ - - def GetBiddingStrategy(self, request, context): - """Returns the requested bidding strategy in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateBiddingStrategies(self, request, context): - """Creates, updates, or removes bidding strategies. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_bidding__strategy__service__pb2.GetBiddingStrategyRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.BiddingStrategyService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/billing_setup_service_pb2.py b/google/ads/google_ads/v2/proto/services/billing_setup_service_pb2.py deleted file mode 100644 index 917278ede..000000000 --- a/google/ads/google_ads/v2/proto/services/billing_setup_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_v2/proto/services/billing_setup_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.v2.proto.resources import billing_setup_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/billing_setup_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\030BillingSetupServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/services/billing_setup_service.proto\x12 google.ads.googleads.v2.services\x1a;google/ads/googleads_v2/proto/resources/billing_setup.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.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.v2.services.BillingSetupOperation\"y\n\x15\x42illingSetupOperation\x12\x41\n\x06\x63reate\x18\x02 \x01(\x0b\x32/.google.ads.googleads.v2.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.v2.services.MutateBillingSetupResult\"1\n\x18MutateBillingSetupResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xbb\x03\n\x13\x42illingSetupService\x12\xb5\x01\n\x0fGetBillingSetup\x12\x38.google.ads.googleads.v2.services.GetBillingSetupRequest\x1a/.google.ads.googleads.v2.resources.BillingSetup\"7\x82\xd3\xe4\x93\x02\x31\x12//v2/{resource_name=customers/*/billingSetups/*}\x12\xce\x01\n\x12MutateBillingSetup\x12;.google.ads.googleads.v2.services.MutateBillingSetupRequest\x1a<.google.ads.googleads.v2.services.MutateBillingSetupResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v2/customers/{customer_id=*}/billingSetups:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v2.servicesB\x18\x42illingSetupServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_billing__setup__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETBILLINGSETUPREQUEST = _descriptor.Descriptor( - name='GetBillingSetupRequest', - full_name='google.ads.googleads.v2.services.GetBillingSetupRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=220, - serialized_end=267, -) - - -_MUTATEBILLINGSETUPREQUEST = _descriptor.Descriptor( - name='MutateBillingSetupRequest', - full_name='google.ads.googleads.v2.services.MutateBillingSetupRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=269, - serialized_end=393, -) - - -_BILLINGSETUPOPERATION = _descriptor.Descriptor( - name='BillingSetupOperation', - full_name='google.ads.googleads.v2.services.BillingSetupOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.BillingSetupOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=395, - serialized_end=516, -) - - -_MUTATEBILLINGSETUPRESPONSE = _descriptor.Descriptor( - name='MutateBillingSetupResponse', - full_name='google.ads.googleads.v2.services.MutateBillingSetupResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v2.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, - 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=518, - serialized_end=622, -) - - -_MUTATEBILLINGSETUPRESULT = _descriptor.Descriptor( - name='MutateBillingSetupResult', - full_name='google.ads.googleads.v2.services.MutateBillingSetupResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=624, - serialized_end=673, -) - -_MUTATEBILLINGSETUPREQUEST.fields_by_name['operation'].message_type = _BILLINGSETUPOPERATION -_BILLINGSETUPOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_BILLINGSETUPOPERATION.oneofs_by_name['operation'].fields.append( - _BILLINGSETUPOPERATION.fields_by_name['remove']) -_BILLINGSETUPOPERATION.fields_by_name['remove'].containing_oneof = _BILLINGSETUPOPERATION.oneofs_by_name['operation'] -_MUTATEBILLINGSETUPRESPONSE.fields_by_name['result'].message_type = _MUTATEBILLINGSETUPRESULT -DESCRIPTOR.message_types_by_name['GetBillingSetupRequest'] = _GETBILLINGSETUPREQUEST -DESCRIPTOR.message_types_by_name['MutateBillingSetupRequest'] = _MUTATEBILLINGSETUPREQUEST -DESCRIPTOR.message_types_by_name['BillingSetupOperation'] = _BILLINGSETUPOPERATION -DESCRIPTOR.message_types_by_name['MutateBillingSetupResponse'] = _MUTATEBILLINGSETUPRESPONSE -DESCRIPTOR.message_types_by_name['MutateBillingSetupResult'] = _MUTATEBILLINGSETUPRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetBillingSetupRequest = _reflection.GeneratedProtocolMessageType('GetBillingSetupRequest', (_message.Message,), dict( - DESCRIPTOR = _GETBILLINGSETUPREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.billing_setup_service_pb2' - , - __doc__ = """Request message for - [BillingSetupService.GetBillingSetup][google.ads.googleads.v2.services.BillingSetupService.GetBillingSetup]. - - - Attributes: - resource_name: - The resource name of the billing setup to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetBillingSetupRequest) - )) -_sym_db.RegisterMessage(GetBillingSetupRequest) - -MutateBillingSetupRequest = _reflection.GeneratedProtocolMessageType('MutateBillingSetupRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEBILLINGSETUPREQUEST, - __module__ = 'google.ads.googleads_v2.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. - operation: - The operation to perform. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateBillingSetupRequest) - )) -_sym_db.RegisterMessage(MutateBillingSetupRequest) - -BillingSetupOperation = _reflection.GeneratedProtocolMessageType('BillingSetupOperation', (_message.Message,), dict( - DESCRIPTOR = _BILLINGSETUPOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.billing_setup_service_pb2' - , - __doc__ = """A single operation on a billing setup, which describes the cancellation - of an existing billing setup. - - - Attributes: - operation: - Only one of these operations can be set. "Update" operations - are not supported. - create: - Creates a billing setup. No resource name is expected for the - new billing setup. - remove: - Resource name of the billing setup to remove. A setup cannot - be removed unless it is in a pending state or its scheduled - 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.v2.services.BillingSetupOperation) - )) -_sym_db.RegisterMessage(BillingSetupOperation) - -MutateBillingSetupResponse = _reflection.GeneratedProtocolMessageType('MutateBillingSetupResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEBILLINGSETUPRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.billing_setup_service_pb2' - , - __doc__ = """Response message for a billing setup operation. - - - Attributes: - result: - A result that identifies the resource affected by the mutate - request. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateBillingSetupResponse) - )) -_sym_db.RegisterMessage(MutateBillingSetupResponse) - -MutateBillingSetupResult = _reflection.GeneratedProtocolMessageType('MutateBillingSetupResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEBILLINGSETUPRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.billing_setup_service_pb2' - , - __doc__ = """Result for a single billing setup mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateBillingSetupResult) - )) -_sym_db.RegisterMessage(MutateBillingSetupResult) - - -DESCRIPTOR._options = None - -_BILLINGSETUPSERVICE = _descriptor.ServiceDescriptor( - name='BillingSetupService', - full_name='google.ads.googleads.v2.services.BillingSetupService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=676, - serialized_end=1119, - methods=[ - _descriptor.MethodDescriptor( - name='GetBillingSetup', - full_name='google.ads.googleads.v2.services.BillingSetupService.GetBillingSetup', - index=0, - containing_service=None, - input_type=_GETBILLINGSETUPREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_billing__setup__pb2._BILLINGSETUP, - serialized_options=_b('\202\323\344\223\0021\022//v2/{resource_name=customers/*/billingSetups/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateBillingSetup', - full_name='google.ads.googleads.v2.services.BillingSetupService.MutateBillingSetup', - index=1, - containing_service=None, - input_type=_MUTATEBILLINGSETUPREQUEST, - output_type=_MUTATEBILLINGSETUPRESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v2/customers/{customer_id=*}/billingSetups:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_BILLINGSETUPSERVICE) - -DESCRIPTOR.services_by_name['BillingSetupService'] = _BILLINGSETUPSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/billing_setup_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/billing_setup_service_pb2_grpc.py deleted file mode 100644 index 2859ecb29..000000000 --- a/google/ads/google_ads/v2/proto/services/billing_setup_service_pb2_grpc.py +++ /dev/null @@ -1,84 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_billing__setup__pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_billing__setup__service__pb2 - - -class BillingSetupServiceStub(object): - """Proto file describing the BillingSetup service. - - 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 - will appear on a single invoice generated monthly. - - Mutates: - The REMOVE operation cancels a pending billing setup. - The CREATE operation creates a new billing setup. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetBillingSetup = channel.unary_unary( - '/google.ads.googleads.v2.services.BillingSetupService/GetBillingSetup', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_billing__setup__service__pb2.GetBillingSetupRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_billing__setup__pb2.BillingSetup.FromString, - ) - self.MutateBillingSetup = channel.unary_unary( - '/google.ads.googleads.v2.services.BillingSetupService/MutateBillingSetup', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupResponse.FromString, - ) - - -class BillingSetupServiceServicer(object): - """Proto file describing the BillingSetup service. - - 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 - will appear on a single invoice generated monthly. - - Mutates: - The REMOVE operation cancels a pending billing setup. - The CREATE operation creates a new billing setup. - """ - - def GetBillingSetup(self, request, context): - """Returns a billing setup. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateBillingSetup(self, request, context): - """Creates a billing setup, or cancels an existing billing setup. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_billing__setup__service__pb2.GetBillingSetupRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.BillingSetupService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_audience_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_audience_view_service_pb2.py deleted file mode 100644 index e81abc135..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_audience_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_v2/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.v2.proto.resources import campaign_audience_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_audience_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB CampaignAudienceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/services/campaign_audience_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x44google/ads/googleads_v2/proto/resources/campaign_audience_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"7\n\x1eGetCampaignAudienceViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x92\x02\n\x1b\x43\x61mpaignAudienceViewService\x12\xd5\x01\n\x17GetCampaignAudienceView\x12@.google.ads.googleads.v2.services.GetCampaignAudienceViewRequest\x1a\x37.google.ads.googleads.v2.resources.CampaignAudienceView\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/v2/{resource_name=customers/*/campaignAudienceViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x87\x02\n$com.google.ads.googleads.v2.servicesB CampaignAudienceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__audience__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNAUDIENCEVIEWREQUEST = _descriptor.Descriptor( - name='GetCampaignAudienceViewRequest', - full_name='google.ads.googleads.v2.services.GetCampaignAudienceViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=238, - serialized_end=293, -) - -DESCRIPTOR.message_types_by_name['GetCampaignAudienceViewRequest'] = _GETCAMPAIGNAUDIENCEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignAudienceViewRequest = _reflection.GeneratedProtocolMessageType('GetCampaignAudienceViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNAUDIENCEVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_audience_view_service_pb2' - , - __doc__ = """Request message for - [CampaignAudienceViewService.GetCampaignAudienceView][google.ads.googleads.v2.services.CampaignAudienceViewService.GetCampaignAudienceView]. - - - Attributes: - resource_name: - The resource name of the campaign audience view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignAudienceViewRequest) - )) -_sym_db.RegisterMessage(GetCampaignAudienceViewRequest) - - -DESCRIPTOR._options = None - -_CAMPAIGNAUDIENCEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='CampaignAudienceViewService', - full_name='google.ads.googleads.v2.services.CampaignAudienceViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=296, - serialized_end=570, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignAudienceView', - full_name='google.ads.googleads.v2.services.CampaignAudienceViewService.GetCampaignAudienceView', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNAUDIENCEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__audience__view__pb2._CAMPAIGNAUDIENCEVIEW, - serialized_options=_b('\202\323\344\223\0029\0227/v2/{resource_name=customers/*/campaignAudienceViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNAUDIENCEVIEWSERVICE) - -DESCRIPTOR.services_by_name['CampaignAudienceViewService'] = _CAMPAIGNAUDIENCEVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_audience_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_audience_view_service_pb2_grpc.py deleted file mode 100644 index 63f9b9815..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_audience_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__audience__view__pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__audience__view__service__pb2 - - -class CampaignAudienceViewServiceStub(object): - """Proto file describing the Campaign Audience View service. - - Service to manage campaign audience views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignAudienceView = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignAudienceViewService/GetCampaignAudienceView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__audience__view__service__pb2.GetCampaignAudienceViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__audience__view__pb2.CampaignAudienceView.FromString, - ) - - -class CampaignAudienceViewServiceServicer(object): - """Proto file describing the Campaign Audience View service. - - Service to manage campaign audience views. - """ - - def GetCampaignAudienceView(self, request, context): - """Returns the requested campaign audience view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__audience__view__service__pb2.GetCampaignAudienceViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__audience__view__pb2.CampaignAudienceView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignAudienceViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_bid_modifier_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_bid_modifier_service_pb2.py deleted file mode 100644 index cc5697d91..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_bid_modifier_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_v2/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')) -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.v2.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__bid__modifier__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_bid_modifier_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\037CampaignBidModifierServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/services/campaign_bid_modifier_service.proto\x12 google.ads.googleads.v2.services\x1a\x43google/ads/googleads_v2/proto/resources/campaign_bid_modifier.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CampaignBidModifierH\x00\x12H\n\x06update\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v2.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.v2.services.MutateCampaignBidModifierResult\"8\n\x1fMutateCampaignBidModifierResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xfd\x03\n\x1a\x43\x61mpaignBidModifierService\x12\xd1\x01\n\x16GetCampaignBidModifier\x12?.google.ads.googleads.v2.services.GetCampaignBidModifierRequest\x1a\x36.google.ads.googleads.v2.resources.CampaignBidModifier\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{resource_name=customers/*/campaignBidModifiers/*}\x12\xed\x01\n\x1aMutateCampaignBidModifiers\x12\x43.google.ads.googleads.v2.services.MutateCampaignBidModifiersRequest\x1a\x44.google.ads.googleads.v2.services.MutateCampaignBidModifiersResponse\"D\x82\xd3\xe4\x93\x02>\"9/v2/customers/{customer_id=*}/campaignBidModifiers:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v2.servicesB\x1f\x43\x61mpaignBidModifierServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNBIDMODIFIERREQUEST = _descriptor.Descriptor( - name='GetCampaignBidModifierRequest', - full_name='google.ads.googleads.v2.services.GetCampaignBidModifierRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=295, - serialized_end=349, -) - - -_MUTATECAMPAIGNBIDMODIFIERSREQUEST = _descriptor.Descriptor( - name='MutateCampaignBidModifiersRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignBidModifiersRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=352, - serialized_end=540, -) - - -_CAMPAIGNBIDMODIFIEROPERATION = _descriptor.Descriptor( - name='CampaignBidModifierOperation', - full_name='google.ads.googleads.v2.services.CampaignBidModifierOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.CampaignBidModifierOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=543, - serialized_end=801, -) - - -_MUTATECAMPAIGNBIDMODIFIERSRESPONSE = _descriptor.Descriptor( - name='MutateCampaignBidModifiersResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignBidModifiersResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=804, - serialized_end=975, -) - - -_MUTATECAMPAIGNBIDMODIFIERRESULT = _descriptor.Descriptor( - name='MutateCampaignBidModifierResult', - full_name='google.ads.googleads.v2.services.MutateCampaignBidModifierResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=977, - serialized_end=1033, -) - -_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__v2_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER -_CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNBIDMODIFIEROPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['update']) -_CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['update'].containing_oneof = _CAMPAIGNBIDMODIFIEROPERATION.oneofs_by_name['operation'] -_CAMPAIGNBIDMODIFIEROPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['remove']) -_CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNBIDMODIFIEROPERATION.oneofs_by_name['operation'] -_MUTATECAMPAIGNBIDMODIFIERSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECAMPAIGNBIDMODIFIERSRESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNBIDMODIFIERRESULT -DESCRIPTOR.message_types_by_name['GetCampaignBidModifierRequest'] = _GETCAMPAIGNBIDMODIFIERREQUEST -DESCRIPTOR.message_types_by_name['MutateCampaignBidModifiersRequest'] = _MUTATECAMPAIGNBIDMODIFIERSREQUEST -DESCRIPTOR.message_types_by_name['CampaignBidModifierOperation'] = _CAMPAIGNBIDMODIFIEROPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignBidModifiersResponse'] = _MUTATECAMPAIGNBIDMODIFIERSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignBidModifierResult'] = _MUTATECAMPAIGNBIDMODIFIERRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignBidModifierRequest = _reflection.GeneratedProtocolMessageType('GetCampaignBidModifierRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNBIDMODIFIERREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_bid_modifier_service_pb2' - , - __doc__ = """Request message for - [CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v2.services.CampaignBidModifierService.GetCampaignBidModifier]. - - - Attributes: - resource_name: - The resource name of the campaign bid modifier to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignBidModifierRequest) - )) -_sym_db.RegisterMessage(GetCampaignBidModifierRequest) - -MutateCampaignBidModifiersRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignBidModifiersRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNBIDMODIFIERSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_bid_modifier_service_pb2' - , - __doc__ = """Request message for - [CampaignBidModifierService.MutateCampaignBidModifier][]. - - - Attributes: - customer_id: - ID of the customer whose campaign bid modifiers are being - modified. - operations: - 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 - 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.v2.services.MutateCampaignBidModifiersRequest) - )) -_sym_db.RegisterMessage(MutateCampaignBidModifiersRequest) - -CampaignBidModifierOperation = _reflection.GeneratedProtocolMessageType('CampaignBidModifierOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNBIDMODIFIEROPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_bid_modifier_service_pb2' - , - __doc__ = """A single operation (create, remove, update) on a campaign bid modifier. - - - Attributes: - update_mask: - 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 - campaign bid modifier. - update: - Update operation: The campaign bid modifier is expected to - have a valid resource name. - remove: - Remove operation: A resource name for the removed campaign bid - modifier is expected, in this format: ``customers/{customer_i - d}/CampaignBidModifiers/{campaign_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignBidModifierOperation) - )) -_sym_db.RegisterMessage(CampaignBidModifierOperation) - -MutateCampaignBidModifiersResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignBidModifiersResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNBIDMODIFIERSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_bid_modifier_service_pb2' - , - __doc__ = """Response message for campaign bid modifiers 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.v2.services.MutateCampaignBidModifiersResponse) - )) -_sym_db.RegisterMessage(MutateCampaignBidModifiersResponse) - -MutateCampaignBidModifierResult = _reflection.GeneratedProtocolMessageType('MutateCampaignBidModifierResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNBIDMODIFIERRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_bid_modifier_service_pb2' - , - __doc__ = """The result for the criterion mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignBidModifierResult) - )) -_sym_db.RegisterMessage(MutateCampaignBidModifierResult) - - -DESCRIPTOR._options = None - -_CAMPAIGNBIDMODIFIERSERVICE = _descriptor.ServiceDescriptor( - name='CampaignBidModifierService', - full_name='google.ads.googleads.v2.services.CampaignBidModifierService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1036, - serialized_end=1545, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignBidModifier', - full_name='google.ads.googleads.v2.services.CampaignBidModifierService.GetCampaignBidModifier', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNBIDMODIFIERREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER, - serialized_options=_b('\202\323\344\223\0028\0226/v2/{resource_name=customers/*/campaignBidModifiers/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaignBidModifiers', - full_name='google.ads.googleads.v2.services.CampaignBidModifierService.MutateCampaignBidModifiers', - index=1, - containing_service=None, - input_type=_MUTATECAMPAIGNBIDMODIFIERSREQUEST, - output_type=_MUTATECAMPAIGNBIDMODIFIERSRESPONSE, - serialized_options=_b('\202\323\344\223\002>\"9/v2/customers/{customer_id=*}/campaignBidModifiers:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNBIDMODIFIERSERVICE) - -DESCRIPTOR.services_by_name['CampaignBidModifierService'] = _CAMPAIGNBIDMODIFIERSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_bid_modifier_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_bid_modifier_service_pb2_grpc.py deleted file mode 100644 index 4fb4cf43c..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_bid_modifier_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.v2.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2 - - -class CampaignBidModifierServiceStub(object): - """Proto file describing the Campaign Bid Modifier service. - - Service to manage campaign bid modifiers. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignBidModifier = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignBidModifierService/GetCampaignBidModifier', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.GetCampaignBidModifierRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.CampaignBidModifier.FromString, - ) - self.MutateCampaignBidModifiers = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignBidModifierService/MutateCampaignBidModifiers', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersResponse.FromString, - ) - - -class CampaignBidModifierServiceServicer(object): - """Proto file describing the Campaign Bid Modifier service. - - Service to manage campaign bid modifiers. - """ - - def GetCampaignBidModifier(self, request, context): - """Returns the requested campaign bid modifier in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaignBidModifiers(self, request, context): - """Creates, updates, or removes campaign bid modifiers. - Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.GetCampaignBidModifierRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignBidModifierService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_budget_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_budget_service_pb2.py deleted file mode 100644 index a4b996bef..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_budget_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_v2/proto/services/campaign_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.v2.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__budget__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_budget_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032CampaignBudgetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/services/campaign_budget_service.proto\x12 google.ads.googleads.v2.services\x1a=google/ads/googleads_v2/proto/resources/campaign_budget.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CampaignBudgetH\x00\x12\x43\n\x06update\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v2.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.v2.services.MutateCampaignBudgetResult\"3\n\x1aMutateCampaignBudgetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd0\x03\n\x15\x43\x61mpaignBudgetService\x12\xbd\x01\n\x11GetCampaignBudget\x12:.google.ads.googleads.v2.services.GetCampaignBudgetRequest\x1a\x31.google.ads.googleads.v2.resources.CampaignBudget\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/campaignBudgets/*}\x12\xd9\x01\n\x15MutateCampaignBudgets\x12>.google.ads.googleads.v2.services.MutateCampaignBudgetsRequest\x1a?.google.ads.googleads.v2.services.MutateCampaignBudgetsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v2/customers/{customer_id=*}/campaignBudgets:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1a\x43\x61mpaignBudgetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNBUDGETREQUEST = _descriptor.Descriptor( - name='GetCampaignBudgetRequest', - full_name='google.ads.googleads.v2.services.GetCampaignBudgetRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=283, - serialized_end=332, -) - - -_MUTATECAMPAIGNBUDGETSREQUEST = _descriptor.Descriptor( - name='MutateCampaignBudgetsRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignBudgetsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=335, - serialized_end=513, -) - - -_CAMPAIGNBUDGETOPERATION = _descriptor.Descriptor( - name='CampaignBudgetOperation', - full_name='google.ads.googleads.v2.services.CampaignBudgetOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.CampaignBudgetOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=516, - serialized_end=759, -) - - -_MUTATECAMPAIGNBUDGETSRESPONSE = _descriptor.Descriptor( - name='MutateCampaignBudgetsResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignBudgetsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=762, - serialized_end=923, -) - - -_MUTATECAMPAIGNBUDGETRESULT = _descriptor.Descriptor( - name='MutateCampaignBudgetResult', - full_name='google.ads.googleads.v2.services.MutateCampaignBudgetResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=925, - serialized_end=976, -) - -_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__v2_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET -_CAMPAIGNBUDGETOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNBUDGETOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNBUDGETOPERATION.fields_by_name['update']) -_CAMPAIGNBUDGETOPERATION.fields_by_name['update'].containing_oneof = _CAMPAIGNBUDGETOPERATION.oneofs_by_name['operation'] -_CAMPAIGNBUDGETOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNBUDGETOPERATION.fields_by_name['remove']) -_CAMPAIGNBUDGETOPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNBUDGETOPERATION.oneofs_by_name['operation'] -_MUTATECAMPAIGNBUDGETSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECAMPAIGNBUDGETSRESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNBUDGETRESULT -DESCRIPTOR.message_types_by_name['GetCampaignBudgetRequest'] = _GETCAMPAIGNBUDGETREQUEST -DESCRIPTOR.message_types_by_name['MutateCampaignBudgetsRequest'] = _MUTATECAMPAIGNBUDGETSREQUEST -DESCRIPTOR.message_types_by_name['CampaignBudgetOperation'] = _CAMPAIGNBUDGETOPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignBudgetsResponse'] = _MUTATECAMPAIGNBUDGETSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignBudgetResult'] = _MUTATECAMPAIGNBUDGETRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignBudgetRequest = _reflection.GeneratedProtocolMessageType('GetCampaignBudgetRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNBUDGETREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_budget_service_pb2' - , - __doc__ = """Request message for - [CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v2.services.CampaignBudgetService.GetCampaignBudget]. - - - Attributes: - resource_name: - The resource name of the campaign budget to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignBudgetRequest) - )) -_sym_db.RegisterMessage(GetCampaignBudgetRequest) - -MutateCampaignBudgetsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignBudgetsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNBUDGETSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_budget_service_pb2' - , - __doc__ = """Request message for - [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v2.services.CampaignBudgetService.MutateCampaignBudgets]. - - - Attributes: - customer_id: - The ID of the customer whose campaign budgets are being - modified. - operations: - 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 - 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.v2.services.MutateCampaignBudgetsRequest) - )) -_sym_db.RegisterMessage(MutateCampaignBudgetsRequest) - -CampaignBudgetOperation = _reflection.GeneratedProtocolMessageType('CampaignBudgetOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNBUDGETOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_budget_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a campaign budget. - - - Attributes: - update_mask: - 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 - budget. - update: - Update operation: The campaign budget is expected to have a - valid resource name. - remove: - Remove operation: A resource name for the removed budget is - expected, in this format: - ``customers/{customer_id}/campaignBudgets/{budget_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignBudgetOperation) - )) -_sym_db.RegisterMessage(CampaignBudgetOperation) - -MutateCampaignBudgetsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignBudgetsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNBUDGETSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_budget_service_pb2' - , - __doc__ = """Response message for campaign budget 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.v2.services.MutateCampaignBudgetsResponse) - )) -_sym_db.RegisterMessage(MutateCampaignBudgetsResponse) - -MutateCampaignBudgetResult = _reflection.GeneratedProtocolMessageType('MutateCampaignBudgetResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNBUDGETRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_budget_service_pb2' - , - __doc__ = """The result for the campaign budget mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignBudgetResult) - )) -_sym_db.RegisterMessage(MutateCampaignBudgetResult) - - -DESCRIPTOR._options = None - -_CAMPAIGNBUDGETSERVICE = _descriptor.ServiceDescriptor( - name='CampaignBudgetService', - full_name='google.ads.googleads.v2.services.CampaignBudgetService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=979, - serialized_end=1443, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignBudget', - full_name='google.ads.googleads.v2.services.CampaignBudgetService.GetCampaignBudget', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNBUDGETREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{resource_name=customers/*/campaignBudgets/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaignBudgets', - full_name='google.ads.googleads.v2.services.CampaignBudgetService.MutateCampaignBudgets', - index=1, - containing_service=None, - input_type=_MUTATECAMPAIGNBUDGETSREQUEST, - output_type=_MUTATECAMPAIGNBUDGETSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v2/customers/{customer_id=*}/campaignBudgets:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNBUDGETSERVICE) - -DESCRIPTOR.services_by_name['CampaignBudgetService'] = _CAMPAIGNBUDGETSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_budget_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_budget_service_pb2_grpc.py deleted file mode 100644 index 474461631..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_budget_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.v2.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__budget__pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2 - - -class CampaignBudgetServiceStub(object): - """Proto file describing the Campaign Budget service. - - Service to manage campaign budgets. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignBudget = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignBudgetService/GetCampaignBudget', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2.GetCampaignBudgetRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__budget__pb2.CampaignBudget.FromString, - ) - self.MutateCampaignBudgets = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignBudgetService/MutateCampaignBudgets', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsResponse.FromString, - ) - - -class CampaignBudgetServiceServicer(object): - """Proto file describing the Campaign Budget service. - - Service to manage campaign budgets. - """ - - def GetCampaignBudget(self, request, context): - """Returns the requested Campaign Budget in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaignBudgets(self, request, context): - """Creates, updates, or removes campaign budgets. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2.GetCampaignBudgetRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignBudgetService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2.py deleted file mode 100644 index 42ccc44e8..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2.py +++ /dev/null @@ -1,404 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/campaign_criterion_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.v2.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_criterion_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\035CampaignCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nGgoogle/ads/googleads_v2/proto/services/campaign_criterion_service.proto\x12 google.ads.googleads.v2.services\x1a@google/ads/googleads_v2/proto/resources/campaign_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CampaignCriterionH\x00\x12\x46\n\x06update\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v2.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.v2.services.MutateCampaignCriterionResult\"6\n\x1dMutateCampaignCriterionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe1\x03\n\x18\x43\x61mpaignCriterionService\x12\xc7\x01\n\x14GetCampaignCriterion\x12=.google.ads.googleads.v2.services.GetCampaignCriterionRequest\x1a\x34.google.ads.googleads.v2.resources.CampaignCriterion\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{resource_name=customers/*/campaignCriteria/*}\x12\xdd\x01\n\x16MutateCampaignCriteria\x12?.google.ads.googleads.v2.services.MutateCampaignCriteriaRequest\x1a@.google.ads.googleads.v2.services.MutateCampaignCriteriaResponse\"@\x82\xd3\xe4\x93\x02:\"5/v2/customers/{customer_id=*}/campaignCriteria:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v2.servicesB\x1d\x43\x61mpaignCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNCRITERIONREQUEST = _descriptor.Descriptor( - name='GetCampaignCriterionRequest', - full_name='google.ads.googleads.v2.services.GetCampaignCriterionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=289, - serialized_end=341, -) - - -_MUTATECAMPAIGNCRITERIAREQUEST = _descriptor.Descriptor( - name='MutateCampaignCriteriaRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignCriteriaRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=344, - serialized_end=526, -) - - -_CAMPAIGNCRITERIONOPERATION = _descriptor.Descriptor( - name='CampaignCriterionOperation', - full_name='google.ads.googleads.v2.services.CampaignCriterionOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.CampaignCriterionOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=529, - serialized_end=781, -) - - -_MUTATECAMPAIGNCRITERIARESPONSE = _descriptor.Descriptor( - name='MutateCampaignCriteriaResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignCriteriaResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=784, - serialized_end=949, -) - - -_MUTATECAMPAIGNCRITERIONRESULT = _descriptor.Descriptor( - name='MutateCampaignCriterionResult', - full_name='google.ads.googleads.v2.services.MutateCampaignCriterionResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=951, - serialized_end=1005, -) - -_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__v2_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION -_CAMPAIGNCRITERIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNCRITERIONOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNCRITERIONOPERATION.fields_by_name['update']) -_CAMPAIGNCRITERIONOPERATION.fields_by_name['update'].containing_oneof = _CAMPAIGNCRITERIONOPERATION.oneofs_by_name['operation'] -_CAMPAIGNCRITERIONOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNCRITERIONOPERATION.fields_by_name['remove']) -_CAMPAIGNCRITERIONOPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNCRITERIONOPERATION.oneofs_by_name['operation'] -_MUTATECAMPAIGNCRITERIARESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECAMPAIGNCRITERIARESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNCRITERIONRESULT -DESCRIPTOR.message_types_by_name['GetCampaignCriterionRequest'] = _GETCAMPAIGNCRITERIONREQUEST -DESCRIPTOR.message_types_by_name['MutateCampaignCriteriaRequest'] = _MUTATECAMPAIGNCRITERIAREQUEST -DESCRIPTOR.message_types_by_name['CampaignCriterionOperation'] = _CAMPAIGNCRITERIONOPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignCriteriaResponse'] = _MUTATECAMPAIGNCRITERIARESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignCriterionResult'] = _MUTATECAMPAIGNCRITERIONRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignCriterionRequest = _reflection.GeneratedProtocolMessageType('GetCampaignCriterionRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNCRITERIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_criterion_service_pb2' - , - __doc__ = """Request message for - [CampaignCriterionService.GetCampaignCriterion][google.ads.googleads.v2.services.CampaignCriterionService.GetCampaignCriterion]. - - - Attributes: - resource_name: - The resource name of the criterion to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignCriterionRequest) - )) -_sym_db.RegisterMessage(GetCampaignCriterionRequest) - -MutateCampaignCriteriaRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignCriteriaRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNCRITERIAREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_criterion_service_pb2' - , - __doc__ = """Request message for - [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v2.services.CampaignCriterionService.MutateCampaignCriteria]. - - - Attributes: - customer_id: - The ID of the customer whose criteria are being modified. - operations: - 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 - 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.v2.services.MutateCampaignCriteriaRequest) - )) -_sym_db.RegisterMessage(MutateCampaignCriteriaRequest) - -CampaignCriterionOperation = _reflection.GeneratedProtocolMessageType('CampaignCriterionOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNCRITERIONOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_criterion_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a campaign criterion. - - - Attributes: - update_mask: - 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 - criterion. - update: - Update operation: The criterion is expected to have a valid - resource name. - remove: - Remove operation: A resource name for the removed criterion is - expected, in this format: ``customers/{customer_id}/campaignC - riteria/{campaign_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignCriterionOperation) - )) -_sym_db.RegisterMessage(CampaignCriterionOperation) - -MutateCampaignCriteriaResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignCriteriaResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNCRITERIARESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_criterion_service_pb2' - , - __doc__ = """Response message for campaign criterion 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.v2.services.MutateCampaignCriteriaResponse) - )) -_sym_db.RegisterMessage(MutateCampaignCriteriaResponse) - -MutateCampaignCriterionResult = _reflection.GeneratedProtocolMessageType('MutateCampaignCriterionResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNCRITERIONRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_criterion_service_pb2' - , - __doc__ = """The result for the criterion mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignCriterionResult) - )) -_sym_db.RegisterMessage(MutateCampaignCriterionResult) - - -DESCRIPTOR._options = None - -_CAMPAIGNCRITERIONSERVICE = _descriptor.ServiceDescriptor( - name='CampaignCriterionService', - full_name='google.ads.googleads.v2.services.CampaignCriterionService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1008, - serialized_end=1489, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignCriterion', - full_name='google.ads.googleads.v2.services.CampaignCriterionService.GetCampaignCriterion', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNCRITERIONREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION, - serialized_options=_b('\202\323\344\223\0024\0222/v2/{resource_name=customers/*/campaignCriteria/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaignCriteria', - full_name='google.ads.googleads.v2.services.CampaignCriterionService.MutateCampaignCriteria', - index=1, - containing_service=None, - input_type=_MUTATECAMPAIGNCRITERIAREQUEST, - output_type=_MUTATECAMPAIGNCRITERIARESPONSE, - serialized_options=_b('\202\323\344\223\002:\"5/v2/customers/{customer_id=*}/campaignCriteria:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNCRITERIONSERVICE) - -DESCRIPTOR.services_by_name['CampaignCriterionService'] = _CAMPAIGNCRITERIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2_grpc.py deleted file mode 100644 index b849ca627..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_criterion_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2 - - -class CampaignCriterionServiceStub(object): - """Proto file describing the Campaign Criterion service. - - Service to manage campaign criteria. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignCriterion = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignCriterionService/GetCampaignCriterion', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2.GetCampaignCriterionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__pb2.CampaignCriterion.FromString, - ) - self.MutateCampaignCriteria = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignCriterionService/MutateCampaignCriteria', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaResponse.FromString, - ) - - -class CampaignCriterionServiceServicer(object): - """Proto file describing the Campaign Criterion service. - - Service to manage campaign criteria. - """ - - def GetCampaignCriterion(self, request, context): - """Returns the requested criterion in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaignCriteria(self, request, context): - """Creates, updates, or removes criteria. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2.GetCampaignCriterionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignCriterionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_criterion_simulation_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_criterion_simulation_service_pb2.py deleted file mode 100644 index 3da5904bc..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_criterion_simulation_service_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.resources import campaign_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_criterion_simulation_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\'CampaignCriterionSimulationServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nRgoogle/ads/googleads_v2/proto/services/campaign_criterion_simulation_service.proto\x12 google.ads.googleads.v2.services\x1aKgoogle/ads/googleads_v2/proto/resources/campaign_criterion_simulation.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\">\n%GetCampaignCriterionSimulationRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb5\x02\n\"CampaignCriterionSimulationService\x12\xf1\x01\n\x1eGetCampaignCriterionSimulation\x12G.google.ads.googleads.v2.services.GetCampaignCriterionSimulationRequest\x1a>.google.ads.googleads.v2.resources.CampaignCriterionSimulation\"F\x82\xd3\xe4\x93\x02@\x12>/v2/{resource_name=customers/*/campaignCriterionSimulations/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8e\x02\n$com.google.ads.googleads.v2.servicesB\'CampaignCriterionSimulationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNCRITERIONSIMULATIONREQUEST = _descriptor.Descriptor( - name='GetCampaignCriterionSimulationRequest', - full_name='google.ads.googleads.v2.services.GetCampaignCriterionSimulationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=252, - serialized_end=314, -) - -DESCRIPTOR.message_types_by_name['GetCampaignCriterionSimulationRequest'] = _GETCAMPAIGNCRITERIONSIMULATIONREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignCriterionSimulationRequest = _reflection.GeneratedProtocolMessageType('GetCampaignCriterionSimulationRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNCRITERIONSIMULATIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_criterion_simulation_service_pb2' - , - __doc__ = """Request message for - [CampaignCriterionSimulationService.GetCampaignCriterionSimulation][google.ads.googleads.v2.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation]. - - - Attributes: - resource_name: - The resource name of the campaign criterion simulation to - fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignCriterionSimulationRequest) - )) -_sym_db.RegisterMessage(GetCampaignCriterionSimulationRequest) - - -DESCRIPTOR._options = None - -_CAMPAIGNCRITERIONSIMULATIONSERVICE = _descriptor.ServiceDescriptor( - name='CampaignCriterionSimulationService', - full_name='google.ads.googleads.v2.services.CampaignCriterionSimulationService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=317, - serialized_end=626, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignCriterionSimulation', - full_name='google.ads.googleads.v2.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNCRITERIONSIMULATIONREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2._CAMPAIGNCRITERIONSIMULATION, - serialized_options=_b('\202\323\344\223\002@\022>/v2/{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/v2/proto/services/campaign_criterion_simulation_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_criterion_simulation_service_pb2_grpc.py deleted file mode 100644 index 5517d3356..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_criterion_simulation_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__simulation__service__pb2 - - -class CampaignCriterionSimulationServiceStub(object): - """Proto file describing the CampaignCriterionSimulation service. - - Service to fetch campaign criterion simulations. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignCriterionSimulation = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignCriterionSimulationService/GetCampaignCriterionSimulation', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__simulation__service__pb2.GetCampaignCriterionSimulationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.CampaignCriterionSimulation.FromString, - ) - - -class CampaignCriterionSimulationServiceServicer(object): - """Proto file describing the CampaignCriterionSimulation service. - - Service to fetch campaign criterion simulations. - """ - - def GetCampaignCriterionSimulation(self, request, context): - """Returns the requested campaign criterion simulation in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__criterion__simulation__service__pb2.GetCampaignCriterionSimulationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.CampaignCriterionSimulation.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignCriterionSimulationService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_draft_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_draft_service_pb2.py deleted file mode 100644 index cd2656070..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_draft_service_pb2.py +++ /dev/null @@ -1,607 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/campaign_draft_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.v2.proto.resources import campaign_draft_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__draft__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.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 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_draft_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\031CampaignDraftServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/services/campaign_draft_service.proto\x12 google.ads.googleads.v2.services\x1a.google.ads.googleads.v2.services.MutateCampaignDraftsResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v2/customers/{customer_id=*}/campaignDrafts:mutate:\x01*\x12\xd4\x01\n\x14PromoteCampaignDraft\x12=.google.ads.googleads.v2.services.PromoteCampaignDraftRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02>\"9/v2/{campaign_draft=customers/*/campaignDrafts/*}:promote:\x01*\xca\x41\x17\n\x15google.protobuf.Empty\x12\xf7\x01\n\x1cListCampaignDraftAsyncErrors\x12\x45.google.ads.googleads.v2.services.ListCampaignDraftAsyncErrorsRequest\x1a\x46.google.ads.googleads.v2.services.ListCampaignDraftAsyncErrorsResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/v2/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x80\x02\n$com.google.ads.googleads.v2.servicesB\x19\x43\x61mpaignDraftServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNDRAFTREQUEST = _descriptor.Descriptor( - name='GetCampaignDraftRequest', - full_name='google.ads.googleads.v2.services.GetCampaignDraftRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=318, - serialized_end=366, -) - - -_MUTATECAMPAIGNDRAFTSREQUEST = _descriptor.Descriptor( - name='MutateCampaignDraftsRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignDraftsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=369, - serialized_end=545, -) - - -_PROMOTECAMPAIGNDRAFTREQUEST = _descriptor.Descriptor( - name='PromoteCampaignDraftRequest', - full_name='google.ads.googleads.v2.services.PromoteCampaignDraftRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='campaign_draft', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=547, - serialized_end=600, -) - - -_CAMPAIGNDRAFTOPERATION = _descriptor.Descriptor( - name='CampaignDraftOperation', - full_name='google.ads.googleads.v2.services.CampaignDraftOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.CampaignDraftOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=603, - serialized_end=843, -) - - -_MUTATECAMPAIGNDRAFTSRESPONSE = _descriptor.Descriptor( - name='MutateCampaignDraftsResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignDraftsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=1005, -) - - -_MUTATECAMPAIGNDRAFTRESULT = _descriptor.Descriptor( - name='MutateCampaignDraftResult', - full_name='google.ads.googleads.v2.services.MutateCampaignDraftResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=1007, - serialized_end=1057, -) - - -_LISTCAMPAIGNDRAFTASYNCERRORSREQUEST = _descriptor.Descriptor( - name='ListCampaignDraftAsyncErrorsRequest', - full_name='google.ads.googleads.v2.services.ListCampaignDraftAsyncErrorsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='page_token', full_name='google.ads.googleads.v2.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.v2.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, - 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=1059, - serialized_end=1158, -) - - -_LISTCAMPAIGNDRAFTASYNCERRORSRESPONSE = _descriptor.Descriptor( - name='ListCampaignDraftAsyncErrorsResponse', - full_name='google.ads.googleads.v2.services.ListCampaignDraftAsyncErrorsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='errors', full_name='google.ads.googleads.v2.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.v2.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, - 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=1160, - serialized_end=1259, -) - -_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__v2_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT -_CAMPAIGNDRAFTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNDRAFTOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNDRAFTOPERATION.fields_by_name['update']) -_CAMPAIGNDRAFTOPERATION.fields_by_name['update'].containing_oneof = _CAMPAIGNDRAFTOPERATION.oneofs_by_name['operation'] -_CAMPAIGNDRAFTOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNDRAFTOPERATION.fields_by_name['remove']) -_CAMPAIGNDRAFTOPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNDRAFTOPERATION.oneofs_by_name['operation'] -_MUTATECAMPAIGNDRAFTSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECAMPAIGNDRAFTSRESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNDRAFTRESULT -_LISTCAMPAIGNDRAFTASYNCERRORSRESPONSE.fields_by_name['errors'].message_type = google_dot_rpc_dot_status__pb2._STATUS -DESCRIPTOR.message_types_by_name['GetCampaignDraftRequest'] = _GETCAMPAIGNDRAFTREQUEST -DESCRIPTOR.message_types_by_name['MutateCampaignDraftsRequest'] = _MUTATECAMPAIGNDRAFTSREQUEST -DESCRIPTOR.message_types_by_name['PromoteCampaignDraftRequest'] = _PROMOTECAMPAIGNDRAFTREQUEST -DESCRIPTOR.message_types_by_name['CampaignDraftOperation'] = _CAMPAIGNDRAFTOPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignDraftsResponse'] = _MUTATECAMPAIGNDRAFTSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignDraftResult'] = _MUTATECAMPAIGNDRAFTRESULT -DESCRIPTOR.message_types_by_name['ListCampaignDraftAsyncErrorsRequest'] = _LISTCAMPAIGNDRAFTASYNCERRORSREQUEST -DESCRIPTOR.message_types_by_name['ListCampaignDraftAsyncErrorsResponse'] = _LISTCAMPAIGNDRAFTASYNCERRORSRESPONSE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignDraftRequest = _reflection.GeneratedProtocolMessageType('GetCampaignDraftRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNDRAFTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_draft_service_pb2' - , - __doc__ = """Request message for - [CampaignDraftService.GetCampaignDraft][google.ads.googleads.v2.services.CampaignDraftService.GetCampaignDraft]. - - - Attributes: - resource_name: - The resource name of the campaign draft to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignDraftRequest) - )) -_sym_db.RegisterMessage(GetCampaignDraftRequest) - -MutateCampaignDraftsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignDraftsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNDRAFTSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_draft_service_pb2' - , - __doc__ = """Request message for - [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v2.services.CampaignDraftService.MutateCampaignDrafts]. - - - Attributes: - customer_id: - The ID of the customer whose campaign drafts are being - modified. - operations: - 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 - 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.v2.services.MutateCampaignDraftsRequest) - )) -_sym_db.RegisterMessage(MutateCampaignDraftsRequest) - -PromoteCampaignDraftRequest = _reflection.GeneratedProtocolMessageType('PromoteCampaignDraftRequest', (_message.Message,), dict( - DESCRIPTOR = _PROMOTECAMPAIGNDRAFTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_draft_service_pb2' - , - __doc__ = """Request message for - [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v2.services.CampaignDraftService.PromoteCampaignDraft]. - - - Attributes: - campaign_draft: - The resource name of the campaign draft to promote. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.PromoteCampaignDraftRequest) - )) -_sym_db.RegisterMessage(PromoteCampaignDraftRequest) - -CampaignDraftOperation = _reflection.GeneratedProtocolMessageType('CampaignDraftOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNDRAFTOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_draft_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a campaign draft. - - - Attributes: - update_mask: - 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 - campaign draft. - update: - Update operation: The campaign draft is expected to have a - valid resource name. - remove: - Remove operation: The campaign draft is expected to have a - valid resource name, in this format: ``customers/{customer_id - }/campaignDrafts/{base_campaign_id}~{draft_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignDraftOperation) - )) -_sym_db.RegisterMessage(CampaignDraftOperation) - -MutateCampaignDraftsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignDraftsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNDRAFTSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_draft_service_pb2' - , - __doc__ = """Response message for campaign draft 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.v2.services.MutateCampaignDraftsResponse) - )) -_sym_db.RegisterMessage(MutateCampaignDraftsResponse) - -MutateCampaignDraftResult = _reflection.GeneratedProtocolMessageType('MutateCampaignDraftResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNDRAFTRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_draft_service_pb2' - , - __doc__ = """The result for the campaign draft mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignDraftResult) - )) -_sym_db.RegisterMessage(MutateCampaignDraftResult) - -ListCampaignDraftAsyncErrorsRequest = _reflection.GeneratedProtocolMessageType('ListCampaignDraftAsyncErrorsRequest', (_message.Message,), dict( - DESCRIPTOR = _LISTCAMPAIGNDRAFTASYNCERRORSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_draft_service_pb2' - , - __doc__ = """Request message for - [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v2.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. - - - Attributes: - resource_name: - 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 - ``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.v2.services.ListCampaignDraftAsyncErrorsRequest) - )) -_sym_db.RegisterMessage(ListCampaignDraftAsyncErrorsRequest) - -ListCampaignDraftAsyncErrorsResponse = _reflection.GeneratedProtocolMessageType('ListCampaignDraftAsyncErrorsResponse', (_message.Message,), dict( - DESCRIPTOR = _LISTCAMPAIGNDRAFTASYNCERRORSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_draft_service_pb2' - , - __doc__ = """Response message for - [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v2.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. - - - Attributes: - errors: - Details of the errors when performing the asynchronous - operation. - 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.v2.services.ListCampaignDraftAsyncErrorsResponse) - )) -_sym_db.RegisterMessage(ListCampaignDraftAsyncErrorsResponse) - - -DESCRIPTOR._options = None - -_CAMPAIGNDRAFTSERVICE = _descriptor.ServiceDescriptor( - name='CampaignDraftService', - full_name='google.ads.googleads.v2.services.CampaignDraftService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1262, - serialized_end=2182, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignDraft', - full_name='google.ads.googleads.v2.services.CampaignDraftService.GetCampaignDraft', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNDRAFTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT, - serialized_options=_b('\202\323\344\223\0022\0220/v2/{resource_name=customers/*/campaignDrafts/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaignDrafts', - full_name='google.ads.googleads.v2.services.CampaignDraftService.MutateCampaignDrafts', - index=1, - containing_service=None, - input_type=_MUTATECAMPAIGNDRAFTSREQUEST, - output_type=_MUTATECAMPAIGNDRAFTSRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v2/customers/{customer_id=*}/campaignDrafts:mutate:\001*'), - ), - _descriptor.MethodDescriptor( - name='PromoteCampaignDraft', - full_name='google.ads.googleads.v2.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/v2/{campaign_draft=customers/*/campaignDrafts/*}:promote:\001*\312A\027\n\025google.protobuf.Empty'), - ), - _descriptor.MethodDescriptor( - name='ListCampaignDraftAsyncErrors', - full_name='google.ads.googleads.v2.services.CampaignDraftService.ListCampaignDraftAsyncErrors', - index=3, - containing_service=None, - input_type=_LISTCAMPAIGNDRAFTASYNCERRORSREQUEST, - output_type=_LISTCAMPAIGNDRAFTASYNCERRORSRESPONSE, - serialized_options=_b('\202\323\344\223\002B\022@/v2/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNDRAFTSERVICE) - -DESCRIPTOR.services_by_name['CampaignDraftService'] = _CAMPAIGNDRAFTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_draft_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_draft_service_pb2_grpc.py deleted file mode 100644 index 9be56f997..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_draft_service_pb2_grpc.py +++ /dev/null @@ -1,114 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__draft__pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2 -from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 - - -class CampaignDraftServiceStub(object): - """Proto file describing the Campaign Draft service. - - Service to manage campaign drafts. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignDraft = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignDraftService/GetCampaignDraft', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.GetCampaignDraftRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__draft__pb2.CampaignDraft.FromString, - ) - self.MutateCampaignDrafts = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignDraftService/MutateCampaignDrafts', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsResponse.FromString, - ) - self.PromoteCampaignDraft = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignDraftService/PromoteCampaignDraft', - request_serializer=google_dot_ads_dot_googleads__v2_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.v2.services.CampaignDraftService/ListCampaignDraftAsyncErrors', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsResponse.FromString, - ) - - -class CampaignDraftServiceServicer(object): - """Proto file describing the Campaign Draft service. - - Service to manage campaign drafts. - """ - - def GetCampaignDraft(self, request, context): - """Returns the requested campaign draft in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaignDrafts(self, request, context): - """Creates, updates, or removes campaign drafts. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PromoteCampaignDraft(self, request, context): - """Promotes the changes in a draft back to the base campaign. - - This method returns a Long Running Operation (LRO) indicating if the - Promote is done. Use [Operations.GetOperation] to poll the LRO until it - 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.v2.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of - error reasons. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListCampaignDraftAsyncErrors(self, request, context): - """Returns all errors that occurred during CampaignDraft promote. Throws an - error if called before campaign draft is promoted. - Supports standard list paging. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.GetCampaignDraftRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignDraftService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_experiment_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_experiment_service_pb2.py deleted file mode 100644 index 427604e9e..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_experiment_service_pb2.py +++ /dev/null @@ -1,893 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/campaign_experiment_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.v2.proto.resources import campaign_experiment_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__experiment__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.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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_experiment_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\036CampaignExperimentServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/services/campaign_experiment_service.proto\x12 google.ads.googleads.v2.services\x1a\x41google/ads/googleads_v2/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\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.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.v2.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\xc8\r\n\x19\x43\x61mpaignExperimentService\x12\xcd\x01\n\x15GetCampaignExperiment\x12>.google.ads.googleads.v2.services.GetCampaignExperimentRequest\x1a\x35.google.ads.googleads.v2.resources.CampaignExperiment\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/campaignExperiments/*}\x12\x9f\x02\n\x18\x43reateCampaignExperiment\x12\x41.google.ads.googleads.v2.services.CreateCampaignExperimentRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\x82\xd3\xe4\x93\x02=\"8/v2/customers/{customer_id=*}/campaignExperiments:create:\x01*\xca\x41Z\n\x15google.protobuf.Empty\x12\x41google.ads.googleads.v2.services.CreateCampaignExperimentMetadata\x12\xe9\x01\n\x19MutateCampaignExperiments\x12\x42.google.ads.googleads.v2.services.MutateCampaignExperimentsRequest\x1a\x43.google.ads.googleads.v2.services.MutateCampaignExperimentsResponse\"C\x82\xd3\xe4\x93\x02=\"8/v2/customers/{customer_id=*}/campaignExperiments:mutate:\x01*\x12\xf8\x01\n\x1aGraduateCampaignExperiment\x12\x43.google.ads.googleads.v2.services.GraduateCampaignExperimentRequest\x1a\x44.google.ads.googleads.v2.services.GraduateCampaignExperimentResponse\"O\x82\xd3\xe4\x93\x02I\"D/v2/{campaign_experiment=customers/*/campaignExperiments/*}:graduate:\x01*\x12\xe8\x01\n\x19PromoteCampaignExperiment\x12\x42.google.ads.googleads.v2.services.PromoteCampaignExperimentRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02H\"C/v2/{campaign_experiment=customers/*/campaignExperiments/*}:promote:\x01*\xca\x41\x17\n\x15google.protobuf.Empty\x12\xbb\x01\n\x15\x45ndCampaignExperiment\x12>.google.ads.googleads.v2.services.EndCampaignExperimentRequest\x1a\x16.google.protobuf.Empty\"J\x82\xd3\xe4\x93\x02\x44\"?/v2/{campaign_experiment=customers/*/campaignExperiments/*}:end:\x01*\x12\x8b\x02\n!ListCampaignExperimentAsyncErrors\x12J.google.ads.googleads.v2.services.ListCampaignExperimentAsyncErrorsRequest\x1aK.google.ads.googleads.v2.services.ListCampaignExperimentAsyncErrorsResponse\"M\x82\xd3\xe4\x93\x02G\x12\x45/v2/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1e\x43\x61mpaignExperimentServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( - name='GetCampaignExperimentRequest', - full_name='google.ads.googleads.v2.services.GetCampaignExperimentRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=357, - serialized_end=410, -) - - -_MUTATECAMPAIGNEXPERIMENTSREQUEST = _descriptor.Descriptor( - name='MutateCampaignExperimentsRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignExperimentsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=599, -) - - -_CAMPAIGNEXPERIMENTOPERATION = _descriptor.Descriptor( - name='CampaignExperimentOperation', - full_name='google.ads.googleads.v2.services.CampaignExperimentOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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.v2.services.CampaignExperimentOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=602, - serialized_end=784, -) - - -_MUTATECAMPAIGNEXPERIMENTSRESPONSE = _descriptor.Descriptor( - name='MutateCampaignExperimentsResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignExperimentsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=787, - serialized_end=956, -) - - -_MUTATECAMPAIGNEXPERIMENTRESULT = _descriptor.Descriptor( - name='MutateCampaignExperimentResult', - full_name='google.ads.googleads.v2.services.MutateCampaignExperimentResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=958, - serialized_end=1013, -) - - -_CREATECAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( - name='CreateCampaignExperimentRequest', - full_name='google.ads.googleads.v2.services.CreateCampaignExperimentRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v2.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, - 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=1016, - serialized_end=1177, -) - - -_CREATECAMPAIGNEXPERIMENTMETADATA = _descriptor.Descriptor( - name='CreateCampaignExperimentMetadata', - full_name='google.ads.googleads.v2.services.CreateCampaignExperimentMetadata', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v2.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, - 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=1179, - serialized_end=1242, -) - - -_GRADUATECAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( - name='GraduateCampaignExperimentRequest', - full_name='google.ads.googleads.v2.services.GraduateCampaignExperimentRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='campaign_budget', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1244, - serialized_end=1333, -) - - -_GRADUATECAMPAIGNEXPERIMENTRESPONSE = _descriptor.Descriptor( - name='GraduateCampaignExperimentResponse', - full_name='google.ads.googleads.v2.services.GraduateCampaignExperimentResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='graduated_campaign', full_name='google.ads.googleads.v2.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, - 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=1335, - serialized_end=1399, -) - - -_PROMOTECAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( - name='PromoteCampaignExperimentRequest', - full_name='google.ads.googleads.v2.services.PromoteCampaignExperimentRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1401, - serialized_end=1464, -) - - -_ENDCAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( - name='EndCampaignExperimentRequest', - full_name='google.ads.googleads.v2.services.EndCampaignExperimentRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1466, - serialized_end=1525, -) - - -_LISTCAMPAIGNEXPERIMENTASYNCERRORSREQUEST = _descriptor.Descriptor( - name='ListCampaignExperimentAsyncErrorsRequest', - full_name='google.ads.googleads.v2.services.ListCampaignExperimentAsyncErrorsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='page_token', full_name='google.ads.googleads.v2.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.v2.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, - 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=1527, - serialized_end=1631, -) - - -_LISTCAMPAIGNEXPERIMENTASYNCERRORSRESPONSE = _descriptor.Descriptor( - name='ListCampaignExperimentAsyncErrorsResponse', - full_name='google.ads.googleads.v2.services.ListCampaignExperimentAsyncErrorsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='errors', full_name='google.ads.googleads.v2.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.v2.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, - 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=1633, - serialized_end=1737, -) - -_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__v2_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'] -_CAMPAIGNEXPERIMENTOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNEXPERIMENTOPERATION.fields_by_name['remove']) -_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__v2_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 -DESCRIPTOR.message_types_by_name['CampaignExperimentOperation'] = _CAMPAIGNEXPERIMENTOPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignExperimentsResponse'] = _MUTATECAMPAIGNEXPERIMENTSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignExperimentResult'] = _MUTATECAMPAIGNEXPERIMENTRESULT -DESCRIPTOR.message_types_by_name['CreateCampaignExperimentRequest'] = _CREATECAMPAIGNEXPERIMENTREQUEST -DESCRIPTOR.message_types_by_name['CreateCampaignExperimentMetadata'] = _CREATECAMPAIGNEXPERIMENTMETADATA -DESCRIPTOR.message_types_by_name['GraduateCampaignExperimentRequest'] = _GRADUATECAMPAIGNEXPERIMENTREQUEST -DESCRIPTOR.message_types_by_name['GraduateCampaignExperimentResponse'] = _GRADUATECAMPAIGNEXPERIMENTRESPONSE -DESCRIPTOR.message_types_by_name['PromoteCampaignExperimentRequest'] = _PROMOTECAMPAIGNEXPERIMENTREQUEST -DESCRIPTOR.message_types_by_name['EndCampaignExperimentRequest'] = _ENDCAMPAIGNEXPERIMENTREQUEST -DESCRIPTOR.message_types_by_name['ListCampaignExperimentAsyncErrorsRequest'] = _LISTCAMPAIGNEXPERIMENTASYNCERRORSREQUEST -DESCRIPTOR.message_types_by_name['ListCampaignExperimentAsyncErrorsResponse'] = _LISTCAMPAIGNEXPERIMENTASYNCERRORSRESPONSE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('GetCampaignExperimentRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Request message for - [CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.GetCampaignExperiment]. - - - Attributes: - resource_name: - The resource name of the campaign experiment to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignExperimentRequest) - )) -_sym_db.RegisterMessage(GetCampaignExperimentRequest) - -MutateCampaignExperimentsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignExperimentsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNEXPERIMENTSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Request message for - [CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v2.services.CampaignExperimentService.MutateCampaignExperiments]. - - - Attributes: - customer_id: - The ID of the customer whose campaign experiments are being - modified. - operations: - 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 - 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.v2.services.MutateCampaignExperimentsRequest) - )) -_sym_db.RegisterMessage(MutateCampaignExperimentsRequest) - -CampaignExperimentOperation = _reflection.GeneratedProtocolMessageType('CampaignExperimentOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNEXPERIMENTOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """A single update operation on a campaign experiment. - - - Attributes: - update_mask: - FieldMask that determines which resource fields are modified - in an update. - operation: - The mutate operation. - update: - Update operation: The campaign experiment is expected to have - a valid resource name. - remove: - Remove operation: The campaign experiment is expected to have - a valid resource name, in this format: ``customers/{customer_ - id}/campaignExperiments/{campaign_experiment_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignExperimentOperation) - )) -_sym_db.RegisterMessage(CampaignExperimentOperation) - -MutateCampaignExperimentsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignExperimentsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNEXPERIMENTSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Response message for campaign experiment 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.v2.services.MutateCampaignExperimentsResponse) - )) -_sym_db.RegisterMessage(MutateCampaignExperimentsResponse) - -MutateCampaignExperimentResult = _reflection.GeneratedProtocolMessageType('MutateCampaignExperimentResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNEXPERIMENTRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """The result for the campaign experiment mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignExperimentResult) - )) -_sym_db.RegisterMessage(MutateCampaignExperimentResult) - -CreateCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('CreateCampaignExperimentRequest', (_message.Message,), dict( - DESCRIPTOR = _CREATECAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Request message for - [CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.CreateCampaignExperiment]. - - - Attributes: - customer_id: - The ID of the customer whose campaign experiment is being - created. - campaign_experiment: - 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.v2.services.CreateCampaignExperimentRequest) - )) -_sym_db.RegisterMessage(CreateCampaignExperimentRequest) - -CreateCampaignExperimentMetadata = _reflection.GeneratedProtocolMessageType('CreateCampaignExperimentMetadata', (_message.Message,), dict( - DESCRIPTOR = _CREATECAMPAIGNEXPERIMENTMETADATA, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Message used as metadata returned in Long Running Operations for - CreateCampaignExperimentRequest - - - Attributes: - campaign_experiment: - Resource name of campaign experiment created. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CreateCampaignExperimentMetadata) - )) -_sym_db.RegisterMessage(CreateCampaignExperimentMetadata) - -GraduateCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('GraduateCampaignExperimentRequest', (_message.Message,), dict( - DESCRIPTOR = _GRADUATECAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Request message for - [CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.GraduateCampaignExperiment]. - - - Attributes: - campaign_experiment: - 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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GraduateCampaignExperimentRequest) - )) -_sym_db.RegisterMessage(GraduateCampaignExperimentRequest) - -GraduateCampaignExperimentResponse = _reflection.GeneratedProtocolMessageType('GraduateCampaignExperimentResponse', (_message.Message,), dict( - DESCRIPTOR = _GRADUATECAMPAIGNEXPERIMENTRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Response message for campaign experiment graduate. - - - Attributes: - graduated_campaign: - The resource name of the campaign from the graduated - experiment. This campaign is the same one as - CampaignExperiment.experiment\_campaign. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GraduateCampaignExperimentResponse) - )) -_sym_db.RegisterMessage(GraduateCampaignExperimentResponse) - -PromoteCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('PromoteCampaignExperimentRequest', (_message.Message,), dict( - DESCRIPTOR = _PROMOTECAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Request message for - [CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.PromoteCampaignExperiment]. - - - Attributes: - campaign_experiment: - The resource name of the campaign experiment to promote. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.PromoteCampaignExperimentRequest) - )) -_sym_db.RegisterMessage(PromoteCampaignExperimentRequest) - -EndCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('EndCampaignExperimentRequest', (_message.Message,), dict( - DESCRIPTOR = _ENDCAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Request message for - [CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v2.services.CampaignExperimentService.EndCampaignExperiment]. - - - Attributes: - campaign_experiment: - The resource name of the campaign experiment to end. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.EndCampaignExperimentRequest) - )) -_sym_db.RegisterMessage(EndCampaignExperimentRequest) - -ListCampaignExperimentAsyncErrorsRequest = _reflection.GeneratedProtocolMessageType('ListCampaignExperimentAsyncErrorsRequest', (_message.Message,), dict( - DESCRIPTOR = _LISTCAMPAIGNEXPERIMENTASYNCERRORSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Request message for - [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v2.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. - - - Attributes: - resource_name: - 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 - ``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.v2.services.ListCampaignExperimentAsyncErrorsRequest) - )) -_sym_db.RegisterMessage(ListCampaignExperimentAsyncErrorsRequest) - -ListCampaignExperimentAsyncErrorsResponse = _reflection.GeneratedProtocolMessageType('ListCampaignExperimentAsyncErrorsResponse', (_message.Message,), dict( - DESCRIPTOR = _LISTCAMPAIGNEXPERIMENTASYNCERRORSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_experiment_service_pb2' - , - __doc__ = """Response message for - [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v2.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. - - - Attributes: - errors: - Details of the errors when performing the asynchronous - operation. - 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.v2.services.ListCampaignExperimentAsyncErrorsResponse) - )) -_sym_db.RegisterMessage(ListCampaignExperimentAsyncErrorsResponse) - - -DESCRIPTOR._options = None - -_CAMPAIGNEXPERIMENTSERVICE = _descriptor.ServiceDescriptor( - name='CampaignExperimentService', - full_name='google.ads.googleads.v2.services.CampaignExperimentService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1740, - serialized_end=3476, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignExperiment', - full_name='google.ads.googleads.v2.services.CampaignExperimentService.GetCampaignExperiment', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNEXPERIMENTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{resource_name=customers/*/campaignExperiments/*}'), - ), - _descriptor.MethodDescriptor( - name='CreateCampaignExperiment', - full_name='google.ads.googleads.v2.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/v2/customers/{customer_id=*}/campaignExperiments:create:\001*\312AZ\n\025google.protobuf.Empty\022Agoogle.ads.googleads.v2.services.CreateCampaignExperimentMetadata'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaignExperiments', - full_name='google.ads.googleads.v2.services.CampaignExperimentService.MutateCampaignExperiments', - index=2, - containing_service=None, - input_type=_MUTATECAMPAIGNEXPERIMENTSREQUEST, - output_type=_MUTATECAMPAIGNEXPERIMENTSRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v2/customers/{customer_id=*}/campaignExperiments:mutate:\001*'), - ), - _descriptor.MethodDescriptor( - name='GraduateCampaignExperiment', - full_name='google.ads.googleads.v2.services.CampaignExperimentService.GraduateCampaignExperiment', - index=3, - containing_service=None, - input_type=_GRADUATECAMPAIGNEXPERIMENTREQUEST, - output_type=_GRADUATECAMPAIGNEXPERIMENTRESPONSE, - serialized_options=_b('\202\323\344\223\002I\"D/v2/{campaign_experiment=customers/*/campaignExperiments/*}:graduate:\001*'), - ), - _descriptor.MethodDescriptor( - name='PromoteCampaignExperiment', - full_name='google.ads.googleads.v2.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/v2/{campaign_experiment=customers/*/campaignExperiments/*}:promote:\001*\312A\027\n\025google.protobuf.Empty'), - ), - _descriptor.MethodDescriptor( - name='EndCampaignExperiment', - full_name='google.ads.googleads.v2.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\"?/v2/{campaign_experiment=customers/*/campaignExperiments/*}:end:\001*'), - ), - _descriptor.MethodDescriptor( - name='ListCampaignExperimentAsyncErrors', - full_name='google.ads.googleads.v2.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors', - index=6, - containing_service=None, - input_type=_LISTCAMPAIGNEXPERIMENTASYNCERRORSREQUEST, - output_type=_LISTCAMPAIGNEXPERIMENTASYNCERRORSRESPONSE, - serialized_options=_b('\202\323\344\223\002G\022E/v2/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNEXPERIMENTSERVICE) - -DESCRIPTOR.services_by_name['CampaignExperimentService'] = _CAMPAIGNEXPERIMENTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_experiment_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_experiment_service_pb2_grpc.py deleted file mode 100644 index 47c32ba67..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_experiment_service_pb2_grpc.py +++ /dev/null @@ -1,192 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__experiment__pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 as google_dot_ads_dot_googleads__v2_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 - - -class CampaignExperimentServiceStub(object): - """Proto file describing the Campaign Experiment service. - - CampaignExperimentService manages the life cycle of campaign experiments. - It is used to create new experiments from drafts, modify experiment - properties, promote changes in an experiment back to its base campaign, - graduate experiments into new stand-alone campaigns, and to remove an - experiment. - - An experiment consists of two variants or arms - the base campaign and the - experiment campaign, directing a fixed share of traffic to each arm. - A campaign experiment is created from a draft of changes to the base campaign - and will be a snapshot of changes in the draft at the time of creation. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignExperiment = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignExperimentService/GetCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GetCampaignExperimentRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__experiment__pb2.CampaignExperiment.FromString, - ) - self.CreateCampaignExperiment = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignExperimentService/CreateCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v2_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.v2.services.CampaignExperimentService/MutateCampaignExperiments', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsResponse.FromString, - ) - self.GraduateCampaignExperiment = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignExperimentService/GraduateCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentResponse.FromString, - ) - self.PromoteCampaignExperiment = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignExperimentService/PromoteCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v2_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.v2.services.CampaignExperimentService/EndCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v2_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.v2.services.CampaignExperimentService/ListCampaignExperimentAsyncErrors', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsResponse.FromString, - ) - - -class CampaignExperimentServiceServicer(object): - """Proto file describing the Campaign Experiment service. - - CampaignExperimentService manages the life cycle of campaign experiments. - It is used to create new experiments from drafts, modify experiment - properties, promote changes in an experiment back to its base campaign, - graduate experiments into new stand-alone campaigns, and to remove an - experiment. - - An experiment consists of two variants or arms - the base campaign and the - experiment campaign, directing a fixed share of traffic to each arm. - A campaign experiment is created from a draft of changes to the base campaign - and will be a snapshot of changes in the draft at the time of creation. - """ - - def GetCampaignExperiment(self, request, context): - """Returns the requested campaign experiment in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateCampaignExperiment(self, request, context): - """Creates a campaign experiment based on a campaign draft. The draft campaign - will be forked into a real campaign (called the experiment campaign) that - will begin serving ads if successfully created. - - The campaign experiment is created immediately with status INITIALIZING. - This method return a long running operation that tracks the forking of the - draft campaign. If the forking fails, a list of errors can be retrieved - using the ListCampaignExperimentAsyncErrors method. The operation's - metadata will be a StringValue containing the resource name of the created - campaign experiment. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaignExperiments(self, request, context): - """Updates campaign experiments. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GraduateCampaignExperiment(self, request, context): - """Graduates a campaign experiment to a full campaign. The base and experiment - campaigns will start running independently with their own budgets. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PromoteCampaignExperiment(self, request, context): - """Promotes the changes in a experiment campaign back to the base campaign. - - The campaign experiment is updated immediately with status PROMOTING. - This method return a long running operation that tracks the promoting of - the experiment campaign. If the promoting fails, a list of errors can be - retrieved using the ListCampaignExperimentAsyncErrors method. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def EndCampaignExperiment(self, request, context): - """Immediately ends a campaign experiment, changing the experiment's scheduled - end date and without waiting for end of day. End date is updated to be the - time of the request. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListCampaignExperimentAsyncErrors(self, request, context): - """Returns all errors that occurred during CampaignExperiment create or - promote (whichever occurred last). - Supports standard list paging. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GetCampaignExperimentRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignExperimentService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_extension_setting_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_extension_setting_service_pb2.py deleted file mode 100644 index fb8ae6e3f..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_extension_setting_service_pb2.py +++ /dev/null @@ -1,408 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import campaign_extension_setting_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__extension__setting__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_extension_setting_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB$CampaignExtensionSettingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nOgoogle/ads/googleads_v2/proto/services/campaign_extension_setting_service.proto\x12 google.ads.googleads.v2.services\x1aHgoogle/ads/googleads_v2/proto/resources/campaign_extension_setting.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CampaignExtensionSettingH\x00\x12M\n\x06update\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v2.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.v2.services.MutateCampaignExtensionSettingResult\"=\n$MutateCampaignExtensionSettingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xaa\x04\n\x1f\x43\x61mpaignExtensionSettingService\x12\xe5\x01\n\x1bGetCampaignExtensionSetting\x12\x44.google.ads.googleads.v2.services.GetCampaignExtensionSettingRequest\x1a;.google.ads.googleads.v2.resources.CampaignExtensionSetting\"C\x82\xd3\xe4\x93\x02=\x12;/v2/{resource_name=customers/*/campaignExtensionSettings/*}\x12\x81\x02\n\x1fMutateCampaignExtensionSettings\x12H.google.ads.googleads.v2.services.MutateCampaignExtensionSettingsRequest\x1aI.google.ads.googleads.v2.services.MutateCampaignExtensionSettingsResponse\"I\x82\xd3\xe4\x93\x02\x43\">/v2/customers/{customer_id=*}/campaignExtensionSettings:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8b\x02\n$com.google.ads.googleads.v2.servicesB$CampaignExtensionSettingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNEXTENSIONSETTINGREQUEST = _descriptor.Descriptor( - name='GetCampaignExtensionSettingRequest', - full_name='google.ads.googleads.v2.services.GetCampaignExtensionSettingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=305, - serialized_end=364, -) - - -_MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST = _descriptor.Descriptor( - name='MutateCampaignExtensionSettingsRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignExtensionSettingsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=367, - serialized_end=565, -) - - -_CAMPAIGNEXTENSIONSETTINGOPERATION = _descriptor.Descriptor( - name='CampaignExtensionSettingOperation', - full_name='google.ads.googleads.v2.services.CampaignExtensionSettingOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.CampaignExtensionSettingOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=568, - serialized_end=841, -) - - -_MUTATECAMPAIGNEXTENSIONSETTINGSRESPONSE = _descriptor.Descriptor( - name='MutateCampaignExtensionSettingsResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignExtensionSettingsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=844, - serialized_end=1025, -) - - -_MUTATECAMPAIGNEXTENSIONSETTINGRESULT = _descriptor.Descriptor( - name='MutateCampaignExtensionSettingResult', - full_name='google.ads.googleads.v2.services.MutateCampaignExtensionSettingResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=1027, - serialized_end=1088, -) - -_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__v2_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING -_CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['update']) -_CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['update'].containing_oneof = _CAMPAIGNEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'] -_CAMPAIGNEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['remove']) -_CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'] -_MUTATECAMPAIGNEXTENSIONSETTINGSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECAMPAIGNEXTENSIONSETTINGSRESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNEXTENSIONSETTINGRESULT -DESCRIPTOR.message_types_by_name['GetCampaignExtensionSettingRequest'] = _GETCAMPAIGNEXTENSIONSETTINGREQUEST -DESCRIPTOR.message_types_by_name['MutateCampaignExtensionSettingsRequest'] = _MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST -DESCRIPTOR.message_types_by_name['CampaignExtensionSettingOperation'] = _CAMPAIGNEXTENSIONSETTINGOPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignExtensionSettingsResponse'] = _MUTATECAMPAIGNEXTENSIONSETTINGSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignExtensionSettingResult'] = _MUTATECAMPAIGNEXTENSIONSETTINGRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignExtensionSettingRequest = _reflection.GeneratedProtocolMessageType('GetCampaignExtensionSettingRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNEXTENSIONSETTINGREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_extension_setting_service_pb2' - , - __doc__ = """Request message for - [CampaignExtensionSettingService.GetCampaignExtensionSetting][google.ads.googleads.v2.services.CampaignExtensionSettingService.GetCampaignExtensionSetting]. - - - Attributes: - resource_name: - The resource name of the campaign extension setting to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignExtensionSettingRequest) - )) -_sym_db.RegisterMessage(GetCampaignExtensionSettingRequest) - -MutateCampaignExtensionSettingsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignExtensionSettingsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_extension_setting_service_pb2' - , - __doc__ = """Request message for - [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v2.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. - - - Attributes: - customer_id: - The ID of the customer whose campaign extension settings are - being modified. - operations: - 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 - 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.v2.services.MutateCampaignExtensionSettingsRequest) - )) -_sym_db.RegisterMessage(MutateCampaignExtensionSettingsRequest) - -CampaignExtensionSettingOperation = _reflection.GeneratedProtocolMessageType('CampaignExtensionSettingOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNEXTENSIONSETTINGOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_extension_setting_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a campaign extension - setting. - - - Attributes: - update_mask: - 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 - campaign extension setting. - update: - Update operation: The campaign extension setting is expected - to have a valid resource name. - remove: - Remove operation: A resource name for the removed campaign - extension setting is expected, in this format: ``customers/{c - ustomer_id}/campaignExtensionSettings/{campaign_id}~{extension - _type}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignExtensionSettingOperation) - )) -_sym_db.RegisterMessage(CampaignExtensionSettingOperation) - -MutateCampaignExtensionSettingsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignExtensionSettingsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNEXTENSIONSETTINGSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_extension_setting_service_pb2' - , - __doc__ = """Response message for a campaign extension setting 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.v2.services.MutateCampaignExtensionSettingsResponse) - )) -_sym_db.RegisterMessage(MutateCampaignExtensionSettingsResponse) - -MutateCampaignExtensionSettingResult = _reflection.GeneratedProtocolMessageType('MutateCampaignExtensionSettingResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNEXTENSIONSETTINGRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_extension_setting_service_pb2' - , - __doc__ = """The result for the campaign extension setting mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignExtensionSettingResult) - )) -_sym_db.RegisterMessage(MutateCampaignExtensionSettingResult) - - -DESCRIPTOR._options = None - -_CAMPAIGNEXTENSIONSETTINGSERVICE = _descriptor.ServiceDescriptor( - name='CampaignExtensionSettingService', - full_name='google.ads.googleads.v2.services.CampaignExtensionSettingService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1091, - serialized_end=1645, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignExtensionSetting', - full_name='google.ads.googleads.v2.services.CampaignExtensionSettingService.GetCampaignExtensionSetting', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNEXTENSIONSETTINGREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING, - serialized_options=_b('\202\323\344\223\002=\022;/v2/{resource_name=customers/*/campaignExtensionSettings/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaignExtensionSettings', - full_name='google.ads.googleads.v2.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings', - index=1, - containing_service=None, - input_type=_MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST, - output_type=_MUTATECAMPAIGNEXTENSIONSETTINGSRESPONSE, - serialized_options=_b('\202\323\344\223\002C\">/v2/customers/{customer_id=*}/campaignExtensionSettings:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNEXTENSIONSETTINGSERVICE) - -DESCRIPTOR.services_by_name['CampaignExtensionSettingService'] = _CAMPAIGNEXTENSIONSETTINGSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_extension_setting_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_extension_setting_service_pb2_grpc.py deleted file mode 100644 index 31671390a..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_extension_setting_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.v2.proto.resources import campaign_extension_setting_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__extension__setting__pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2 - - -class CampaignExtensionSettingServiceStub(object): - """Proto file describing the CampaignExtensionSetting service. - - Service to manage campaign extension settings. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignExtensionSetting = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignExtensionSettingService/GetCampaignExtensionSetting', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.GetCampaignExtensionSettingRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.CampaignExtensionSetting.FromString, - ) - self.MutateCampaignExtensionSettings = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsResponse.FromString, - ) - - -class CampaignExtensionSettingServiceServicer(object): - """Proto file describing the CampaignExtensionSetting service. - - Service to manage campaign extension settings. - """ - - def GetCampaignExtensionSetting(self, request, context): - """Returns the requested campaign extension setting in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaignExtensionSettings(self, request, context): - """Creates, updates, or removes campaign extension settings. Operation - statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.GetCampaignExtensionSettingRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignExtensionSettingService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_feed_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_feed_service_pb2.py deleted file mode 100644 index d00d102ef..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_feed_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_v2/proto/services/campaign_feed_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.v2.proto.resources import campaign_feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__feed__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_feed_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\030CampaignFeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/services/campaign_feed_service.proto\x12 google.ads.googleads.v2.services\x1a;google/ads/googleads_v2/proto/resources/campaign_feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CampaignFeedH\x00\x12\x41\n\x06update\x18\x02 \x01(\x0b\x32/.google.ads.googleads.v2.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.v2.services.MutateCampaignFeedResult\"1\n\x18MutateCampaignFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xbe\x03\n\x13\x43\x61mpaignFeedService\x12\xb5\x01\n\x0fGetCampaignFeed\x12\x38.google.ads.googleads.v2.services.GetCampaignFeedRequest\x1a/.google.ads.googleads.v2.resources.CampaignFeed\"7\x82\xd3\xe4\x93\x02\x31\x12//v2/{resource_name=customers/*/campaignFeeds/*}\x12\xd1\x01\n\x13MutateCampaignFeeds\x12<.google.ads.googleads.v2.services.MutateCampaignFeedsRequest\x1a=.google.ads.googleads.v2.services.MutateCampaignFeedsResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v2/customers/{customer_id=*}/campaignFeeds:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v2.servicesB\x18\x43\x61mpaignFeedServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNFEEDREQUEST = _descriptor.Descriptor( - name='GetCampaignFeedRequest', - full_name='google.ads.googleads.v2.services.GetCampaignFeedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=279, - serialized_end=326, -) - - -_MUTATECAMPAIGNFEEDSREQUEST = _descriptor.Descriptor( - name='MutateCampaignFeedsRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignFeedsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=329, - serialized_end=503, -) - - -_CAMPAIGNFEEDOPERATION = _descriptor.Descriptor( - name='CampaignFeedOperation', - full_name='google.ads.googleads.v2.services.CampaignFeedOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.CampaignFeedOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=506, - serialized_end=743, -) - - -_MUTATECAMPAIGNFEEDSRESPONSE = _descriptor.Descriptor( - name='MutateCampaignFeedsResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignFeedsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=746, - serialized_end=903, -) - - -_MUTATECAMPAIGNFEEDRESULT = _descriptor.Descriptor( - name='MutateCampaignFeedResult', - full_name='google.ads.googleads.v2.services.MutateCampaignFeedResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=905, - serialized_end=954, -) - -_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__v2_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED -_CAMPAIGNFEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNFEEDOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNFEEDOPERATION.fields_by_name['update']) -_CAMPAIGNFEEDOPERATION.fields_by_name['update'].containing_oneof = _CAMPAIGNFEEDOPERATION.oneofs_by_name['operation'] -_CAMPAIGNFEEDOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNFEEDOPERATION.fields_by_name['remove']) -_CAMPAIGNFEEDOPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNFEEDOPERATION.oneofs_by_name['operation'] -_MUTATECAMPAIGNFEEDSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECAMPAIGNFEEDSRESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNFEEDRESULT -DESCRIPTOR.message_types_by_name['GetCampaignFeedRequest'] = _GETCAMPAIGNFEEDREQUEST -DESCRIPTOR.message_types_by_name['MutateCampaignFeedsRequest'] = _MUTATECAMPAIGNFEEDSREQUEST -DESCRIPTOR.message_types_by_name['CampaignFeedOperation'] = _CAMPAIGNFEEDOPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignFeedsResponse'] = _MUTATECAMPAIGNFEEDSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignFeedResult'] = _MUTATECAMPAIGNFEEDRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignFeedRequest = _reflection.GeneratedProtocolMessageType('GetCampaignFeedRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNFEEDREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_feed_service_pb2' - , - __doc__ = """Request message for - [CampaignFeedService.GetCampaignFeed][google.ads.googleads.v2.services.CampaignFeedService.GetCampaignFeed]. - - - Attributes: - resource_name: - The resource name of the campaign feed to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignFeedRequest) - )) -_sym_db.RegisterMessage(GetCampaignFeedRequest) - -MutateCampaignFeedsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignFeedsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNFEEDSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_feed_service_pb2' - , - __doc__ = """Request message for - [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v2.services.CampaignFeedService.MutateCampaignFeeds]. - - - Attributes: - customer_id: - The ID of the customer whose campaign feeds are being - modified. - operations: - 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 - 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.v2.services.MutateCampaignFeedsRequest) - )) -_sym_db.RegisterMessage(MutateCampaignFeedsRequest) - -CampaignFeedOperation = _reflection.GeneratedProtocolMessageType('CampaignFeedOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNFEEDOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_feed_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a campaign feed. - - - Attributes: - update_mask: - 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 - campaign feed. - update: - Update operation: The campaign feed is expected to have a - valid resource name. - remove: - Remove operation: A resource name for the removed campaign - feed is expected, in this format: ``customers/{customer_id}/c - ampaignFeeds/{campaign_id}~{feed_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignFeedOperation) - )) -_sym_db.RegisterMessage(CampaignFeedOperation) - -MutateCampaignFeedsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignFeedsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNFEEDSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_feed_service_pb2' - , - __doc__ = """Response message for a campaign feed 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.v2.services.MutateCampaignFeedsResponse) - )) -_sym_db.RegisterMessage(MutateCampaignFeedsResponse) - -MutateCampaignFeedResult = _reflection.GeneratedProtocolMessageType('MutateCampaignFeedResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNFEEDRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_feed_service_pb2' - , - __doc__ = """The result for the campaign feed mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignFeedResult) - )) -_sym_db.RegisterMessage(MutateCampaignFeedResult) - - -DESCRIPTOR._options = None - -_CAMPAIGNFEEDSERVICE = _descriptor.ServiceDescriptor( - name='CampaignFeedService', - full_name='google.ads.googleads.v2.services.CampaignFeedService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=957, - serialized_end=1403, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignFeed', - full_name='google.ads.googleads.v2.services.CampaignFeedService.GetCampaignFeed', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNFEEDREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED, - serialized_options=_b('\202\323\344\223\0021\022//v2/{resource_name=customers/*/campaignFeeds/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaignFeeds', - full_name='google.ads.googleads.v2.services.CampaignFeedService.MutateCampaignFeeds', - index=1, - containing_service=None, - input_type=_MUTATECAMPAIGNFEEDSREQUEST, - output_type=_MUTATECAMPAIGNFEEDSRESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v2/customers/{customer_id=*}/campaignFeeds:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNFEEDSERVICE) - -DESCRIPTOR.services_by_name['CampaignFeedService'] = _CAMPAIGNFEEDSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_feed_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_feed_service_pb2_grpc.py deleted file mode 100644 index de84e07b1..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_feed_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.v2.proto.resources import campaign_feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__feed__pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2 - - -class CampaignFeedServiceStub(object): - """Proto file describing the CampaignFeed service. - - Service to manage campaign feeds. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignFeed = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignFeedService/GetCampaignFeed', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2.GetCampaignFeedRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__feed__pb2.CampaignFeed.FromString, - ) - self.MutateCampaignFeeds = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignFeedService/MutateCampaignFeeds', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsResponse.FromString, - ) - - -class CampaignFeedServiceServicer(object): - """Proto file describing the CampaignFeed service. - - Service to manage campaign feeds. - """ - - def GetCampaignFeed(self, request, context): - """Returns the requested campaign feed in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaignFeeds(self, request, context): - """Creates, updates, or removes campaign feeds. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2.GetCampaignFeedRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignFeedService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_label_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_label_service_pb2.py deleted file mode 100644 index 9bdfaf72c..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_label_service_pb2.py +++ /dev/null @@ -1,380 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/campaign_label_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.v2.proto.resources import campaign_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__label__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_label_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\031CampaignLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/services/campaign_label_service.proto\x12 google.ads.googleads.v2.services\x1a.google.ads.googleads.v2.services.MutateCampaignLabelsResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v2/customers/{customer_id=*}/campaignLabels:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x80\x02\n$com.google.ads.googleads.v2.servicesB\x19\x43\x61mpaignLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNLABELREQUEST = _descriptor.Descriptor( - name='GetCampaignLabelRequest', - full_name='google.ads.googleads.v2.services.GetCampaignLabelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=247, - serialized_end=295, -) - - -_MUTATECAMPAIGNLABELSREQUEST = _descriptor.Descriptor( - name='MutateCampaignLabelsRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignLabelsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=298, - serialized_end=474, -) - - -_CAMPAIGNLABELOPERATION = _descriptor.Descriptor( - name='CampaignLabelOperation', - full_name='google.ads.googleads.v2.services.CampaignLabelOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.CampaignLabelOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=476, - serialized_end=599, -) - - -_MUTATECAMPAIGNLABELSRESPONSE = _descriptor.Descriptor( - name='MutateCampaignLabelsResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignLabelsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=602, - serialized_end=761, -) - - -_MUTATECAMPAIGNLABELRESULT = _descriptor.Descriptor( - name='MutateCampaignLabelResult', - full_name='google.ads.googleads.v2.services.MutateCampaignLabelResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=763, - serialized_end=813, -) - -_MUTATECAMPAIGNLABELSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNLABELOPERATION -_CAMPAIGNLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNLABELOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNLABELOPERATION.fields_by_name['remove']) -_CAMPAIGNLABELOPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNLABELOPERATION.oneofs_by_name['operation'] -_MUTATECAMPAIGNLABELSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECAMPAIGNLABELSRESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNLABELRESULT -DESCRIPTOR.message_types_by_name['GetCampaignLabelRequest'] = _GETCAMPAIGNLABELREQUEST -DESCRIPTOR.message_types_by_name['MutateCampaignLabelsRequest'] = _MUTATECAMPAIGNLABELSREQUEST -DESCRIPTOR.message_types_by_name['CampaignLabelOperation'] = _CAMPAIGNLABELOPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignLabelsResponse'] = _MUTATECAMPAIGNLABELSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignLabelResult'] = _MUTATECAMPAIGNLABELRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignLabelRequest = _reflection.GeneratedProtocolMessageType('GetCampaignLabelRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNLABELREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_label_service_pb2' - , - __doc__ = """Request message for - [CampaignLabelService.GetCampaignLabel][google.ads.googleads.v2.services.CampaignLabelService.GetCampaignLabel]. - - - Attributes: - resource_name: - The resource name of the campaign-label relationship to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignLabelRequest) - )) -_sym_db.RegisterMessage(GetCampaignLabelRequest) - -MutateCampaignLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignLabelsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNLABELSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_label_service_pb2' - , - __doc__ = """Request message for - [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v2.services.CampaignLabelService.MutateCampaignLabels]. - - - Attributes: - customer_id: - ID of the customer whose campaign-label relationships are - being modified. - operations: - The list of operations to perform on campaign-label - relationships. - 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.v2.services.MutateCampaignLabelsRequest) - )) -_sym_db.RegisterMessage(MutateCampaignLabelsRequest) - -CampaignLabelOperation = _reflection.GeneratedProtocolMessageType('CampaignLabelOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNLABELOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_label_service_pb2' - , - __doc__ = """A single operation (create, remove) on a campaign-label relationship. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - campaign-label relationship. - remove: - Remove operation: A resource name for the campaign-label - relationship being removed, in this format: ``customers/{cust - omer_id}/campaignLabels/{campaign_id}~{label_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignLabelOperation) - )) -_sym_db.RegisterMessage(CampaignLabelOperation) - -MutateCampaignLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignLabelsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNLABELSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_label_service_pb2' - , - __doc__ = """Response message for a campaign labels 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.v2.services.MutateCampaignLabelsResponse) - )) -_sym_db.RegisterMessage(MutateCampaignLabelsResponse) - -MutateCampaignLabelResult = _reflection.GeneratedProtocolMessageType('MutateCampaignLabelResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNLABELRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_label_service_pb2' - , - __doc__ = """The result for a campaign label mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignLabelResult) - )) -_sym_db.RegisterMessage(MutateCampaignLabelResult) - - -DESCRIPTOR._options = None - -_CAMPAIGNLABELSERVICE = _descriptor.ServiceDescriptor( - name='CampaignLabelService', - full_name='google.ads.googleads.v2.services.CampaignLabelService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=816, - serialized_end=1271, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignLabel', - full_name='google.ads.googleads.v2.services.CampaignLabelService.GetCampaignLabel', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__label__pb2._CAMPAIGNLABEL, - serialized_options=_b('\202\323\344\223\0022\0220/v2/{resource_name=customers/*/campaignLabels/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaignLabels', - full_name='google.ads.googleads.v2.services.CampaignLabelService.MutateCampaignLabels', - index=1, - containing_service=None, - input_type=_MUTATECAMPAIGNLABELSREQUEST, - output_type=_MUTATECAMPAIGNLABELSRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v2/customers/{customer_id=*}/campaignLabels:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNLABELSERVICE) - -DESCRIPTOR.services_by_name['CampaignLabelService'] = _CAMPAIGNLABELSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_label_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_label_service_pb2_grpc.py deleted file mode 100644 index 1f052f7e7..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_label_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.v2.proto.resources import campaign_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__label__pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__label__service__pb2 - - -class CampaignLabelServiceStub(object): - """Proto file describing the Campaign Label service. - - Service to manage labels on campaigns. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignLabel = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignLabelService/GetCampaignLabel', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__label__service__pb2.GetCampaignLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__label__pb2.CampaignLabel.FromString, - ) - self.MutateCampaignLabels = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignLabelService/MutateCampaignLabels', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsResponse.FromString, - ) - - -class CampaignLabelServiceServicer(object): - """Proto file describing the Campaign Label service. - - Service to manage labels on campaigns. - """ - - def GetCampaignLabel(self, request, context): - """Returns the requested campaign-label relationship in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaignLabels(self, request, context): - """Creates and removes campaign-label relationships. - Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__label__service__pb2.GetCampaignLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignLabelService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_service_pb2.py deleted file mode 100644 index 7b09073f7..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_service_pb2.py +++ /dev/null @@ -1,404 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/campaign_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.v2.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\024CampaignServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/services/campaign_service.proto\x12 google.ads.googleads.v2.services\x1a\x36google/ads/googleads_v2/proto/resources/campaign.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CampaignH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v2.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.v2.services.MutateCampaignResult\"-\n\x14MutateCampaignResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9a\x03\n\x0f\x43\x61mpaignService\x12\xa5\x01\n\x0bGetCampaign\x12\x34.google.ads.googleads.v2.services.GetCampaignRequest\x1a+.google.ads.googleads.v2.resources.Campaign\"3\x82\xd3\xe4\x93\x02-\x12+/v2/{resource_name=customers/*/campaigns/*}\x12\xc1\x01\n\x0fMutateCampaigns\x12\x38.google.ads.googleads.v2.services.MutateCampaignsRequest\x1a\x39.google.ads.googleads.v2.services.MutateCampaignsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v2/customers/{customer_id=*}/campaigns:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v2.servicesB\x14\x43\x61mpaignServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNREQUEST = _descriptor.Descriptor( - name='GetCampaignRequest', - full_name='google.ads.googleads.v2.services.GetCampaignRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=269, - serialized_end=312, -) - - -_MUTATECAMPAIGNSREQUEST = _descriptor.Descriptor( - name='MutateCampaignsRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=315, - serialized_end=481, -) - - -_CAMPAIGNOPERATION = _descriptor.Descriptor( - name='CampaignOperation', - full_name='google.ads.googleads.v2.services.CampaignOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.CampaignOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=484, - serialized_end=709, -) - - -_MUTATECAMPAIGNSRESPONSE = _descriptor.Descriptor( - name='MutateCampaignsResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=712, - serialized_end=861, -) - - -_MUTATECAMPAIGNRESULT = _descriptor.Descriptor( - name='MutateCampaignResult', - full_name='google.ads.googleads.v2.services.MutateCampaignResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=863, - serialized_end=908, -) - -_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__v2_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN -_CAMPAIGNOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNOPERATION.fields_by_name['update']) -_CAMPAIGNOPERATION.fields_by_name['update'].containing_oneof = _CAMPAIGNOPERATION.oneofs_by_name['operation'] -_CAMPAIGNOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNOPERATION.fields_by_name['remove']) -_CAMPAIGNOPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNOPERATION.oneofs_by_name['operation'] -_MUTATECAMPAIGNSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECAMPAIGNSRESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNRESULT -DESCRIPTOR.message_types_by_name['GetCampaignRequest'] = _GETCAMPAIGNREQUEST -DESCRIPTOR.message_types_by_name['MutateCampaignsRequest'] = _MUTATECAMPAIGNSREQUEST -DESCRIPTOR.message_types_by_name['CampaignOperation'] = _CAMPAIGNOPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignsResponse'] = _MUTATECAMPAIGNSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignResult'] = _MUTATECAMPAIGNRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignRequest = _reflection.GeneratedProtocolMessageType('GetCampaignRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_service_pb2' - , - __doc__ = """Request message for - [CampaignService.GetCampaign][google.ads.googleads.v2.services.CampaignService.GetCampaign]. - - - Attributes: - resource_name: - The resource name of the campaign to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignRequest) - )) -_sym_db.RegisterMessage(GetCampaignRequest) - -MutateCampaignsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_service_pb2' - , - __doc__ = """Request message for - [CampaignService.MutateCampaigns][google.ads.googleads.v2.services.CampaignService.MutateCampaigns]. - - - Attributes: - customer_id: - The ID of the customer whose campaigns are being modified. - operations: - 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 - 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.v2.services.MutateCampaignsRequest) - )) -_sym_db.RegisterMessage(MutateCampaignsRequest) - -CampaignOperation = _reflection.GeneratedProtocolMessageType('CampaignOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a campaign. - - - Attributes: - update_mask: - 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 - campaign. - update: - Update operation: The campaign is expected to have a valid - resource name. - remove: - Remove operation: A resource name for the removed campaign is - expected, in this format: - ``customers/{customer_id}/campaigns/{campaign_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignOperation) - )) -_sym_db.RegisterMessage(CampaignOperation) - -MutateCampaignsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_service_pb2' - , - __doc__ = """Response message for campaign 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.v2.services.MutateCampaignsResponse) - )) -_sym_db.RegisterMessage(MutateCampaignsResponse) - -MutateCampaignResult = _reflection.GeneratedProtocolMessageType('MutateCampaignResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_service_pb2' - , - __doc__ = """The result for the campaign mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignResult) - )) -_sym_db.RegisterMessage(MutateCampaignResult) - - -DESCRIPTOR._options = None - -_CAMPAIGNSERVICE = _descriptor.ServiceDescriptor( - name='CampaignService', - full_name='google.ads.googleads.v2.services.CampaignService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=911, - serialized_end=1321, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaign', - full_name='google.ads.googleads.v2.services.CampaignService.GetCampaign', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN, - serialized_options=_b('\202\323\344\223\002-\022+/v2/{resource_name=customers/*/campaigns/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaigns', - full_name='google.ads.googleads.v2.services.CampaignService.MutateCampaigns', - index=1, - containing_service=None, - input_type=_MUTATECAMPAIGNSREQUEST, - output_type=_MUTATECAMPAIGNSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v2/customers/{customer_id=*}/campaigns:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNSERVICE) - -DESCRIPTOR.services_by_name['CampaignService'] = _CAMPAIGNSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_service_pb2_grpc.py deleted file mode 100644 index 23d73d24c..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__service__pb2 - - -class CampaignServiceStub(object): - """Proto file describing the Campaign service. - - Service to manage campaigns. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaign = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignService/GetCampaign', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__service__pb2.GetCampaignRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__pb2.Campaign.FromString, - ) - self.MutateCampaigns = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignService/MutateCampaigns', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsResponse.FromString, - ) - - -class CampaignServiceServicer(object): - """Proto file describing the Campaign service. - - Service to manage campaigns. - """ - - def GetCampaign(self, request, context): - """Returns the requested campaign in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaigns(self, request, context): - """Creates, updates, or removes campaigns. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__service__pb2.GetCampaignRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/campaign_shared_set_service_pb2.py b/google/ads/google_ads/v2/proto/services/campaign_shared_set_service_pb2.py deleted file mode 100644 index b4f32d11d..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_shared_set_service_pb2.py +++ /dev/null @@ -1,380 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import campaign_shared_set_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__shared__set__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/campaign_shared_set_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\035CampaignSharedSetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/services/campaign_shared_set_service.proto\x12 google.ads.googleads.v2.services\x1a\x41google/ads/googleads_v2/proto/resources/campaign_shared_set.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.services.MutateCampaignSharedSetResult\"6\n\x1dMutateCampaignSharedSetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xeb\x03\n\x18\x43\x61mpaignSharedSetService\x12\xc9\x01\n\x14GetCampaignSharedSet\x12=.google.ads.googleads.v2.services.GetCampaignSharedSetRequest\x1a\x34.google.ads.googleads.v2.resources.CampaignSharedSet\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v2/{resource_name=customers/*/campaignSharedSets/*}\x12\xe5\x01\n\x18MutateCampaignSharedSets\x12\x41.google.ads.googleads.v2.services.MutateCampaignSharedSetsRequest\x1a\x42.google.ads.googleads.v2.services.MutateCampaignSharedSetsResponse\"B\x82\xd3\xe4\x93\x02<\"7/v2/customers/{customer_id=*}/campaignSharedSets:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v2.servicesB\x1d\x43\x61mpaignSharedSetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__shared__set__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNSHAREDSETREQUEST = _descriptor.Descriptor( - name='GetCampaignSharedSetRequest', - full_name='google.ads.googleads.v2.services.GetCampaignSharedSetRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=257, - serialized_end=309, -) - - -_MUTATECAMPAIGNSHAREDSETSREQUEST = _descriptor.Descriptor( - name='MutateCampaignSharedSetsRequest', - full_name='google.ads.googleads.v2.services.MutateCampaignSharedSetsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=312, - serialized_end=496, -) - - -_CAMPAIGNSHAREDSETOPERATION = _descriptor.Descriptor( - name='CampaignSharedSetOperation', - full_name='google.ads.googleads.v2.services.CampaignSharedSetOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.CampaignSharedSetOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=499, - serialized_end=630, -) - - -_MUTATECAMPAIGNSHAREDSETSRESPONSE = _descriptor.Descriptor( - name='MutateCampaignSharedSetsResponse', - full_name='google.ads.googleads.v2.services.MutateCampaignSharedSetsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=633, - serialized_end=800, -) - - -_MUTATECAMPAIGNSHAREDSETRESULT = _descriptor.Descriptor( - name='MutateCampaignSharedSetResult', - full_name='google.ads.googleads.v2.services.MutateCampaignSharedSetResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=802, - serialized_end=856, -) - -_MUTATECAMPAIGNSHAREDSETSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNSHAREDSETOPERATION -_CAMPAIGNSHAREDSETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CAMPAIGNSHAREDSETOPERATION.oneofs_by_name['operation'].fields.append( - _CAMPAIGNSHAREDSETOPERATION.fields_by_name['remove']) -_CAMPAIGNSHAREDSETOPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNSHAREDSETOPERATION.oneofs_by_name['operation'] -_MUTATECAMPAIGNSHAREDSETSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECAMPAIGNSHAREDSETSRESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNSHAREDSETRESULT -DESCRIPTOR.message_types_by_name['GetCampaignSharedSetRequest'] = _GETCAMPAIGNSHAREDSETREQUEST -DESCRIPTOR.message_types_by_name['MutateCampaignSharedSetsRequest'] = _MUTATECAMPAIGNSHAREDSETSREQUEST -DESCRIPTOR.message_types_by_name['CampaignSharedSetOperation'] = _CAMPAIGNSHAREDSETOPERATION -DESCRIPTOR.message_types_by_name['MutateCampaignSharedSetsResponse'] = _MUTATECAMPAIGNSHAREDSETSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCampaignSharedSetResult'] = _MUTATECAMPAIGNSHAREDSETRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignSharedSetRequest = _reflection.GeneratedProtocolMessageType('GetCampaignSharedSetRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNSHAREDSETREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_shared_set_service_pb2' - , - __doc__ = """Request message for - [CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v2.services.CampaignSharedSetService.GetCampaignSharedSet]. - - - Attributes: - resource_name: - The resource name of the campaign shared set to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCampaignSharedSetRequest) - )) -_sym_db.RegisterMessage(GetCampaignSharedSetRequest) - -MutateCampaignSharedSetsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignSharedSetsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNSHAREDSETSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_shared_set_service_pb2' - , - __doc__ = """Request message for - [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v2.services.CampaignSharedSetService.MutateCampaignSharedSets]. - - - Attributes: - customer_id: - The ID of the customer whose campaign shared sets are being - modified. - operations: - 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 - 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.v2.services.MutateCampaignSharedSetsRequest) - )) -_sym_db.RegisterMessage(MutateCampaignSharedSetsRequest) - -CampaignSharedSetOperation = _reflection.GeneratedProtocolMessageType('CampaignSharedSetOperation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNSHAREDSETOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_shared_set_service_pb2' - , - __doc__ = """A single operation (create, remove) on an campaign shared set. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - campaign shared set. - remove: - Remove operation: A resource name for the removed campaign - shared set is expected, in this format: ``customers/{customer - _id}/campaignSharedSets/{campaign_id}~{shared_set_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CampaignSharedSetOperation) - )) -_sym_db.RegisterMessage(CampaignSharedSetOperation) - -MutateCampaignSharedSetsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignSharedSetsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNSHAREDSETSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_shared_set_service_pb2' - , - __doc__ = """Response message for a campaign shared set 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.v2.services.MutateCampaignSharedSetsResponse) - )) -_sym_db.RegisterMessage(MutateCampaignSharedSetsResponse) - -MutateCampaignSharedSetResult = _reflection.GeneratedProtocolMessageType('MutateCampaignSharedSetResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECAMPAIGNSHAREDSETRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.campaign_shared_set_service_pb2' - , - __doc__ = """The result for the campaign shared set mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCampaignSharedSetResult) - )) -_sym_db.RegisterMessage(MutateCampaignSharedSetResult) - - -DESCRIPTOR._options = None - -_CAMPAIGNSHAREDSETSERVICE = _descriptor.ServiceDescriptor( - name='CampaignSharedSetService', - full_name='google.ads.googleads.v2.services.CampaignSharedSetService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=859, - serialized_end=1350, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignSharedSet', - full_name='google.ads.googleads.v2.services.CampaignSharedSetService.GetCampaignSharedSet', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNSHAREDSETREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__shared__set__pb2._CAMPAIGNSHAREDSET, - serialized_options=_b('\202\323\344\223\0026\0224/v2/{resource_name=customers/*/campaignSharedSets/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCampaignSharedSets', - full_name='google.ads.googleads.v2.services.CampaignSharedSetService.MutateCampaignSharedSets', - index=1, - containing_service=None, - input_type=_MUTATECAMPAIGNSHAREDSETSREQUEST, - output_type=_MUTATECAMPAIGNSHAREDSETSRESPONSE, - serialized_options=_b('\202\323\344\223\002<\"7/v2/customers/{customer_id=*}/campaignSharedSets:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNSHAREDSETSERVICE) - -DESCRIPTOR.services_by_name['CampaignSharedSetService'] = _CAMPAIGNSHAREDSETSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/campaign_shared_set_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/campaign_shared_set_service_pb2_grpc.py deleted file mode 100644 index f6457b5a5..000000000 --- a/google/ads/google_ads/v2/proto/services/campaign_shared_set_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__shared__set__pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__shared__set__service__pb2 - - -class CampaignSharedSetServiceStub(object): - """Proto file describing the Campaign Shared Set service. - - Service to manage campaign shared sets. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCampaignSharedSet = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignSharedSetService/GetCampaignSharedSet', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.GetCampaignSharedSetRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__shared__set__pb2.CampaignSharedSet.FromString, - ) - self.MutateCampaignSharedSets = channel.unary_unary( - '/google.ads.googleads.v2.services.CampaignSharedSetService/MutateCampaignSharedSets', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsResponse.FromString, - ) - - -class CampaignSharedSetServiceServicer(object): - """Proto file describing the Campaign Shared Set service. - - Service to manage campaign shared sets. - """ - - def GetCampaignSharedSet(self, request, context): - """Returns the requested campaign shared set in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCampaignSharedSets(self, request, context): - """Creates or removes campaign shared sets. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.GetCampaignSharedSetRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CampaignSharedSetService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/carrier_constant_service_pb2.py b/google/ads/google_ads/v2/proto/services/carrier_constant_service_pb2.py deleted file mode 100644 index c643f87b8..000000000 --- a/google/ads/google_ads/v2/proto/services/carrier_constant_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_v2/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.v2.proto.resources import carrier_constant_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/carrier_constant_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\033CarrierConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/services/carrier_constant_service.proto\x12 google.ads.googleads.v2.services\x1a>google/ads/googleads_v2/proto/resources/carrier_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"2\n\x19GetCarrierConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xed\x01\n\x16\x43\x61rrierConstantService\x12\xb5\x01\n\x12GetCarrierConstant\x12;.google.ads.googleads.v2.services.GetCarrierConstantRequest\x1a\x32.google.ads.googleads.v2.resources.CarrierConstant\".\x82\xd3\xe4\x93\x02(\x12&/v2/{resource_name=carrierConstants/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v2.servicesB\x1b\x43\x61rrierConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_carrier__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCARRIERCONSTANTREQUEST = _descriptor.Descriptor( - name='GetCarrierConstantRequest', - full_name='google.ads.googleads.v2.services.GetCarrierConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=226, - serialized_end=276, -) - -DESCRIPTOR.message_types_by_name['GetCarrierConstantRequest'] = _GETCARRIERCONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCarrierConstantRequest = _reflection.GeneratedProtocolMessageType('GetCarrierConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCARRIERCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.carrier_constant_service_pb2' - , - __doc__ = """Request message for - [CarrierConstantService.GetCarrierConstant][google.ads.googleads.v2.services.CarrierConstantService.GetCarrierConstant]. - - - Attributes: - resource_name: - Resource name of the carrier constant to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCarrierConstantRequest) - )) -_sym_db.RegisterMessage(GetCarrierConstantRequest) - - -DESCRIPTOR._options = None - -_CARRIERCONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='CarrierConstantService', - full_name='google.ads.googleads.v2.services.CarrierConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=279, - serialized_end=516, - methods=[ - _descriptor.MethodDescriptor( - name='GetCarrierConstant', - full_name='google.ads.googleads.v2.services.CarrierConstantService.GetCarrierConstant', - index=0, - containing_service=None, - input_type=_GETCARRIERCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_carrier__constant__pb2._CARRIERCONSTANT, - serialized_options=_b('\202\323\344\223\002(\022&/v2/{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/v2/proto/services/carrier_constant_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/carrier_constant_service_pb2_grpc.py deleted file mode 100644 index 5a166ae16..000000000 --- a/google/ads/google_ads/v2/proto/services/carrier_constant_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_carrier__constant__pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_carrier__constant__service__pb2 - - -class CarrierConstantServiceStub(object): - """Proto file describing the carrier constant service. - - Service to fetch carrier constants. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCarrierConstant = channel.unary_unary( - '/google.ads.googleads.v2.services.CarrierConstantService/GetCarrierConstant', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_carrier__constant__service__pb2.GetCarrierConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_carrier__constant__pb2.CarrierConstant.FromString, - ) - - -class CarrierConstantServiceServicer(object): - """Proto file describing the carrier constant service. - - Service to fetch carrier constants. - """ - - def GetCarrierConstant(self, request, context): - """Returns the requested carrier constant in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_carrier__constant__service__pb2.GetCarrierConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_carrier__constant__pb2.CarrierConstant.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CarrierConstantService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/change_status_service_pb2.py b/google/ads/google_ads/v2/proto/services/change_status_service_pb2.py deleted file mode 100644 index 11bedade0..000000000 --- a/google/ads/google_ads/v2/proto/services/change_status_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_v2/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.v2.proto.resources import change_status_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/change_status_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\030ChangeStatusServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/services/change_status_service.proto\x12 google.ads.googleads.v2.services\x1a;google/ads/googleads_v2/proto/resources/change_status.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"/\n\x16GetChangeStatusRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe9\x01\n\x13\x43hangeStatusService\x12\xb4\x01\n\x0fGetChangeStatus\x12\x38.google.ads.googleads.v2.services.GetChangeStatusRequest\x1a/.google.ads.googleads.v2.resources.ChangeStatus\"6\x82\xd3\xe4\x93\x02\x30\x12./v2/{resource_name=customers/*/changeStatus/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v2.servicesB\x18\x43hangeStatusServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_change__status__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCHANGESTATUSREQUEST = _descriptor.Descriptor( - name='GetChangeStatusRequest', - full_name='google.ads.googleads.v2.services.GetChangeStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=220, - serialized_end=267, -) - -DESCRIPTOR.message_types_by_name['GetChangeStatusRequest'] = _GETCHANGESTATUSREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetChangeStatusRequest = _reflection.GeneratedProtocolMessageType('GetChangeStatusRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCHANGESTATUSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.change_status_service_pb2' - , - __doc__ = """Request message for - '[ChangeStatusService.GetChangeStatus][google.ads.googleads.v2.services.ChangeStatusService.GetChangeStatus]'. - - - Attributes: - resource_name: - The resource name of the change status to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetChangeStatusRequest) - )) -_sym_db.RegisterMessage(GetChangeStatusRequest) - - -DESCRIPTOR._options = None - -_CHANGESTATUSSERVICE = _descriptor.ServiceDescriptor( - name='ChangeStatusService', - full_name='google.ads.googleads.v2.services.ChangeStatusService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=270, - serialized_end=503, - methods=[ - _descriptor.MethodDescriptor( - name='GetChangeStatus', - full_name='google.ads.googleads.v2.services.ChangeStatusService.GetChangeStatus', - index=0, - containing_service=None, - input_type=_GETCHANGESTATUSREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_change__status__pb2._CHANGESTATUS, - serialized_options=_b('\202\323\344\223\0020\022./v2/{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/v2/proto/services/change_status_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/change_status_service_pb2_grpc.py deleted file mode 100644 index 14e67fe32..000000000 --- a/google/ads/google_ads/v2/proto/services/change_status_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import change_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_change__status__pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_change__status__service__pb2 - - -class ChangeStatusServiceStub(object): - """Proto file describing the Change Status service. - - Service to fetch change statuses. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetChangeStatus = channel.unary_unary( - '/google.ads.googleads.v2.services.ChangeStatusService/GetChangeStatus', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_change__status__service__pb2.GetChangeStatusRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_change__status__pb2.ChangeStatus.FromString, - ) - - -class ChangeStatusServiceServicer(object): - """Proto file describing the Change Status service. - - Service to fetch change statuses. - """ - - def GetChangeStatus(self, request, context): - """Returns the requested change status in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_change__status__service__pb2.GetChangeStatusRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_change__status__pb2.ChangeStatus.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ChangeStatusService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/click_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/click_view_service_pb2.py deleted file mode 100644 index 21f5f8442..000000000 --- a/google/ads/google_ads/v2/proto/services/click_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_v2/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.v2.proto.resources import click_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/click_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\025ClickViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/services/click_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x38google/ads/googleads_v2/proto/resources/click_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\",\n\x13GetClickViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xdb\x01\n\x10\x43lickViewService\x12\xa9\x01\n\x0cGetClickView\x12\x35.google.ads.googleads.v2.services.GetClickViewRequest\x1a,.google.ads.googleads.v2.resources.ClickView\"4\x82\xd3\xe4\x93\x02.\x12,/v2/{resource_name=customers/*/clickViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v2.servicesB\x15\x43lickViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_click__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCLICKVIEWREQUEST = _descriptor.Descriptor( - name='GetClickViewRequest', - full_name='google.ads.googleads.v2.services.GetClickViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=214, - serialized_end=258, -) - -DESCRIPTOR.message_types_by_name['GetClickViewRequest'] = _GETCLICKVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetClickViewRequest = _reflection.GeneratedProtocolMessageType('GetClickViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCLICKVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.click_view_service_pb2' - , - __doc__ = """Request message for - [ClickViewService.GetClickView][google.ads.googleads.v2.services.ClickViewService.GetClickView]. - - - Attributes: - resource_name: - The resource name of the click view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetClickViewRequest) - )) -_sym_db.RegisterMessage(GetClickViewRequest) - - -DESCRIPTOR._options = None - -_CLICKVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ClickViewService', - full_name='google.ads.googleads.v2.services.ClickViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=261, - serialized_end=480, - methods=[ - _descriptor.MethodDescriptor( - name='GetClickView', - full_name='google.ads.googleads.v2.services.ClickViewService.GetClickView', - index=0, - containing_service=None, - input_type=_GETCLICKVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_click__view__pb2._CLICKVIEW, - serialized_options=_b('\202\323\344\223\002.\022,/v2/{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/v2/proto/services/click_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/click_view_service_pb2_grpc.py deleted file mode 100644 index 0458b1f7a..000000000 --- a/google/ads/google_ads/v2/proto/services/click_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import click_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_click__view__pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_click__view__service__pb2 - - -class ClickViewServiceStub(object): - """Proto file describing the ClickView service. - - Service to fetch click views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetClickView = channel.unary_unary( - '/google.ads.googleads.v2.services.ClickViewService/GetClickView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_click__view__service__pb2.GetClickViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_click__view__pb2.ClickView.FromString, - ) - - -class ClickViewServiceServicer(object): - """Proto file describing the ClickView service. - - Service to fetch click views. - """ - - def GetClickView(self, request, context): - """Returns the requested click view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_click__view__service__pb2.GetClickViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_click__view__pb2.ClickView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ClickViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/conversion_action_service_pb2.py b/google/ads/google_ads/v2/proto/services/conversion_action_service_pb2.py deleted file mode 100644 index 919e8ee66..000000000 --- a/google/ads/google_ads/v2/proto/services/conversion_action_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_v2/proto/services/conversion_action_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.v2.proto.resources import conversion_action_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_conversion__action__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/conversion_action_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\034ConversionActionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/services/conversion_action_service.proto\x12 google.ads.googleads.v2.services\x1a?google/ads/googleads_v2/proto/resources/conversion_action.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.ConversionActionH\x00\x12\x45\n\x06update\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v2.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.v2.services.MutateConversionActionResult\"5\n\x1cMutateConversionActionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe2\x03\n\x17\x43onversionActionService\x12\xc5\x01\n\x13GetConversionAction\x12<.google.ads.googleads.v2.services.GetConversionActionRequest\x1a\x33.google.ads.googleads.v2.resources.ConversionAction\";\x82\xd3\xe4\x93\x02\x35\x12\x33/v2/{resource_name=customers/*/conversionActions/*}\x12\xe1\x01\n\x17MutateConversionActions\x12@.google.ads.googleads.v2.services.MutateConversionActionsRequest\x1a\x41.google.ads.googleads.v2.services.MutateConversionActionsResponse\"A\x82\xd3\xe4\x93\x02;\"6/v2/customers/{customer_id=*}/conversionActions:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v2.servicesB\x1c\x43onversionActionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCONVERSIONACTIONREQUEST = _descriptor.Descriptor( - name='GetConversionActionRequest', - full_name='google.ads.googleads.v2.services.GetConversionActionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=287, - serialized_end=338, -) - - -_MUTATECONVERSIONACTIONSREQUEST = _descriptor.Descriptor( - name='MutateConversionActionsRequest', - full_name='google.ads.googleads.v2.services.MutateConversionActionsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=341, - serialized_end=523, -) - - -_CONVERSIONACTIONOPERATION = _descriptor.Descriptor( - name='ConversionActionOperation', - full_name='google.ads.googleads.v2.services.ConversionActionOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.ConversionActionOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=526, - serialized_end=775, -) - - -_MUTATECONVERSIONACTIONSRESPONSE = _descriptor.Descriptor( - name='MutateConversionActionsResponse', - full_name='google.ads.googleads.v2.services.MutateConversionActionsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=778, - serialized_end=943, -) - - -_MUTATECONVERSIONACTIONRESULT = _descriptor.Descriptor( - name='MutateConversionActionResult', - full_name='google.ads.googleads.v2.services.MutateConversionActionResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=945, - serialized_end=998, -) - -_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__v2_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION -_CONVERSIONACTIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CONVERSIONACTIONOPERATION.oneofs_by_name['operation'].fields.append( - _CONVERSIONACTIONOPERATION.fields_by_name['update']) -_CONVERSIONACTIONOPERATION.fields_by_name['update'].containing_oneof = _CONVERSIONACTIONOPERATION.oneofs_by_name['operation'] -_CONVERSIONACTIONOPERATION.oneofs_by_name['operation'].fields.append( - _CONVERSIONACTIONOPERATION.fields_by_name['remove']) -_CONVERSIONACTIONOPERATION.fields_by_name['remove'].containing_oneof = _CONVERSIONACTIONOPERATION.oneofs_by_name['operation'] -_MUTATECONVERSIONACTIONSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECONVERSIONACTIONSRESPONSE.fields_by_name['results'].message_type = _MUTATECONVERSIONACTIONRESULT -DESCRIPTOR.message_types_by_name['GetConversionActionRequest'] = _GETCONVERSIONACTIONREQUEST -DESCRIPTOR.message_types_by_name['MutateConversionActionsRequest'] = _MUTATECONVERSIONACTIONSREQUEST -DESCRIPTOR.message_types_by_name['ConversionActionOperation'] = _CONVERSIONACTIONOPERATION -DESCRIPTOR.message_types_by_name['MutateConversionActionsResponse'] = _MUTATECONVERSIONACTIONSRESPONSE -DESCRIPTOR.message_types_by_name['MutateConversionActionResult'] = _MUTATECONVERSIONACTIONRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetConversionActionRequest = _reflection.GeneratedProtocolMessageType('GetConversionActionRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCONVERSIONACTIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_action_service_pb2' - , - __doc__ = """Request message for - [ConversionActionService.GetConversionAction][google.ads.googleads.v2.services.ConversionActionService.GetConversionAction]. - - - Attributes: - resource_name: - The resource name of the conversion action to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetConversionActionRequest) - )) -_sym_db.RegisterMessage(GetConversionActionRequest) - -MutateConversionActionsRequest = _reflection.GeneratedProtocolMessageType('MutateConversionActionsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECONVERSIONACTIONSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_action_service_pb2' - , - __doc__ = """Request message for - [ConversionActionService.MutateConversionActions][google.ads.googleads.v2.services.ConversionActionService.MutateConversionActions]. - - - Attributes: - customer_id: - The ID of the customer whose conversion actions are being - modified. - operations: - 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 - 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.v2.services.MutateConversionActionsRequest) - )) -_sym_db.RegisterMessage(MutateConversionActionsRequest) - -ConversionActionOperation = _reflection.GeneratedProtocolMessageType('ConversionActionOperation', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONACTIONOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_action_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a conversion action. - - - Attributes: - update_mask: - 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 - conversion action. - update: - Update operation: The conversion action is expected to have a - valid resource name. - remove: - Remove operation: A resource name for the removed conversion - action is expected, in this format: ``customers/{customer_id} - /conversionActions/{conversion_action_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ConversionActionOperation) - )) -_sym_db.RegisterMessage(ConversionActionOperation) - -MutateConversionActionsResponse = _reflection.GeneratedProtocolMessageType('MutateConversionActionsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECONVERSIONACTIONSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_action_service_pb2' - , - __doc__ = """Response message for - [ConversionActionService.MutateConversionActions][google.ads.googleads.v2.services.ConversionActionService.MutateConversionActions]. - - - 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.v2.services.MutateConversionActionsResponse) - )) -_sym_db.RegisterMessage(MutateConversionActionsResponse) - -MutateConversionActionResult = _reflection.GeneratedProtocolMessageType('MutateConversionActionResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECONVERSIONACTIONRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_action_service_pb2' - , - __doc__ = """The result for the conversion action mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateConversionActionResult) - )) -_sym_db.RegisterMessage(MutateConversionActionResult) - - -DESCRIPTOR._options = None - -_CONVERSIONACTIONSERVICE = _descriptor.ServiceDescriptor( - name='ConversionActionService', - full_name='google.ads.googleads.v2.services.ConversionActionService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1001, - serialized_end=1483, - methods=[ - _descriptor.MethodDescriptor( - name='GetConversionAction', - full_name='google.ads.googleads.v2.services.ConversionActionService.GetConversionAction', - index=0, - containing_service=None, - input_type=_GETCONVERSIONACTIONREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION, - serialized_options=_b('\202\323\344\223\0025\0223/v2/{resource_name=customers/*/conversionActions/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateConversionActions', - full_name='google.ads.googleads.v2.services.ConversionActionService.MutateConversionActions', - index=1, - containing_service=None, - input_type=_MUTATECONVERSIONACTIONSREQUEST, - output_type=_MUTATECONVERSIONACTIONSRESPONSE, - serialized_options=_b('\202\323\344\223\002;\"6/v2/customers/{customer_id=*}/conversionActions:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CONVERSIONACTIONSERVICE) - -DESCRIPTOR.services_by_name['ConversionActionService'] = _CONVERSIONACTIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/conversion_action_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/conversion_action_service_pb2_grpc.py deleted file mode 100644 index 74e7d3376..000000000 --- a/google/ads/google_ads/v2/proto/services/conversion_action_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.v2.proto.resources import conversion_action_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_conversion__action__pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__action__service__pb2 - - -class ConversionActionServiceStub(object): - """Proto file describing the Conversion Action service. - - Service to manage conversion actions. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetConversionAction = channel.unary_unary( - '/google.ads.googleads.v2.services.ConversionActionService/GetConversionAction', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__action__service__pb2.GetConversionActionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_conversion__action__pb2.ConversionAction.FromString, - ) - self.MutateConversionActions = channel.unary_unary( - '/google.ads.googleads.v2.services.ConversionActionService/MutateConversionActions', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsResponse.FromString, - ) - - -class ConversionActionServiceServicer(object): - """Proto file describing the Conversion Action service. - - Service to manage conversion actions. - """ - - def GetConversionAction(self, request, context): - """Returns the requested conversion action. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateConversionActions(self, request, context): - """Creates, updates or removes conversion actions. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_conversion__action__service__pb2.GetConversionActionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ConversionActionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/conversion_adjustment_upload_service_pb2.py b/google/ads/google_ads/v2/proto/services/conversion_adjustment_upload_service_pb2.py deleted file mode 100644 index 7cf39c18f..000000000 --- a/google/ads/google_ads/v2/proto/services/conversion_adjustment_upload_service_pb2.py +++ /dev/null @@ -1,557 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.enums import conversion_adjustment_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_conversion__adjustment__type__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/conversion_adjustment_upload_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB&ConversionAdjustmentUploadServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nQgoogle/ads/googleads_v2/proto/services/conversion_adjustment_upload_service.proto\x12 google.ads.googleads.v2.services\x1a\x44google/ads/googleads_v2/proto/enums/conversion_adjustment_type.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType\x12M\n\x11restatement_value\x18\x06 \x01(\x0b\x32\x32.google.ads.googleads.v2.services.RestatementValue\x12S\n\x14gclid_date_time_pair\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v2.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.v2.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType\x12S\n\x14gclid_date_time_pair\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v2.services.GclidDateTimePairH\x00\x12\x30\n\x08order_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x42\x17\n\x15\x63onversion_identifier2\xb3\x02\n!ConversionAdjustmentUploadService\x12\xf0\x01\n\x1bUploadConversionAdjustments\x12\x44.google.ads.googleads.v2.services.UploadConversionAdjustmentsRequest\x1a\x45.google.ads.googleads.v2.services.UploadConversionAdjustmentsResponse\"D\x82\xd3\xe4\x93\x02>\"9/v2/customers/{customer_id=*}:uploadConversionAdjustments:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8d\x02\n$com.google.ads.googleads.v2.servicesB&ConversionAdjustmentUploadServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_UPLOADCONVERSIONADJUSTMENTSREQUEST = _descriptor.Descriptor( - name='UploadConversionAdjustmentsRequest', - full_name='google.ads.googleads.v2.services.UploadConversionAdjustmentsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='conversion_adjustments', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v2.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, - 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=495, -) - - -_UPLOADCONVERSIONADJUSTMENTSRESPONSE = _descriptor.Descriptor( - name='UploadConversionAdjustmentsResponse', - full_name='google.ads.googleads.v2.services.UploadConversionAdjustmentsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=498, - serialized_end=665, -) - - -_CONVERSIONADJUSTMENT = _descriptor.Descriptor( - name='ConversionAdjustment', - full_name='google.ads.googleads.v2.services.ConversionAdjustment', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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='conversion_identifier', full_name='google.ads.googleads.v2.services.ConversionAdjustment.conversion_identifier', - index=0, containing_type=None, fields=[]), - ], - serialized_start=668, - serialized_end=1157, -) - - -_RESTATEMENTVALUE = _descriptor.Descriptor( - name='RestatementValue', - full_name='google.ads.googleads.v2.services.RestatementValue', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='adjusted_value', full_name='google.ads.googleads.v2.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.v2.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, - 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=1159, - serialized_end=1284, -) - - -_GCLIDDATETIMEPAIR = _descriptor.Descriptor( - name='GclidDateTimePair', - full_name='google.ads.googleads.v2.services.GclidDateTimePair', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='gclid', full_name='google.ads.googleads.v2.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.v2.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, - 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=1286, - serialized_end=1410, -) - - -_CONVERSIONADJUSTMENTRESULT = _descriptor.Descriptor( - name='ConversionAdjustmentResult', - full_name='google.ads.googleads.v2.services.ConversionAdjustmentResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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='conversion_identifier', full_name='google.ads.googleads.v2.services.ConversionAdjustmentResult.conversion_identifier', - index=0, containing_type=None, fields=[]), - ], - serialized_start=1413, - serialized_end=1829, -) - -_UPLOADCONVERSIONADJUSTMENTSREQUEST.fields_by_name['conversion_adjustments'].message_type = _CONVERSIONADJUSTMENT -_UPLOADCONVERSIONADJUSTMENTSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_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__v2_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 -_CONVERSIONADJUSTMENT.oneofs_by_name['conversion_identifier'].fields.append( - _CONVERSIONADJUSTMENT.fields_by_name['gclid_date_time_pair']) -_CONVERSIONADJUSTMENT.fields_by_name['gclid_date_time_pair'].containing_oneof = _CONVERSIONADJUSTMENT.oneofs_by_name['conversion_identifier'] -_CONVERSIONADJUSTMENT.oneofs_by_name['conversion_identifier'].fields.append( - _CONVERSIONADJUSTMENT.fields_by_name['order_id']) -_CONVERSIONADJUSTMENT.fields_by_name['order_id'].containing_oneof = _CONVERSIONADJUSTMENT.oneofs_by_name['conversion_identifier'] -_RESTATEMENTVALUE.fields_by_name['adjusted_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_RESTATEMENTVALUE.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GCLIDDATETIMEPAIR.fields_by_name['gclid'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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__v2_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( - _CONVERSIONADJUSTMENTRESULT.fields_by_name['gclid_date_time_pair']) -_CONVERSIONADJUSTMENTRESULT.fields_by_name['gclid_date_time_pair'].containing_oneof = _CONVERSIONADJUSTMENTRESULT.oneofs_by_name['conversion_identifier'] -_CONVERSIONADJUSTMENTRESULT.oneofs_by_name['conversion_identifier'].fields.append( - _CONVERSIONADJUSTMENTRESULT.fields_by_name['order_id']) -_CONVERSIONADJUSTMENTRESULT.fields_by_name['order_id'].containing_oneof = _CONVERSIONADJUSTMENTRESULT.oneofs_by_name['conversion_identifier'] -DESCRIPTOR.message_types_by_name['UploadConversionAdjustmentsRequest'] = _UPLOADCONVERSIONADJUSTMENTSREQUEST -DESCRIPTOR.message_types_by_name['UploadConversionAdjustmentsResponse'] = _UPLOADCONVERSIONADJUSTMENTSRESPONSE -DESCRIPTOR.message_types_by_name['ConversionAdjustment'] = _CONVERSIONADJUSTMENT -DESCRIPTOR.message_types_by_name['RestatementValue'] = _RESTATEMENTVALUE -DESCRIPTOR.message_types_by_name['GclidDateTimePair'] = _GCLIDDATETIMEPAIR -DESCRIPTOR.message_types_by_name['ConversionAdjustmentResult'] = _CONVERSIONADJUSTMENTRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -UploadConversionAdjustmentsRequest = _reflection.GeneratedProtocolMessageType('UploadConversionAdjustmentsRequest', (_message.Message,), dict( - DESCRIPTOR = _UPLOADCONVERSIONADJUSTMENTSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_adjustment_upload_service_pb2' - , - __doc__ = """Request message for - [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v2.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. - - - Attributes: - customer_id: - The ID of the customer performing the upload. - conversion_adjustments: - 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. - 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.v2.services.UploadConversionAdjustmentsRequest) - )) -_sym_db.RegisterMessage(UploadConversionAdjustmentsRequest) - -UploadConversionAdjustmentsResponse = _reflection.GeneratedProtocolMessageType('UploadConversionAdjustmentsResponse', (_message.Message,), dict( - DESCRIPTOR = _UPLOADCONVERSIONADJUSTMENTSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_adjustment_upload_service_pb2' - , - __doc__ = """Response message for - [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v2.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. - - - Attributes: - partial_failure_error: - 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. - 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.v2.services.UploadConversionAdjustmentsResponse) - )) -_sym_db.RegisterMessage(UploadConversionAdjustmentsResponse) - -ConversionAdjustment = _reflection.GeneratedProtocolMessageType('ConversionAdjustment', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONADJUSTMENT, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_adjustment_upload_service_pb2' - , - __doc__ = """A conversion adjustment. - - - Attributes: - conversion_action: - Resource name of the conversion action associated with this - conversion adjustment. Note: Although this resource name - consists of a customer id and a conversion action id, - validation will ignore the customer id and use the conversion - action id as the sole identifier of the conversion action. - adjustment_date_time: - The date time at which the adjustment occurred. Must be after - the conversion\_date\_time. The timezone must be specified. - The format is "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. "2019-01-01 - 12:32:45-08:00". - adjustment_type: - The adjustment type. - restatement_value: - Information needed to restate the conversion's value. Required - for restatements. Should not be supplied for retractions. An - error will be returned if provided for a retraction. - conversion_identifier: - Identifies the conversion to be adjusted. - gclid_date_time_pair: - Uniquely identifies a conversion that was reported without an - order ID specified. - order_id: - The order ID of the conversion to be adjusted. If the - 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.v2.services.ConversionAdjustment) - )) -_sym_db.RegisterMessage(ConversionAdjustment) - -RestatementValue = _reflection.GeneratedProtocolMessageType('RestatementValue', (_message.Message,), dict( - DESCRIPTOR = _RESTATEMENTVALUE, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_adjustment_upload_service_pb2' - , - __doc__ = """Contains information needed to restate a conversion's value. - - - Attributes: - adjusted_value: - The restated conversion value. This is the value of the - conversion after restatement. For example, to change the value - of a conversion from 100 to 70, an adjusted value of 70 should - be reported. - currency_code: - The currency of the restated value. If not provided, then the - default currency from the conversion action is used, and if - 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.v2.services.RestatementValue) - )) -_sym_db.RegisterMessage(RestatementValue) - -GclidDateTimePair = _reflection.GeneratedProtocolMessageType('GclidDateTimePair', (_message.Message,), dict( - DESCRIPTOR = _GCLIDDATETIMEPAIR, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_adjustment_upload_service_pb2' - , - __doc__ = """Uniquely identifies a conversion that was reported without an order ID - specified. - - - Attributes: - gclid: - Google click ID (gclid) associated with the original - conversion for this adjustment. - conversion_date_time: - The date time at which the original conversion for this - adjustment occurred. The timezone must be specified. The - 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.v2.services.GclidDateTimePair) - )) -_sym_db.RegisterMessage(GclidDateTimePair) - -ConversionAdjustmentResult = _reflection.GeneratedProtocolMessageType('ConversionAdjustmentResult', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONADJUSTMENTRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_adjustment_upload_service_pb2' - , - __doc__ = """Information identifying a successfully processed ConversionAdjustment. - - - Attributes: - conversion_action: - Resource name of the conversion action associated with this - conversion adjustment. - adjustment_date_time: - The date time at which the adjustment occurred. The format is - "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. "2019-01-01 - 12:32:45-08:00". - adjustment_type: - The adjustment type. - conversion_identifier: - Identifies the conversion that was adjusted. - gclid_date_time_pair: - Uniquely identifies a conversion that was reported without an - order ID specified. - order_id: - The order ID of the conversion that was adjusted. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ConversionAdjustmentResult) - )) -_sym_db.RegisterMessage(ConversionAdjustmentResult) - - -DESCRIPTOR._options = None - -_CONVERSIONADJUSTMENTUPLOADSERVICE = _descriptor.ServiceDescriptor( - name='ConversionAdjustmentUploadService', - full_name='google.ads.googleads.v2.services.ConversionAdjustmentUploadService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1832, - serialized_end=2139, - methods=[ - _descriptor.MethodDescriptor( - name='UploadConversionAdjustments', - full_name='google.ads.googleads.v2.services.ConversionAdjustmentUploadService.UploadConversionAdjustments', - index=0, - containing_service=None, - input_type=_UPLOADCONVERSIONADJUSTMENTSREQUEST, - output_type=_UPLOADCONVERSIONADJUSTMENTSRESPONSE, - serialized_options=_b('\202\323\344\223\002>\"9/v2/customers/{customer_id=*}:uploadConversionAdjustments:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CONVERSIONADJUSTMENTUPLOADSERVICE) - -DESCRIPTOR.services_by_name['ConversionAdjustmentUploadService'] = _CONVERSIONADJUSTMENTUPLOADSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/conversion_adjustment_upload_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/conversion_adjustment_upload_service_pb2_grpc.py deleted file mode 100644 index 692f8ab03..000000000 --- a/google/ads/google_ads/v2/proto/services/conversion_adjustment_upload_service_pb2_grpc.py +++ /dev/null @@ -1,46 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2 - - -class ConversionAdjustmentUploadServiceStub(object): - """Service to upload conversion adjustments. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UploadConversionAdjustments = channel.unary_unary( - '/google.ads.googleads.v2.services.ConversionAdjustmentUploadService/UploadConversionAdjustments', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsResponse.FromString, - ) - - -class ConversionAdjustmentUploadServiceServicer(object): - """Service to upload conversion adjustments. - """ - - def UploadConversionAdjustments(self, request, context): - """Processes the given conversion adjustments. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ConversionAdjustmentUploadService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/conversion_upload_service_pb2.py b/google/ads/google_ads/v2/proto/services/conversion_upload_service_pb2.py deleted file mode 100644 index 665279f85..000000000 --- a/google/ads/google_ads/v2/proto/services/conversion_upload_service_pb2.py +++ /dev/null @@ -1,801 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/conversion_upload_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.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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/conversion_upload_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\034ConversionUploadServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/services/conversion_upload_service.proto\x12 google.ads.googleads.v2.services\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.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.v2.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.v2.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\xf0\x03\n\x17\x43onversionUploadService\x12\xdc\x01\n\x16UploadClickConversions\x12?.google.ads.googleads.v2.services.UploadClickConversionsRequest\x1a@.google.ads.googleads.v2.services.UploadClickConversionsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v2/customers/{customer_id=*}:uploadClickConversions:\x01*\x12\xd8\x01\n\x15UploadCallConversions\x12>.google.ads.googleads.v2.services.UploadCallConversionsRequest\x1a?.google.ads.googleads.v2.services.UploadCallConversionsResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v2/customers/{customer_id=*}:uploadCallConversions:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v2.servicesB\x1c\x43onversionUploadServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_UPLOADCLICKCONVERSIONSREQUEST = _descriptor.Descriptor( - name='UploadClickConversionsRequest', - full_name='google.ads.googleads.v2.services.UploadClickConversionsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='conversions', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v2.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, - 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=221, - serialized_end=393, -) - - -_UPLOADCLICKCONVERSIONSRESPONSE = _descriptor.Descriptor( - name='UploadClickConversionsResponse', - full_name='google.ads.googleads.v2.services.UploadClickConversionsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=396, - serialized_end=553, -) - - -_UPLOADCALLCONVERSIONSREQUEST = _descriptor.Descriptor( - name='UploadCallConversionsRequest', - full_name='google.ads.googleads.v2.services.UploadCallConversionsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='conversions', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v2.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, - 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=556, - serialized_end=726, -) - - -_UPLOADCALLCONVERSIONSRESPONSE = _descriptor.Descriptor( - name='UploadCallConversionsResponse', - full_name='google.ads.googleads.v2.services.UploadCallConversionsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=729, - serialized_end=884, -) - - -_CLICKCONVERSION = _descriptor.Descriptor( - name='ClickConversion', - full_name='google.ads.googleads.v2.services.ClickConversion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='gclid', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=887, - serialized_end=1317, -) - - -_CALLCONVERSION = _descriptor.Descriptor( - name='CallConversion', - full_name='google.ads.googleads.v2.services.CallConversion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='caller_id', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=1320, - serialized_end=1671, -) - - -_EXTERNALATTRIBUTIONDATA = _descriptor.Descriptor( - name='ExternalAttributionData', - full_name='google.ads.googleads.v2.services.ExternalAttributionData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='external_attribution_credit', full_name='google.ads.googleads.v2.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.v2.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, - 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=1674, - serialized_end=1832, -) - - -_CLICKCONVERSIONRESULT = _descriptor.Descriptor( - name='ClickConversionResult', - full_name='google.ads.googleads.v2.services.ClickConversionResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='gclid', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=1835, - serialized_end=2020, -) - - -_CALLCONVERSIONRESULT = _descriptor.Descriptor( - name='CallConversionResult', - full_name='google.ads.googleads.v2.services.CallConversionResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='caller_id', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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=2023, - serialized_end=2271, -) - -_UPLOADCLICKCONVERSIONSREQUEST.fields_by_name['conversions'].message_type = _CLICKCONVERSION -_UPLOADCLICKCONVERSIONSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_UPLOADCLICKCONVERSIONSRESPONSE.fields_by_name['results'].message_type = _CLICKCONVERSIONRESULT -_UPLOADCALLCONVERSIONSREQUEST.fields_by_name['conversions'].message_type = _CALLCONVERSION -_UPLOADCALLCONVERSIONSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_UPLOADCALLCONVERSIONSRESPONSE.fields_by_name['results'].message_type = _CALLCONVERSIONRESULT -_CLICKCONVERSION.fields_by_name['gclid'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKCONVERSION.fields_by_name['conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKCONVERSION.fields_by_name['conversion_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKCONVERSION.fields_by_name['conversion_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_CLICKCONVERSION.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKCONVERSION.fields_by_name['order_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKCONVERSION.fields_by_name['external_attribution_data'].message_type = _EXTERNALATTRIBUTIONDATA -_CALLCONVERSION.fields_by_name['caller_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLCONVERSION.fields_by_name['call_start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLCONVERSION.fields_by_name['conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLCONVERSION.fields_by_name['conversion_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLCONVERSION.fields_by_name['conversion_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_CALLCONVERSION.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXTERNALATTRIBUTIONDATA.fields_by_name['external_attribution_credit'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_EXTERNALATTRIBUTIONDATA.fields_by_name['external_attribution_model'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKCONVERSIONRESULT.fields_by_name['gclid'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKCONVERSIONRESULT.fields_by_name['conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKCONVERSIONRESULT.fields_by_name['conversion_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLCONVERSIONRESULT.fields_by_name['caller_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLCONVERSIONRESULT.fields_by_name['call_start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLCONVERSIONRESULT.fields_by_name['conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLCONVERSIONRESULT.fields_by_name['conversion_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['UploadClickConversionsRequest'] = _UPLOADCLICKCONVERSIONSREQUEST -DESCRIPTOR.message_types_by_name['UploadClickConversionsResponse'] = _UPLOADCLICKCONVERSIONSRESPONSE -DESCRIPTOR.message_types_by_name['UploadCallConversionsRequest'] = _UPLOADCALLCONVERSIONSREQUEST -DESCRIPTOR.message_types_by_name['UploadCallConversionsResponse'] = _UPLOADCALLCONVERSIONSRESPONSE -DESCRIPTOR.message_types_by_name['ClickConversion'] = _CLICKCONVERSION -DESCRIPTOR.message_types_by_name['CallConversion'] = _CALLCONVERSION -DESCRIPTOR.message_types_by_name['ExternalAttributionData'] = _EXTERNALATTRIBUTIONDATA -DESCRIPTOR.message_types_by_name['ClickConversionResult'] = _CLICKCONVERSIONRESULT -DESCRIPTOR.message_types_by_name['CallConversionResult'] = _CALLCONVERSIONRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -UploadClickConversionsRequest = _reflection.GeneratedProtocolMessageType('UploadClickConversionsRequest', (_message.Message,), dict( - DESCRIPTOR = _UPLOADCLICKCONVERSIONSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_upload_service_pb2' - , - __doc__ = """Request message for - [ConversionUploadService.UploadClickConversions][google.ads.googleads.v2.services.ConversionUploadService.UploadClickConversions]. - - - Attributes: - customer_id: - The ID of the customer performing the upload. - conversions: - 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. - 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.v2.services.UploadClickConversionsRequest) - )) -_sym_db.RegisterMessage(UploadClickConversionsRequest) - -UploadClickConversionsResponse = _reflection.GeneratedProtocolMessageType('UploadClickConversionsResponse', (_message.Message,), dict( - DESCRIPTOR = _UPLOADCLICKCONVERSIONSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_upload_service_pb2' - , - __doc__ = """Response message for - [ConversionUploadService.UploadClickConversions][google.ads.googleads.v2.services.ConversionUploadService.UploadClickConversions]. - - - Attributes: - partial_failure_error: - 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. - 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.v2.services.UploadClickConversionsResponse) - )) -_sym_db.RegisterMessage(UploadClickConversionsResponse) - -UploadCallConversionsRequest = _reflection.GeneratedProtocolMessageType('UploadCallConversionsRequest', (_message.Message,), dict( - DESCRIPTOR = _UPLOADCALLCONVERSIONSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_upload_service_pb2' - , - __doc__ = """Request message for - [ConversionUploadService.UploadCallConversions][google.ads.googleads.v2.services.ConversionUploadService.UploadCallConversions]. - - - Attributes: - customer_id: - The ID of the customer performing the upload. - conversions: - 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. - 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.v2.services.UploadCallConversionsRequest) - )) -_sym_db.RegisterMessage(UploadCallConversionsRequest) - -UploadCallConversionsResponse = _reflection.GeneratedProtocolMessageType('UploadCallConversionsResponse', (_message.Message,), dict( - DESCRIPTOR = _UPLOADCALLCONVERSIONSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_upload_service_pb2' - , - __doc__ = """Response message for - [ConversionUploadService.UploadCallConversions][google.ads.googleads.v2.services.ConversionUploadService.UploadCallConversions]. - - - Attributes: - partial_failure_error: - 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. - 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.v2.services.UploadCallConversionsResponse) - )) -_sym_db.RegisterMessage(UploadCallConversionsResponse) - -ClickConversion = _reflection.GeneratedProtocolMessageType('ClickConversion', (_message.Message,), dict( - DESCRIPTOR = _CLICKCONVERSION, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_upload_service_pb2' - , - __doc__ = """A click conversion. - - - Attributes: - gclid: - The Google click ID (gclid) associated with this conversion. - conversion_action: - Resource name of the conversion action associated with this - conversion. Note: Although this resource name consists of a - customer id and a conversion action id, validation will ignore - the customer id and use the conversion action id as the sole - identifier of the conversion action. - conversion_date_time: - The date time at which the conversion occurred. Must be after - the click time. The timezone must be specified. The format is - "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. “2019-01-01 - 12:32:45-08:00”. - conversion_value: - The value of the conversion for the advertiser. - currency_code: - Currency associated with the conversion value. This is the ISO - 4217 3-character currency code. For example: USD, EUR. - order_id: - The order ID associated with the conversion. An order id can - only be used for one conversion per conversion action. - external_attribution_data: - Additional data about externally attributed conversions. This - 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.v2.services.ClickConversion) - )) -_sym_db.RegisterMessage(ClickConversion) - -CallConversion = _reflection.GeneratedProtocolMessageType('CallConversion', (_message.Message,), dict( - DESCRIPTOR = _CALLCONVERSION, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_upload_service_pb2' - , - __doc__ = """A call conversion. - - - Attributes: - caller_id: - The caller id from which this call was placed. Caller id is - expected to be in E.164 format with preceding '+' sign. e.g. - "+16502531234". - call_start_date_time: - The date time at which the call occurred. The timezone must be - specified. The format is "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. - "2019-01-01 12:32:45-08:00". - conversion_action: - Resource name of the conversion action associated with this - conversion. Note: Although this resource name consists of a - customer id and a conversion action id, validation will ignore - the customer id and use the conversion action id as the sole - identifier of the conversion action. - conversion_date_time: - The date time at which the conversion occurred. Must be after - the call time. The timezone must be specified. The format is - "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. "2019-01-01 - 12:32:45-08:00". - conversion_value: - The value of the conversion for the advertiser. - currency_code: - 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.v2.services.CallConversion) - )) -_sym_db.RegisterMessage(CallConversion) - -ExternalAttributionData = _reflection.GeneratedProtocolMessageType('ExternalAttributionData', (_message.Message,), dict( - DESCRIPTOR = _EXTERNALATTRIBUTIONDATA, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_upload_service_pb2' - , - __doc__ = """Contains additional information about externally attributed conversions. - - - Attributes: - external_attribution_credit: - Represents the fraction of the conversion that is attributed - to the Google Ads click. - external_attribution_model: - Specifies the attribution model name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ExternalAttributionData) - )) -_sym_db.RegisterMessage(ExternalAttributionData) - -ClickConversionResult = _reflection.GeneratedProtocolMessageType('ClickConversionResult', (_message.Message,), dict( - DESCRIPTOR = _CLICKCONVERSIONRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_upload_service_pb2' - , - __doc__ = """Identifying information for a successfully processed ClickConversion. - - - Attributes: - gclid: - The Google Click ID (gclid) associated with this conversion. - conversion_action: - Resource name of the conversion action associated with this - conversion. - conversion_date_time: - The date time at which the conversion occurred. The 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.v2.services.ClickConversionResult) - )) -_sym_db.RegisterMessage(ClickConversionResult) - -CallConversionResult = _reflection.GeneratedProtocolMessageType('CallConversionResult', (_message.Message,), dict( - DESCRIPTOR = _CALLCONVERSIONRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.conversion_upload_service_pb2' - , - __doc__ = """Identifying information for a successfully processed - CallConversionUpload. - - - Attributes: - caller_id: - The caller id from which this call was placed. Caller id is - expected to be in E.164 format with preceding '+' sign. - call_start_date_time: - The date time at which the call occurred. The format is "yyyy- - mm-dd hh:mm:ss+\|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". - conversion_action: - Resource name of the conversion action associated with this - conversion. - conversion_date_time: - The date time at which the conversion occurred. The 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.v2.services.CallConversionResult) - )) -_sym_db.RegisterMessage(CallConversionResult) - - -DESCRIPTOR._options = None - -_CONVERSIONUPLOADSERVICE = _descriptor.ServiceDescriptor( - name='ConversionUploadService', - full_name='google.ads.googleads.v2.services.ConversionUploadService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=2274, - serialized_end=2770, - methods=[ - _descriptor.MethodDescriptor( - name='UploadClickConversions', - full_name='google.ads.googleads.v2.services.ConversionUploadService.UploadClickConversions', - index=0, - containing_service=None, - input_type=_UPLOADCLICKCONVERSIONSREQUEST, - output_type=_UPLOADCLICKCONVERSIONSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v2/customers/{customer_id=*}:uploadClickConversions:\001*'), - ), - _descriptor.MethodDescriptor( - name='UploadCallConversions', - full_name='google.ads.googleads.v2.services.ConversionUploadService.UploadCallConversions', - index=1, - containing_service=None, - input_type=_UPLOADCALLCONVERSIONSREQUEST, - output_type=_UPLOADCALLCONVERSIONSRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v2/customers/{customer_id=*}:uploadCallConversions:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CONVERSIONUPLOADSERVICE) - -DESCRIPTOR.services_by_name['ConversionUploadService'] = _CONVERSIONUPLOADSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/conversion_upload_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/conversion_upload_service_pb2_grpc.py deleted file mode 100644 index 4dbaa70af..000000000 --- a/google/ads/google_ads/v2/proto/services/conversion_upload_service_pb2_grpc.py +++ /dev/null @@ -1,63 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__upload__service__pb2 - - -class ConversionUploadServiceStub(object): - """Service to upload conversions. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.UploadClickConversions = channel.unary_unary( - '/google.ads.googleads.v2.services.ConversionUploadService/UploadClickConversions', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsResponse.FromString, - ) - self.UploadCallConversions = channel.unary_unary( - '/google.ads.googleads.v2.services.ConversionUploadService/UploadCallConversions', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsResponse.FromString, - ) - - -class ConversionUploadServiceServicer(object): - """Service to upload conversions. - """ - - def UploadClickConversions(self, request, context): - """Processes the given click conversions. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UploadCallConversions(self, request, context): - """Processes the given call conversions. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ConversionUploadService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/custom_interest_service_pb2.py b/google/ads/google_ads/v2/proto/services/custom_interest_service_pb2.py deleted file mode 100644 index b994e4feb..000000000 --- a/google/ads/google_ads/v2/proto/services/custom_interest_service_pb2.py +++ /dev/null @@ -1,365 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/custom_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.v2.proto.resources import custom_interest_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_custom__interest__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.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/custom_interest_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032CustomInterestServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/services/custom_interest_service.proto\x12 google.ads.googleads.v2.services\x1a=google/ads/googleads_v2/proto/resources/custom_interest.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CustomInterestH\x00\x12\x43\n\x06update\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.CustomInterestH\x00\x42\x0b\n\toperation\"n\n\x1dMutateCustomInterestsResponse\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v2.services.MutateCustomInterestResult\"3\n\x1aMutateCustomInterestResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd0\x03\n\x15\x43ustomInterestService\x12\xbd\x01\n\x11GetCustomInterest\x12:.google.ads.googleads.v2.services.GetCustomInterestRequest\x1a\x31.google.ads.googleads.v2.resources.CustomInterest\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/customInterests/*}\x12\xd9\x01\n\x15MutateCustomInterests\x12>.google.ads.googleads.v2.services.MutateCustomInterestsRequest\x1a?.google.ads.googleads.v2.services.MutateCustomInterestsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v2/customers/{customer_id=*}/customInterests:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1a\x43ustomInterestServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMINTERESTREQUEST = _descriptor.Descriptor( - name='GetCustomInterestRequest', - full_name='google.ads.googleads.v2.services.GetCustomInterestRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=258, - serialized_end=307, -) - - -_MUTATECUSTOMINTERESTSREQUEST = _descriptor.Descriptor( - name='MutateCustomInterestsRequest', - full_name='google.ads.googleads.v2.services.MutateCustomInterestsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v2.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, - 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=310, - serialized_end=463, -) - - -_CUSTOMINTERESTOPERATION = _descriptor.Descriptor( - name='CustomInterestOperation', - full_name='google.ads.googleads.v2.services.CustomInterestOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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.v2.services.CustomInterestOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=466, - serialized_end=691, -) - - -_MUTATECUSTOMINTERESTSRESPONSE = _descriptor.Descriptor( - name='MutateCustomInterestsResponse', - full_name='google.ads.googleads.v2.services.MutateCustomInterestsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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, - 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=693, - serialized_end=803, -) - - -_MUTATECUSTOMINTERESTRESULT = _descriptor.Descriptor( - name='MutateCustomInterestResult', - full_name='google.ads.googleads.v2.services.MutateCustomInterestResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=805, - serialized_end=856, -) - -_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__v2_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST -_CUSTOMINTERESTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CUSTOMINTERESTOPERATION.oneofs_by_name['operation'].fields.append( - _CUSTOMINTERESTOPERATION.fields_by_name['update']) -_CUSTOMINTERESTOPERATION.fields_by_name['update'].containing_oneof = _CUSTOMINTERESTOPERATION.oneofs_by_name['operation'] -_MUTATECUSTOMINTERESTSRESPONSE.fields_by_name['results'].message_type = _MUTATECUSTOMINTERESTRESULT -DESCRIPTOR.message_types_by_name['GetCustomInterestRequest'] = _GETCUSTOMINTERESTREQUEST -DESCRIPTOR.message_types_by_name['MutateCustomInterestsRequest'] = _MUTATECUSTOMINTERESTSREQUEST -DESCRIPTOR.message_types_by_name['CustomInterestOperation'] = _CUSTOMINTERESTOPERATION -DESCRIPTOR.message_types_by_name['MutateCustomInterestsResponse'] = _MUTATECUSTOMINTERESTSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCustomInterestResult'] = _MUTATECUSTOMINTERESTRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomInterestRequest = _reflection.GeneratedProtocolMessageType('GetCustomInterestRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMINTERESTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.custom_interest_service_pb2' - , - __doc__ = """Request message for - [CustomInterestService.GetCustomInterest][google.ads.googleads.v2.services.CustomInterestService.GetCustomInterest]. - - - Attributes: - resource_name: - The resource name of the custom interest to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCustomInterestRequest) - )) -_sym_db.RegisterMessage(GetCustomInterestRequest) - -MutateCustomInterestsRequest = _reflection.GeneratedProtocolMessageType('MutateCustomInterestsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMINTERESTSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.custom_interest_service_pb2' - , - __doc__ = """Request message for - [CustomInterestService.MutateCustomInterests][google.ads.googleads.v2.services.CustomInterestService.MutateCustomInterests]. - - - Attributes: - customer_id: - The ID of the customer whose custom interests are being - modified. - operations: - 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.v2.services.MutateCustomInterestsRequest) - )) -_sym_db.RegisterMessage(MutateCustomInterestsRequest) - -CustomInterestOperation = _reflection.GeneratedProtocolMessageType('CustomInterestOperation', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMINTERESTOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.custom_interest_service_pb2' - , - __doc__ = """A single operation (create, update) on a custom interest. - - - Attributes: - update_mask: - 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 - custom interest. - update: - Update operation: The custom interest is expected to have a - valid resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CustomInterestOperation) - )) -_sym_db.RegisterMessage(CustomInterestOperation) - -MutateCustomInterestsResponse = _reflection.GeneratedProtocolMessageType('MutateCustomInterestsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMINTERESTSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.custom_interest_service_pb2' - , - __doc__ = """Response message for custom interest mutate. - - - Attributes: - results: - All results for the mutate. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomInterestsResponse) - )) -_sym_db.RegisterMessage(MutateCustomInterestsResponse) - -MutateCustomInterestResult = _reflection.GeneratedProtocolMessageType('MutateCustomInterestResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMINTERESTRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.custom_interest_service_pb2' - , - __doc__ = """The result for the custom interest mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomInterestResult) - )) -_sym_db.RegisterMessage(MutateCustomInterestResult) - - -DESCRIPTOR._options = None - -_CUSTOMINTERESTSERVICE = _descriptor.ServiceDescriptor( - name='CustomInterestService', - full_name='google.ads.googleads.v2.services.CustomInterestService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=859, - serialized_end=1323, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomInterest', - full_name='google.ads.googleads.v2.services.CustomInterestService.GetCustomInterest', - index=0, - containing_service=None, - input_type=_GETCUSTOMINTERESTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{resource_name=customers/*/customInterests/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCustomInterests', - full_name='google.ads.googleads.v2.services.CustomInterestService.MutateCustomInterests', - index=1, - containing_service=None, - input_type=_MUTATECUSTOMINTERESTSREQUEST, - output_type=_MUTATECUSTOMINTERESTSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v2/customers/{customer_id=*}/customInterests:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CUSTOMINTERESTSERVICE) - -DESCRIPTOR.services_by_name['CustomInterestService'] = _CUSTOMINTERESTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/custom_interest_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/custom_interest_service_pb2_grpc.py deleted file mode 100644 index 11f90d9c8..000000000 --- a/google/ads/google_ads/v2/proto/services/custom_interest_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_custom__interest__pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_custom__interest__service__pb2 - - -class CustomInterestServiceStub(object): - """Proto file describing the Custom Interest service. - - Service to manage custom interests. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCustomInterest = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomInterestService/GetCustomInterest', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_custom__interest__service__pb2.GetCustomInterestRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_custom__interest__pb2.CustomInterest.FromString, - ) - self.MutateCustomInterests = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomInterestService/MutateCustomInterests', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsResponse.FromString, - ) - - -class CustomInterestServiceServicer(object): - """Proto file describing the Custom Interest service. - - Service to manage custom interests. - """ - - def GetCustomInterest(self, request, context): - """Returns the requested custom interest in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCustomInterests(self, request, context): - """Creates or updates custom interests. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_custom__interest__service__pb2.GetCustomInterestRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CustomInterestService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/customer_client_link_service_pb2.py b/google/ads/google_ads/v2/proto/services/customer_client_link_service_pb2.py deleted file mode 100644 index cf7bce3f3..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_client_link_service_pb2.py +++ /dev/null @@ -1,354 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import customer_client_link_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__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 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/customer_client_link_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\036CustomerClientLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/services/customer_client_link_service.proto\x12 google.ads.googleads.v2.services\x1a\x42google/ads/googleads_v2/proto/resources/customer_client_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CustomerClientLinkH\x00\x12G\n\x06update\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.CustomerClientLinkH\x00\x42\x0b\n\toperation\"t\n MutateCustomerClientLinkResponse\x12P\n\x06result\x18\x01 \x01(\x0b\x32@.google.ads.googleads.v2.services.MutateCustomerClientLinkResult\"7\n\x1eMutateCustomerClientLinkResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf1\x03\n\x19\x43ustomerClientLinkService\x12\xcd\x01\n\x15GetCustomerClientLink\x12>.google.ads.googleads.v2.services.GetCustomerClientLinkRequest\x1a\x35.google.ads.googleads.v2.resources.CustomerClientLink\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/customerClientLinks/*}\x12\xe6\x01\n\x18MutateCustomerClientLink\x12\x41.google.ads.googleads.v2.services.MutateCustomerClientLinkRequest\x1a\x42.google.ads.googleads.v2.services.MutateCustomerClientLinkResponse\"C\x82\xd3\xe4\x93\x02=\"8/v2/customers/{customer_id=*}/customerClientLinks:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1e\x43ustomerClientLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMERCLIENTLINKREQUEST = _descriptor.Descriptor( - name='GetCustomerClientLinkRequest', - full_name='google.ads.googleads.v2.services.GetCustomerClientLinkRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=268, - serialized_end=321, -) - - -_MUTATECUSTOMERCLIENTLINKREQUEST = _descriptor.Descriptor( - name='MutateCustomerClientLinkRequest', - full_name='google.ads.googleads.v2.services.MutateCustomerClientLinkRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=324, - serialized_end=460, -) - - -_CUSTOMERCLIENTLINKOPERATION = _descriptor.Descriptor( - name='CustomerClientLinkOperation', - full_name='google.ads.googleads.v2.services.CustomerClientLinkOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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.v2.services.CustomerClientLinkOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=463, - serialized_end=700, -) - - -_MUTATECUSTOMERCLIENTLINKRESPONSE = _descriptor.Descriptor( - name='MutateCustomerClientLinkResponse', - full_name='google.ads.googleads.v2.services.MutateCustomerClientLinkResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v2.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, - 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=702, - serialized_end=818, -) - - -_MUTATECUSTOMERCLIENTLINKRESULT = _descriptor.Descriptor( - name='MutateCustomerClientLinkResult', - full_name='google.ads.googleads.v2.services.MutateCustomerClientLinkResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=820, - serialized_end=875, -) - -_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__v2_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK -_CUSTOMERCLIENTLINKOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CUSTOMERCLIENTLINKOPERATION.oneofs_by_name['operation'].fields.append( - _CUSTOMERCLIENTLINKOPERATION.fields_by_name['update']) -_CUSTOMERCLIENTLINKOPERATION.fields_by_name['update'].containing_oneof = _CUSTOMERCLIENTLINKOPERATION.oneofs_by_name['operation'] -_MUTATECUSTOMERCLIENTLINKRESPONSE.fields_by_name['result'].message_type = _MUTATECUSTOMERCLIENTLINKRESULT -DESCRIPTOR.message_types_by_name['GetCustomerClientLinkRequest'] = _GETCUSTOMERCLIENTLINKREQUEST -DESCRIPTOR.message_types_by_name['MutateCustomerClientLinkRequest'] = _MUTATECUSTOMERCLIENTLINKREQUEST -DESCRIPTOR.message_types_by_name['CustomerClientLinkOperation'] = _CUSTOMERCLIENTLINKOPERATION -DESCRIPTOR.message_types_by_name['MutateCustomerClientLinkResponse'] = _MUTATECUSTOMERCLIENTLINKRESPONSE -DESCRIPTOR.message_types_by_name['MutateCustomerClientLinkResult'] = _MUTATECUSTOMERCLIENTLINKRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomerClientLinkRequest = _reflection.GeneratedProtocolMessageType('GetCustomerClientLinkRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMERCLIENTLINKREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_client_link_service_pb2' - , - __doc__ = """Request message for - [CustomerClientLinkService.GetCustomerClientLink][google.ads.googleads.v2.services.CustomerClientLinkService.GetCustomerClientLink]. - - - Attributes: - resource_name: - The resource name of the customer client link to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCustomerClientLinkRequest) - )) -_sym_db.RegisterMessage(GetCustomerClientLinkRequest) - -MutateCustomerClientLinkRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerClientLinkRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERCLIENTLINKREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_client_link_service_pb2' - , - __doc__ = """Request message for - [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v2.services.CustomerClientLinkService.MutateCustomerClientLink]. - - - Attributes: - customer_id: - The ID of the customer whose customer link are being modified. - operation: - The operation to perform on the individual CustomerClientLink. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomerClientLinkRequest) - )) -_sym_db.RegisterMessage(MutateCustomerClientLinkRequest) - -CustomerClientLinkOperation = _reflection.GeneratedProtocolMessageType('CustomerClientLinkOperation', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERCLIENTLINKOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.customer_client_link_service_pb2' - , - __doc__ = """A single operation (create, update) on a CustomerClientLink. - - - Attributes: - update_mask: - 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 - link. - update: - Update operation: The link is expected to have a valid - resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CustomerClientLinkOperation) - )) -_sym_db.RegisterMessage(CustomerClientLinkOperation) - -MutateCustomerClientLinkResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerClientLinkResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERCLIENTLINKRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.customer_client_link_service_pb2' - , - __doc__ = """Response message for a CustomerClientLink mutate. - - - Attributes: - result: - A result that identifies the resource affected by the mutate - request. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomerClientLinkResponse) - )) -_sym_db.RegisterMessage(MutateCustomerClientLinkResponse) - -MutateCustomerClientLinkResult = _reflection.GeneratedProtocolMessageType('MutateCustomerClientLinkResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERCLIENTLINKRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.customer_client_link_service_pb2' - , - __doc__ = """The result for a single customer client link mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomerClientLinkResult) - )) -_sym_db.RegisterMessage(MutateCustomerClientLinkResult) - - -DESCRIPTOR._options = None - -_CUSTOMERCLIENTLINKSERVICE = _descriptor.ServiceDescriptor( - name='CustomerClientLinkService', - full_name='google.ads.googleads.v2.services.CustomerClientLinkService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=878, - serialized_end=1375, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomerClientLink', - full_name='google.ads.googleads.v2.services.CustomerClientLinkService.GetCustomerClientLink', - index=0, - containing_service=None, - input_type=_GETCUSTOMERCLIENTLINKREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{resource_name=customers/*/customerClientLinks/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCustomerClientLink', - full_name='google.ads.googleads.v2.services.CustomerClientLinkService.MutateCustomerClientLink', - index=1, - containing_service=None, - input_type=_MUTATECUSTOMERCLIENTLINKREQUEST, - output_type=_MUTATECUSTOMERCLIENTLINKRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v2/customers/{customer_id=*}/customerClientLinks:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CUSTOMERCLIENTLINKSERVICE) - -DESCRIPTOR.services_by_name['CustomerClientLinkService'] = _CUSTOMERCLIENTLINKSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/customer_client_link_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/customer_client_link_service_pb2_grpc.py deleted file mode 100644 index 8fa2669a1..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_client_link_service_pb2_grpc.py +++ /dev/null @@ -1,64 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__link__pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__client__link__service__pb2 - - -class CustomerClientLinkServiceStub(object): - """Service to manage customer client links. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCustomerClientLink = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerClientLinkService/GetCustomerClientLink', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__client__link__service__pb2.GetCustomerClientLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__link__pb2.CustomerClientLink.FromString, - ) - self.MutateCustomerClientLink = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerClientLinkService/MutateCustomerClientLink', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkResponse.FromString, - ) - - -class CustomerClientLinkServiceServicer(object): - """Service to manage customer client links. - """ - - def GetCustomerClientLink(self, request, context): - """Returns the requested CustomerClientLink in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCustomerClientLink(self, request, context): - """Creates or updates a customer client link. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_customer__client__link__service__pb2.GetCustomerClientLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CustomerClientLinkService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/customer_client_service_pb2.py b/google/ads/google_ads/v2/proto/services/customer_client_service_pb2.py deleted file mode 100644 index 53c3eab85..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_client_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_v2/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.v2.proto.resources import customer_client_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/customer_client_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032CustomerClientServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/services/customer_client_service.proto\x12 google.ads.googleads.v2.services\x1a=google/ads/googleads_v2/proto/resources/customer_client.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"1\n\x18GetCustomerClientRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf4\x01\n\x15\x43ustomerClientService\x12\xbd\x01\n\x11GetCustomerClient\x12:.google.ads.googleads.v2.services.GetCustomerClientRequest\x1a\x31.google.ads.googleads.v2.resources.CustomerClient\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/customerClients/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1a\x43ustomerClientServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMERCLIENTREQUEST = _descriptor.Descriptor( - name='GetCustomerClientRequest', - full_name='google.ads.googleads.v2.services.GetCustomerClientRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=224, - serialized_end=273, -) - -DESCRIPTOR.message_types_by_name['GetCustomerClientRequest'] = _GETCUSTOMERCLIENTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomerClientRequest = _reflection.GeneratedProtocolMessageType('GetCustomerClientRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMERCLIENTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_client_service_pb2' - , - __doc__ = """Request message for - [CustomerClientService.GetCustomerClient][google.ads.googleads.v2.services.CustomerClientService.GetCustomerClient]. - - - Attributes: - resource_name: - The resource name of the client to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCustomerClientRequest) - )) -_sym_db.RegisterMessage(GetCustomerClientRequest) - - -DESCRIPTOR._options = None - -_CUSTOMERCLIENTSERVICE = _descriptor.ServiceDescriptor( - name='CustomerClientService', - full_name='google.ads.googleads.v2.services.CustomerClientService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=276, - serialized_end=520, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomerClient', - full_name='google.ads.googleads.v2.services.CustomerClientService.GetCustomerClient', - index=0, - containing_service=None, - input_type=_GETCUSTOMERCLIENTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__pb2._CUSTOMERCLIENT, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{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/v2/proto/services/customer_client_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/customer_client_service_pb2_grpc.py deleted file mode 100644 index 00a61d58e..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_client_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__client__service__pb2 - - -class CustomerClientServiceStub(object): - """Proto file describing the Customer Client service. - - Service to get clients in a customer's hierarchy. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCustomerClient = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerClientService/GetCustomerClient', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__client__service__pb2.GetCustomerClientRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__pb2.CustomerClient.FromString, - ) - - -class CustomerClientServiceServicer(object): - """Proto file describing the Customer Client service. - - Service to get clients in a customer's hierarchy. - """ - - def GetCustomerClient(self, request, context): - """Returns the requested client in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_customer__client__service__pb2.GetCustomerClientRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__pb2.CustomerClient.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CustomerClientService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/customer_extension_setting_service_pb2.py b/google/ads/google_ads/v2/proto/services/customer_extension_setting_service_pb2.py deleted file mode 100644 index 7643e5c39..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_extension_setting_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_v2/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')) -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.v2.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__extension__setting__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/customer_extension_setting_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB$CustomerExtensionSettingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nOgoogle/ads/googleads_v2/proto/services/customer_extension_setting_service.proto\x12 google.ads.googleads.v2.services\x1aHgoogle/ads/googleads_v2/proto/resources/customer_extension_setting.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CustomerExtensionSettingH\x00\x12M\n\x06update\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v2.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.v2.services.MutateCustomerExtensionSettingResult\"=\n$MutateCustomerExtensionSettingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xaa\x04\n\x1f\x43ustomerExtensionSettingService\x12\xe5\x01\n\x1bGetCustomerExtensionSetting\x12\x44.google.ads.googleads.v2.services.GetCustomerExtensionSettingRequest\x1a;.google.ads.googleads.v2.resources.CustomerExtensionSetting\"C\x82\xd3\xe4\x93\x02=\x12;/v2/{resource_name=customers/*/customerExtensionSettings/*}\x12\x81\x02\n\x1fMutateCustomerExtensionSettings\x12H.google.ads.googleads.v2.services.MutateCustomerExtensionSettingsRequest\x1aI.google.ads.googleads.v2.services.MutateCustomerExtensionSettingsResponse\"I\x82\xd3\xe4\x93\x02\x43\">/v2/customers/{customer_id=*}/customerExtensionSettings:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8b\x02\n$com.google.ads.googleads.v2.servicesB$CustomerExtensionSettingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMEREXTENSIONSETTINGREQUEST = _descriptor.Descriptor( - name='GetCustomerExtensionSettingRequest', - full_name='google.ads.googleads.v2.services.GetCustomerExtensionSettingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=305, - serialized_end=364, -) - - -_MUTATECUSTOMEREXTENSIONSETTINGSREQUEST = _descriptor.Descriptor( - name='MutateCustomerExtensionSettingsRequest', - full_name='google.ads.googleads.v2.services.MutateCustomerExtensionSettingsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=367, - serialized_end=565, -) - - -_CUSTOMEREXTENSIONSETTINGOPERATION = _descriptor.Descriptor( - name='CustomerExtensionSettingOperation', - full_name='google.ads.googleads.v2.services.CustomerExtensionSettingOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.CustomerExtensionSettingOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=568, - serialized_end=841, -) - - -_MUTATECUSTOMEREXTENSIONSETTINGSRESPONSE = _descriptor.Descriptor( - name='MutateCustomerExtensionSettingsResponse', - full_name='google.ads.googleads.v2.services.MutateCustomerExtensionSettingsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=844, - serialized_end=1025, -) - - -_MUTATECUSTOMEREXTENSIONSETTINGRESULT = _descriptor.Descriptor( - name='MutateCustomerExtensionSettingResult', - full_name='google.ads.googleads.v2.services.MutateCustomerExtensionSettingResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=1027, - serialized_end=1088, -) - -_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__v2_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING -_CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CUSTOMEREXTENSIONSETTINGOPERATION.oneofs_by_name['operation'].fields.append( - _CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['update']) -_CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['update'].containing_oneof = _CUSTOMEREXTENSIONSETTINGOPERATION.oneofs_by_name['operation'] -_CUSTOMEREXTENSIONSETTINGOPERATION.oneofs_by_name['operation'].fields.append( - _CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['remove']) -_CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['remove'].containing_oneof = _CUSTOMEREXTENSIONSETTINGOPERATION.oneofs_by_name['operation'] -_MUTATECUSTOMEREXTENSIONSETTINGSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECUSTOMEREXTENSIONSETTINGSRESPONSE.fields_by_name['results'].message_type = _MUTATECUSTOMEREXTENSIONSETTINGRESULT -DESCRIPTOR.message_types_by_name['GetCustomerExtensionSettingRequest'] = _GETCUSTOMEREXTENSIONSETTINGREQUEST -DESCRIPTOR.message_types_by_name['MutateCustomerExtensionSettingsRequest'] = _MUTATECUSTOMEREXTENSIONSETTINGSREQUEST -DESCRIPTOR.message_types_by_name['CustomerExtensionSettingOperation'] = _CUSTOMEREXTENSIONSETTINGOPERATION -DESCRIPTOR.message_types_by_name['MutateCustomerExtensionSettingsResponse'] = _MUTATECUSTOMEREXTENSIONSETTINGSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCustomerExtensionSettingResult'] = _MUTATECUSTOMEREXTENSIONSETTINGRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomerExtensionSettingRequest = _reflection.GeneratedProtocolMessageType('GetCustomerExtensionSettingRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMEREXTENSIONSETTINGREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_extension_setting_service_pb2' - , - __doc__ = """Request message for - [CustomerExtensionSettingService.GetCustomerExtensionSetting][google.ads.googleads.v2.services.CustomerExtensionSettingService.GetCustomerExtensionSetting]. - - - Attributes: - resource_name: - The resource name of the customer extension setting to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCustomerExtensionSettingRequest) - )) -_sym_db.RegisterMessage(GetCustomerExtensionSettingRequest) - -MutateCustomerExtensionSettingsRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerExtensionSettingsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMEREXTENSIONSETTINGSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_extension_setting_service_pb2' - , - __doc__ = """Request message for - [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v2.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. - - - Attributes: - customer_id: - The ID of the customer whose customer extension settings are - being modified. - operations: - 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 - 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.v2.services.MutateCustomerExtensionSettingsRequest) - )) -_sym_db.RegisterMessage(MutateCustomerExtensionSettingsRequest) - -CustomerExtensionSettingOperation = _reflection.GeneratedProtocolMessageType('CustomerExtensionSettingOperation', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMEREXTENSIONSETTINGOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.customer_extension_setting_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a customer extension - setting. - - - Attributes: - update_mask: - 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 - customer extension setting. - update: - Update operation: The customer extension setting is expected - to have a valid resource name. - remove: - Remove operation: A resource name for the removed customer - extension setting is expected, in this format: ``customers/{c - ustomer_id}/customerExtensionSettings/{extension_type}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CustomerExtensionSettingOperation) - )) -_sym_db.RegisterMessage(CustomerExtensionSettingOperation) - -MutateCustomerExtensionSettingsResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerExtensionSettingsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMEREXTENSIONSETTINGSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.customer_extension_setting_service_pb2' - , - __doc__ = """Response message for a customer extension setting 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.v2.services.MutateCustomerExtensionSettingsResponse) - )) -_sym_db.RegisterMessage(MutateCustomerExtensionSettingsResponse) - -MutateCustomerExtensionSettingResult = _reflection.GeneratedProtocolMessageType('MutateCustomerExtensionSettingResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMEREXTENSIONSETTINGRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.customer_extension_setting_service_pb2' - , - __doc__ = """The result for the customer extension setting mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomerExtensionSettingResult) - )) -_sym_db.RegisterMessage(MutateCustomerExtensionSettingResult) - - -DESCRIPTOR._options = None - -_CUSTOMEREXTENSIONSETTINGSERVICE = _descriptor.ServiceDescriptor( - name='CustomerExtensionSettingService', - full_name='google.ads.googleads.v2.services.CustomerExtensionSettingService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1091, - serialized_end=1645, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomerExtensionSetting', - full_name='google.ads.googleads.v2.services.CustomerExtensionSettingService.GetCustomerExtensionSetting', - index=0, - containing_service=None, - input_type=_GETCUSTOMEREXTENSIONSETTINGREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING, - serialized_options=_b('\202\323\344\223\002=\022;/v2/{resource_name=customers/*/customerExtensionSettings/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCustomerExtensionSettings', - full_name='google.ads.googleads.v2.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings', - index=1, - containing_service=None, - input_type=_MUTATECUSTOMEREXTENSIONSETTINGSREQUEST, - output_type=_MUTATECUSTOMEREXTENSIONSETTINGSRESPONSE, - serialized_options=_b('\202\323\344\223\002C\">/v2/customers/{customer_id=*}/customerExtensionSettings:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CUSTOMEREXTENSIONSETTINGSERVICE) - -DESCRIPTOR.services_by_name['CustomerExtensionSettingService'] = _CUSTOMEREXTENSIONSETTINGSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/customer_extension_setting_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/customer_extension_setting_service_pb2_grpc.py deleted file mode 100644 index 56409acae..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_extension_setting_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.v2.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__extension__setting__pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__extension__setting__service__pb2 - - -class CustomerExtensionSettingServiceStub(object): - """Proto file describing the CustomerExtensionSetting service. - - Service to manage customer extension settings. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCustomerExtensionSetting = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerExtensionSettingService/GetCustomerExtensionSetting', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.GetCustomerExtensionSettingRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__extension__setting__pb2.CustomerExtensionSetting.FromString, - ) - self.MutateCustomerExtensionSettings = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsResponse.FromString, - ) - - -class CustomerExtensionSettingServiceServicer(object): - """Proto file describing the CustomerExtensionSetting service. - - Service to manage customer extension settings. - """ - - def GetCustomerExtensionSetting(self, request, context): - """Returns the requested customer extension setting in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCustomerExtensionSettings(self, request, context): - """Creates, updates, or removes customer extension settings. Operation - statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.GetCustomerExtensionSettingRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CustomerExtensionSettingService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/customer_feed_service_pb2.py b/google/ads/google_ads/v2/proto/services/customer_feed_service_pb2.py deleted file mode 100644 index 5d90b5e53..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_feed_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_v2/proto/services/customer_feed_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.v2.proto.resources import customer_feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__feed__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/customer_feed_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\030CustomerFeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/services/customer_feed_service.proto\x12 google.ads.googleads.v2.services\x1a;google/ads/googleads_v2/proto/resources/customer_feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CustomerFeedH\x00\x12\x41\n\x06update\x18\x02 \x01(\x0b\x32/.google.ads.googleads.v2.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.v2.services.MutateCustomerFeedResult\"1\n\x18MutateCustomerFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xbe\x03\n\x13\x43ustomerFeedService\x12\xb5\x01\n\x0fGetCustomerFeed\x12\x38.google.ads.googleads.v2.services.GetCustomerFeedRequest\x1a/.google.ads.googleads.v2.resources.CustomerFeed\"7\x82\xd3\xe4\x93\x02\x31\x12//v2/{resource_name=customers/*/customerFeeds/*}\x12\xd1\x01\n\x13MutateCustomerFeeds\x12<.google.ads.googleads.v2.services.MutateCustomerFeedsRequest\x1a=.google.ads.googleads.v2.services.MutateCustomerFeedsResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v2/customers/{customer_id=*}/customerFeeds:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v2.servicesB\x18\x43ustomerFeedServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMERFEEDREQUEST = _descriptor.Descriptor( - name='GetCustomerFeedRequest', - full_name='google.ads.googleads.v2.services.GetCustomerFeedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=279, - serialized_end=326, -) - - -_MUTATECUSTOMERFEEDSREQUEST = _descriptor.Descriptor( - name='MutateCustomerFeedsRequest', - full_name='google.ads.googleads.v2.services.MutateCustomerFeedsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=329, - serialized_end=503, -) - - -_CUSTOMERFEEDOPERATION = _descriptor.Descriptor( - name='CustomerFeedOperation', - full_name='google.ads.googleads.v2.services.CustomerFeedOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.CustomerFeedOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=506, - serialized_end=743, -) - - -_MUTATECUSTOMERFEEDSRESPONSE = _descriptor.Descriptor( - name='MutateCustomerFeedsResponse', - full_name='google.ads.googleads.v2.services.MutateCustomerFeedsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=746, - serialized_end=903, -) - - -_MUTATECUSTOMERFEEDRESULT = _descriptor.Descriptor( - name='MutateCustomerFeedResult', - full_name='google.ads.googleads.v2.services.MutateCustomerFeedResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=905, - serialized_end=954, -) - -_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__v2_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED -_CUSTOMERFEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CUSTOMERFEEDOPERATION.oneofs_by_name['operation'].fields.append( - _CUSTOMERFEEDOPERATION.fields_by_name['update']) -_CUSTOMERFEEDOPERATION.fields_by_name['update'].containing_oneof = _CUSTOMERFEEDOPERATION.oneofs_by_name['operation'] -_CUSTOMERFEEDOPERATION.oneofs_by_name['operation'].fields.append( - _CUSTOMERFEEDOPERATION.fields_by_name['remove']) -_CUSTOMERFEEDOPERATION.fields_by_name['remove'].containing_oneof = _CUSTOMERFEEDOPERATION.oneofs_by_name['operation'] -_MUTATECUSTOMERFEEDSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECUSTOMERFEEDSRESPONSE.fields_by_name['results'].message_type = _MUTATECUSTOMERFEEDRESULT -DESCRIPTOR.message_types_by_name['GetCustomerFeedRequest'] = _GETCUSTOMERFEEDREQUEST -DESCRIPTOR.message_types_by_name['MutateCustomerFeedsRequest'] = _MUTATECUSTOMERFEEDSREQUEST -DESCRIPTOR.message_types_by_name['CustomerFeedOperation'] = _CUSTOMERFEEDOPERATION -DESCRIPTOR.message_types_by_name['MutateCustomerFeedsResponse'] = _MUTATECUSTOMERFEEDSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCustomerFeedResult'] = _MUTATECUSTOMERFEEDRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomerFeedRequest = _reflection.GeneratedProtocolMessageType('GetCustomerFeedRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMERFEEDREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_feed_service_pb2' - , - __doc__ = """Request message for - [CustomerFeedService.GetCustomerFeed][google.ads.googleads.v2.services.CustomerFeedService.GetCustomerFeed]. - - - Attributes: - resource_name: - The resource name of the customer feed to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCustomerFeedRequest) - )) -_sym_db.RegisterMessage(GetCustomerFeedRequest) - -MutateCustomerFeedsRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerFeedsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERFEEDSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_feed_service_pb2' - , - __doc__ = """Request message for - [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v2.services.CustomerFeedService.MutateCustomerFeeds]. - - - Attributes: - customer_id: - The ID of the customer whose customer feeds are being - modified. - operations: - 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 - 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.v2.services.MutateCustomerFeedsRequest) - )) -_sym_db.RegisterMessage(MutateCustomerFeedsRequest) - -CustomerFeedOperation = _reflection.GeneratedProtocolMessageType('CustomerFeedOperation', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERFEEDOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.customer_feed_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a customer feed. - - - Attributes: - update_mask: - 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 - customer feed. - update: - Update operation: The customer feed is expected to have a - valid resource name. - remove: - Remove operation: A resource name for the removed customer - feed is expected, in this format: - ``customers/{customer_id}/customerFeeds/{feed_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CustomerFeedOperation) - )) -_sym_db.RegisterMessage(CustomerFeedOperation) - -MutateCustomerFeedsResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerFeedsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERFEEDSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.customer_feed_service_pb2' - , - __doc__ = """Response message for a customer feed 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.v2.services.MutateCustomerFeedsResponse) - )) -_sym_db.RegisterMessage(MutateCustomerFeedsResponse) - -MutateCustomerFeedResult = _reflection.GeneratedProtocolMessageType('MutateCustomerFeedResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERFEEDRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.customer_feed_service_pb2' - , - __doc__ = """The result for the customer feed mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomerFeedResult) - )) -_sym_db.RegisterMessage(MutateCustomerFeedResult) - - -DESCRIPTOR._options = None - -_CUSTOMERFEEDSERVICE = _descriptor.ServiceDescriptor( - name='CustomerFeedService', - full_name='google.ads.googleads.v2.services.CustomerFeedService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=957, - serialized_end=1403, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomerFeed', - full_name='google.ads.googleads.v2.services.CustomerFeedService.GetCustomerFeed', - index=0, - containing_service=None, - input_type=_GETCUSTOMERFEEDREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED, - serialized_options=_b('\202\323\344\223\0021\022//v2/{resource_name=customers/*/customerFeeds/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCustomerFeeds', - full_name='google.ads.googleads.v2.services.CustomerFeedService.MutateCustomerFeeds', - index=1, - containing_service=None, - input_type=_MUTATECUSTOMERFEEDSREQUEST, - output_type=_MUTATECUSTOMERFEEDSRESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v2/customers/{customer_id=*}/customerFeeds:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CUSTOMERFEEDSERVICE) - -DESCRIPTOR.services_by_name['CustomerFeedService'] = _CUSTOMERFEEDSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/customer_feed_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/customer_feed_service_pb2_grpc.py deleted file mode 100644 index e3daa7a7a..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_feed_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.v2.proto.resources import customer_feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__feed__pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__feed__service__pb2 - - -class CustomerFeedServiceStub(object): - """Proto file describing the CustomerFeed service. - - Service to manage customer feeds. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCustomerFeed = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerFeedService/GetCustomerFeed', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__feed__service__pb2.GetCustomerFeedRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__feed__pb2.CustomerFeed.FromString, - ) - self.MutateCustomerFeeds = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerFeedService/MutateCustomerFeeds', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsResponse.FromString, - ) - - -class CustomerFeedServiceServicer(object): - """Proto file describing the CustomerFeed service. - - Service to manage customer feeds. - """ - - def GetCustomerFeed(self, request, context): - """Returns the requested customer feed in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCustomerFeeds(self, request, context): - """Creates, updates, or removes customer feeds. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_customer__feed__service__pb2.GetCustomerFeedRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CustomerFeedService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/customer_label_service_pb2.py b/google/ads/google_ads/v2/proto/services/customer_label_service_pb2.py deleted file mode 100644 index ca22068a3..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_label_service_pb2.py +++ /dev/null @@ -1,380 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/customer_label_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.v2.proto.resources import customer_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__label__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/customer_label_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\031CustomerLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/services/customer_label_service.proto\x12 google.ads.googleads.v2.services\x1a.google.ads.googleads.v2.services.MutateCustomerLabelsResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v2/customers/{customer_id=*}/customerLabels:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x80\x02\n$com.google.ads.googleads.v2.servicesB\x19\x43ustomerLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMERLABELREQUEST = _descriptor.Descriptor( - name='GetCustomerLabelRequest', - full_name='google.ads.googleads.v2.services.GetCustomerLabelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=247, - serialized_end=295, -) - - -_MUTATECUSTOMERLABELSREQUEST = _descriptor.Descriptor( - name='MutateCustomerLabelsRequest', - full_name='google.ads.googleads.v2.services.MutateCustomerLabelsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=298, - serialized_end=474, -) - - -_CUSTOMERLABELOPERATION = _descriptor.Descriptor( - name='CustomerLabelOperation', - full_name='google.ads.googleads.v2.services.CustomerLabelOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.CustomerLabelOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=476, - serialized_end=599, -) - - -_MUTATECUSTOMERLABELSRESPONSE = _descriptor.Descriptor( - name='MutateCustomerLabelsResponse', - full_name='google.ads.googleads.v2.services.MutateCustomerLabelsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=602, - serialized_end=761, -) - - -_MUTATECUSTOMERLABELRESULT = _descriptor.Descriptor( - name='MutateCustomerLabelResult', - full_name='google.ads.googleads.v2.services.MutateCustomerLabelResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=763, - serialized_end=813, -) - -_MUTATECUSTOMERLABELSREQUEST.fields_by_name['operations'].message_type = _CUSTOMERLABELOPERATION -_CUSTOMERLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CUSTOMERLABELOPERATION.oneofs_by_name['operation'].fields.append( - _CUSTOMERLABELOPERATION.fields_by_name['remove']) -_CUSTOMERLABELOPERATION.fields_by_name['remove'].containing_oneof = _CUSTOMERLABELOPERATION.oneofs_by_name['operation'] -_MUTATECUSTOMERLABELSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECUSTOMERLABELSRESPONSE.fields_by_name['results'].message_type = _MUTATECUSTOMERLABELRESULT -DESCRIPTOR.message_types_by_name['GetCustomerLabelRequest'] = _GETCUSTOMERLABELREQUEST -DESCRIPTOR.message_types_by_name['MutateCustomerLabelsRequest'] = _MUTATECUSTOMERLABELSREQUEST -DESCRIPTOR.message_types_by_name['CustomerLabelOperation'] = _CUSTOMERLABELOPERATION -DESCRIPTOR.message_types_by_name['MutateCustomerLabelsResponse'] = _MUTATECUSTOMERLABELSRESPONSE -DESCRIPTOR.message_types_by_name['MutateCustomerLabelResult'] = _MUTATECUSTOMERLABELRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomerLabelRequest = _reflection.GeneratedProtocolMessageType('GetCustomerLabelRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMERLABELREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_label_service_pb2' - , - __doc__ = """Request message for - [CustomerLabelService.GetCustomerLabel][google.ads.googleads.v2.services.CustomerLabelService.GetCustomerLabel]. - - - Attributes: - resource_name: - The resource name of the customer-label relationship to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCustomerLabelRequest) - )) -_sym_db.RegisterMessage(GetCustomerLabelRequest) - -MutateCustomerLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerLabelsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERLABELSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_label_service_pb2' - , - __doc__ = """Request message for - [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v2.services.CustomerLabelService.MutateCustomerLabels]. - - - Attributes: - customer_id: - ID of the customer whose customer-label relationships are - being modified. - operations: - The list of operations to perform on customer-label - relationships. - 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.v2.services.MutateCustomerLabelsRequest) - )) -_sym_db.RegisterMessage(MutateCustomerLabelsRequest) - -CustomerLabelOperation = _reflection.GeneratedProtocolMessageType('CustomerLabelOperation', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERLABELOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.customer_label_service_pb2' - , - __doc__ = """A single operation (create, remove) on a customer-label relationship. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - customer-label relationship. - remove: - Remove operation: A resource name for the customer-label - relationship being removed, in this format: - ``customers/{customer_id}/customerLabels/{label_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CustomerLabelOperation) - )) -_sym_db.RegisterMessage(CustomerLabelOperation) - -MutateCustomerLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerLabelsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERLABELSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.customer_label_service_pb2' - , - __doc__ = """Response message for a customer labels 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.v2.services.MutateCustomerLabelsResponse) - )) -_sym_db.RegisterMessage(MutateCustomerLabelsResponse) - -MutateCustomerLabelResult = _reflection.GeneratedProtocolMessageType('MutateCustomerLabelResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERLABELRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.customer_label_service_pb2' - , - __doc__ = """The result for a customer label mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomerLabelResult) - )) -_sym_db.RegisterMessage(MutateCustomerLabelResult) - - -DESCRIPTOR._options = None - -_CUSTOMERLABELSERVICE = _descriptor.ServiceDescriptor( - name='CustomerLabelService', - full_name='google.ads.googleads.v2.services.CustomerLabelService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=816, - serialized_end=1271, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomerLabel', - full_name='google.ads.googleads.v2.services.CustomerLabelService.GetCustomerLabel', - index=0, - containing_service=None, - input_type=_GETCUSTOMERLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__label__pb2._CUSTOMERLABEL, - serialized_options=_b('\202\323\344\223\0022\0220/v2/{resource_name=customers/*/customerLabels/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCustomerLabels', - full_name='google.ads.googleads.v2.services.CustomerLabelService.MutateCustomerLabels', - index=1, - containing_service=None, - input_type=_MUTATECUSTOMERLABELSREQUEST, - output_type=_MUTATECUSTOMERLABELSRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v2/customers/{customer_id=*}/customerLabels:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CUSTOMERLABELSERVICE) - -DESCRIPTOR.services_by_name['CustomerLabelService'] = _CUSTOMERLABELSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/customer_label_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/customer_label_service_pb2_grpc.py deleted file mode 100644 index e75200463..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_label_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.v2.proto.resources import customer_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__label__pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__label__service__pb2 - - -class CustomerLabelServiceStub(object): - """Proto file describing the Customer Label service. - - Service to manage labels on customers. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCustomerLabel = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerLabelService/GetCustomerLabel', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__label__service__pb2.GetCustomerLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__label__pb2.CustomerLabel.FromString, - ) - self.MutateCustomerLabels = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerLabelService/MutateCustomerLabels', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsResponse.FromString, - ) - - -class CustomerLabelServiceServicer(object): - """Proto file describing the Customer Label service. - - Service to manage labels on customers. - """ - - def GetCustomerLabel(self, request, context): - """Returns the requested customer-label relationship in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCustomerLabels(self, request, context): - """Creates and removes customer-label relationships. - Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_customer__label__service__pb2.GetCustomerLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CustomerLabelService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/customer_manager_link_service_pb2.py b/google/ads/google_ads/v2/proto/services/customer_manager_link_service_pb2.py deleted file mode 100644 index 9e546f98e..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_manager_link_service_pb2.py +++ /dev/null @@ -1,346 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.resources import customer_manager_link_pb2 as google_dot_ads_dot_googleads__v2_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 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/customer_manager_link_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\037CustomerManagerLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/services/customer_manager_link_service.proto\x12 google.ads.googleads.v2.services\x1a\x43google/ads/googleads_v2/proto/resources/customer_manager_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/api/client.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.v2.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.v2.resources.CustomerManagerLinkH\x00\x42\x0b\n\toperation\"w\n!MutateCustomerManagerLinkResponse\x12R\n\x07results\x18\x01 \x03(\x0b\x32\x41.google.ads.googleads.v2.services.MutateCustomerManagerLinkResult\"8\n\x1fMutateCustomerManagerLinkResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xfa\x03\n\x1a\x43ustomerManagerLinkService\x12\xd1\x01\n\x16GetCustomerManagerLink\x12?.google.ads.googleads.v2.services.GetCustomerManagerLinkRequest\x1a\x36.google.ads.googleads.v2.resources.CustomerManagerLink\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{resource_name=customers/*/customerManagerLinks/*}\x12\xea\x01\n\x19MutateCustomerManagerLink\x12\x42.google.ads.googleads.v2.services.MutateCustomerManagerLinkRequest\x1a\x43.google.ads.googleads.v2.services.MutateCustomerManagerLinkResponse\"D\x82\xd3\xe4\x93\x02>\"9/v2/customers/{customer_id=*}/customerManagerLinks:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v2.servicesB\x1f\x43ustomerManagerLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMERMANAGERLINKREQUEST = _descriptor.Descriptor( - name='GetCustomerManagerLinkRequest', - full_name='google.ads.googleads.v2.services.GetCustomerManagerLinkRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=270, - serialized_end=324, -) - - -_MUTATECUSTOMERMANAGERLINKREQUEST = _descriptor.Descriptor( - name='MutateCustomerManagerLinkRequest', - full_name='google.ads.googleads.v2.services.MutateCustomerManagerLinkRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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.v2.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=327, - serialized_end=466, -) - - -_CUSTOMERMANAGERLINKOPERATION = _descriptor.Descriptor( - name='CustomerManagerLinkOperation', - full_name='google.ads.googleads.v2.services.CustomerManagerLinkOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.services.CustomerManagerLinkOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=469, - serialized_end=635, -) - - -_MUTATECUSTOMERMANAGERLINKRESPONSE = _descriptor.Descriptor( - name='MutateCustomerManagerLinkResponse', - full_name='google.ads.googleads.v2.services.MutateCustomerManagerLinkResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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=637, - serialized_end=756, -) - - -_MUTATECUSTOMERMANAGERLINKRESULT = _descriptor.Descriptor( - name='MutateCustomerManagerLinkResult', - full_name='google.ads.googleads.v2.services.MutateCustomerManagerLinkResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=758, - serialized_end=814, -) - -_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__v2_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_v2.proto.services.customer_manager_link_service_pb2' - , - __doc__ = """Request message for - [CustomerManagerLinkService.GetCustomerManagerLink][google.ads.googleads.v2.services.CustomerManagerLinkService.GetCustomerManagerLink]. - - - Attributes: - resource_name: - The resource name of the CustomerManagerLink to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCustomerManagerLinkRequest) - )) -_sym_db.RegisterMessage(GetCustomerManagerLinkRequest) - -MutateCustomerManagerLinkRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerManagerLinkRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERMANAGERLINKREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_manager_link_service_pb2' - , - __doc__ = """Request message for - [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v2.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.v2.services.MutateCustomerManagerLinkRequest) - )) -_sym_db.RegisterMessage(MutateCustomerManagerLinkRequest) - -CustomerManagerLinkOperation = _reflection.GeneratedProtocolMessageType('CustomerManagerLinkOperation', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERMANAGERLINKOPERATION, - __module__ = 'google.ads.googleads_v2.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.v2.services.CustomerManagerLinkOperation) - )) -_sym_db.RegisterMessage(CustomerManagerLinkOperation) - -MutateCustomerManagerLinkResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerManagerLinkResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERMANAGERLINKRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateCustomerManagerLinkResponse) - )) -_sym_db.RegisterMessage(MutateCustomerManagerLinkResponse) - -MutateCustomerManagerLinkResult = _reflection.GeneratedProtocolMessageType('MutateCustomerManagerLinkResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERMANAGERLINKRESULT, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateCustomerManagerLinkResult) - )) -_sym_db.RegisterMessage(MutateCustomerManagerLinkResult) - - -DESCRIPTOR._options = None - -_CUSTOMERMANAGERLINKSERVICE = _descriptor.ServiceDescriptor( - name='CustomerManagerLinkService', - full_name='google.ads.googleads.v2.services.CustomerManagerLinkService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=817, - serialized_end=1323, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomerManagerLink', - full_name='google.ads.googleads.v2.services.CustomerManagerLinkService.GetCustomerManagerLink', - index=0, - containing_service=None, - input_type=_GETCUSTOMERMANAGERLINKREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__manager__link__pb2._CUSTOMERMANAGERLINK, - serialized_options=_b('\202\323\344\223\0028\0226/v2/{resource_name=customers/*/customerManagerLinks/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCustomerManagerLink', - full_name='google.ads.googleads.v2.services.CustomerManagerLinkService.MutateCustomerManagerLink', - index=1, - containing_service=None, - input_type=_MUTATECUSTOMERMANAGERLINKREQUEST, - output_type=_MUTATECUSTOMERMANAGERLINKRESPONSE, - serialized_options=_b('\202\323\344\223\002>\"9/v2/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/v2/proto/services/customer_manager_link_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/customer_manager_link_service_pb2_grpc.py deleted file mode 100644 index b4f2e0f40..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_manager_link_service_pb2_grpc.py +++ /dev/null @@ -1,64 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__manager__link__pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__manager__link__service__pb2 - - -class CustomerManagerLinkServiceStub(object): - """Service to manage customer-manager links. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCustomerManagerLink = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerManagerLinkService/GetCustomerManagerLink', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__manager__link__service__pb2.GetCustomerManagerLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__manager__link__pb2.CustomerManagerLink.FromString, - ) - self.MutateCustomerManagerLink = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerManagerLinkService/MutateCustomerManagerLink', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkResponse.FromString, - ) - - -class CustomerManagerLinkServiceServicer(object): - """Service to manage customer-manager links. - """ - - def GetCustomerManagerLink(self, request, context): - """Returns the requested CustomerManagerLink in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCustomerManagerLink(self, request, context): - """Creates or updates customer manager links. Operation statuses are returned. - """ - 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__v2_dot_proto_dot_services_dot_customer__manager__link__service__pb2.GetCustomerManagerLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CustomerManagerLinkService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/customer_negative_criterion_service_pb2.py b/google/ads/google_ads/v2/proto/services/customer_negative_criterion_service_pb2.py deleted file mode 100644 index 4d2d1a628..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_negative_criterion_service_pb2.py +++ /dev/null @@ -1,379 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import customer_negative_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__negative__criterion__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/customer_negative_criterion_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB%CustomerNegativeCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nPgoogle/ads/googleads_v2/proto/services/customer_negative_criterion_service.proto\x12 google.ads.googleads.v2.services\x1aIgoogle/ads/googleads_v2/proto/resources/customer_negative_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.services.MutateCustomerNegativeCriteriaResult\"=\n$MutateCustomerNegativeCriteriaResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa9\x04\n CustomerNegativeCriterionService\x12\xe7\x01\n\x1cGetCustomerNegativeCriterion\x12\x45.google.ads.googleads.v2.services.GetCustomerNegativeCriterionRequest\x1a<.google.ads.googleads.v2.resources.CustomerNegativeCriterion\"B\x82\xd3\xe4\x93\x02<\x12:/v2/{resource_name=customers/*/customerNegativeCriteria/*}\x12\xfd\x01\n\x1eMutateCustomerNegativeCriteria\x12G.google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaRequest\x1aH.google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v2/customers/{customer_id=*}/customerNegativeCriteria:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8c\x02\n$com.google.ads.googleads.v2.servicesB%CustomerNegativeCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMERNEGATIVECRITERIONREQUEST = _descriptor.Descriptor( - name='GetCustomerNegativeCriterionRequest', - full_name='google.ads.googleads.v2.services.GetCustomerNegativeCriterionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=273, - serialized_end=333, -) - - -_MUTATECUSTOMERNEGATIVECRITERIAREQUEST = _descriptor.Descriptor( - name='MutateCustomerNegativeCriteriaRequest', - full_name='google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=336, - serialized_end=534, -) - - -_CUSTOMERNEGATIVECRITERIONOPERATION = _descriptor.Descriptor( - name='CustomerNegativeCriterionOperation', - full_name='google.ads.googleads.v2.services.CustomerNegativeCriterionOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.CustomerNegativeCriterionOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=537, - serialized_end=684, -) - - -_MUTATECUSTOMERNEGATIVECRITERIARESPONSE = _descriptor.Descriptor( - name='MutateCustomerNegativeCriteriaResponse', - full_name='google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=687, - serialized_end=867, -) - - -_MUTATECUSTOMERNEGATIVECRITERIARESULT = _descriptor.Descriptor( - name='MutateCustomerNegativeCriteriaResult', - full_name='google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=930, -) - -_MUTATECUSTOMERNEGATIVECRITERIAREQUEST.fields_by_name['operations'].message_type = _CUSTOMERNEGATIVECRITERIONOPERATION -_CUSTOMERNEGATIVECRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_CUSTOMERNEGATIVECRITERIONOPERATION.oneofs_by_name['operation'].fields.append( - _CUSTOMERNEGATIVECRITERIONOPERATION.fields_by_name['remove']) -_CUSTOMERNEGATIVECRITERIONOPERATION.fields_by_name['remove'].containing_oneof = _CUSTOMERNEGATIVECRITERIONOPERATION.oneofs_by_name['operation'] -_MUTATECUSTOMERNEGATIVECRITERIARESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATECUSTOMERNEGATIVECRITERIARESPONSE.fields_by_name['results'].message_type = _MUTATECUSTOMERNEGATIVECRITERIARESULT -DESCRIPTOR.message_types_by_name['GetCustomerNegativeCriterionRequest'] = _GETCUSTOMERNEGATIVECRITERIONREQUEST -DESCRIPTOR.message_types_by_name['MutateCustomerNegativeCriteriaRequest'] = _MUTATECUSTOMERNEGATIVECRITERIAREQUEST -DESCRIPTOR.message_types_by_name['CustomerNegativeCriterionOperation'] = _CUSTOMERNEGATIVECRITERIONOPERATION -DESCRIPTOR.message_types_by_name['MutateCustomerNegativeCriteriaResponse'] = _MUTATECUSTOMERNEGATIVECRITERIARESPONSE -DESCRIPTOR.message_types_by_name['MutateCustomerNegativeCriteriaResult'] = _MUTATECUSTOMERNEGATIVECRITERIARESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomerNegativeCriterionRequest = _reflection.GeneratedProtocolMessageType('GetCustomerNegativeCriterionRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMERNEGATIVECRITERIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_negative_criterion_service_pb2' - , - __doc__ = """Request message for - [CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v2.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion]. - - - Attributes: - resource_name: - The resource name of the criterion to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCustomerNegativeCriterionRequest) - )) -_sym_db.RegisterMessage(GetCustomerNegativeCriterionRequest) - -MutateCustomerNegativeCriteriaRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerNegativeCriteriaRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERNEGATIVECRITERIAREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_negative_criterion_service_pb2' - , - __doc__ = """Request message for - [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v2.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. - - - Attributes: - customer_id: - The ID of the customer whose criteria are being modified. - operations: - 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 - 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.v2.services.MutateCustomerNegativeCriteriaRequest) - )) -_sym_db.RegisterMessage(MutateCustomerNegativeCriteriaRequest) - -CustomerNegativeCriterionOperation = _reflection.GeneratedProtocolMessageType('CustomerNegativeCriterionOperation', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERNEGATIVECRITERIONOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.customer_negative_criterion_service_pb2' - , - __doc__ = """A single operation (create or remove) on a customer level negative - criterion. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - criterion. - remove: - Remove operation: A resource name for the removed criterion is - expected, in this format: ``customers/{customer_id}/customerN - egativeCriteria/{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CustomerNegativeCriterionOperation) - )) -_sym_db.RegisterMessage(CustomerNegativeCriterionOperation) - -MutateCustomerNegativeCriteriaResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerNegativeCriteriaResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERNEGATIVECRITERIARESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.customer_negative_criterion_service_pb2' - , - __doc__ = """Response message for customer negative criterion 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.v2.services.MutateCustomerNegativeCriteriaResponse) - )) -_sym_db.RegisterMessage(MutateCustomerNegativeCriteriaResponse) - -MutateCustomerNegativeCriteriaResult = _reflection.GeneratedProtocolMessageType('MutateCustomerNegativeCriteriaResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERNEGATIVECRITERIARESULT, - __module__ = 'google.ads.googleads_v2.proto.services.customer_negative_criterion_service_pb2' - , - __doc__ = """The result for the criterion mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaResult) - )) -_sym_db.RegisterMessage(MutateCustomerNegativeCriteriaResult) - - -DESCRIPTOR._options = None - -_CUSTOMERNEGATIVECRITERIONSERVICE = _descriptor.ServiceDescriptor( - name='CustomerNegativeCriterionService', - full_name='google.ads.googleads.v2.services.CustomerNegativeCriterionService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=933, - serialized_end=1486, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomerNegativeCriterion', - full_name='google.ads.googleads.v2.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion', - index=0, - containing_service=None, - input_type=_GETCUSTOMERNEGATIVECRITERIONREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__negative__criterion__pb2._CUSTOMERNEGATIVECRITERION, - serialized_options=_b('\202\323\344\223\002<\022:/v2/{resource_name=customers/*/customerNegativeCriteria/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCustomerNegativeCriteria', - full_name='google.ads.googleads.v2.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria', - index=1, - containing_service=None, - input_type=_MUTATECUSTOMERNEGATIVECRITERIAREQUEST, - output_type=_MUTATECUSTOMERNEGATIVECRITERIARESPONSE, - serialized_options=_b('\202\323\344\223\002B\"=/v2/customers/{customer_id=*}/customerNegativeCriteria:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CUSTOMERNEGATIVECRITERIONSERVICE) - -DESCRIPTOR.services_by_name['CustomerNegativeCriterionService'] = _CUSTOMERNEGATIVECRITERIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/customer_negative_criterion_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/customer_negative_criterion_service_pb2_grpc.py deleted file mode 100644 index bd8ed5102..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_negative_criterion_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__negative__criterion__pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2 - - -class CustomerNegativeCriterionServiceStub(object): - """Proto file describing the Customer Negative Criterion service. - - Service to manage customer negative criteria. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCustomerNegativeCriterion = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.GetCustomerNegativeCriterionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.CustomerNegativeCriterion.FromString, - ) - self.MutateCustomerNegativeCriteria = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaResponse.FromString, - ) - - -class CustomerNegativeCriterionServiceServicer(object): - """Proto file describing the Customer Negative Criterion service. - - Service to manage customer negative criteria. - """ - - def GetCustomerNegativeCriterion(self, request, context): - """Returns the requested criterion in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCustomerNegativeCriteria(self, request, context): - """Creates or removes criteria. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.GetCustomerNegativeCriterionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CustomerNegativeCriterionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/customer_service_pb2.py b/google/ads/google_ads/v2/proto/services/customer_service_pb2.py deleted file mode 100644 index 66f108c20..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_service_pb2.py +++ /dev/null @@ -1,574 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/customer_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.v2.proto.enums import access_role_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_access__role__pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__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.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/customer_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\024CustomerServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n=google/ads/googleads_v2/proto/services/customer_service.proto\x12 google.ads.googleads.v2.services\x1a\x35google/ads/googleads_v2/proto/enums/access_role.proto\x1a\x36google/ads/googleads_v2/proto/resources/customer.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/api/client.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.v2.services.CustomerOperation\x12\x15\n\rvalidate_only\x18\x05 \x01(\x08\"\xfc\x01\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.v2.resources.Customer\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.v2.enums.AccessRoleEnum.AccessRole\"\x81\x01\n\x11\x43ustomerOperation\x12;\n\x06update\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v2.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.v2.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\xa8\x06\n\x0f\x43ustomerService\x12\x99\x01\n\x0bGetCustomer\x12\x34.google.ads.googleads.v2.services.GetCustomerRequest\x1a+.google.ads.googleads.v2.resources.Customer\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v2/{resource_name=customers/*}\x12\xb4\x01\n\x0eMutateCustomer\x12\x37.google.ads.googleads.v2.services.MutateCustomerRequest\x1a\x38.google.ads.googleads.v2.services.MutateCustomerResponse\"/\x82\xd3\xe4\x93\x02)\"$/v2/customers/{customer_id=*}:mutate:\x01*\x12\xcd\x01\n\x17ListAccessibleCustomers\x12@.google.ads.googleads.v2.services.ListAccessibleCustomersRequest\x1a\x41.google.ads.googleads.v2.services.ListAccessibleCustomersResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/v2/customers:listAccessibleCustomers\x12\xd4\x01\n\x14\x43reateCustomerClient\x12=.google.ads.googleads.v2.services.CreateCustomerClientRequest\x1a>.google.ads.googleads.v2.services.CreateCustomerClientResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v2/customers/{customer_id=*}:createCustomerClient:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v2.servicesB\x14\x43ustomerServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_access__role__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMERREQUEST = _descriptor.Descriptor( - name='GetCustomerRequest', - full_name='google.ads.googleads.v2.services.GetCustomerRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=331, - serialized_end=374, -) - - -_MUTATECUSTOMERREQUEST = _descriptor.Descriptor( - name='MutateCustomerRequest', - full_name='google.ads.googleads.v2.services.MutateCustomerRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v2.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, - 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=377, - serialized_end=516, -) - - -_CREATECUSTOMERCLIENTREQUEST = _descriptor.Descriptor( - name='CreateCustomerClientRequest', - full_name='google.ads.googleads.v2.services.CreateCustomerClientRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='customer_client', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='email_address', full_name='google.ads.googleads.v2.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.v2.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=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=519, - serialized_end=771, -) - - -_CUSTOMEROPERATION = _descriptor.Descriptor( - name='CustomerOperation', - full_name='google.ads.googleads.v2.services.CustomerOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v2.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.v2.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, - 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=774, - serialized_end=903, -) - - -_CREATECUSTOMERCLIENTRESPONSE = _descriptor.Descriptor( - name='CreateCustomerClientResponse', - full_name='google.ads.googleads.v2.services.CreateCustomerClientResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=905, - serialized_end=958, -) - - -_MUTATECUSTOMERRESPONSE = _descriptor.Descriptor( - name='MutateCustomerResponse', - full_name='google.ads.googleads.v2.services.MutateCustomerResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v2.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, - 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=960, - serialized_end=1056, -) - - -_MUTATECUSTOMERRESULT = _descriptor.Descriptor( - name='MutateCustomerResult', - full_name='google.ads.googleads.v2.services.MutateCustomerResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=1058, - serialized_end=1103, -) - - -_LISTACCESSIBLECUSTOMERSREQUEST = _descriptor.Descriptor( - name='ListAccessibleCustomersRequest', - full_name='google.ads.googleads.v2.services.ListAccessibleCustomersRequest', - 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=1105, - serialized_end=1137, -) - - -_LISTACCESSIBLECUSTOMERSRESPONSE = _descriptor.Descriptor( - name='ListAccessibleCustomersResponse', - full_name='google.ads.googleads.v2.services.ListAccessibleCustomersResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_names', full_name='google.ads.googleads.v2.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, - 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=1139, - serialized_end=1196, -) - -_MUTATECUSTOMERREQUEST.fields_by_name['operation'].message_type = _CUSTOMEROPERATION -_CREATECUSTOMERCLIENTREQUEST.fields_by_name['customer_client'].message_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_enums_dot_access__role__pb2._ACCESSROLEENUM_ACCESSROLE -_CUSTOMEROPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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 -DESCRIPTOR.message_types_by_name['MutateCustomerRequest'] = _MUTATECUSTOMERREQUEST -DESCRIPTOR.message_types_by_name['CreateCustomerClientRequest'] = _CREATECUSTOMERCLIENTREQUEST -DESCRIPTOR.message_types_by_name['CustomerOperation'] = _CUSTOMEROPERATION -DESCRIPTOR.message_types_by_name['CreateCustomerClientResponse'] = _CREATECUSTOMERCLIENTRESPONSE -DESCRIPTOR.message_types_by_name['MutateCustomerResponse'] = _MUTATECUSTOMERRESPONSE -DESCRIPTOR.message_types_by_name['MutateCustomerResult'] = _MUTATECUSTOMERRESULT -DESCRIPTOR.message_types_by_name['ListAccessibleCustomersRequest'] = _LISTACCESSIBLECUSTOMERSREQUEST -DESCRIPTOR.message_types_by_name['ListAccessibleCustomersResponse'] = _LISTACCESSIBLECUSTOMERSRESPONSE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomerRequest = _reflection.GeneratedProtocolMessageType('GetCustomerRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMERREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_service_pb2' - , - __doc__ = """Request message for - [CustomerService.GetCustomer][google.ads.googleads.v2.services.CustomerService.GetCustomer]. - - - Attributes: - resource_name: - The resource name of the customer to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetCustomerRequest) - )) -_sym_db.RegisterMessage(GetCustomerRequest) - -MutateCustomerRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_service_pb2' - , - __doc__ = """Request message for - [CustomerService.MutateCustomer][google.ads.googleads.v2.services.CustomerService.MutateCustomer]. - - - Attributes: - customer_id: - The ID of the customer being modified. - operation: - 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.v2.services.MutateCustomerRequest) - )) -_sym_db.RegisterMessage(MutateCustomerRequest) - -CreateCustomerClientRequest = _reflection.GeneratedProtocolMessageType('CreateCustomerClientRequest', (_message.Message,), dict( - DESCRIPTOR = _CREATECUSTOMERCLIENTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_service_pb2' - , - __doc__ = """Request message for - [CustomerService.CreateCustomerClient][google.ads.googleads.v2.services.CustomerService.CreateCustomerClient]. - - - Attributes: - customer_id: - 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. - 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.v2.services.CreateCustomerClientRequest) - )) -_sym_db.RegisterMessage(CreateCustomerClientRequest) - -CustomerOperation = _reflection.GeneratedProtocolMessageType('CustomerOperation', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMEROPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.customer_service_pb2' - , - __doc__ = """A single update on a customer. - - - Attributes: - update: - Mutate operation. Only updates are supported for customer. - update_mask: - FieldMask that determines which resource fields are modified - in an update. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CustomerOperation) - )) -_sym_db.RegisterMessage(CustomerOperation) - -CreateCustomerClientResponse = _reflection.GeneratedProtocolMessageType('CreateCustomerClientResponse', (_message.Message,), dict( - DESCRIPTOR = _CREATECUSTOMERCLIENTRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.customer_service_pb2' - , - __doc__ = """Response message for CreateCustomerClient mutate. - - - Attributes: - resource_name: - The resource name of the newly created customer client. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.CreateCustomerClientResponse) - )) -_sym_db.RegisterMessage(CreateCustomerClientResponse) - -MutateCustomerResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.customer_service_pb2' - , - __doc__ = """Response message for customer mutate. - - - Attributes: - result: - Result for the mutate. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomerResponse) - )) -_sym_db.RegisterMessage(MutateCustomerResponse) - -MutateCustomerResult = _reflection.GeneratedProtocolMessageType('MutateCustomerResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.customer_service_pb2' - , - __doc__ = """The result for the customer mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateCustomerResult) - )) -_sym_db.RegisterMessage(MutateCustomerResult) - -ListAccessibleCustomersRequest = _reflection.GeneratedProtocolMessageType('ListAccessibleCustomersRequest', (_message.Message,), dict( - DESCRIPTOR = _LISTACCESSIBLECUSTOMERSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.customer_service_pb2' - , - __doc__ = """Request message for - [CustomerService.ListAccessibleCustomers][google.ads.googleads.v2.services.CustomerService.ListAccessibleCustomers]. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ListAccessibleCustomersRequest) - )) -_sym_db.RegisterMessage(ListAccessibleCustomersRequest) - -ListAccessibleCustomersResponse = _reflection.GeneratedProtocolMessageType('ListAccessibleCustomersResponse', (_message.Message,), dict( - DESCRIPTOR = _LISTACCESSIBLECUSTOMERSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.customer_service_pb2' - , - __doc__ = """Response message for - [CustomerService.ListAccessibleCustomers][google.ads.googleads.v2.services.CustomerService.ListAccessibleCustomers]. - - - Attributes: - resource_names: - Resource name of customers directly accessible by the user - authenticating the call. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ListAccessibleCustomersResponse) - )) -_sym_db.RegisterMessage(ListAccessibleCustomersResponse) - - -DESCRIPTOR._options = None - -_CUSTOMERSERVICE = _descriptor.ServiceDescriptor( - name='CustomerService', - full_name='google.ads.googleads.v2.services.CustomerService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1199, - serialized_end=2007, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomer', - full_name='google.ads.googleads.v2.services.CustomerService.GetCustomer', - index=0, - containing_service=None, - input_type=_GETCUSTOMERREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER, - serialized_options=_b('\202\323\344\223\002!\022\037/v2/{resource_name=customers/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCustomer', - full_name='google.ads.googleads.v2.services.CustomerService.MutateCustomer', - index=1, - containing_service=None, - input_type=_MUTATECUSTOMERREQUEST, - output_type=_MUTATECUSTOMERRESPONSE, - serialized_options=_b('\202\323\344\223\002)\"$/v2/customers/{customer_id=*}:mutate:\001*'), - ), - _descriptor.MethodDescriptor( - name='ListAccessibleCustomers', - full_name='google.ads.googleads.v2.services.CustomerService.ListAccessibleCustomers', - index=2, - containing_service=None, - input_type=_LISTACCESSIBLECUSTOMERSREQUEST, - output_type=_LISTACCESSIBLECUSTOMERSRESPONSE, - serialized_options=_b('\202\323\344\223\002\'\022%/v2/customers:listAccessibleCustomers'), - ), - _descriptor.MethodDescriptor( - name='CreateCustomerClient', - full_name='google.ads.googleads.v2.services.CustomerService.CreateCustomerClient', - index=3, - containing_service=None, - input_type=_CREATECUSTOMERCLIENTREQUEST, - output_type=_CREATECUSTOMERCLIENTRESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v2/customers/{customer_id=*}:createCustomerClient:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CUSTOMERSERVICE) - -DESCRIPTOR.services_by_name['CustomerService'] = _CUSTOMERSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/customer_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/customer_service_pb2_grpc.py deleted file mode 100644 index a67ef0232..000000000 --- a/google/ads/google_ads/v2/proto/services/customer_service_pb2_grpc.py +++ /dev/null @@ -1,103 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import customer_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2 - - -class CustomerServiceStub(object): - """Proto file describing the Customer service. - - Service to manage customers. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetCustomer = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerService/GetCustomer', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2.GetCustomerRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__pb2.Customer.FromString, - ) - self.MutateCustomer = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerService/MutateCustomer', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerResponse.FromString, - ) - self.ListAccessibleCustomers = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerService/ListAccessibleCustomers', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersResponse.FromString, - ) - self.CreateCustomerClient = channel.unary_unary( - '/google.ads.googleads.v2.services.CustomerService/CreateCustomerClient', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientResponse.FromString, - ) - - -class CustomerServiceServicer(object): - """Proto file describing the Customer service. - - Service to manage customers. - """ - - def GetCustomer(self, request, context): - """Returns the requested customer in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateCustomer(self, request, context): - """Updates a customer. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListAccessibleCustomers(self, request, context): - """Returns resource names of customers directly accessible by the - user authenticating the call. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CreateCustomerClient(self, request, context): - """Creates a new client under manager. The new client customer is returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_customer__service__pb2.GetCustomerRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.CustomerService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/detail_placement_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/detail_placement_view_service_pb2.py deleted file mode 100644 index d848bc9d0..000000000 --- a/google/ads/google_ads/v2/proto/services/detail_placement_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_v2/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.v2.proto.resources import detail_placement_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/detail_placement_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\037DetailPlacementViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/services/detail_placement_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x43google/ads/googleads_v2/proto/resources/detail_placement_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"6\n\x1dGetDetailPlacementViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8d\x02\n\x1a\x44\x65tailPlacementViewService\x12\xd1\x01\n\x16GetDetailPlacementView\x12?.google.ads.googleads.v2.services.GetDetailPlacementViewRequest\x1a\x36.google.ads.googleads.v2.resources.DetailPlacementView\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{resource_name=customers/*/detailPlacementViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v2.servicesB\x1f\x44\x65tailPlacementViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_detail__placement__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETDETAILPLACEMENTVIEWREQUEST = _descriptor.Descriptor( - name='GetDetailPlacementViewRequest', - full_name='google.ads.googleads.v2.services.GetDetailPlacementViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=236, - serialized_end=290, -) - -DESCRIPTOR.message_types_by_name['GetDetailPlacementViewRequest'] = _GETDETAILPLACEMENTVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetDetailPlacementViewRequest = _reflection.GeneratedProtocolMessageType('GetDetailPlacementViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETDETAILPLACEMENTVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.detail_placement_view_service_pb2' - , - __doc__ = """Request message for - [DetailPlacementViewService.GetDetailPlacementView][google.ads.googleads.v2.services.DetailPlacementViewService.GetDetailPlacementView]. - - - Attributes: - resource_name: - The resource name of the Detail Placement view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetDetailPlacementViewRequest) - )) -_sym_db.RegisterMessage(GetDetailPlacementViewRequest) - - -DESCRIPTOR._options = None - -_DETAILPLACEMENTVIEWSERVICE = _descriptor.ServiceDescriptor( - name='DetailPlacementViewService', - full_name='google.ads.googleads.v2.services.DetailPlacementViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=293, - serialized_end=562, - methods=[ - _descriptor.MethodDescriptor( - name='GetDetailPlacementView', - full_name='google.ads.googleads.v2.services.DetailPlacementViewService.GetDetailPlacementView', - index=0, - containing_service=None, - input_type=_GETDETAILPLACEMENTVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_detail__placement__view__pb2._DETAILPLACEMENTVIEW, - serialized_options=_b('\202\323\344\223\0028\0226/v2/{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/v2/proto/services/detail_placement_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/detail_placement_view_service_pb2_grpc.py deleted file mode 100644 index 73d250dfc..000000000 --- a/google/ads/google_ads/v2/proto/services/detail_placement_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_detail__placement__view__pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_detail__placement__view__service__pb2 - - -class DetailPlacementViewServiceStub(object): - """Proto file describing the Detail Placement View service. - - Service to fetch Detail Placement views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetDetailPlacementView = channel.unary_unary( - '/google.ads.googleads.v2.services.DetailPlacementViewService/GetDetailPlacementView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_detail__placement__view__service__pb2.GetDetailPlacementViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_detail__placement__view__pb2.DetailPlacementView.FromString, - ) - - -class DetailPlacementViewServiceServicer(object): - """Proto file describing the Detail Placement View service. - - Service to fetch Detail Placement views. - """ - - def GetDetailPlacementView(self, request, context): - """Returns the requested Detail Placement view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_detail__placement__view__service__pb2.GetDetailPlacementViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_detail__placement__view__pb2.DetailPlacementView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.DetailPlacementViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/display_keyword_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/display_keyword_view_service_pb2.py deleted file mode 100644 index 7023ed457..000000000 --- a/google/ads/google_ads/v2/proto/services/display_keyword_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_v2/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.v2.proto.resources import display_keyword_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/display_keyword_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\036DisplayKeywordViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/services/display_keyword_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x42google/ads/googleads_v2/proto/resources/display_keyword_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"5\n\x1cGetDisplayKeywordViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x88\x02\n\x19\x44isplayKeywordViewService\x12\xcd\x01\n\x15GetDisplayKeywordView\x12>.google.ads.googleads.v2.services.GetDisplayKeywordViewRequest\x1a\x35.google.ads.googleads.v2.resources.DisplayKeywordView\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/displayKeywordViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1e\x44isplayKeywordViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_display__keyword__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETDISPLAYKEYWORDVIEWREQUEST = _descriptor.Descriptor( - name='GetDisplayKeywordViewRequest', - full_name='google.ads.googleads.v2.services.GetDisplayKeywordViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=234, - serialized_end=287, -) - -DESCRIPTOR.message_types_by_name['GetDisplayKeywordViewRequest'] = _GETDISPLAYKEYWORDVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetDisplayKeywordViewRequest = _reflection.GeneratedProtocolMessageType('GetDisplayKeywordViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETDISPLAYKEYWORDVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.display_keyword_view_service_pb2' - , - __doc__ = """Request message for - [DisplayKeywordViewService.GetDisplayKeywordView][google.ads.googleads.v2.services.DisplayKeywordViewService.GetDisplayKeywordView]. - - - Attributes: - resource_name: - The resource name of the display keyword view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetDisplayKeywordViewRequest) - )) -_sym_db.RegisterMessage(GetDisplayKeywordViewRequest) - - -DESCRIPTOR._options = None - -_DISPLAYKEYWORDVIEWSERVICE = _descriptor.ServiceDescriptor( - name='DisplayKeywordViewService', - full_name='google.ads.googleads.v2.services.DisplayKeywordViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=290, - serialized_end=554, - methods=[ - _descriptor.MethodDescriptor( - name='GetDisplayKeywordView', - full_name='google.ads.googleads.v2.services.DisplayKeywordViewService.GetDisplayKeywordView', - index=0, - containing_service=None, - input_type=_GETDISPLAYKEYWORDVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_display__keyword__view__pb2._DISPLAYKEYWORDVIEW, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{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/v2/proto/services/display_keyword_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/display_keyword_view_service_pb2_grpc.py deleted file mode 100644 index 770edb1c2..000000000 --- a/google/ads/google_ads/v2/proto/services/display_keyword_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_display__keyword__view__pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_display__keyword__view__service__pb2 - - -class DisplayKeywordViewServiceStub(object): - """Proto file describing the Display Keyword View service. - - Service to manage display keyword views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetDisplayKeywordView = channel.unary_unary( - '/google.ads.googleads.v2.services.DisplayKeywordViewService/GetDisplayKeywordView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_display__keyword__view__service__pb2.GetDisplayKeywordViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_display__keyword__view__pb2.DisplayKeywordView.FromString, - ) - - -class DisplayKeywordViewServiceServicer(object): - """Proto file describing the Display Keyword View service. - - Service to manage display keyword views. - """ - - def GetDisplayKeywordView(self, request, context): - """Returns the requested display keyword view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_display__keyword__view__service__pb2.GetDisplayKeywordViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_display__keyword__view__pb2.DisplayKeywordView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.DisplayKeywordViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/distance_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/distance_view_service_pb2.py deleted file mode 100644 index a7ce95d0b..000000000 --- a/google/ads/google_ads/v2/proto/services/distance_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_v2/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.v2.proto.resources import distance_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/distance_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\030DistanceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/services/distance_view_service.proto\x12 google.ads.googleads.v2.services\x1a;google/ads/googleads_v2/proto/resources/distance_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"/\n\x16GetDistanceViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xea\x01\n\x13\x44istanceViewService\x12\xb5\x01\n\x0fGetDistanceView\x12\x38.google.ads.googleads.v2.services.GetDistanceViewRequest\x1a/.google.ads.googleads.v2.resources.DistanceView\"7\x82\xd3\xe4\x93\x02\x31\x12//v2/{resource_name=customers/*/distanceViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v2.servicesB\x18\x44istanceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_distance__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETDISTANCEVIEWREQUEST = _descriptor.Descriptor( - name='GetDistanceViewRequest', - full_name='google.ads.googleads.v2.services.GetDistanceViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=220, - serialized_end=267, -) - -DESCRIPTOR.message_types_by_name['GetDistanceViewRequest'] = _GETDISTANCEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetDistanceViewRequest = _reflection.GeneratedProtocolMessageType('GetDistanceViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETDISTANCEVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.distance_view_service_pb2' - , - __doc__ = """Request message for - [DistanceViewService.GetDistanceView][google.ads.googleads.v2.services.DistanceViewService.GetDistanceView]. - - - Attributes: - resource_name: - The resource name of the distance view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetDistanceViewRequest) - )) -_sym_db.RegisterMessage(GetDistanceViewRequest) - - -DESCRIPTOR._options = None - -_DISTANCEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='DistanceViewService', - full_name='google.ads.googleads.v2.services.DistanceViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=270, - serialized_end=504, - methods=[ - _descriptor.MethodDescriptor( - name='GetDistanceView', - full_name='google.ads.googleads.v2.services.DistanceViewService.GetDistanceView', - index=0, - containing_service=None, - input_type=_GETDISTANCEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_distance__view__pb2._DISTANCEVIEW, - serialized_options=_b('\202\323\344\223\0021\022//v2/{resource_name=customers/*/distanceViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_DISTANCEVIEWSERVICE) - -DESCRIPTOR.services_by_name['DistanceViewService'] = _DISTANCEVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/distance_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/distance_view_service_pb2_grpc.py deleted file mode 100644 index ff629ea30..000000000 --- a/google/ads/google_ads/v2/proto/services/distance_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_distance__view__pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 as google_dot_ads_dot_googleads__v2_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.v2.services.DistanceViewService/GetDistanceView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_distance__view__service__pb2.GetDistanceViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_distance__view__service__pb2.GetDistanceViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_distance__view__pb2.DistanceView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.DistanceViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/domain_category_service_pb2.py b/google/ads/google_ads/v2/proto/services/domain_category_service_pb2.py deleted file mode 100644 index 51bbceb7c..000000000 --- a/google/ads/google_ads/v2/proto/services/domain_category_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_v2/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.v2.proto.resources import domain_category_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/domain_category_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032DomainCategoryServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/services/domain_category_service.proto\x12 google.ads.googleads.v2.services\x1a=google/ads/googleads_v2/proto/resources/domain_category.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"1\n\x18GetDomainCategoryRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf5\x01\n\x15\x44omainCategoryService\x12\xbe\x01\n\x11GetDomainCategory\x12:.google.ads.googleads.v2.services.GetDomainCategoryRequest\x1a\x31.google.ads.googleads.v2.resources.DomainCategory\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{resource_name=customers/*/domainCategories/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1a\x44omainCategoryServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_domain__category__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETDOMAINCATEGORYREQUEST = _descriptor.Descriptor( - name='GetDomainCategoryRequest', - full_name='google.ads.googleads.v2.services.GetDomainCategoryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=224, - serialized_end=273, -) - -DESCRIPTOR.message_types_by_name['GetDomainCategoryRequest'] = _GETDOMAINCATEGORYREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetDomainCategoryRequest = _reflection.GeneratedProtocolMessageType('GetDomainCategoryRequest', (_message.Message,), dict( - DESCRIPTOR = _GETDOMAINCATEGORYREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.domain_category_service_pb2' - , - __doc__ = """Request message for - [DomainCategoryService.GetDomainCategory][google.ads.googleads.v2.services.DomainCategoryService.GetDomainCategory]. - - - Attributes: - resource_name: - Resource name of the domain category to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetDomainCategoryRequest) - )) -_sym_db.RegisterMessage(GetDomainCategoryRequest) - - -DESCRIPTOR._options = None - -_DOMAINCATEGORYSERVICE = _descriptor.ServiceDescriptor( - name='DomainCategoryService', - full_name='google.ads.googleads.v2.services.DomainCategoryService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=276, - serialized_end=521, - methods=[ - _descriptor.MethodDescriptor( - name='GetDomainCategory', - full_name='google.ads.googleads.v2.services.DomainCategoryService.GetDomainCategory', - index=0, - containing_service=None, - input_type=_GETDOMAINCATEGORYREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_domain__category__pb2._DOMAINCATEGORY, - serialized_options=_b('\202\323\344\223\0024\0222/v2/{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/v2/proto/services/domain_category_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/domain_category_service_pb2_grpc.py deleted file mode 100644 index 996931f67..000000000 --- a/google/ads/google_ads/v2/proto/services/domain_category_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_domain__category__pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_domain__category__service__pb2 - - -class DomainCategoryServiceStub(object): - """Proto file describing the DomainCategory Service. - - Service to fetch domain categories. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetDomainCategory = channel.unary_unary( - '/google.ads.googleads.v2.services.DomainCategoryService/GetDomainCategory', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_domain__category__service__pb2.GetDomainCategoryRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_domain__category__pb2.DomainCategory.FromString, - ) - - -class DomainCategoryServiceServicer(object): - """Proto file describing the DomainCategory Service. - - Service to fetch domain categories. - """ - - def GetDomainCategory(self, request, context): - """Returns the requested domain category. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_domain__category__service__pb2.GetDomainCategoryRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_domain__category__pb2.DomainCategory.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.DomainCategoryService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/dynamic_search_ads_search_term_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/dynamic_search_ads_search_term_view_service_pb2.py deleted file mode 100644 index 3e46b9445..000000000 --- a/google/ads/google_ads/v2/proto/services/dynamic_search_ads_search_term_view_service_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/dynamic_search_ads_search_term_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB*DynamicSearchAdsSearchTermViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nXgoogle/ads/googleads_v2/proto/services/dynamic_search_ads_search_term_view_service.proto\x12 google.ads.googleads.v2.services\x1aQgoogle/ads/googleads_v2/proto/resources/dynamic_search_ads_search_term_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"A\n(GetDynamicSearchAdsSearchTermViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc4\x02\n%DynamicSearchAdsSearchTermViewService\x12\xfd\x01\n!GetDynamicSearchAdsSearchTermView\x12J.google.ads.googleads.v2.services.GetDynamicSearchAdsSearchTermViewRequest\x1a\x41.google.ads.googleads.v2.resources.DynamicSearchAdsSearchTermView\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/v2/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x91\x02\n$com.google.ads.googleads.v2.servicesB*DynamicSearchAdsSearchTermViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,]) - - - - -_GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST = _descriptor.Descriptor( - name='GetDynamicSearchAdsSearchTermViewRequest', - full_name='google.ads.googleads.v2.services.GetDynamicSearchAdsSearchTermViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=264, - serialized_end=329, -) - -DESCRIPTOR.message_types_by_name['GetDynamicSearchAdsSearchTermViewRequest'] = _GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetDynamicSearchAdsSearchTermViewRequest = _reflection.GeneratedProtocolMessageType('GetDynamicSearchAdsSearchTermViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.dynamic_search_ads_search_term_view_service_pb2' - , - __doc__ = """Request message for - [DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView][google.ads.googleads.v2.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.v2.services.GetDynamicSearchAdsSearchTermViewRequest) - )) -_sym_db.RegisterMessage(GetDynamicSearchAdsSearchTermViewRequest) - - -DESCRIPTOR._options = None - -_DYNAMICSEARCHADSSEARCHTERMVIEWSERVICE = _descriptor.ServiceDescriptor( - name='DynamicSearchAdsSearchTermViewService', - full_name='google.ads.googleads.v2.services.DynamicSearchAdsSearchTermViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=332, - serialized_end=656, - methods=[ - _descriptor.MethodDescriptor( - name='GetDynamicSearchAdsSearchTermView', - full_name='google.ads.googleads.v2.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView', - index=0, - containing_service=None, - input_type=_GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2._DYNAMICSEARCHADSSEARCHTERMVIEW, - serialized_options=_b('\202\323\344\223\002C\022A/v2/{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/v2/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py deleted file mode 100644 index d85069f30..000000000 --- a/google/ads/google_ads/v2/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_dynamic__search__ads__search__term__view__service__pb2 - - -class DynamicSearchAdsSearchTermViewServiceStub(object): - """Proto file describing the Dynamic Search Ads Search Term View service. - - Service to fetch dynamic search ads views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetDynamicSearchAdsSearchTermView = channel.unary_unary( - '/google.ads.googleads.v2.services.DynamicSearchAdsSearchTermViewService/GetDynamicSearchAdsSearchTermView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_dynamic__search__ads__search__term__view__service__pb2.GetDynamicSearchAdsSearchTermViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DynamicSearchAdsSearchTermView.FromString, - ) - - -class DynamicSearchAdsSearchTermViewServiceServicer(object): - """Proto file describing the Dynamic Search Ads Search Term View service. - - Service to fetch dynamic search ads views. - """ - - def GetDynamicSearchAdsSearchTermView(self, request, context): - """Returns the requested dynamic search ads search term view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_dynamic__search__ads__search__term__view__service__pb2.GetDynamicSearchAdsSearchTermViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DynamicSearchAdsSearchTermView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.DynamicSearchAdsSearchTermViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/expanded_landing_page_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/expanded_landing_page_view_service_pb2.py deleted file mode 100644 index 6db882f56..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.resources import expanded_landing_page_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/expanded_landing_page_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB#ExpandedLandingPageViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nOgoogle/ads/googleads_v2/proto/services/expanded_landing_page_view_service.proto\x12 google.ads.googleads.v2.services\x1aHgoogle/ads/googleads_v2/proto/resources/expanded_landing_page_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\":\n!GetExpandedLandingPageViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa1\x02\n\x1e\x45xpandedLandingPageViewService\x12\xe1\x01\n\x1aGetExpandedLandingPageView\x12\x43.google.ads.googleads.v2.services.GetExpandedLandingPageViewRequest\x1a:.google.ads.googleads.v2.resources.ExpandedLandingPageView\"B\x82\xd3\xe4\x93\x02<\x12:/v2/{resource_name=customers/*/expandedLandingPageViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8a\x02\n$com.google.ads.googleads.v2.servicesB#ExpandedLandingPageViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,]) - - - - -_GETEXPANDEDLANDINGPAGEVIEWREQUEST = _descriptor.Descriptor( - name='GetExpandedLandingPageViewRequest', - full_name='google.ads.googleads.v2.services.GetExpandedLandingPageViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=246, - serialized_end=304, -) - -DESCRIPTOR.message_types_by_name['GetExpandedLandingPageViewRequest'] = _GETEXPANDEDLANDINGPAGEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetExpandedLandingPageViewRequest = _reflection.GeneratedProtocolMessageType('GetExpandedLandingPageViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETEXPANDEDLANDINGPAGEVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.expanded_landing_page_view_service_pb2' - , - __doc__ = """Request message for - [ExpandedLandingPageViewService.GetExpandedLandingPageView][google.ads.googleads.v2.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.v2.services.GetExpandedLandingPageViewRequest) - )) -_sym_db.RegisterMessage(GetExpandedLandingPageViewRequest) - - -DESCRIPTOR._options = None - -_EXPANDEDLANDINGPAGEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ExpandedLandingPageViewService', - full_name='google.ads.googleads.v2.services.ExpandedLandingPageViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=307, - serialized_end=596, - methods=[ - _descriptor.MethodDescriptor( - name='GetExpandedLandingPageView', - full_name='google.ads.googleads.v2.services.ExpandedLandingPageViewService.GetExpandedLandingPageView', - index=0, - containing_service=None, - input_type=_GETEXPANDEDLANDINGPAGEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2._EXPANDEDLANDINGPAGEVIEW, - serialized_options=_b('\202\323\344\223\002<\022:/v2/{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/v2/proto/services/expanded_landing_page_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/expanded_landing_page_view_service_pb2_grpc.py deleted file mode 100644 index fbd8d5c85..000000000 --- a/google/ads/google_ads/v2/proto/services/expanded_landing_page_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_expanded__landing__page__view__service__pb2 - - -class ExpandedLandingPageViewServiceStub(object): - """Proto file describing the expanded landing page view service. - - Service to fetch expanded landing page views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetExpandedLandingPageView = channel.unary_unary( - '/google.ads.googleads.v2.services.ExpandedLandingPageViewService/GetExpandedLandingPageView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_expanded__landing__page__view__service__pb2.GetExpandedLandingPageViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.ExpandedLandingPageView.FromString, - ) - - -class ExpandedLandingPageViewServiceServicer(object): - """Proto file describing the expanded landing page view service. - - Service to fetch expanded landing page views. - """ - - def GetExpandedLandingPageView(self, request, context): - """Returns the requested expanded landing page view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_expanded__landing__page__view__service__pb2.GetExpandedLandingPageViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.ExpandedLandingPageView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ExpandedLandingPageViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/extension_feed_item_service_pb2.py b/google/ads/google_ads/v2/proto/services/extension_feed_item_service_pb2.py deleted file mode 100644 index 03e9b15b4..000000000 --- a/google/ads/google_ads/v2/proto/services/extension_feed_item_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_v2/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')) -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.v2.proto.resources import extension_feed_item_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_extension__feed__item__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/extension_feed_item_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\035ExtensionFeedItemServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/services/extension_feed_item_service.proto\x12 google.ads.googleads.v2.services\x1a\x41google/ads/googleads_v2/proto/resources/extension_feed_item.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.proto\"4\n\x1bGetExtensionFeedItemRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb8\x01\n\x1fMutateExtensionFeedItemsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12P\n\noperations\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v2.services.ExtensionFeedItemOperation\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.v2.resources.ExtensionFeedItemH\x00\x12\x46\n\x06update\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v2.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.v2.services.MutateExtensionFeedItemResult\"6\n\x1dMutateExtensionFeedItemResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xeb\x03\n\x18\x45xtensionFeedItemService\x12\xc9\x01\n\x14GetExtensionFeedItem\x12=.google.ads.googleads.v2.services.GetExtensionFeedItemRequest\x1a\x34.google.ads.googleads.v2.resources.ExtensionFeedItem\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v2/{resource_name=customers/*/extensionFeedItems/*}\x12\xe5\x01\n\x18MutateExtensionFeedItems\x12\x41.google.ads.googleads.v2.services.MutateExtensionFeedItemsRequest\x1a\x42.google.ads.googleads.v2.services.MutateExtensionFeedItemsResponse\"B\x82\xd3\xe4\x93\x02<\"7/v2/customers/{customer_id=*}/extensionFeedItems:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v2.servicesB\x1d\x45xtensionFeedItemServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETEXTENSIONFEEDITEMREQUEST = _descriptor.Descriptor( - name='GetExtensionFeedItemRequest', - full_name='google.ads.googleads.v2.services.GetExtensionFeedItemRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=291, - serialized_end=343, -) - - -_MUTATEEXTENSIONFEEDITEMSREQUEST = _descriptor.Descriptor( - name='MutateExtensionFeedItemsRequest', - full_name='google.ads.googleads.v2.services.MutateExtensionFeedItemsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=346, - serialized_end=530, -) - - -_EXTENSIONFEEDITEMOPERATION = _descriptor.Descriptor( - name='ExtensionFeedItemOperation', - full_name='google.ads.googleads.v2.services.ExtensionFeedItemOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.ExtensionFeedItemOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=533, - serialized_end=785, -) - - -_MUTATEEXTENSIONFEEDITEMSRESPONSE = _descriptor.Descriptor( - name='MutateExtensionFeedItemsResponse', - full_name='google.ads.googleads.v2.services.MutateExtensionFeedItemsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=788, - serialized_end=955, -) - - -_MUTATEEXTENSIONFEEDITEMRESULT = _descriptor.Descriptor( - name='MutateExtensionFeedItemResult', - full_name='google.ads.googleads.v2.services.MutateExtensionFeedItemResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=957, - serialized_end=1011, -) - -_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__v2_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM -_EXTENSIONFEEDITEMOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_EXTENSIONFEEDITEMOPERATION.oneofs_by_name['operation'].fields.append( - _EXTENSIONFEEDITEMOPERATION.fields_by_name['update']) -_EXTENSIONFEEDITEMOPERATION.fields_by_name['update'].containing_oneof = _EXTENSIONFEEDITEMOPERATION.oneofs_by_name['operation'] -_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 -DESCRIPTOR.message_types_by_name['ExtensionFeedItemOperation'] = _EXTENSIONFEEDITEMOPERATION -DESCRIPTOR.message_types_by_name['MutateExtensionFeedItemsResponse'] = _MUTATEEXTENSIONFEEDITEMSRESPONSE -DESCRIPTOR.message_types_by_name['MutateExtensionFeedItemResult'] = _MUTATEEXTENSIONFEEDITEMRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetExtensionFeedItemRequest = _reflection.GeneratedProtocolMessageType('GetExtensionFeedItemRequest', (_message.Message,), dict( - DESCRIPTOR = _GETEXTENSIONFEEDITEMREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.extension_feed_item_service_pb2' - , - __doc__ = """Request message for - [ExtensionFeedItemService.GetExtensionFeedItem][google.ads.googleads.v2.services.ExtensionFeedItemService.GetExtensionFeedItem]. - - - Attributes: - resource_name: - The resource name of the extension feed item to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetExtensionFeedItemRequest) - )) -_sym_db.RegisterMessage(GetExtensionFeedItemRequest) - -MutateExtensionFeedItemsRequest = _reflection.GeneratedProtocolMessageType('MutateExtensionFeedItemsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEEXTENSIONFEEDITEMSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.extension_feed_item_service_pb2' - , - __doc__ = """Request message for - [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v2.services.ExtensionFeedItemService.MutateExtensionFeedItems]. - - - Attributes: - customer_id: - The ID of the customer whose extension feed items are being - modified. - operations: - 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.v2.services.MutateExtensionFeedItemsRequest) - )) -_sym_db.RegisterMessage(MutateExtensionFeedItemsRequest) - -ExtensionFeedItemOperation = _reflection.GeneratedProtocolMessageType('ExtensionFeedItemOperation', (_message.Message,), dict( - DESCRIPTOR = _EXTENSIONFEEDITEMOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.extension_feed_item_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on an extension feed item. - - - Attributes: - update_mask: - 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 - extension feed item. - update: - Update operation: The extension feed item is expected to have - a valid resource name. - remove: - Remove operation: A resource name for the removed extension - feed item is expected, in this format: - ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ExtensionFeedItemOperation) - )) -_sym_db.RegisterMessage(ExtensionFeedItemOperation) - -MutateExtensionFeedItemsResponse = _reflection.GeneratedProtocolMessageType('MutateExtensionFeedItemsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEEXTENSIONFEEDITEMSRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateExtensionFeedItemsResponse) - )) -_sym_db.RegisterMessage(MutateExtensionFeedItemsResponse) - -MutateExtensionFeedItemResult = _reflection.GeneratedProtocolMessageType('MutateExtensionFeedItemResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEEXTENSIONFEEDITEMRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.extension_feed_item_service_pb2' - , - __doc__ = """The result for the extension feed item mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateExtensionFeedItemResult) - )) -_sym_db.RegisterMessage(MutateExtensionFeedItemResult) - - -DESCRIPTOR._options = None - -_EXTENSIONFEEDITEMSERVICE = _descriptor.ServiceDescriptor( - name='ExtensionFeedItemService', - full_name='google.ads.googleads.v2.services.ExtensionFeedItemService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1014, - serialized_end=1505, - methods=[ - _descriptor.MethodDescriptor( - name='GetExtensionFeedItem', - full_name='google.ads.googleads.v2.services.ExtensionFeedItemService.GetExtensionFeedItem', - index=0, - containing_service=None, - input_type=_GETEXTENSIONFEEDITEMREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM, - serialized_options=_b('\202\323\344\223\0026\0224/v2/{resource_name=customers/*/extensionFeedItems/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateExtensionFeedItems', - full_name='google.ads.googleads.v2.services.ExtensionFeedItemService.MutateExtensionFeedItems', - index=1, - containing_service=None, - input_type=_MUTATEEXTENSIONFEEDITEMSREQUEST, - output_type=_MUTATEEXTENSIONFEEDITEMSRESPONSE, - serialized_options=_b('\202\323\344\223\002<\"7/v2/customers/{customer_id=*}/extensionFeedItems:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_EXTENSIONFEEDITEMSERVICE) - -DESCRIPTOR.services_by_name['ExtensionFeedItemService'] = _EXTENSIONFEEDITEMSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/extension_feed_item_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/extension_feed_item_service_pb2_grpc.py deleted file mode 100644 index e302af5a5..000000000 --- a/google/ads/google_ads/v2/proto/services/extension_feed_item_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.v2.proto.resources import extension_feed_item_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_extension__feed__item__pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_extension__feed__item__service__pb2 - - -class ExtensionFeedItemServiceStub(object): - """Proto file describing the ExtensionFeedItem service. - - Service to manage extension feed items. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetExtensionFeedItem = channel.unary_unary( - '/google.ads.googleads.v2.services.ExtensionFeedItemService/GetExtensionFeedItem', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_extension__feed__item__service__pb2.GetExtensionFeedItemRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_extension__feed__item__pb2.ExtensionFeedItem.FromString, - ) - self.MutateExtensionFeedItems = channel.unary_unary( - '/google.ads.googleads.v2.services.ExtensionFeedItemService/MutateExtensionFeedItems', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsResponse.FromString, - ) - - -class ExtensionFeedItemServiceServicer(object): - """Proto file describing the ExtensionFeedItem service. - - Service to manage extension feed items. - """ - - def GetExtensionFeedItem(self, request, context): - """Returns the requested extension feed item in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateExtensionFeedItems(self, request, context): - """Creates, updates, or removes extension feed items. Operation - statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_extension__feed__item__service__pb2.GetExtensionFeedItemRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ExtensionFeedItemService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/feed_item_service_pb2.py b/google/ads/google_ads/v2/proto/services/feed_item_service_pb2.py deleted file mode 100644 index 9f9886bdf..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_item_service_pb2.py +++ /dev/null @@ -1,404 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/feed_item_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.v2.proto.resources import feed_item_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/feed_item_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\024FeedItemServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n>google/ads/googleads_v2/proto/services/feed_item_service.proto\x12 google.ads.googleads.v2.services\x1a\x37google/ads/googleads_v2/proto/resources/feed_item.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.FeedItemH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v2.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.v2.services.MutateFeedItemResult\"-\n\x14MutateFeedItemResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9a\x03\n\x0f\x46\x65\x65\x64ItemService\x12\xa5\x01\n\x0bGetFeedItem\x12\x34.google.ads.googleads.v2.services.GetFeedItemRequest\x1a+.google.ads.googleads.v2.resources.FeedItem\"3\x82\xd3\xe4\x93\x02-\x12+/v2/{resource_name=customers/*/feedItems/*}\x12\xc1\x01\n\x0fMutateFeedItems\x12\x38.google.ads.googleads.v2.services.MutateFeedItemsRequest\x1a\x39.google.ads.googleads.v2.services.MutateFeedItemsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v2/customers/{customer_id=*}/feedItems:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v2.servicesB\x14\x46\x65\x65\x64ItemServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETFEEDITEMREQUEST = _descriptor.Descriptor( - name='GetFeedItemRequest', - full_name='google.ads.googleads.v2.services.GetFeedItemRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=271, - serialized_end=314, -) - - -_MUTATEFEEDITEMSREQUEST = _descriptor.Descriptor( - name='MutateFeedItemsRequest', - full_name='google.ads.googleads.v2.services.MutateFeedItemsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=317, - serialized_end=483, -) - - -_FEEDITEMOPERATION = _descriptor.Descriptor( - name='FeedItemOperation', - full_name='google.ads.googleads.v2.services.FeedItemOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.FeedItemOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=486, - serialized_end=711, -) - - -_MUTATEFEEDITEMSRESPONSE = _descriptor.Descriptor( - name='MutateFeedItemsResponse', - full_name='google.ads.googleads.v2.services.MutateFeedItemsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=714, - serialized_end=863, -) - - -_MUTATEFEEDITEMRESULT = _descriptor.Descriptor( - name='MutateFeedItemResult', - full_name='google.ads.googleads.v2.services.MutateFeedItemResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=865, - serialized_end=910, -) - -_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__v2_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM -_FEEDITEMOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_FEEDITEMOPERATION.oneofs_by_name['operation'].fields.append( - _FEEDITEMOPERATION.fields_by_name['update']) -_FEEDITEMOPERATION.fields_by_name['update'].containing_oneof = _FEEDITEMOPERATION.oneofs_by_name['operation'] -_FEEDITEMOPERATION.oneofs_by_name['operation'].fields.append( - _FEEDITEMOPERATION.fields_by_name['remove']) -_FEEDITEMOPERATION.fields_by_name['remove'].containing_oneof = _FEEDITEMOPERATION.oneofs_by_name['operation'] -_MUTATEFEEDITEMSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEFEEDITEMSRESPONSE.fields_by_name['results'].message_type = _MUTATEFEEDITEMRESULT -DESCRIPTOR.message_types_by_name['GetFeedItemRequest'] = _GETFEEDITEMREQUEST -DESCRIPTOR.message_types_by_name['MutateFeedItemsRequest'] = _MUTATEFEEDITEMSREQUEST -DESCRIPTOR.message_types_by_name['FeedItemOperation'] = _FEEDITEMOPERATION -DESCRIPTOR.message_types_by_name['MutateFeedItemsResponse'] = _MUTATEFEEDITEMSRESPONSE -DESCRIPTOR.message_types_by_name['MutateFeedItemResult'] = _MUTATEFEEDITEMRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetFeedItemRequest = _reflection.GeneratedProtocolMessageType('GetFeedItemRequest', (_message.Message,), dict( - DESCRIPTOR = _GETFEEDITEMREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_service_pb2' - , - __doc__ = """Request message for - [FeedItemService.GetFeedItem][google.ads.googleads.v2.services.FeedItemService.GetFeedItem]. - - - Attributes: - resource_name: - The resource name of the feed item to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetFeedItemRequest) - )) -_sym_db.RegisterMessage(GetFeedItemRequest) - -MutateFeedItemsRequest = _reflection.GeneratedProtocolMessageType('MutateFeedItemsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDITEMSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_service_pb2' - , - __doc__ = """Request message for - [FeedItemService.MutateFeedItems][google.ads.googleads.v2.services.FeedItemService.MutateFeedItems]. - - - Attributes: - customer_id: - The ID of the customer whose feed items are being modified. - operations: - 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 - 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.v2.services.MutateFeedItemsRequest) - )) -_sym_db.RegisterMessage(MutateFeedItemsRequest) - -FeedItemOperation = _reflection.GeneratedProtocolMessageType('FeedItemOperation', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on an feed item. - - - Attributes: - update_mask: - 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 - feed item. - update: - Update operation: The feed item is expected to have a valid - resource name. - remove: - Remove operation: A resource name for the removed feed item is - expected, in this format: - ``customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.FeedItemOperation) - )) -_sym_db.RegisterMessage(FeedItemOperation) - -MutateFeedItemsResponse = _reflection.GeneratedProtocolMessageType('MutateFeedItemsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDITEMSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_service_pb2' - , - __doc__ = """Response message for an 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.v2.services.MutateFeedItemsResponse) - )) -_sym_db.RegisterMessage(MutateFeedItemsResponse) - -MutateFeedItemResult = _reflection.GeneratedProtocolMessageType('MutateFeedItemResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDITEMRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_service_pb2' - , - __doc__ = """The result for the feed item mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateFeedItemResult) - )) -_sym_db.RegisterMessage(MutateFeedItemResult) - - -DESCRIPTOR._options = None - -_FEEDITEMSERVICE = _descriptor.ServiceDescriptor( - name='FeedItemService', - full_name='google.ads.googleads.v2.services.FeedItemService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=913, - serialized_end=1323, - methods=[ - _descriptor.MethodDescriptor( - name='GetFeedItem', - full_name='google.ads.googleads.v2.services.FeedItemService.GetFeedItem', - index=0, - containing_service=None, - input_type=_GETFEEDITEMREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM, - serialized_options=_b('\202\323\344\223\002-\022+/v2/{resource_name=customers/*/feedItems/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateFeedItems', - full_name='google.ads.googleads.v2.services.FeedItemService.MutateFeedItems', - index=1, - containing_service=None, - input_type=_MUTATEFEEDITEMSREQUEST, - output_type=_MUTATEFEEDITEMSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v2/customers/{customer_id=*}/feedItems:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_FEEDITEMSERVICE) - -DESCRIPTOR.services_by_name['FeedItemService'] = _FEEDITEMSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/feed_item_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/feed_item_service_pb2_grpc.py deleted file mode 100644 index ca789c4c3..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_item_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.v2.proto.resources import feed_item_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__service__pb2 - - -class FeedItemServiceStub(object): - """Proto file describing the FeedItem service. - - Service to manage feed items. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetFeedItem = channel.unary_unary( - '/google.ads.googleads.v2.services.FeedItemService/GetFeedItem', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__service__pb2.GetFeedItemRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__pb2.FeedItem.FromString, - ) - self.MutateFeedItems = channel.unary_unary( - '/google.ads.googleads.v2.services.FeedItemService/MutateFeedItems', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsResponse.FromString, - ) - - -class FeedItemServiceServicer(object): - """Proto file describing the FeedItem service. - - Service to manage feed items. - """ - - def GetFeedItem(self, request, context): - """Returns the requested feed item in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateFeedItems(self, request, context): - """Creates, updates, or removes feed items. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_feed__item__service__pb2.GetFeedItemRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.FeedItemService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/feed_item_target_service_pb2.py b/google/ads/google_ads/v2/proto/services/feed_item_target_service_pb2.py deleted file mode 100644 index 56d28cb5b..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_item_target_service_pb2.py +++ /dev/null @@ -1,344 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import feed_item_target_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/feed_item_target_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032FeedItemTargetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/services/feed_item_target_service.proto\x12 google.ads.googleads.v2.services\x1a>google/ads/googleads_v2/proto/resources/feed_item_target.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.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.v2.services.FeedItemTargetOperation\"}\n\x17\x46\x65\x65\x64ItemTargetOperation\x12\x43\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v2.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.v2.services.MutateFeedItemTargetResult\"3\n\x1aMutateFeedItemTargetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd0\x03\n\x15\x46\x65\x65\x64ItemTargetService\x12\xbd\x01\n\x11GetFeedItemTarget\x12:.google.ads.googleads.v2.services.GetFeedItemTargetRequest\x1a\x31.google.ads.googleads.v2.resources.FeedItemTarget\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/feedItemTargets/*}\x12\xd9\x01\n\x15MutateFeedItemTargets\x12>.google.ads.googleads.v2.services.MutateFeedItemTargetsRequest\x1a?.google.ads.googleads.v2.services.MutateFeedItemTargetsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v2/customers/{customer_id=*}/feedItemTargets:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1a\x46\x65\x65\x64ItemTargetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__target__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETFEEDITEMTARGETREQUEST = _descriptor.Descriptor( - name='GetFeedItemTargetRequest', - full_name='google.ads.googleads.v2.services.GetFeedItemTargetRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=226, - serialized_end=275, -) - - -_MUTATEFEEDITEMTARGETSREQUEST = _descriptor.Descriptor( - name='MutateFeedItemTargetsRequest', - full_name='google.ads.googleads.v2.services.MutateFeedItemTargetsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=278, - serialized_end=408, -) - - -_FEEDITEMTARGETOPERATION = _descriptor.Descriptor( - name='FeedItemTargetOperation', - full_name='google.ads.googleads.v2.services.FeedItemTargetOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.FeedItemTargetOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=410, - serialized_end=535, -) - - -_MUTATEFEEDITEMTARGETSRESPONSE = _descriptor.Descriptor( - name='MutateFeedItemTargetsResponse', - full_name='google.ads.googleads.v2.services.MutateFeedItemTargetsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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, - 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=537, - serialized_end=647, -) - - -_MUTATEFEEDITEMTARGETRESULT = _descriptor.Descriptor( - name='MutateFeedItemTargetResult', - full_name='google.ads.googleads.v2.services.MutateFeedItemTargetResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=649, - serialized_end=700, -) - -_MUTATEFEEDITEMTARGETSREQUEST.fields_by_name['operations'].message_type = _FEEDITEMTARGETOPERATION -_FEEDITEMTARGETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_FEEDITEMTARGETOPERATION.oneofs_by_name['operation'].fields.append( - _FEEDITEMTARGETOPERATION.fields_by_name['remove']) -_FEEDITEMTARGETOPERATION.fields_by_name['remove'].containing_oneof = _FEEDITEMTARGETOPERATION.oneofs_by_name['operation'] -_MUTATEFEEDITEMTARGETSRESPONSE.fields_by_name['results'].message_type = _MUTATEFEEDITEMTARGETRESULT -DESCRIPTOR.message_types_by_name['GetFeedItemTargetRequest'] = _GETFEEDITEMTARGETREQUEST -DESCRIPTOR.message_types_by_name['MutateFeedItemTargetsRequest'] = _MUTATEFEEDITEMTARGETSREQUEST -DESCRIPTOR.message_types_by_name['FeedItemTargetOperation'] = _FEEDITEMTARGETOPERATION -DESCRIPTOR.message_types_by_name['MutateFeedItemTargetsResponse'] = _MUTATEFEEDITEMTARGETSRESPONSE -DESCRIPTOR.message_types_by_name['MutateFeedItemTargetResult'] = _MUTATEFEEDITEMTARGETRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetFeedItemTargetRequest = _reflection.GeneratedProtocolMessageType('GetFeedItemTargetRequest', (_message.Message,), dict( - DESCRIPTOR = _GETFEEDITEMTARGETREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_target_service_pb2' - , - __doc__ = """Request message for - [FeedItemTargetService.GetFeedItemTarget][google.ads.googleads.v2.services.FeedItemTargetService.GetFeedItemTarget]. - - - Attributes: - resource_name: - The resource name of the feed item targets to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetFeedItemTargetRequest) - )) -_sym_db.RegisterMessage(GetFeedItemTargetRequest) - -MutateFeedItemTargetsRequest = _reflection.GeneratedProtocolMessageType('MutateFeedItemTargetsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDITEMTARGETSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_target_service_pb2' - , - __doc__ = """Request message for - [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v2.services.FeedItemTargetService.MutateFeedItemTargets]. - - - Attributes: - customer_id: - The ID of the customer whose feed item targets are being - modified. - operations: - The list of operations to perform on individual feed item - targets. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateFeedItemTargetsRequest) - )) -_sym_db.RegisterMessage(MutateFeedItemTargetsRequest) - -FeedItemTargetOperation = _reflection.GeneratedProtocolMessageType('FeedItemTargetOperation', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMTARGETOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_target_service_pb2' - , - __doc__ = """A single operation (create, remove) on an feed item target. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - feed item target. - remove: - Remove operation: A resource name for the removed feed item - target is expected, in this format: ``customers/{customer_id} - /feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_ty - pe}~{feed_item_target_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.FeedItemTargetOperation) - )) -_sym_db.RegisterMessage(FeedItemTargetOperation) - -MutateFeedItemTargetsResponse = _reflection.GeneratedProtocolMessageType('MutateFeedItemTargetsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDITEMTARGETSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_target_service_pb2' - , - __doc__ = """Response message for an feed item target mutate. - - - Attributes: - results: - All results for the mutate. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateFeedItemTargetsResponse) - )) -_sym_db.RegisterMessage(MutateFeedItemTargetsResponse) - -MutateFeedItemTargetResult = _reflection.GeneratedProtocolMessageType('MutateFeedItemTargetResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDITEMTARGETRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.feed_item_target_service_pb2' - , - __doc__ = """The result for the feed item target mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateFeedItemTargetResult) - )) -_sym_db.RegisterMessage(MutateFeedItemTargetResult) - - -DESCRIPTOR._options = None - -_FEEDITEMTARGETSERVICE = _descriptor.ServiceDescriptor( - name='FeedItemTargetService', - full_name='google.ads.googleads.v2.services.FeedItemTargetService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=703, - serialized_end=1167, - methods=[ - _descriptor.MethodDescriptor( - name='GetFeedItemTarget', - full_name='google.ads.googleads.v2.services.FeedItemTargetService.GetFeedItemTarget', - index=0, - containing_service=None, - input_type=_GETFEEDITEMTARGETREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__target__pb2._FEEDITEMTARGET, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{resource_name=customers/*/feedItemTargets/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateFeedItemTargets', - full_name='google.ads.googleads.v2.services.FeedItemTargetService.MutateFeedItemTargets', - index=1, - containing_service=None, - input_type=_MUTATEFEEDITEMTARGETSREQUEST, - output_type=_MUTATEFEEDITEMTARGETSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v2/customers/{customer_id=*}/feedItemTargets:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_FEEDITEMTARGETSERVICE) - -DESCRIPTOR.services_by_name['FeedItemTargetService'] = _FEEDITEMTARGETSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/feed_item_target_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/feed_item_target_service_pb2_grpc.py deleted file mode 100644 index 791276909..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_item_target_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__target__pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__target__service__pb2 - - -class FeedItemTargetServiceStub(object): - """Proto file describing the FeedItemTarget service. - - Service to manage feed item targets. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetFeedItemTarget = channel.unary_unary( - '/google.ads.googleads.v2.services.FeedItemTargetService/GetFeedItemTarget', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__target__service__pb2.GetFeedItemTargetRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__target__pb2.FeedItemTarget.FromString, - ) - self.MutateFeedItemTargets = channel.unary_unary( - '/google.ads.googleads.v2.services.FeedItemTargetService/MutateFeedItemTargets', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsResponse.FromString, - ) - - -class FeedItemTargetServiceServicer(object): - """Proto file describing the FeedItemTarget service. - - Service to manage feed item targets. - """ - - def GetFeedItemTarget(self, request, context): - """Returns the requested feed item targets in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateFeedItemTargets(self, request, context): - """Creates or removes feed item targets. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_feed__item__target__service__pb2.GetFeedItemTargetRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.FeedItemTargetService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/feed_mapping_service_pb2.py b/google/ads/google_ads/v2/proto/services/feed_mapping_service_pb2.py deleted file mode 100644 index 900c59d9e..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_mapping_service_pb2.py +++ /dev/null @@ -1,378 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/feed_mapping_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.v2.proto.resources import feed_mapping_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__mapping__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/feed_mapping_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\027FeedMappingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/services/feed_mapping_service.proto\x12 google.ads.googleads.v2.services\x1a:google/ads/googleads_v2/proto/resources/feed_mapping.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.services.MutateFeedMappingResult\"0\n\x17MutateFeedMappingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb5\x03\n\x12\x46\x65\x65\x64MappingService\x12\xb1\x01\n\x0eGetFeedMapping\x12\x37.google.ads.googleads.v2.services.GetFeedMappingRequest\x1a..google.ads.googleads.v2.resources.FeedMapping\"6\x82\xd3\xe4\x93\x02\x30\x12./v2/{resource_name=customers/*/feedMappings/*}\x12\xcd\x01\n\x12MutateFeedMappings\x12;.google.ads.googleads.v2.services.MutateFeedMappingsRequest\x1a<.google.ads.googleads.v2.services.MutateFeedMappingsResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v2/customers/{customer_id=*}/feedMappings:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfe\x01\n$com.google.ads.googleads.v2.servicesB\x17\x46\x65\x65\x64MappingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__mapping__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETFEEDMAPPINGREQUEST = _descriptor.Descriptor( - name='GetFeedMappingRequest', - full_name='google.ads.googleads.v2.services.GetFeedMappingRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=243, - serialized_end=289, -) - - -_MUTATEFEEDMAPPINGSREQUEST = _descriptor.Descriptor( - name='MutateFeedMappingsRequest', - full_name='google.ads.googleads.v2.services.MutateFeedMappingsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=464, -) - - -_FEEDMAPPINGOPERATION = _descriptor.Descriptor( - name='FeedMappingOperation', - full_name='google.ads.googleads.v2.services.FeedMappingOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.FeedMappingOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=466, - serialized_end=585, -) - - -_MUTATEFEEDMAPPINGSRESPONSE = _descriptor.Descriptor( - name='MutateFeedMappingsResponse', - full_name='google.ads.googleads.v2.services.MutateFeedMappingsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=743, -) - - -_MUTATEFEEDMAPPINGRESULT = _descriptor.Descriptor( - name='MutateFeedMappingResult', - full_name='google.ads.googleads.v2.services.MutateFeedMappingResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=745, - serialized_end=793, -) - -_MUTATEFEEDMAPPINGSREQUEST.fields_by_name['operations'].message_type = _FEEDMAPPINGOPERATION -_FEEDMAPPINGOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_FEEDMAPPINGOPERATION.oneofs_by_name['operation'].fields.append( - _FEEDMAPPINGOPERATION.fields_by_name['remove']) -_FEEDMAPPINGOPERATION.fields_by_name['remove'].containing_oneof = _FEEDMAPPINGOPERATION.oneofs_by_name['operation'] -_MUTATEFEEDMAPPINGSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEFEEDMAPPINGSRESPONSE.fields_by_name['results'].message_type = _MUTATEFEEDMAPPINGRESULT -DESCRIPTOR.message_types_by_name['GetFeedMappingRequest'] = _GETFEEDMAPPINGREQUEST -DESCRIPTOR.message_types_by_name['MutateFeedMappingsRequest'] = _MUTATEFEEDMAPPINGSREQUEST -DESCRIPTOR.message_types_by_name['FeedMappingOperation'] = _FEEDMAPPINGOPERATION -DESCRIPTOR.message_types_by_name['MutateFeedMappingsResponse'] = _MUTATEFEEDMAPPINGSRESPONSE -DESCRIPTOR.message_types_by_name['MutateFeedMappingResult'] = _MUTATEFEEDMAPPINGRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetFeedMappingRequest = _reflection.GeneratedProtocolMessageType('GetFeedMappingRequest', (_message.Message,), dict( - DESCRIPTOR = _GETFEEDMAPPINGREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.feed_mapping_service_pb2' - , - __doc__ = """Request message for - [FeedMappingService.GetFeedMapping][google.ads.googleads.v2.services.FeedMappingService.GetFeedMapping]. - - - Attributes: - resource_name: - The resource name of the feed mapping to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetFeedMappingRequest) - )) -_sym_db.RegisterMessage(GetFeedMappingRequest) - -MutateFeedMappingsRequest = _reflection.GeneratedProtocolMessageType('MutateFeedMappingsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDMAPPINGSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.feed_mapping_service_pb2' - , - __doc__ = """Request message for - [FeedMappingService.MutateFeedMappings][google.ads.googleads.v2.services.FeedMappingService.MutateFeedMappings]. - - - Attributes: - customer_id: - The ID of the customer whose feed mappings are being modified. - operations: - 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 - 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.v2.services.MutateFeedMappingsRequest) - )) -_sym_db.RegisterMessage(MutateFeedMappingsRequest) - -FeedMappingOperation = _reflection.GeneratedProtocolMessageType('FeedMappingOperation', (_message.Message,), dict( - DESCRIPTOR = _FEEDMAPPINGOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.feed_mapping_service_pb2' - , - __doc__ = """A single operation (create, remove) on a feed mapping. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - feed mapping. - remove: - Remove operation: A resource name for the removed feed mapping - is expected, in this format: ``customers/{customer_id}/feedMa - ppings/{feed_id}~{feed_mapping_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.FeedMappingOperation) - )) -_sym_db.RegisterMessage(FeedMappingOperation) - -MutateFeedMappingsResponse = _reflection.GeneratedProtocolMessageType('MutateFeedMappingsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDMAPPINGSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.feed_mapping_service_pb2' - , - __doc__ = """Response message for a feed mapping 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.v2.services.MutateFeedMappingsResponse) - )) -_sym_db.RegisterMessage(MutateFeedMappingsResponse) - -MutateFeedMappingResult = _reflection.GeneratedProtocolMessageType('MutateFeedMappingResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDMAPPINGRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.feed_mapping_service_pb2' - , - __doc__ = """The result for the feed mapping mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateFeedMappingResult) - )) -_sym_db.RegisterMessage(MutateFeedMappingResult) - - -DESCRIPTOR._options = None - -_FEEDMAPPINGSERVICE = _descriptor.ServiceDescriptor( - name='FeedMappingService', - full_name='google.ads.googleads.v2.services.FeedMappingService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=796, - serialized_end=1233, - methods=[ - _descriptor.MethodDescriptor( - name='GetFeedMapping', - full_name='google.ads.googleads.v2.services.FeedMappingService.GetFeedMapping', - index=0, - containing_service=None, - input_type=_GETFEEDMAPPINGREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__mapping__pb2._FEEDMAPPING, - serialized_options=_b('\202\323\344\223\0020\022./v2/{resource_name=customers/*/feedMappings/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateFeedMappings', - full_name='google.ads.googleads.v2.services.FeedMappingService.MutateFeedMappings', - index=1, - containing_service=None, - input_type=_MUTATEFEEDMAPPINGSREQUEST, - output_type=_MUTATEFEEDMAPPINGSRESPONSE, - serialized_options=_b('\202\323\344\223\0026\"1/v2/customers/{customer_id=*}/feedMappings:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_FEEDMAPPINGSERVICE) - -DESCRIPTOR.services_by_name['FeedMappingService'] = _FEEDMAPPINGSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/feed_mapping_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/feed_mapping_service_pb2_grpc.py deleted file mode 100644 index b8ae6353d..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_mapping_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.v2.proto.resources import feed_mapping_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__mapping__pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2 - - -class FeedMappingServiceStub(object): - """Proto file describing the FeedMapping service. - - Service to manage feed mappings. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetFeedMapping = channel.unary_unary( - '/google.ads.googleads.v2.services.FeedMappingService/GetFeedMapping', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2.GetFeedMappingRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__mapping__pb2.FeedMapping.FromString, - ) - self.MutateFeedMappings = channel.unary_unary( - '/google.ads.googleads.v2.services.FeedMappingService/MutateFeedMappings', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsResponse.FromString, - ) - - -class FeedMappingServiceServicer(object): - """Proto file describing the FeedMapping service. - - Service to manage feed mappings. - """ - - def GetFeedMapping(self, request, context): - """Returns the requested feed mapping in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateFeedMappings(self, request, context): - """Creates or removes feed mappings. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2.GetFeedMappingRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.FeedMappingService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/feed_placeholder_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/feed_placeholder_view_service_pb2.py deleted file mode 100644 index 38f6c2ad5..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_placeholder_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_v2/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.v2.proto.resources import feed_placeholder_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/feed_placeholder_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\037FeedPlaceholderViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/services/feed_placeholder_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x43google/ads/googleads_v2/proto/resources/feed_placeholder_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"6\n\x1dGetFeedPlaceholderViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8d\x02\n\x1a\x46\x65\x65\x64PlaceholderViewService\x12\xd1\x01\n\x16GetFeedPlaceholderView\x12?.google.ads.googleads.v2.services.GetFeedPlaceholderViewRequest\x1a\x36.google.ads.googleads.v2.resources.FeedPlaceholderView\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{resource_name=customers/*/feedPlaceholderViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v2.servicesB\x1f\x46\x65\x65\x64PlaceholderViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETFEEDPLACEHOLDERVIEWREQUEST = _descriptor.Descriptor( - name='GetFeedPlaceholderViewRequest', - full_name='google.ads.googleads.v2.services.GetFeedPlaceholderViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=236, - serialized_end=290, -) - -DESCRIPTOR.message_types_by_name['GetFeedPlaceholderViewRequest'] = _GETFEEDPLACEHOLDERVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetFeedPlaceholderViewRequest = _reflection.GeneratedProtocolMessageType('GetFeedPlaceholderViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETFEEDPLACEHOLDERVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.feed_placeholder_view_service_pb2' - , - __doc__ = """Request message for - [FeedPlaceholderViewService.GetFeedPlaceholderView][google.ads.googleads.v2.services.FeedPlaceholderViewService.GetFeedPlaceholderView]. - - - Attributes: - resource_name: - The resource name of the feed placeholder view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetFeedPlaceholderViewRequest) - )) -_sym_db.RegisterMessage(GetFeedPlaceholderViewRequest) - - -DESCRIPTOR._options = None - -_FEEDPLACEHOLDERVIEWSERVICE = _descriptor.ServiceDescriptor( - name='FeedPlaceholderViewService', - full_name='google.ads.googleads.v2.services.FeedPlaceholderViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=293, - serialized_end=562, - methods=[ - _descriptor.MethodDescriptor( - name='GetFeedPlaceholderView', - full_name='google.ads.googleads.v2.services.FeedPlaceholderViewService.GetFeedPlaceholderView', - index=0, - containing_service=None, - input_type=_GETFEEDPLACEHOLDERVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__placeholder__view__pb2._FEEDPLACEHOLDERVIEW, - serialized_options=_b('\202\323\344\223\0028\0226/v2/{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/v2/proto/services/feed_placeholder_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/feed_placeholder_view_service_pb2_grpc.py deleted file mode 100644 index 576d917c7..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_placeholder_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__placeholder__view__pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__placeholder__view__service__pb2 - - -class FeedPlaceholderViewServiceStub(object): - """Proto file describing the FeedPlaceholderView service. - - Service to fetch feed placeholder views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetFeedPlaceholderView = channel.unary_unary( - '/google.ads.googleads.v2.services.FeedPlaceholderViewService/GetFeedPlaceholderView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__placeholder__view__service__pb2.GetFeedPlaceholderViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.FeedPlaceholderView.FromString, - ) - - -class FeedPlaceholderViewServiceServicer(object): - """Proto file describing the FeedPlaceholderView service. - - Service to fetch feed placeholder views. - """ - - def GetFeedPlaceholderView(self, request, context): - """Returns the requested feed placeholder view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_feed__placeholder__view__service__pb2.GetFeedPlaceholderViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.FeedPlaceholderView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.FeedPlaceholderViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/feed_service_pb2.py b/google/ads/google_ads/v2/proto/services/feed_service_pb2.py deleted file mode 100644 index e77dc359f..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_service_pb2.py +++ /dev/null @@ -1,404 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/feed_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.v2.proto.resources import feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/feed_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\020FeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n9google/ads/googleads_v2/proto/services/feed_service.proto\x12 google.ads.googleads.v2.services\x1a\x32google/ads/googleads_v2/proto/resources/feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.FeedH\x00\x12\x39\n\x06update\x18\x02 \x01(\x0b\x32\'.google.ads.googleads.v2.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.v2.services.MutateFeedResult\")\n\x10MutateFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf6\x02\n\x0b\x46\x65\x65\x64Service\x12\x95\x01\n\x07GetFeed\x12\x30.google.ads.googleads.v2.services.GetFeedRequest\x1a\'.google.ads.googleads.v2.resources.Feed\"/\x82\xd3\xe4\x93\x02)\x12\'/v2/{resource_name=customers/*/feeds/*}\x12\xb1\x01\n\x0bMutateFeeds\x12\x34.google.ads.googleads.v2.services.MutateFeedsRequest\x1a\x35.google.ads.googleads.v2.services.MutateFeedsResponse\"5\x82\xd3\xe4\x93\x02/\"*/v2/customers/{customer_id=*}/feeds:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xf7\x01\n$com.google.ads.googleads.v2.servicesB\x10\x46\x65\x65\x64ServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETFEEDREQUEST = _descriptor.Descriptor( - name='GetFeedRequest', - full_name='google.ads.googleads.v2.services.GetFeedRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=261, - serialized_end=300, -) - - -_MUTATEFEEDSREQUEST = _descriptor.Descriptor( - name='MutateFeedsRequest', - full_name='google.ads.googleads.v2.services.MutateFeedsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=461, -) - - -_FEEDOPERATION = _descriptor.Descriptor( - name='FeedOperation', - full_name='google.ads.googleads.v2.services.FeedOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.FeedOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=464, - serialized_end=677, -) - - -_MUTATEFEEDSRESPONSE = _descriptor.Descriptor( - name='MutateFeedsResponse', - full_name='google.ads.googleads.v2.services.MutateFeedsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=680, - serialized_end=821, -) - - -_MUTATEFEEDRESULT = _descriptor.Descriptor( - name='MutateFeedResult', - full_name='google.ads.googleads.v2.services.MutateFeedResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=823, - serialized_end=864, -) - -_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__v2_dot_proto_dot_resources_dot_feed__pb2._FEED -_FEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_FEEDOPERATION.oneofs_by_name['operation'].fields.append( - _FEEDOPERATION.fields_by_name['update']) -_FEEDOPERATION.fields_by_name['update'].containing_oneof = _FEEDOPERATION.oneofs_by_name['operation'] -_FEEDOPERATION.oneofs_by_name['operation'].fields.append( - _FEEDOPERATION.fields_by_name['remove']) -_FEEDOPERATION.fields_by_name['remove'].containing_oneof = _FEEDOPERATION.oneofs_by_name['operation'] -_MUTATEFEEDSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEFEEDSRESPONSE.fields_by_name['results'].message_type = _MUTATEFEEDRESULT -DESCRIPTOR.message_types_by_name['GetFeedRequest'] = _GETFEEDREQUEST -DESCRIPTOR.message_types_by_name['MutateFeedsRequest'] = _MUTATEFEEDSREQUEST -DESCRIPTOR.message_types_by_name['FeedOperation'] = _FEEDOPERATION -DESCRIPTOR.message_types_by_name['MutateFeedsResponse'] = _MUTATEFEEDSRESPONSE -DESCRIPTOR.message_types_by_name['MutateFeedResult'] = _MUTATEFEEDRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetFeedRequest = _reflection.GeneratedProtocolMessageType('GetFeedRequest', (_message.Message,), dict( - DESCRIPTOR = _GETFEEDREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.feed_service_pb2' - , - __doc__ = """Request message for - [FeedService.GetFeed][google.ads.googleads.v2.services.FeedService.GetFeed]. - - - Attributes: - resource_name: - The resource name of the feed to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetFeedRequest) - )) -_sym_db.RegisterMessage(GetFeedRequest) - -MutateFeedsRequest = _reflection.GeneratedProtocolMessageType('MutateFeedsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.feed_service_pb2' - , - __doc__ = """Request message for - [FeedService.MutateFeeds][google.ads.googleads.v2.services.FeedService.MutateFeeds]. - - - Attributes: - customer_id: - The ID of the customer whose feeds are being modified. - operations: - 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 - 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.v2.services.MutateFeedsRequest) - )) -_sym_db.RegisterMessage(MutateFeedsRequest) - -FeedOperation = _reflection.GeneratedProtocolMessageType('FeedOperation', (_message.Message,), dict( - DESCRIPTOR = _FEEDOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.feed_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on an feed. - - - Attributes: - update_mask: - 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 - feed. - update: - Update operation: The feed is expected to have a valid - resource name. - remove: - Remove operation: A resource name for the removed feed is - expected, in this format: - ``customers/{customer_id}/feeds/{feed_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.FeedOperation) - )) -_sym_db.RegisterMessage(FeedOperation) - -MutateFeedsResponse = _reflection.GeneratedProtocolMessageType('MutateFeedsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.feed_service_pb2' - , - __doc__ = """Response message for an feed 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.v2.services.MutateFeedsResponse) - )) -_sym_db.RegisterMessage(MutateFeedsResponse) - -MutateFeedResult = _reflection.GeneratedProtocolMessageType('MutateFeedResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEFEEDRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.feed_service_pb2' - , - __doc__ = """The result for the feed mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateFeedResult) - )) -_sym_db.RegisterMessage(MutateFeedResult) - - -DESCRIPTOR._options = None - -_FEEDSERVICE = _descriptor.ServiceDescriptor( - name='FeedService', - full_name='google.ads.googleads.v2.services.FeedService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=867, - serialized_end=1241, - methods=[ - _descriptor.MethodDescriptor( - name='GetFeed', - full_name='google.ads.googleads.v2.services.FeedService.GetFeed', - index=0, - containing_service=None, - input_type=_GETFEEDREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__pb2._FEED, - serialized_options=_b('\202\323\344\223\002)\022\'/v2/{resource_name=customers/*/feeds/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateFeeds', - full_name='google.ads.googleads.v2.services.FeedService.MutateFeeds', - index=1, - containing_service=None, - input_type=_MUTATEFEEDSREQUEST, - output_type=_MUTATEFEEDSRESPONSE, - serialized_options=_b('\202\323\344\223\002/\"*/v2/customers/{customer_id=*}/feeds:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_FEEDSERVICE) - -DESCRIPTOR.services_by_name['FeedService'] = _FEEDSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/feed_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/feed_service_pb2_grpc.py deleted file mode 100644 index f56779b5e..000000000 --- a/google/ads/google_ads/v2/proto/services/feed_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.v2.proto.resources import feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__service__pb2 - - -class FeedServiceStub(object): - """Proto file describing the Feed service. - - Service to manage feeds. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetFeed = channel.unary_unary( - '/google.ads.googleads.v2.services.FeedService/GetFeed', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__service__pb2.GetFeedRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__pb2.Feed.FromString, - ) - self.MutateFeeds = channel.unary_unary( - '/google.ads.googleads.v2.services.FeedService/MutateFeeds', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsResponse.FromString, - ) - - -class FeedServiceServicer(object): - """Proto file describing the Feed service. - - Service to manage feeds. - """ - - def GetFeed(self, request, context): - """Returns the requested feed in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateFeeds(self, request, context): - """Creates, updates, or removes feeds. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_feed__service__pb2.GetFeedRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.FeedService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/gender_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/gender_view_service_pb2.py deleted file mode 100644 index 813944b54..000000000 --- a/google/ads/google_ads/v2/proto/services/gender_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_v2/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.v2.proto.resources import gender_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/gender_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\026GenderViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n@google/ads/googleads_v2/proto/services/gender_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x39google/ads/googleads_v2/proto/resources/gender_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"-\n\x14GetGenderViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe0\x01\n\x11GenderViewService\x12\xad\x01\n\rGetGenderView\x12\x36.google.ads.googleads.v2.services.GetGenderViewRequest\x1a-.google.ads.googleads.v2.resources.GenderView\"5\x82\xd3\xe4\x93\x02/\x12-/v2/{resource_name=customers/*/genderViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfd\x01\n$com.google.ads.googleads.v2.servicesB\x16GenderViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_gender__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETGENDERVIEWREQUEST = _descriptor.Descriptor( - name='GetGenderViewRequest', - full_name='google.ads.googleads.v2.services.GetGenderViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=216, - serialized_end=261, -) - -DESCRIPTOR.message_types_by_name['GetGenderViewRequest'] = _GETGENDERVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetGenderViewRequest = _reflection.GeneratedProtocolMessageType('GetGenderViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETGENDERVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.gender_view_service_pb2' - , - __doc__ = """Request message for - [GenderViewService.GetGenderView][google.ads.googleads.v2.services.GenderViewService.GetGenderView]. - - - Attributes: - resource_name: - The resource name of the gender view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetGenderViewRequest) - )) -_sym_db.RegisterMessage(GetGenderViewRequest) - - -DESCRIPTOR._options = None - -_GENDERVIEWSERVICE = _descriptor.ServiceDescriptor( - name='GenderViewService', - full_name='google.ads.googleads.v2.services.GenderViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=264, - serialized_end=488, - methods=[ - _descriptor.MethodDescriptor( - name='GetGenderView', - full_name='google.ads.googleads.v2.services.GenderViewService.GetGenderView', - index=0, - containing_service=None, - input_type=_GETGENDERVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_gender__view__pb2._GENDERVIEW, - serialized_options=_b('\202\323\344\223\002/\022-/v2/{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/v2/proto/services/gender_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/gender_view_service_pb2_grpc.py deleted file mode 100644 index ee94e0d11..000000000 --- a/google/ads/google_ads/v2/proto/services/gender_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_gender__view__pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_gender__view__service__pb2 - - -class GenderViewServiceStub(object): - """Proto file describing the Gender View service. - - Service to manage gender views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetGenderView = channel.unary_unary( - '/google.ads.googleads.v2.services.GenderViewService/GetGenderView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_gender__view__service__pb2.GetGenderViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_gender__view__pb2.GenderView.FromString, - ) - - -class GenderViewServiceServicer(object): - """Proto file describing the Gender View service. - - Service to manage gender views. - """ - - def GetGenderView(self, request, context): - """Returns the requested gender view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_gender__view__service__pb2.GetGenderViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_gender__view__pb2.GenderView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.GenderViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/geo_target_constant_service_pb2.py b/google/ads/google_ads/v2/proto/services/geo_target_constant_service_pb2.py deleted file mode 100644 index 09f8cce2d..000000000 --- a/google/ads/google_ads/v2/proto/services/geo_target_constant_service_pb2.py +++ /dev/null @@ -1,449 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import geo_target_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geo__target__constant__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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/geo_target_constant_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\035GeoTargetConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nHgoogle/ads/googleads_v2/proto/services/geo_target_constant_service.proto\x12 google.ads.googleads.v2.services\x1a\x41google/ads/googleads_v2/proto/resources/geo_target_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/api/client.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.v2.services.SuggestGeoTargetConstantsRequest.LocationNamesH\x00\x12\x64\n\x0bgeo_targets\x18\x02 \x01(\x0b\x32M.google.ads.googleads.v2.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.v2.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.v2.resources.GeoTargetConstant\x12Y\n\x1bgeo_target_constant_parents\x18\x05 \x03(\x0b\x32\x34.google.ads.googleads.v2.resources.GeoTargetConstant2\xc9\x03\n\x18GeoTargetConstantService\x12\xbd\x01\n\x14GetGeoTargetConstant\x12=.google.ads.googleads.v2.services.GetGeoTargetConstantRequest\x1a\x34.google.ads.googleads.v2.resources.GeoTargetConstant\"0\x82\xd3\xe4\x93\x02*\x12(/v2/{resource_name=geoTargetConstants/*}\x12\xcf\x01\n\x19SuggestGeoTargetConstants\x12\x42.google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest\x1a\x43.google.ads.googleads.v2.services.SuggestGeoTargetConstantsResponse\")\x82\xd3\xe4\x93\x02#\"\x1e/v2/geoTargetConstants:suggest:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v2.servicesB\x1dGeoTargetConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geo__target__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETGEOTARGETCONSTANTREQUEST = _descriptor.Descriptor( - name='GetGeoTargetConstantRequest', - full_name='google.ads.googleads.v2.services.GetGeoTargetConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=264, - serialized_end=316, -) - - -_SUGGESTGEOTARGETCONSTANTSREQUEST_LOCATIONNAMES = _descriptor.Descriptor( - name='LocationNames', - full_name='google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest.LocationNames', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='names', full_name='google.ads.googleads.v2.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, - 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=663, - serialized_end=723, -) - -_SUGGESTGEOTARGETCONSTANTSREQUEST_GEOTARGETS = _descriptor.Descriptor( - name='GeoTargets', - full_name='google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest.GeoTargets', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='geo_target_constants', full_name='google.ads.googleads.v2.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, - 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=725, - serialized_end=797, -) - -_SUGGESTGEOTARGETCONSTANTSREQUEST = _descriptor.Descriptor( - name='SuggestGeoTargetConstantsRequest', - full_name='google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='locale', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_SUGGESTGEOTARGETCONSTANTSREQUEST_LOCATIONNAMES, _SUGGESTGEOTARGETCONSTANTSREQUEST_GEOTARGETS, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='query', full_name='google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest.query', - index=0, containing_type=None, fields=[]), - ], - serialized_start=319, - serialized_end=806, -) - - -_SUGGESTGEOTARGETCONSTANTSRESPONSE = _descriptor.Descriptor( - name='SuggestGeoTargetConstantsResponse', - full_name='google.ads.googleads.v2.services.SuggestGeoTargetConstantsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='geo_target_constant_suggestions', full_name='google.ads.googleads.v2.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, - 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=809, - serialized_end=948, -) - - -_GEOTARGETCONSTANTSUGGESTION = _descriptor.Descriptor( - name='GeoTargetConstantSuggestion', - full_name='google.ads.googleads.v2.services.GeoTargetConstantSuggestion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='locale', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=951, - serialized_end=1295, -) - -_SUGGESTGEOTARGETCONSTANTSREQUEST_LOCATIONNAMES.fields_by_name['names'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SUGGESTGEOTARGETCONSTANTSREQUEST_LOCATIONNAMES.containing_type = _SUGGESTGEOTARGETCONSTANTSREQUEST -_SUGGESTGEOTARGETCONSTANTSREQUEST_GEOTARGETS.fields_by_name['geo_target_constants'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SUGGESTGEOTARGETCONSTANTSREQUEST_GEOTARGETS.containing_type = _SUGGESTGEOTARGETCONSTANTSREQUEST -_SUGGESTGEOTARGETCONSTANTSREQUEST.fields_by_name['locale'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SUGGESTGEOTARGETCONSTANTSREQUEST.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SUGGESTGEOTARGETCONSTANTSREQUEST.fields_by_name['location_names'].message_type = _SUGGESTGEOTARGETCONSTANTSREQUEST_LOCATIONNAMES -_SUGGESTGEOTARGETCONSTANTSREQUEST.fields_by_name['geo_targets'].message_type = _SUGGESTGEOTARGETCONSTANTSREQUEST_GEOTARGETS -_SUGGESTGEOTARGETCONSTANTSREQUEST.oneofs_by_name['query'].fields.append( - _SUGGESTGEOTARGETCONSTANTSREQUEST.fields_by_name['location_names']) -_SUGGESTGEOTARGETCONSTANTSREQUEST.fields_by_name['location_names'].containing_oneof = _SUGGESTGEOTARGETCONSTANTSREQUEST.oneofs_by_name['query'] -_SUGGESTGEOTARGETCONSTANTSREQUEST.oneofs_by_name['query'].fields.append( - _SUGGESTGEOTARGETCONSTANTSREQUEST.fields_by_name['geo_targets']) -_SUGGESTGEOTARGETCONSTANTSREQUEST.fields_by_name['geo_targets'].containing_oneof = _SUGGESTGEOTARGETCONSTANTSREQUEST.oneofs_by_name['query'] -_SUGGESTGEOTARGETCONSTANTSRESPONSE.fields_by_name['geo_target_constant_suggestions'].message_type = _GEOTARGETCONSTANTSUGGESTION -_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__v2_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__v2_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 -DESCRIPTOR.message_types_by_name['GeoTargetConstantSuggestion'] = _GEOTARGETCONSTANTSUGGESTION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetGeoTargetConstantRequest = _reflection.GeneratedProtocolMessageType('GetGeoTargetConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETGEOTARGETCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.geo_target_constant_service_pb2' - , - __doc__ = """Request message for - [GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v2.services.GeoTargetConstantService.GetGeoTargetConstant]. - - - Attributes: - resource_name: - The resource name of the geo target constant to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetGeoTargetConstantRequest) - )) -_sym_db.RegisterMessage(GetGeoTargetConstantRequest) - -SuggestGeoTargetConstantsRequest = _reflection.GeneratedProtocolMessageType('SuggestGeoTargetConstantsRequest', (_message.Message,), dict( - - LocationNames = _reflection.GeneratedProtocolMessageType('LocationNames', (_message.Message,), dict( - DESCRIPTOR = _SUGGESTGEOTARGETCONSTANTSREQUEST_LOCATIONNAMES, - __module__ = 'google.ads.googleads_v2.proto.services.geo_target_constant_service_pb2' - , - __doc__ = """A list of location names. - - - Attributes: - names: - A list of location names. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest.LocationNames) - )) - , - - GeoTargets = _reflection.GeneratedProtocolMessageType('GeoTargets', (_message.Message,), dict( - DESCRIPTOR = _SUGGESTGEOTARGETCONSTANTSREQUEST_GEOTARGETS, - __module__ = 'google.ads.googleads_v2.proto.services.geo_target_constant_service_pb2' - , - __doc__ = """A list of geo target constant resource names. - - - Attributes: - geo_target_constants: - A list of geo target constant resource names. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest.GeoTargets) - )) - , - DESCRIPTOR = _SUGGESTGEOTARGETCONSTANTSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.geo_target_constant_service_pb2' - , - __doc__ = """Request message for - [GeoTargetConstantService.SuggestGeoTargetConstantsRequest][]. - - - Attributes: - locale: - 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. - country_code: - Returned geo targets are restricted to this country code. - query: - Required. A selector of geo target constants. - location_names: - The location names to search by. At most 25 names can be set. - geo_targets: - The geo target constant resource names to filter by. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.SuggestGeoTargetConstantsRequest) - )) -_sym_db.RegisterMessage(SuggestGeoTargetConstantsRequest) -_sym_db.RegisterMessage(SuggestGeoTargetConstantsRequest.LocationNames) -_sym_db.RegisterMessage(SuggestGeoTargetConstantsRequest.GeoTargets) - -SuggestGeoTargetConstantsResponse = _reflection.GeneratedProtocolMessageType('SuggestGeoTargetConstantsResponse', (_message.Message,), dict( - DESCRIPTOR = _SUGGESTGEOTARGETCONSTANTSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.geo_target_constant_service_pb2' - , - __doc__ = """Response message for - [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v2.services.GeoTargetConstantService.SuggestGeoTargetConstants] - - - Attributes: - geo_target_constant_suggestions: - Geo target constant suggestions. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.SuggestGeoTargetConstantsResponse) - )) -_sym_db.RegisterMessage(SuggestGeoTargetConstantsResponse) - -GeoTargetConstantSuggestion = _reflection.GeneratedProtocolMessageType('GeoTargetConstantSuggestion', (_message.Message,), dict( - DESCRIPTOR = _GEOTARGETCONSTANTSUGGESTION, - __module__ = 'google.ads.googleads_v2.proto.services.geo_target_constant_service_pb2' - , - __doc__ = """A geo target constant suggestion. - - - Attributes: - locale: - The language this GeoTargetConstantSuggestion is currently - translated to. It affects the name of geo target fields. For - example, if locale=en, then name=Spain. If locale=es, then - name=España. The default locale will be returned if no - translation exists for the locale in the request. - reach: - Approximate user population that will be targeted, rounded to - the nearest 100. - search_term: - If the request searched by location name, this is the location - name that matched the geo target. - geo_target_constant: - The GeoTargetConstant result. - geo_target_constant_parents: - The list of parents of the geo target constant. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GeoTargetConstantSuggestion) - )) -_sym_db.RegisterMessage(GeoTargetConstantSuggestion) - - -DESCRIPTOR._options = None - -_GEOTARGETCONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='GeoTargetConstantService', - full_name='google.ads.googleads.v2.services.GeoTargetConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1298, - serialized_end=1755, - methods=[ - _descriptor.MethodDescriptor( - name='GetGeoTargetConstant', - full_name='google.ads.googleads.v2.services.GeoTargetConstantService.GetGeoTargetConstant', - index=0, - containing_service=None, - input_type=_GETGEOTARGETCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT, - serialized_options=_b('\202\323\344\223\002*\022(/v2/{resource_name=geoTargetConstants/*}'), - ), - _descriptor.MethodDescriptor( - name='SuggestGeoTargetConstants', - full_name='google.ads.googleads.v2.services.GeoTargetConstantService.SuggestGeoTargetConstants', - index=1, - containing_service=None, - input_type=_SUGGESTGEOTARGETCONSTANTSREQUEST, - output_type=_SUGGESTGEOTARGETCONSTANTSRESPONSE, - serialized_options=_b('\202\323\344\223\002#\"\036/v2/geoTargetConstants:suggest:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_GEOTARGETCONSTANTSERVICE) - -DESCRIPTOR.services_by_name['GeoTargetConstantService'] = _GEOTARGETCONSTANTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/geo_target_constant_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/geo_target_constant_service_pb2_grpc.py deleted file mode 100644 index 26c00b17a..000000000 --- a/google/ads/google_ads/v2/proto/services/geo_target_constant_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geo__target__constant__pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_geo__target__constant__service__pb2 - - -class GeoTargetConstantServiceStub(object): - """Proto file describing the Geo target constant service. - - Service to fetch geo target constants. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetGeoTargetConstant = channel.unary_unary( - '/google.ads.googleads.v2.services.GeoTargetConstantService/GetGeoTargetConstant', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_geo__target__constant__service__pb2.GetGeoTargetConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geo__target__constant__pb2.GeoTargetConstant.FromString, - ) - self.SuggestGeoTargetConstants = channel.unary_unary( - '/google.ads.googleads.v2.services.GeoTargetConstantService/SuggestGeoTargetConstants', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsResponse.FromString, - ) - - -class GeoTargetConstantServiceServicer(object): - """Proto file describing the Geo target constant service. - - Service to fetch geo target constants. - """ - - def GetGeoTargetConstant(self, request, context): - """Returns the requested geo target constant in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SuggestGeoTargetConstants(self, request, context): - """Returns GeoTargetConstant suggestions by location name or by resource name. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_geo__target__constant__service__pb2.GetGeoTargetConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.GeoTargetConstantService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/geographic_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/geographic_view_service_pb2.py deleted file mode 100644 index 1e9be3b2a..000000000 --- a/google/ads/google_ads/v2/proto/services/geographic_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_v2/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.v2.proto.resources import geographic_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/geographic_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032GeographicViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v2/proto/services/geographic_view_service.proto\x12 google.ads.googleads.v2.services\x1a=google/ads/googleads_v2/proto/resources/geographic_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"1\n\x18GetGeographicViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf4\x01\n\x15GeographicViewService\x12\xbd\x01\n\x11GetGeographicView\x12:.google.ads.googleads.v2.services.GetGeographicViewRequest\x1a\x31.google.ads.googleads.v2.resources.GeographicView\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/geographicViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1aGeographicViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geographic__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETGEOGRAPHICVIEWREQUEST = _descriptor.Descriptor( - name='GetGeographicViewRequest', - full_name='google.ads.googleads.v2.services.GetGeographicViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=224, - serialized_end=273, -) - -DESCRIPTOR.message_types_by_name['GetGeographicViewRequest'] = _GETGEOGRAPHICVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetGeographicViewRequest = _reflection.GeneratedProtocolMessageType('GetGeographicViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETGEOGRAPHICVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.geographic_view_service_pb2' - , - __doc__ = """Request message for - [GeographicViewService.GetGeographicView][google.ads.googleads.v2.services.GeographicViewService.GetGeographicView]. - - - Attributes: - resource_name: - The resource name of the geographic view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetGeographicViewRequest) - )) -_sym_db.RegisterMessage(GetGeographicViewRequest) - - -DESCRIPTOR._options = None - -_GEOGRAPHICVIEWSERVICE = _descriptor.ServiceDescriptor( - name='GeographicViewService', - full_name='google.ads.googleads.v2.services.GeographicViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=276, - serialized_end=520, - methods=[ - _descriptor.MethodDescriptor( - name='GetGeographicView', - full_name='google.ads.googleads.v2.services.GeographicViewService.GetGeographicView', - index=0, - containing_service=None, - input_type=_GETGEOGRAPHICVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geographic__view__pb2._GEOGRAPHICVIEW, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{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/v2/proto/services/geographic_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/geographic_view_service_pb2_grpc.py deleted file mode 100644 index df0966527..000000000 --- a/google/ads/google_ads/v2/proto/services/geographic_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geographic__view__pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_geographic__view__service__pb2 - - -class GeographicViewServiceStub(object): - """Proto file describing the GeographicViewService. - - Service to manage geographic views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetGeographicView = channel.unary_unary( - '/google.ads.googleads.v2.services.GeographicViewService/GetGeographicView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_geographic__view__service__pb2.GetGeographicViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geographic__view__pb2.GeographicView.FromString, - ) - - -class GeographicViewServiceServicer(object): - """Proto file describing the GeographicViewService. - - Service to manage geographic views. - """ - - def GetGeographicView(self, request, context): - """Returns the requested geographic view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_geographic__view__service__pb2.GetGeographicViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geographic__view__pb2.GeographicView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.GeographicViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/google_ads_field_service_pb2.py b/google/ads/google_ads/v2/proto/services/google_ads_field_service_pb2.py deleted file mode 100644 index f65aafce6..000000000 --- a/google/ads/google_ads/v2/proto/services/google_ads_field_service_pb2.py +++ /dev/null @@ -1,259 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import google_ads_field_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/google_ads_field_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032GoogleAdsFieldServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/services/google_ads_field_service.proto\x12 google.ads.googleads.v2.services\x1a>google/ads/googleads_v2/proto/resources/google_ads_field.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.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.v2.resources.GoogleAdsField\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1b\n\x13total_results_count\x18\x03 \x01(\x03\x32\xaa\x03\n\x15GoogleAdsFieldService\x12\xb1\x01\n\x11GetGoogleAdsField\x12:.google.ads.googleads.v2.services.GetGoogleAdsFieldRequest\x1a\x31.google.ads.googleads.v2.resources.GoogleAdsField\"-\x82\xd3\xe4\x93\x02\'\x12%/v2/{resource_name=googleAdsFields/*}\x12\xbf\x01\n\x15SearchGoogleAdsFields\x12>.google.ads.googleads.v2.services.SearchGoogleAdsFieldsRequest\x1a?.google.ads.googleads.v2.services.SearchGoogleAdsFieldsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v2/googleAdsFields:search:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1aGoogleAdsFieldServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_google__ads__field__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETGOOGLEADSFIELDREQUEST = _descriptor.Descriptor( - name='GetGoogleAdsFieldRequest', - full_name='google.ads.googleads.v2.services.GetGoogleAdsFieldRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=226, - serialized_end=275, -) - - -_SEARCHGOOGLEADSFIELDSREQUEST = _descriptor.Descriptor( - name='SearchGoogleAdsFieldsRequest', - full_name='google.ads.googleads.v2.services.SearchGoogleAdsFieldsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='query', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='page_token', full_name='google.ads.googleads.v2.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.v2.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, - 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=277, - serialized_end=361, -) - - -_SEARCHGOOGLEADSFIELDSRESPONSE = _descriptor.Descriptor( - name='SearchGoogleAdsFieldsResponse', - full_name='google.ads.googleads.v2.services.SearchGoogleAdsFieldsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=364, - serialized_end=517, -) - -_SEARCHGOOGLEADSFIELDSRESPONSE.fields_by_name['results'].message_type = google_dot_ads_dot_googleads__v2_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 -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetGoogleAdsFieldRequest = _reflection.GeneratedProtocolMessageType('GetGoogleAdsFieldRequest', (_message.Message,), dict( - DESCRIPTOR = _GETGOOGLEADSFIELDREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_field_service_pb2' - , - __doc__ = """Request message for - [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v2.services.GoogleAdsFieldService.GetGoogleAdsField]. - - - Attributes: - resource_name: - The resource name of the field to get. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetGoogleAdsFieldRequest) - )) -_sym_db.RegisterMessage(GetGoogleAdsFieldRequest) - -SearchGoogleAdsFieldsRequest = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsFieldsRequest', (_message.Message,), dict( - DESCRIPTOR = _SEARCHGOOGLEADSFIELDSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_field_service_pb2' - , - __doc__ = """Request message for - [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v2.services.GoogleAdsFieldService.SearchGoogleAdsFields]. - - - Attributes: - query: - 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 - ``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 too - 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.v2.services.SearchGoogleAdsFieldsRequest) - )) -_sym_db.RegisterMessage(SearchGoogleAdsFieldsRequest) - -SearchGoogleAdsFieldsResponse = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsFieldsResponse', (_message.Message,), dict( - DESCRIPTOR = _SEARCHGOOGLEADSFIELDSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_field_service_pb2' - , - __doc__ = """Response message for - [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v2.services.GoogleAdsFieldService.SearchGoogleAdsFields]. - - - Attributes: - results: - The list of fields 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. - total_results_count: - Total number of results that match the query ignoring the - LIMIT clause. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.SearchGoogleAdsFieldsResponse) - )) -_sym_db.RegisterMessage(SearchGoogleAdsFieldsResponse) - - -DESCRIPTOR._options = None - -_GOOGLEADSFIELDSERVICE = _descriptor.ServiceDescriptor( - name='GoogleAdsFieldService', - full_name='google.ads.googleads.v2.services.GoogleAdsFieldService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=520, - serialized_end=946, - methods=[ - _descriptor.MethodDescriptor( - name='GetGoogleAdsField', - full_name='google.ads.googleads.v2.services.GoogleAdsFieldService.GetGoogleAdsField', - index=0, - containing_service=None, - input_type=_GETGOOGLEADSFIELDREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_google__ads__field__pb2._GOOGLEADSFIELD, - serialized_options=_b('\202\323\344\223\002\'\022%/v2/{resource_name=googleAdsFields/*}'), - ), - _descriptor.MethodDescriptor( - name='SearchGoogleAdsFields', - full_name='google.ads.googleads.v2.services.GoogleAdsFieldService.SearchGoogleAdsFields', - index=1, - containing_service=None, - input_type=_SEARCHGOOGLEADSFIELDSREQUEST, - output_type=_SEARCHGOOGLEADSFIELDSRESPONSE, - serialized_options=_b('\202\323\344\223\002\037\"\032/v2/googleAdsFields:search:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_GOOGLEADSFIELDSERVICE) - -DESCRIPTOR.services_by_name['GoogleAdsFieldService'] = _GOOGLEADSFIELDSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/google_ads_field_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/google_ads_field_service_pb2_grpc.py deleted file mode 100644 index 690ac297c..000000000 --- a/google/ads/google_ads/v2/proto/services/google_ads_field_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_google__ads__field__pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__field__service__pb2 - - -class GoogleAdsFieldServiceStub(object): - """Proto file describing the GoogleAdsFieldService - - Service to fetch Google Ads API fields. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetGoogleAdsField = channel.unary_unary( - '/google.ads.googleads.v2.services.GoogleAdsFieldService/GetGoogleAdsField', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__field__service__pb2.GetGoogleAdsFieldRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_google__ads__field__pb2.GoogleAdsField.FromString, - ) - self.SearchGoogleAdsFields = channel.unary_unary( - '/google.ads.googleads.v2.services.GoogleAdsFieldService/SearchGoogleAdsFields', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsResponse.FromString, - ) - - -class GoogleAdsFieldServiceServicer(object): - """Proto file describing the GoogleAdsFieldService - - Service to fetch Google Ads API fields. - """ - - def GetGoogleAdsField(self, request, context): - """Returns just the requested field. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SearchGoogleAdsFields(self, request, context): - """Returns all fields that match the search query. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_google__ads__field__service__pb2.GetGoogleAdsFieldRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.GoogleAdsFieldService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/google_ads_service_pb2.py b/google/ads/google_ads/v2/proto/services/google_ads_service_pb2.py deleted file mode 100644 index 20ff4acca..000000000 --- a/google/ads/google_ads/v2/proto/services/google_ads_service_pb2.py +++ /dev/null @@ -1,2663 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/google_ads_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.v2.proto.common import metrics_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_metrics__pb2 -from google.ads.google_ads.v2.proto.common import segments_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_segments__pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__proposal__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__label__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__audience__view__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__feed__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__label__pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__simulation__pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__parameter__pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__schedule__view__pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_age__range__view__pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_asset__pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_bidding__strategy__pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_billing__setup__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__audience__view__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__budget__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__draft__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__experiment__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__extension__setting__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__feed__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__label__pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__shared__set__pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_carrier__constant__pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_change__status__pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_click__view__pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_conversion__action__pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_custom__interest__pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__link__pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__extension__setting__pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__feed__pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__label__pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__manager__link__pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__negative__criterion__pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_detail__placement__view__pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_display__keyword__view__pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_distance__view__pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_domain__category__pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_extension__feed__item__pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__target__pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__mapping__pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__placeholder__view__pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_gender__view__pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geo__target__constant__pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geographic__view__pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_group__placement__view__pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__group__view__pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__performance__view__pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__view__pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_label__pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_landing__page__view__pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_language__constant__pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_location__view__pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_managed__placement__view__pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_media__file__pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__device__constant__pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mutate__job__pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_operating__system__version__constant__pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_parental__status__view__pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__group__view__pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_recommendation__pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_remarketing__action__pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_search__term__view__pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__criterion__pb2 -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__set__pb2 -from google.ads.google_ads.v2.proto.resources import shopping_performance_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shopping__performance__view__pb2 -from google.ads.google_ads.v2.proto.resources import topic_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_topic__constant__pb2 -from google.ads.google_ads.v2.proto.resources import topic_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_topic__view__pb2 -from google.ads.google_ads.v2.proto.resources import user_interest_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__interest__pb2 -from google.ads.google_ads.v2.proto.resources import user_list_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__list__pb2 -from google.ads.google_ads.v2.proto.resources import user_location_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__location__view__pb2 -from google.ads.google_ads.v2.proto.resources import video_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_video__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__service__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__service__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__feed__service__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__label__service__pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__service__pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__parameter__service__pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_asset__service__pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_bidding__strategy__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__label__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__service__pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__shared__set__service__pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__action__service__pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__extension__setting__service__pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__feed__service__pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__label__service__pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_extension__feed__item__service__pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__service__pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__target__service__pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__service__pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_label__service__pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_media__file__service__pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__set__service__pb2 -from google.ads.google_ads.v2.proto.services import user_list_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_user__list__service__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/google_ads_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\025GoogleAdsServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/services/google_ads_service.proto\x12 google.ads.googleads.v2.services\x1a\x32google/ads/googleads_v2/proto/common/metrics.proto\x1a\x33google/ads/googleads_v2/proto/common/segments.proto\x1agoogle/ads/googleads_v2/proto/resources/ad_schedule_view.proto\x1agoogle/ads/googleads_v2/proto/resources/bidding_strategy.proto\x1a;google/ads/googleads_v2/proto/resources/billing_setup.proto\x1a\x36google/ads/googleads_v2/proto/resources/campaign.proto\x1a\x44google/ads/googleads_v2/proto/resources/campaign_audience_view.proto\x1a\x43google/ads/googleads_v2/proto/resources/campaign_bid_modifier.proto\x1a=google/ads/googleads_v2/proto/resources/campaign_budget.proto\x1a@google/ads/googleads_v2/proto/resources/campaign_criterion.proto\x1aKgoogle/ads/googleads_v2/proto/resources/campaign_criterion_simulation.proto\x1agoogle/ads/googleads_v2/proto/resources/carrier_constant.proto\x1a;google/ads/googleads_v2/proto/resources/change_status.proto\x1a\x38google/ads/googleads_v2/proto/resources/click_view.proto\x1a?google/ads/googleads_v2/proto/resources/conversion_action.proto\x1a=google/ads/googleads_v2/proto/resources/custom_interest.proto\x1a\x36google/ads/googleads_v2/proto/resources/customer.proto\x1a=google/ads/googleads_v2/proto/resources/customer_client.proto\x1a\x42google/ads/googleads_v2/proto/resources/customer_client_link.proto\x1aHgoogle/ads/googleads_v2/proto/resources/customer_extension_setting.proto\x1a;google/ads/googleads_v2/proto/resources/customer_feed.proto\x1agoogle/ads/googleads_v2/proto/resources/feed_item_target.proto\x1a:google/ads/googleads_v2/proto/resources/feed_mapping.proto\x1a\x43google/ads/googleads_v2/proto/resources/feed_placeholder_view.proto\x1a\x39google/ads/googleads_v2/proto/resources/gender_view.proto\x1a\x41google/ads/googleads_v2/proto/resources/geo_target_constant.proto\x1a=google/ads/googleads_v2/proto/resources/geographic_view.proto\x1a\x42google/ads/googleads_v2/proto/resources/group_placement_view.proto\x1a>google/ads/googleads_v2/proto/resources/hotel_group_view.proto\x1a\x44google/ads/googleads_v2/proto/resources/hotel_performance_view.proto\x1a:google/ads/googleads_v2/proto/resources/keyword_plan.proto\x1a\x43google/ads/googleads_v2/proto/resources/keyword_plan_ad_group.proto\x1a\x43google/ads/googleads_v2/proto/resources/keyword_plan_campaign.proto\x1a\x42google/ads/googleads_v2/proto/resources/keyword_plan_keyword.proto\x1aKgoogle/ads/googleads_v2/proto/resources/keyword_plan_negative_keyword.proto\x1a:google/ads/googleads_v2/proto/resources/keyword_view.proto\x1a\x33google/ads/googleads_v2/proto/resources/label.proto\x1a?google/ads/googleads_v2/proto/resources/landing_page_view.proto\x1a?google/ads/googleads_v2/proto/resources/language_constant.proto\x1a;google/ads/googleads_v2/proto/resources/location_view.proto\x1a\x44google/ads/googleads_v2/proto/resources/managed_placement_view.proto\x1a\x38google/ads/googleads_v2/proto/resources/media_file.proto\x1aJgoogle/ads/googleads_v2/proto/resources/mobile_app_category_constant.proto\x1a\x44google/ads/googleads_v2/proto/resources/mobile_device_constant.proto\x1a\x38google/ads/googleads_v2/proto/resources/mutate_job.proto\x1aOgoogle/ads/googleads_v2/proto/resources/operating_system_version_constant.proto\x1aKgoogle/ads/googleads_v2/proto/resources/paid_organic_search_term_view.proto\x1a\x42google/ads/googleads_v2/proto/resources/parental_status_view.proto\x1aOgoogle/ads/googleads_v2/proto/resources/product_bidding_category_constant.proto\x1a@google/ads/googleads_v2/proto/resources/product_group_view.proto\x1agoogle/ads/googleads_v2/proto/resources/search_term_view.proto\x1a>google/ads/googleads_v2/proto/resources/shared_criterion.proto\x1a\x38google/ads/googleads_v2/proto/resources/shared_set.proto\x1aGgoogle/ads/googleads_v2/proto/resources/shopping_performance_view.proto\x1agoogle/ads/googleads_v2/proto/services/feed_item_service.proto\x1a\x45google/ads/googleads_v2/proto/services/feed_item_target_service.proto\x1a\x41google/ads/googleads_v2/proto/services/feed_mapping_service.proto\x1a\x39google/ads/googleads_v2/proto/services/feed_service.proto\x1a:google/ads/googleads_v2/proto/services/label_service.proto\x1a?google/ads/googleads_v2/proto/services/media_file_service.proto\x1aGgoogle/ads/googleads_v2/proto/services/remarketing_action_service.proto\x1a\x45google/ads/googleads_v2/proto/services/shared_criterion_service.proto\x1a?google/ads/googleads_v2/proto/services/shared_set_service.proto\x1a>google/ads/googleads_v2/proto/services/user_list_service.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.proto\"\x96\x01\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\x12\x1a\n\x12return_summary_row\x18\x06 \x01(\x08\"\x85\x02\n\x17SearchGoogleAdsResponse\x12?\n\x07results\x18\x01 \x03(\x0b\x32..google.ads.googleads.v2.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.v2.services.GoogleAdsRow\"\x8b=\n\x0cGoogleAdsRow\x12H\n\x0e\x61\x63\x63ount_budget\x18* \x01(\x0b\x32\x30.google.ads.googleads.v2.resources.AccountBudget\x12Y\n\x17\x61\x63\x63ount_budget_proposal\x18+ \x01(\x0b\x32\x38.google.ads.googleads.v2.resources.AccountBudgetProposal\x12<\n\x08\x61\x64_group\x18\x03 \x01(\x0b\x32*.google.ads.googleads.v2.resources.AdGroup\x12\x41\n\x0b\x61\x64_group_ad\x18\x10 \x01(\x0b\x32,.google.ads.googleads.v2.resources.AdGroupAd\x12V\n\x16\x61\x64_group_ad_asset_view\x18\x83\x01 \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.AdGroupAdAssetView\x12L\n\x11\x61\x64_group_ad_label\x18x \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.AdGroupAdLabel\x12V\n\x16\x61\x64_group_audience_view\x18\x39 \x01(\x0b\x32\x36.google.ads.googleads.v2.resources.AdGroupAudienceView\x12T\n\x15\x61\x64_group_bid_modifier\x18\x18 \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.AdGroupBidModifier\x12O\n\x12\x61\x64_group_criterion\x18\x11 \x01(\x0b\x32\x33.google.ads.googleads.v2.resources.AdGroupCriterion\x12Z\n\x18\x61\x64_group_criterion_label\x18y \x01(\x0b\x32\x38.google.ads.googleads.v2.resources.AdGroupCriterionLabel\x12\x64\n\x1d\x61\x64_group_criterion_simulation\x18n \x01(\x0b\x32=.google.ads.googleads.v2.resources.AdGroupCriterionSimulation\x12^\n\x1a\x61\x64_group_extension_setting\x18p \x01(\x0b\x32:.google.ads.googleads.v2.resources.AdGroupExtensionSetting\x12\x45\n\rad_group_feed\x18\x43 \x01(\x0b\x32..google.ads.googleads.v2.resources.AdGroupFeed\x12G\n\x0e\x61\x64_group_label\x18s \x01(\x0b\x32/.google.ads.googleads.v2.resources.AdGroupLabel\x12Q\n\x13\x61\x64_group_simulation\x18k \x01(\x0b\x32\x34.google.ads.googleads.v2.resources.AdGroupSimulation\x12\x45\n\x0c\x61\x64_parameter\x18\x82\x01 \x01(\x0b\x32..google.ads.googleads.v2.resources.AdParameter\x12G\n\x0e\x61ge_range_view\x18\x30 \x01(\x0b\x32/.google.ads.googleads.v2.resources.AgeRangeView\x12K\n\x10\x61\x64_schedule_view\x18Y \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.AdScheduleView\x12J\n\x0f\x64omain_category\x18[ \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.DomainCategory\x12\x37\n\x05\x61sset\x18i \x01(\x0b\x32(.google.ads.googleads.v2.resources.Asset\x12L\n\x10\x62idding_strategy\x18\x12 \x01(\x0b\x32\x32.google.ads.googleads.v2.resources.BiddingStrategy\x12\x46\n\rbilling_setup\x18) \x01(\x0b\x32/.google.ads.googleads.v2.resources.BillingSetup\x12J\n\x0f\x63\x61mpaign_budget\x18\x13 \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.CampaignBudget\x12=\n\x08\x63\x61mpaign\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v2.resources.Campaign\x12W\n\x16\x63\x61mpaign_audience_view\x18\x45 \x01(\x0b\x32\x37.google.ads.googleads.v2.resources.CampaignAudienceView\x12U\n\x15\x63\x61mpaign_bid_modifier\x18\x1a \x01(\x0b\x32\x36.google.ads.googleads.v2.resources.CampaignBidModifier\x12P\n\x12\x63\x61mpaign_criterion\x18\x14 \x01(\x0b\x32\x34.google.ads.googleads.v2.resources.CampaignCriterion\x12\x65\n\x1d\x63\x61mpaign_criterion_simulation\x18o \x01(\x0b\x32>.google.ads.googleads.v2.resources.CampaignCriterionSimulation\x12H\n\x0e\x63\x61mpaign_draft\x18\x31 \x01(\x0b\x32\x30.google.ads.googleads.v2.resources.CampaignDraft\x12R\n\x13\x63\x61mpaign_experiment\x18T \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.CampaignExperiment\x12_\n\x1a\x63\x61mpaign_extension_setting\x18q \x01(\x0b\x32;.google.ads.googleads.v2.resources.CampaignExtensionSetting\x12\x46\n\rcampaign_feed\x18? \x01(\x0b\x32/.google.ads.googleads.v2.resources.CampaignFeed\x12H\n\x0e\x63\x61mpaign_label\x18l \x01(\x0b\x32\x30.google.ads.googleads.v2.resources.CampaignLabel\x12Q\n\x13\x63\x61mpaign_shared_set\x18\x1e \x01(\x0b\x32\x34.google.ads.googleads.v2.resources.CampaignSharedSet\x12L\n\x10\x63\x61rrier_constant\x18\x42 \x01(\x0b\x32\x32.google.ads.googleads.v2.resources.CarrierConstant\x12\x46\n\rchange_status\x18% \x01(\x0b\x32/.google.ads.googleads.v2.resources.ChangeStatus\x12N\n\x11\x63onversion_action\x18g \x01(\x0b\x32\x33.google.ads.googleads.v2.resources.ConversionAction\x12@\n\nclick_view\x18z \x01(\x0b\x32,.google.ads.googleads.v2.resources.ClickView\x12J\n\x0f\x63ustom_interest\x18h \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.CustomInterest\x12=\n\x08\x63ustomer\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v2.resources.Customer\x12U\n\x15\x63ustomer_manager_link\x18= \x01(\x0b\x32\x36.google.ads.googleads.v2.resources.CustomerManagerLink\x12S\n\x14\x63ustomer_client_link\x18> \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.CustomerClientLink\x12J\n\x0f\x63ustomer_client\x18\x46 \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.CustomerClient\x12_\n\x1a\x63ustomer_extension_setting\x18r \x01(\x0b\x32;.google.ads.googleads.v2.resources.CustomerExtensionSetting\x12\x46\n\rcustomer_feed\x18@ \x01(\x0b\x32/.google.ads.googleads.v2.resources.CustomerFeed\x12H\n\x0e\x63ustomer_label\x18| \x01(\x0b\x32\x30.google.ads.googleads.v2.resources.CustomerLabel\x12\x61\n\x1b\x63ustomer_negative_criterion\x18X \x01(\x0b\x32<.google.ads.googleads.v2.resources.CustomerNegativeCriterion\x12U\n\x15\x64\x65tail_placement_view\x18v \x01(\x0b\x32\x36.google.ads.googleads.v2.resources.DetailPlacementView\x12S\n\x14\x64isplay_keyword_view\x18/ \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.DisplayKeywordView\x12G\n\rdistance_view\x18\x84\x01 \x01(\x0b\x32/.google.ads.googleads.v2.resources.DistanceView\x12n\n#dynamic_search_ads_search_term_view\x18j \x01(\x0b\x32\x41.google.ads.googleads.v2.resources.DynamicSearchAdsSearchTermView\x12_\n\x1a\x65xpanded_landing_page_view\x18\x80\x01 \x01(\x0b\x32:.google.ads.googleads.v2.resources.ExpandedLandingPageView\x12Q\n\x13\x65xtension_feed_item\x18U \x01(\x0b\x32\x34.google.ads.googleads.v2.resources.ExtensionFeedItem\x12\x35\n\x04\x66\x65\x65\x64\x18. \x01(\x0b\x32\'.google.ads.googleads.v2.resources.Feed\x12>\n\tfeed_item\x18\x32 \x01(\x0b\x32+.google.ads.googleads.v2.resources.FeedItem\x12K\n\x10\x66\x65\x65\x64_item_target\x18t \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.FeedItemTarget\x12\x44\n\x0c\x66\x65\x65\x64_mapping\x18: \x01(\x0b\x32..google.ads.googleads.v2.resources.FeedMapping\x12U\n\x15\x66\x65\x65\x64_placeholder_view\x18\x61 \x01(\x0b\x32\x36.google.ads.googleads.v2.resources.FeedPlaceholderView\x12\x42\n\x0bgender_view\x18( \x01(\x0b\x32-.google.ads.googleads.v2.resources.GenderView\x12Q\n\x13geo_target_constant\x18\x17 \x01(\x0b\x32\x34.google.ads.googleads.v2.resources.GeoTargetConstant\x12J\n\x0fgeographic_view\x18} \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.GeographicView\x12S\n\x14group_placement_view\x18w \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.GroupPlacementView\x12K\n\x10hotel_group_view\x18\x33 \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.HotelGroupView\x12W\n\x16hotel_performance_view\x18G \x01(\x0b\x32\x37.google.ads.googleads.v2.resources.HotelPerformanceView\x12\x44\n\x0ckeyword_view\x18\x15 \x01(\x0b\x32..google.ads.googleads.v2.resources.KeywordView\x12\x44\n\x0ckeyword_plan\x18 \x01(\x0b\x32..google.ads.googleads.v2.resources.KeywordPlan\x12U\n\x15keyword_plan_campaign\x18! \x01(\x0b\x32\x36.google.ads.googleads.v2.resources.KeywordPlanCampaign\x12\x64\n\x1dkeyword_plan_negative_keyword\x18\" \x01(\x0b\x32=.google.ads.googleads.v2.resources.KeywordPlanNegativeKeyword\x12T\n\x15keyword_plan_ad_group\x18# \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.KeywordPlanAdGroup\x12S\n\x14keyword_plan_keyword\x18$ \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.KeywordPlanKeyword\x12\x37\n\x05label\x18\x34 \x01(\x0b\x32(.google.ads.googleads.v2.resources.Label\x12M\n\x11landing_page_view\x18~ \x01(\x0b\x32\x32.google.ads.googleads.v2.resources.LandingPageView\x12N\n\x11language_constant\x18\x37 \x01(\x0b\x32\x33.google.ads.googleads.v2.resources.LanguageConstant\x12\x46\n\rlocation_view\x18{ \x01(\x0b\x32/.google.ads.googleads.v2.resources.LocationView\x12W\n\x16managed_placement_view\x18\x35 \x01(\x0b\x32\x37.google.ads.googleads.v2.resources.ManagedPlacementView\x12@\n\nmedia_file\x18Z \x01(\x0b\x32,.google.ads.googleads.v2.resources.MediaFile\x12\x62\n\x1cmobile_app_category_constant\x18W \x01(\x0b\x32<.google.ads.googleads.v2.resources.MobileAppCategoryConstant\x12W\n\x16mobile_device_constant\x18\x62 \x01(\x0b\x32\x37.google.ads.googleads.v2.resources.MobileDeviceConstant\x12@\n\nmutate_job\x18\x7f \x01(\x0b\x32,.google.ads.googleads.v2.resources.MutateJob\x12l\n!operating_system_version_constant\x18V \x01(\x0b\x32\x41.google.ads.googleads.v2.resources.OperatingSystemVersionConstant\x12\x64\n\x1dpaid_organic_search_term_view\x18\x81\x01 \x01(\x0b\x32<.google.ads.googleads.v2.resources.PaidOrganicSearchTermView\x12S\n\x14parental_status_view\x18- \x01(\x0b\x32\x35.google.ads.googleads.v2.resources.ParentalStatusView\x12l\n!product_bidding_category_constant\x18m \x01(\x0b\x32\x41.google.ads.googleads.v2.resources.ProductBiddingCategoryConstant\x12O\n\x12product_group_view\x18\x36 \x01(\x0b\x32\x33.google.ads.googleads.v2.resources.ProductGroupView\x12I\n\x0erecommendation\x18\x16 \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.Recommendation\x12K\n\x10search_term_view\x18\x44 \x01(\x0b\x32\x31.google.ads.googleads.v2.resources.SearchTermView\x12L\n\x10shared_criterion\x18\x1d \x01(\x0b\x32\x32.google.ads.googleads.v2.resources.SharedCriterion\x12@\n\nshared_set\x18\x1b \x01(\x0b\x32,.google.ads.googleads.v2.resources.SharedSet\x12]\n\x19shopping_performance_view\x18u \x01(\x0b\x32:.google.ads.googleads.v2.resources.ShoppingPerformanceView\x12@\n\ntopic_view\x18, \x01(\x0b\x32,.google.ads.googleads.v2.resources.TopicView\x12\x46\n\ruser_interest\x18; \x01(\x0b\x32/.google.ads.googleads.v2.resources.UserInterest\x12>\n\tuser_list\x18& \x01(\x0b\x32+.google.ads.googleads.v2.resources.UserList\x12P\n\x12user_location_view\x18\x87\x01 \x01(\x0b\x32\x33.google.ads.googleads.v2.resources.UserLocationView\x12P\n\x12remarketing_action\x18< \x01(\x0b\x32\x34.google.ads.googleads.v2.resources.RemarketingAction\x12H\n\x0etopic_constant\x18\x1f \x01(\x0b\x32\x30.google.ads.googleads.v2.resources.TopicConstant\x12\x37\n\x05video\x18\' \x01(\x0b\x32(.google.ads.googleads.v2.resources.Video\x12\x38\n\x07metrics\x18\x04 \x01(\x0b\x32\'.google.ads.googleads.v2.common.Metrics\x12:\n\x08segments\x18\x66 \x01(\x0b\x32(.google.ads.googleads.v2.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.v2.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.v2.services.MutateOperationResponse\"\xb0\x1d\n\x0fMutateOperation\x12`\n\x1b\x61\x64_group_ad_label_operation\x18\x11 \x01(\x0b\x32\x39.google.ads.googleads.v2.services.AdGroupAdLabelOperationH\x00\x12U\n\x15\x61\x64_group_ad_operation\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v2.services.AdGroupAdOperationH\x00\x12h\n\x1f\x61\x64_group_bid_modifier_operation\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v2.services.AdGroupBidModifierOperationH\x00\x12n\n\"ad_group_criterion_label_operation\x18\x12 \x01(\x0b\x32@.google.ads.googleads.v2.services.AdGroupCriterionLabelOperationH\x00\x12\x63\n\x1c\x61\x64_group_criterion_operation\x18\x03 \x01(\x0b\x32;.google.ads.googleads.v2.services.AdGroupCriterionOperationH\x00\x12r\n$ad_group_extension_setting_operation\x18\x13 \x01(\x0b\x32\x42.google.ads.googleads.v2.services.AdGroupExtensionSettingOperationH\x00\x12Y\n\x17\x61\x64_group_feed_operation\x18\x14 \x01(\x0b\x32\x36.google.ads.googleads.v2.services.AdGroupFeedOperationH\x00\x12[\n\x18\x61\x64_group_label_operation\x18\x15 \x01(\x0b\x32\x37.google.ads.googleads.v2.services.AdGroupLabelOperationH\x00\x12P\n\x12\x61\x64_group_operation\x18\x05 \x01(\x0b\x32\x32.google.ads.googleads.v2.services.AdGroupOperationH\x00\x12X\n\x16\x61\x64_parameter_operation\x18\x16 \x01(\x0b\x32\x36.google.ads.googleads.v2.services.AdParameterOperationH\x00\x12K\n\x0f\x61sset_operation\x18\x17 \x01(\x0b\x32\x30.google.ads.googleads.v2.services.AssetOperationH\x00\x12`\n\x1a\x62idding_strategy_operation\x18\x06 \x01(\x0b\x32:.google.ads.googleads.v2.services.BiddingStrategyOperationH\x00\x12i\n\x1f\x63\x61mpaign_bid_modifier_operation\x18\x07 \x01(\x0b\x32>.google.ads.googleads.v2.services.CampaignBidModifierOperationH\x00\x12^\n\x19\x63\x61mpaign_budget_operation\x18\x08 \x01(\x0b\x32\x39.google.ads.googleads.v2.services.CampaignBudgetOperationH\x00\x12\x64\n\x1c\x63\x61mpaign_criterion_operation\x18\r \x01(\x0b\x32<.google.ads.googleads.v2.services.CampaignCriterionOperationH\x00\x12\\\n\x18\x63\x61mpaign_draft_operation\x18\x18 \x01(\x0b\x32\x38.google.ads.googleads.v2.services.CampaignDraftOperationH\x00\x12\x66\n\x1d\x63\x61mpaign_experiment_operation\x18\x19 \x01(\x0b\x32=.google.ads.googleads.v2.services.CampaignExperimentOperationH\x00\x12s\n$campaign_extension_setting_operation\x18\x1a \x01(\x0b\x32\x43.google.ads.googleads.v2.services.CampaignExtensionSettingOperationH\x00\x12Z\n\x17\x63\x61mpaign_feed_operation\x18\x1b \x01(\x0b\x32\x37.google.ads.googleads.v2.services.CampaignFeedOperationH\x00\x12\\\n\x18\x63\x61mpaign_label_operation\x18\x1c \x01(\x0b\x32\x38.google.ads.googleads.v2.services.CampaignLabelOperationH\x00\x12Q\n\x12\x63\x61mpaign_operation\x18\n \x01(\x0b\x32\x33.google.ads.googleads.v2.services.CampaignOperationH\x00\x12\x65\n\x1d\x63\x61mpaign_shared_set_operation\x18\x0b \x01(\x0b\x32<.google.ads.googleads.v2.services.CampaignSharedSetOperationH\x00\x12\x62\n\x1b\x63onversion_action_operation\x18\x0c \x01(\x0b\x32;.google.ads.googleads.v2.services.ConversionActionOperationH\x00\x12s\n$customer_extension_setting_operation\x18\x1e \x01(\x0b\x32\x43.google.ads.googleads.v2.services.CustomerExtensionSettingOperationH\x00\x12Z\n\x17\x63ustomer_feed_operation\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v2.services.CustomerFeedOperationH\x00\x12\\\n\x18\x63ustomer_label_operation\x18 \x01(\x0b\x32\x38.google.ads.googleads.v2.services.CustomerLabelOperationH\x00\x12u\n%customer_negative_criterion_operation\x18\" \x01(\x0b\x32\x44.google.ads.googleads.v2.services.CustomerNegativeCriterionOperationH\x00\x12Q\n\x12\x63ustomer_operation\x18# \x01(\x0b\x32\x33.google.ads.googleads.v2.services.CustomerOperationH\x00\x12\x65\n\x1d\x65xtension_feed_item_operation\x18$ \x01(\x0b\x32<.google.ads.googleads.v2.services.ExtensionFeedItemOperationH\x00\x12R\n\x13\x66\x65\x65\x64_item_operation\x18% \x01(\x0b\x32\x33.google.ads.googleads.v2.services.FeedItemOperationH\x00\x12_\n\x1a\x66\x65\x65\x64_item_target_operation\x18& \x01(\x0b\x32\x39.google.ads.googleads.v2.services.FeedItemTargetOperationH\x00\x12X\n\x16\x66\x65\x65\x64_mapping_operation\x18\' \x01(\x0b\x32\x36.google.ads.googleads.v2.services.FeedMappingOperationH\x00\x12I\n\x0e\x66\x65\x65\x64_operation\x18( \x01(\x0b\x32/.google.ads.googleads.v2.services.FeedOperationH\x00\x12K\n\x0flabel_operation\x18) \x01(\x0b\x32\x30.google.ads.googleads.v2.services.LabelOperationH\x00\x12T\n\x14media_file_operation\x18* \x01(\x0b\x32\x34.google.ads.googleads.v2.services.MediaFileOperationH\x00\x12\x64\n\x1cremarketing_action_operation\x18+ \x01(\x0b\x32<.google.ads.googleads.v2.services.RemarketingActionOperationH\x00\x12`\n\x1ashared_criterion_operation\x18\x0e \x01(\x0b\x32:.google.ads.googleads.v2.services.SharedCriterionOperationH\x00\x12T\n\x14shared_set_operation\x18\x0f \x01(\x0b\x32\x34.google.ads.googleads.v2.services.SharedSetOperationH\x00\x12R\n\x13user_list_operation\x18\x10 \x01(\x0b\x32\x33.google.ads.googleads.v2.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.v2.services.MutateAdGroupAdLabelResultH\x00\x12U\n\x12\x61\x64_group_ad_result\x18\x01 \x01(\x0b\x32\x37.google.ads.googleads.v2.services.MutateAdGroupAdResultH\x00\x12h\n\x1c\x61\x64_group_bid_modifier_result\x18\x02 \x01(\x0b\x32@.google.ads.googleads.v2.services.MutateAdGroupBidModifierResultH\x00\x12n\n\x1f\x61\x64_group_criterion_label_result\x18\x12 \x01(\x0b\x32\x43.google.ads.googleads.v2.services.MutateAdGroupCriterionLabelResultH\x00\x12\x63\n\x19\x61\x64_group_criterion_result\x18\x03 \x01(\x0b\x32>.google.ads.googleads.v2.services.MutateAdGroupCriterionResultH\x00\x12r\n!ad_group_extension_setting_result\x18\x13 \x01(\x0b\x32\x45.google.ads.googleads.v2.services.MutateAdGroupExtensionSettingResultH\x00\x12Y\n\x14\x61\x64_group_feed_result\x18\x14 \x01(\x0b\x32\x39.google.ads.googleads.v2.services.MutateAdGroupFeedResultH\x00\x12[\n\x15\x61\x64_group_label_result\x18\x15 \x01(\x0b\x32:.google.ads.googleads.v2.services.MutateAdGroupLabelResultH\x00\x12P\n\x0f\x61\x64_group_result\x18\x05 \x01(\x0b\x32\x35.google.ads.googleads.v2.services.MutateAdGroupResultH\x00\x12X\n\x13\x61\x64_parameter_result\x18\x16 \x01(\x0b\x32\x39.google.ads.googleads.v2.services.MutateAdParameterResultH\x00\x12K\n\x0c\x61sset_result\x18\x17 \x01(\x0b\x32\x33.google.ads.googleads.v2.services.MutateAssetResultH\x00\x12`\n\x17\x62idding_strategy_result\x18\x06 \x01(\x0b\x32=.google.ads.googleads.v2.services.MutateBiddingStrategyResultH\x00\x12i\n\x1c\x63\x61mpaign_bid_modifier_result\x18\x07 \x01(\x0b\x32\x41.google.ads.googleads.v2.services.MutateCampaignBidModifierResultH\x00\x12^\n\x16\x63\x61mpaign_budget_result\x18\x08 \x01(\x0b\x32<.google.ads.googleads.v2.services.MutateCampaignBudgetResultH\x00\x12\x64\n\x19\x63\x61mpaign_criterion_result\x18\r \x01(\x0b\x32?.google.ads.googleads.v2.services.MutateCampaignCriterionResultH\x00\x12\\\n\x15\x63\x61mpaign_draft_result\x18\x18 \x01(\x0b\x32;.google.ads.googleads.v2.services.MutateCampaignDraftResultH\x00\x12\x66\n\x1a\x63\x61mpaign_experiment_result\x18\x19 \x01(\x0b\x32@.google.ads.googleads.v2.services.MutateCampaignExperimentResultH\x00\x12s\n!campaign_extension_setting_result\x18\x1a \x01(\x0b\x32\x46.google.ads.googleads.v2.services.MutateCampaignExtensionSettingResultH\x00\x12Z\n\x14\x63\x61mpaign_feed_result\x18\x1b \x01(\x0b\x32:.google.ads.googleads.v2.services.MutateCampaignFeedResultH\x00\x12\\\n\x15\x63\x61mpaign_label_result\x18\x1c \x01(\x0b\x32;.google.ads.googleads.v2.services.MutateCampaignLabelResultH\x00\x12Q\n\x0f\x63\x61mpaign_result\x18\n \x01(\x0b\x32\x36.google.ads.googleads.v2.services.MutateCampaignResultH\x00\x12\x65\n\x1a\x63\x61mpaign_shared_set_result\x18\x0b \x01(\x0b\x32?.google.ads.googleads.v2.services.MutateCampaignSharedSetResultH\x00\x12\x62\n\x18\x63onversion_action_result\x18\x0c \x01(\x0b\x32>.google.ads.googleads.v2.services.MutateConversionActionResultH\x00\x12s\n!customer_extension_setting_result\x18\x1e \x01(\x0b\x32\x46.google.ads.googleads.v2.services.MutateCustomerExtensionSettingResultH\x00\x12Z\n\x14\x63ustomer_feed_result\x18\x1f \x01(\x0b\x32:.google.ads.googleads.v2.services.MutateCustomerFeedResultH\x00\x12\\\n\x15\x63ustomer_label_result\x18 \x01(\x0b\x32;.google.ads.googleads.v2.services.MutateCustomerLabelResultH\x00\x12t\n\"customer_negative_criterion_result\x18\" \x01(\x0b\x32\x46.google.ads.googleads.v2.services.MutateCustomerNegativeCriteriaResultH\x00\x12Q\n\x0f\x63ustomer_result\x18# \x01(\x0b\x32\x36.google.ads.googleads.v2.services.MutateCustomerResultH\x00\x12\x65\n\x1a\x65xtension_feed_item_result\x18$ \x01(\x0b\x32?.google.ads.googleads.v2.services.MutateExtensionFeedItemResultH\x00\x12R\n\x10\x66\x65\x65\x64_item_result\x18% \x01(\x0b\x32\x36.google.ads.googleads.v2.services.MutateFeedItemResultH\x00\x12_\n\x17\x66\x65\x65\x64_item_target_result\x18& \x01(\x0b\x32<.google.ads.googleads.v2.services.MutateFeedItemTargetResultH\x00\x12X\n\x13\x66\x65\x65\x64_mapping_result\x18\' \x01(\x0b\x32\x39.google.ads.googleads.v2.services.MutateFeedMappingResultH\x00\x12I\n\x0b\x66\x65\x65\x64_result\x18( \x01(\x0b\x32\x32.google.ads.googleads.v2.services.MutateFeedResultH\x00\x12K\n\x0clabel_result\x18) \x01(\x0b\x32\x33.google.ads.googleads.v2.services.MutateLabelResultH\x00\x12T\n\x11media_file_result\x18* \x01(\x0b\x32\x37.google.ads.googleads.v2.services.MutateMediaFileResultH\x00\x12\x64\n\x19remarketing_action_result\x18+ \x01(\x0b\x32?.google.ads.googleads.v2.services.MutateRemarketingActionResultH\x00\x12`\n\x17shared_criterion_result\x18\x0e \x01(\x0b\x32=.google.ads.googleads.v2.services.MutateSharedCriterionResultH\x00\x12T\n\x11shared_set_result\x18\x0f \x01(\x0b\x32\x37.google.ads.googleads.v2.services.MutateSharedSetResultH\x00\x12R\n\x10user_list_result\x18\x10 \x01(\x0b\x32\x36.google.ads.googleads.v2.services.MutateUserListResultH\x00\x42\n\n\x08response2\xa5\x03\n\x10GoogleAdsService\x12\xb8\x01\n\x06Search\x12\x38.google.ads.googleads.v2.services.SearchGoogleAdsRequest\x1a\x39.google.ads.googleads.v2.services.SearchGoogleAdsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v2/customers/{customer_id=*}/googleAds:search:\x01*\x12\xb8\x01\n\x06Mutate\x12\x38.google.ads.googleads.v2.services.MutateGoogleAdsRequest\x1a\x39.google.ads.googleads.v2.services.MutateGoogleAdsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v2/customers/{customer_id=*}/googleAds:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v2.servicesB\x15GoogleAdsServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_metrics__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_segments__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__proposal__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__schedule__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_age__range__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_asset__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_bidding__strategy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_billing__setup__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__audience__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__budget__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__draft__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__experiment__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__shared__set__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_carrier__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_change__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_click__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_conversion__action__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_custom__interest__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__link__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__extension__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__manager__link__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_detail__placement__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_display__keyword__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_distance__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_domain__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_extension__feed__item__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__target__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__mapping__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_gender__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geo__target__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geographic__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_group__placement__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__group__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__performance__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_landing__page__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_language__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_location__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_managed__placement__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_media__file__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__device__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mutate__job__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_parental__status__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__group__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_recommendation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_remarketing__action__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_search__term__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__set__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shopping__performance__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_topic__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_topic__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__interest__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__list__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__location__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_video__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__ad__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__group__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__parameter__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_asset__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_bidding__strategy__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__experiment__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_conversion__action__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_extension__feed__item__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__item__target__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_media__file__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__set__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_SEARCHGOOGLEADSREQUEST = _descriptor.Descriptor( - name='SearchGoogleAdsRequest', - full_name='google.ads.googleads.v2.services.SearchGoogleAdsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='query', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='page_token', full_name='google.ads.googleads.v2.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.v2.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.v2.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_summary_row', full_name='google.ads.googleads.v2.services.SearchGoogleAdsRequest.return_summary_row', index=5, - 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, - 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=9323, - serialized_end=9473, -) - - -_SEARCHGOOGLEADSRESPONSE = _descriptor.Descriptor( - name='SearchGoogleAdsResponse', - full_name='google.ads.googleads.v2.services.SearchGoogleAdsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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=9476, - serialized_end=9737, -) - - -_GOOGLEADSROW = _descriptor.Descriptor( - name='GoogleAdsRow', - full_name='google.ads.googleads.v2.services.GoogleAdsRow', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='account_budget', full_name='google.ads.googleads.v2.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.v2.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.v2.services.GoogleAdsRow.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='ad_group_ad', full_name='google.ads.googleads.v2.services.GoogleAdsRow.ad_group_ad', index=3, - 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_asset_view', full_name='google.ads.googleads.v2.services.GoogleAdsRow.ad_group_ad_asset_view', index=4, - 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.v2.services.GoogleAdsRow.ad_group_ad_label', index=5, - 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.v2.services.GoogleAdsRow.ad_group_audience_view', index=6, - 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.v2.services.GoogleAdsRow.ad_group_bid_modifier', index=7, - 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.v2.services.GoogleAdsRow.ad_group_criterion', index=8, - 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.v2.services.GoogleAdsRow.ad_group_criterion_label', index=9, - 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.v2.services.GoogleAdsRow.ad_group_criterion_simulation', index=10, - 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.v2.services.GoogleAdsRow.ad_group_extension_setting', index=11, - 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.v2.services.GoogleAdsRow.ad_group_feed', index=12, - 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.v2.services.GoogleAdsRow.ad_group_label', index=13, - 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.v2.services.GoogleAdsRow.ad_group_simulation', index=14, - 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.v2.services.GoogleAdsRow.ad_parameter', index=15, - 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.v2.services.GoogleAdsRow.age_range_view', index=16, - 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.v2.services.GoogleAdsRow.ad_schedule_view', index=17, - 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.v2.services.GoogleAdsRow.domain_category', index=18, - 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.v2.services.GoogleAdsRow.asset', index=19, - 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.v2.services.GoogleAdsRow.bidding_strategy', index=20, - 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.v2.services.GoogleAdsRow.billing_setup', index=21, - 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.v2.services.GoogleAdsRow.campaign_budget', 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), - _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v2.services.GoogleAdsRow.campaign', index=23, - number=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.v2.services.GoogleAdsRow.campaign_audience_view', index=24, - 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.v2.services.GoogleAdsRow.campaign_bid_modifier', index=25, - 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.v2.services.GoogleAdsRow.campaign_criterion', index=26, - 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.v2.services.GoogleAdsRow.campaign_criterion_simulation', index=27, - 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.v2.services.GoogleAdsRow.campaign_draft', index=28, - 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.v2.services.GoogleAdsRow.campaign_experiment', index=29, - 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.v2.services.GoogleAdsRow.campaign_extension_setting', index=30, - 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.v2.services.GoogleAdsRow.campaign_feed', index=31, - 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.v2.services.GoogleAdsRow.campaign_label', index=32, - 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.v2.services.GoogleAdsRow.campaign_shared_set', index=33, - 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.v2.services.GoogleAdsRow.carrier_constant', index=34, - 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.v2.services.GoogleAdsRow.change_status', 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), - _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v2.services.GoogleAdsRow.conversion_action', index=36, - 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.v2.services.GoogleAdsRow.click_view', index=37, - 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.v2.services.GoogleAdsRow.custom_interest', index=38, - 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.v2.services.GoogleAdsRow.customer', index=39, - 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.v2.services.GoogleAdsRow.customer_manager_link', 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='customer_client_link', full_name='google.ads.googleads.v2.services.GoogleAdsRow.customer_client_link', index=41, - 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.v2.services.GoogleAdsRow.customer_client', index=42, - 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.v2.services.GoogleAdsRow.customer_extension_setting', index=43, - 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.v2.services.GoogleAdsRow.customer_feed', index=44, - 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.v2.services.GoogleAdsRow.customer_label', index=45, - 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.v2.services.GoogleAdsRow.customer_negative_criterion', index=46, - 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.v2.services.GoogleAdsRow.detail_placement_view', index=47, - 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.v2.services.GoogleAdsRow.display_keyword_view', index=48, - 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='distance_view', full_name='google.ads.googleads.v2.services.GoogleAdsRow.distance_view', index=49, - 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.v2.services.GoogleAdsRow.dynamic_search_ads_search_term_view', index=50, - 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.v2.services.GoogleAdsRow.expanded_landing_page_view', index=51, - 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.v2.services.GoogleAdsRow.extension_feed_item', index=52, - 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.v2.services.GoogleAdsRow.feed', index=53, - 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.v2.services.GoogleAdsRow.feed_item', index=54, - 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.v2.services.GoogleAdsRow.feed_item_target', index=55, - 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.v2.services.GoogleAdsRow.feed_mapping', index=56, - 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.v2.services.GoogleAdsRow.feed_placeholder_view', index=57, - 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.v2.services.GoogleAdsRow.gender_view', index=58, - 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.v2.services.GoogleAdsRow.geo_target_constant', index=59, - 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.v2.services.GoogleAdsRow.geographic_view', index=60, - 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.v2.services.GoogleAdsRow.group_placement_view', index=61, - 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.v2.services.GoogleAdsRow.hotel_group_view', index=62, - 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.v2.services.GoogleAdsRow.hotel_performance_view', index=63, - 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.v2.services.GoogleAdsRow.keyword_view', index=64, - 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.v2.services.GoogleAdsRow.keyword_plan', index=65, - 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.v2.services.GoogleAdsRow.keyword_plan_campaign', index=66, - 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.v2.services.GoogleAdsRow.keyword_plan_negative_keyword', index=67, - 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='keyword_plan_ad_group', full_name='google.ads.googleads.v2.services.GoogleAdsRow.keyword_plan_ad_group', index=68, - 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.v2.services.GoogleAdsRow.keyword_plan_keyword', index=69, - 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='label', full_name='google.ads.googleads.v2.services.GoogleAdsRow.label', index=70, - 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.v2.services.GoogleAdsRow.landing_page_view', index=71, - 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.v2.services.GoogleAdsRow.language_constant', index=72, - 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.v2.services.GoogleAdsRow.location_view', index=73, - 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.v2.services.GoogleAdsRow.managed_placement_view', index=74, - 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.v2.services.GoogleAdsRow.media_file', index=75, - 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.v2.services.GoogleAdsRow.mobile_app_category_constant', index=76, - 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.v2.services.GoogleAdsRow.mobile_device_constant', index=77, - 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.v2.services.GoogleAdsRow.mutate_job', index=78, - 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='operating_system_version_constant', full_name='google.ads.googleads.v2.services.GoogleAdsRow.operating_system_version_constant', index=79, - 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.v2.services.GoogleAdsRow.paid_organic_search_term_view', index=80, - 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.v2.services.GoogleAdsRow.parental_status_view', index=81, - 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.v2.services.GoogleAdsRow.product_bidding_category_constant', index=82, - 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.v2.services.GoogleAdsRow.product_group_view', index=83, - 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.v2.services.GoogleAdsRow.recommendation', index=84, - 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.v2.services.GoogleAdsRow.search_term_view', index=85, - 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.v2.services.GoogleAdsRow.shared_criterion', index=86, - 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.v2.services.GoogleAdsRow.shared_set', index=87, - 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.v2.services.GoogleAdsRow.shopping_performance_view', index=88, - 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.v2.services.GoogleAdsRow.topic_view', index=89, - 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.v2.services.GoogleAdsRow.user_interest', index=90, - 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.v2.services.GoogleAdsRow.user_list', index=91, - 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='user_location_view', full_name='google.ads.googleads.v2.services.GoogleAdsRow.user_location_view', index=92, - 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.v2.services.GoogleAdsRow.remarketing_action', index=93, - 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.v2.services.GoogleAdsRow.topic_constant', index=94, - 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.v2.services.GoogleAdsRow.video', index=95, - 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.v2.services.GoogleAdsRow.metrics', index=96, - 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.v2.services.GoogleAdsRow.segments', index=97, - 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9740, - serialized_end=17559, -) - - -_MUTATEGOOGLEADSREQUEST = _descriptor.Descriptor( - name='MutateGoogleAdsRequest', - full_name='google.ads.googleads.v2.services.MutateGoogleAdsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='mutate_operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=17562, - serialized_end=17733, -) - - -_MUTATEGOOGLEADSRESPONSE = _descriptor.Descriptor( - name='MutateGoogleAdsResponse', - full_name='google.ads.googleads.v2.services.MutateGoogleAdsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=17736, - serialized_end=17907, -) - - -_MUTATEOPERATION = _descriptor.Descriptor( - name='MutateOperation', - full_name='google.ads.googleads.v2.services.MutateOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ad_group_ad_label_operation', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.services.MutateOperation.ad_parameter_operation', 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_operation', full_name='google.ads.googleads.v2.services.MutateOperation.asset_operation', index=10, - 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.v2.services.MutateOperation.bidding_strategy_operation', index=11, - 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.v2.services.MutateOperation.campaign_bid_modifier_operation', 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='campaign_budget_operation', full_name='google.ads.googleads.v2.services.MutateOperation.campaign_budget_operation', 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='campaign_criterion_operation', full_name='google.ads.googleads.v2.services.MutateOperation.campaign_criterion_operation', index=14, - 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.v2.services.MutateOperation.campaign_draft_operation', index=15, - 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.v2.services.MutateOperation.campaign_experiment_operation', index=16, - 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.v2.services.MutateOperation.campaign_extension_setting_operation', index=17, - 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.v2.services.MutateOperation.campaign_feed_operation', index=18, - 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.v2.services.MutateOperation.campaign_label_operation', index=19, - 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.v2.services.MutateOperation.campaign_operation', index=20, - 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.v2.services.MutateOperation.campaign_shared_set_operation', index=21, - 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.v2.services.MutateOperation.conversion_action_operation', index=22, - 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.v2.services.MutateOperation.customer_extension_setting_operation', index=23, - 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.v2.services.MutateOperation.customer_feed_operation', index=24, - 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.v2.services.MutateOperation.customer_label_operation', index=25, - 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.v2.services.MutateOperation.customer_negative_criterion_operation', index=26, - 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.v2.services.MutateOperation.customer_operation', index=27, - 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.v2.services.MutateOperation.extension_feed_item_operation', index=28, - 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.v2.services.MutateOperation.feed_item_operation', index=29, - 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.v2.services.MutateOperation.feed_item_target_operation', index=30, - 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.v2.services.MutateOperation.feed_mapping_operation', index=31, - 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.v2.services.MutateOperation.feed_operation', index=32, - 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.v2.services.MutateOperation.label_operation', index=33, - 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.v2.services.MutateOperation.media_file_operation', index=34, - 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.v2.services.MutateOperation.remarketing_action_operation', index=35, - 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.v2.services.MutateOperation.shared_criterion_operation', index=36, - 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.v2.services.MutateOperation.shared_set_operation', 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='user_list_operation', full_name='google.ads.googleads.v2.services.MutateOperation.user_list_operation', 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), - ], - 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.v2.services.MutateOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=17910, - serialized_end=21670, -) - - -_MUTATEOPERATIONRESPONSE = _descriptor.Descriptor( - name='MutateOperationResponse', - full_name='google.ads.googleads.v2.services.MutateOperationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ad_group_ad_label_result', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.services.MutateOperationResponse.asset_result', index=10, - 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.v2.services.MutateOperationResponse.bidding_strategy_result', index=11, - 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.v2.services.MutateOperationResponse.campaign_bid_modifier_result', 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='campaign_budget_result', full_name='google.ads.googleads.v2.services.MutateOperationResponse.campaign_budget_result', 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='campaign_criterion_result', full_name='google.ads.googleads.v2.services.MutateOperationResponse.campaign_criterion_result', index=14, - 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.v2.services.MutateOperationResponse.campaign_draft_result', index=15, - 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.v2.services.MutateOperationResponse.campaign_experiment_result', index=16, - 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.v2.services.MutateOperationResponse.campaign_extension_setting_result', index=17, - 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.v2.services.MutateOperationResponse.campaign_feed_result', index=18, - 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.v2.services.MutateOperationResponse.campaign_label_result', index=19, - 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.v2.services.MutateOperationResponse.campaign_result', index=20, - 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.v2.services.MutateOperationResponse.campaign_shared_set_result', index=21, - 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.v2.services.MutateOperationResponse.conversion_action_result', index=22, - 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.v2.services.MutateOperationResponse.customer_extension_setting_result', index=23, - 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.v2.services.MutateOperationResponse.customer_feed_result', index=24, - 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.v2.services.MutateOperationResponse.customer_label_result', index=25, - 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.v2.services.MutateOperationResponse.customer_negative_criterion_result', index=26, - 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.v2.services.MutateOperationResponse.customer_result', index=27, - 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.v2.services.MutateOperationResponse.extension_feed_item_result', index=28, - 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.v2.services.MutateOperationResponse.feed_item_result', index=29, - 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.v2.services.MutateOperationResponse.feed_item_target_result', index=30, - 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.v2.services.MutateOperationResponse.feed_mapping_result', index=31, - 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.v2.services.MutateOperationResponse.feed_result', index=32, - 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.v2.services.MutateOperationResponse.label_result', index=33, - 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.v2.services.MutateOperationResponse.media_file_result', index=34, - 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.v2.services.MutateOperationResponse.remarketing_action_result', index=35, - 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.v2.services.MutateOperationResponse.shared_criterion_result', index=36, - 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.v2.services.MutateOperationResponse.shared_set_result', 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='user_list_result', full_name='google.ads.googleads.v2.services.MutateOperationResponse.user_list_result', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='response', full_name='google.ads.googleads.v2.services.MutateOperationResponse.response', - index=0, containing_type=None, fields=[]), - ], - serialized_start=21673, - serialized_end=25439, -) - -_SEARCHGOOGLEADSRESPONSE.fields_by_name['results'].message_type = _GOOGLEADSROW -_SEARCHGOOGLEADSRESPONSE.fields_by_name['field_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_SEARCHGOOGLEADSRESPONSE.fields_by_name['summary_row'].message_type = _GOOGLEADSROW -_GOOGLEADSROW.fields_by_name['account_budget'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__pb2._ACCOUNTBUDGET -_GOOGLEADSROW.fields_by_name['account_budget_proposal'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_account__budget__proposal__pb2._ACCOUNTBUDGETPROPOSAL -_GOOGLEADSROW.fields_by_name['ad_group'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__pb2._ADGROUP -_GOOGLEADSROW.fields_by_name['ad_group_ad'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED -_GOOGLEADSROW.fields_by_name['ad_group_label'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__label__pb2._ADGROUPLABEL -_GOOGLEADSROW.fields_by_name['ad_group_simulation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__group__simulation__pb2._ADGROUPSIMULATION -_GOOGLEADSROW.fields_by_name['ad_parameter'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__parameter__pb2._ADPARAMETER -_GOOGLEADSROW.fields_by_name['age_range_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_age__range__view__pb2._AGERANGEVIEW -_GOOGLEADSROW.fields_by_name['ad_schedule_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__schedule__view__pb2._ADSCHEDULEVIEW -_GOOGLEADSROW.fields_by_name['domain_category'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_domain__category__pb2._DOMAINCATEGORY -_GOOGLEADSROW.fields_by_name['asset'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_asset__pb2._ASSET -_GOOGLEADSROW.fields_by_name['bidding_strategy'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY -_GOOGLEADSROW.fields_by_name['billing_setup'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_billing__setup__pb2._BILLINGSETUP -_GOOGLEADSROW.fields_by_name['campaign_budget'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET -_GOOGLEADSROW.fields_by_name['campaign'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN -_GOOGLEADSROW.fields_by_name['campaign_audience_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__audience__view__pb2._CAMPAIGNAUDIENCEVIEW -_GOOGLEADSROW.fields_by_name['campaign_bid_modifier'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER -_GOOGLEADSROW.fields_by_name['campaign_criterion'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION -_GOOGLEADSROW.fields_by_name['campaign_criterion_simulation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2._CAMPAIGNCRITERIONSIMULATION -_GOOGLEADSROW.fields_by_name['campaign_draft'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT -_GOOGLEADSROW.fields_by_name['campaign_experiment'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT -_GOOGLEADSROW.fields_by_name['campaign_extension_setting'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING -_GOOGLEADSROW.fields_by_name['campaign_feed'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED -_GOOGLEADSROW.fields_by_name['campaign_label'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__label__pb2._CAMPAIGNLABEL -_GOOGLEADSROW.fields_by_name['campaign_shared_set'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_campaign__shared__set__pb2._CAMPAIGNSHAREDSET -_GOOGLEADSROW.fields_by_name['carrier_constant'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_carrier__constant__pb2._CARRIERCONSTANT -_GOOGLEADSROW.fields_by_name['change_status'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_change__status__pb2._CHANGESTATUS -_GOOGLEADSROW.fields_by_name['conversion_action'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION -_GOOGLEADSROW.fields_by_name['click_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_click__view__pb2._CLICKVIEW -_GOOGLEADSROW.fields_by_name['custom_interest'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST -_GOOGLEADSROW.fields_by_name['customer'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER -_GOOGLEADSROW.fields_by_name['customer_manager_link'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__manager__link__pb2._CUSTOMERMANAGERLINK -_GOOGLEADSROW.fields_by_name['customer_client_link'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK -_GOOGLEADSROW.fields_by_name['customer_client'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__client__pb2._CUSTOMERCLIENT -_GOOGLEADSROW.fields_by_name['customer_extension_setting'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING -_GOOGLEADSROW.fields_by_name['customer_feed'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED -_GOOGLEADSROW.fields_by_name['customer_label'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__label__pb2._CUSTOMERLABEL -_GOOGLEADSROW.fields_by_name['customer_negative_criterion'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_customer__negative__criterion__pb2._CUSTOMERNEGATIVECRITERION -_GOOGLEADSROW.fields_by_name['detail_placement_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_detail__placement__view__pb2._DETAILPLACEMENTVIEW -_GOOGLEADSROW.fields_by_name['display_keyword_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_display__keyword__view__pb2._DISPLAYKEYWORDVIEW -_GOOGLEADSROW.fields_by_name['distance_view'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM -_GOOGLEADSROW.fields_by_name['feed'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__pb2._FEED -_GOOGLEADSROW.fields_by_name['feed_item'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM -_GOOGLEADSROW.fields_by_name['feed_item_target'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__item__target__pb2._FEEDITEMTARGET -_GOOGLEADSROW.fields_by_name['feed_mapping'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__mapping__pb2._FEEDMAPPING -_GOOGLEADSROW.fields_by_name['feed_placeholder_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_feed__placeholder__view__pb2._FEEDPLACEHOLDERVIEW -_GOOGLEADSROW.fields_by_name['gender_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_gender__view__pb2._GENDERVIEW -_GOOGLEADSROW.fields_by_name['geo_target_constant'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT -_GOOGLEADSROW.fields_by_name['geographic_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_geographic__view__pb2._GEOGRAPHICVIEW -_GOOGLEADSROW.fields_by_name['group_placement_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_group__placement__view__pb2._GROUPPLACEMENTVIEW -_GOOGLEADSROW.fields_by_name['hotel_group_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__group__view__pb2._HOTELGROUPVIEW -_GOOGLEADSROW.fields_by_name['hotel_performance_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__performance__view__pb2._HOTELPERFORMANCEVIEW -_GOOGLEADSROW.fields_by_name['keyword_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__view__pb2._KEYWORDVIEW -_GOOGLEADSROW.fields_by_name['keyword_plan'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN -_GOOGLEADSROW.fields_by_name['keyword_plan_campaign'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2._KEYWORDPLANKEYWORD -_GOOGLEADSROW.fields_by_name['label'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_label__pb2._LABEL -_GOOGLEADSROW.fields_by_name['landing_page_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_landing__page__view__pb2._LANDINGPAGEVIEW -_GOOGLEADSROW.fields_by_name['language_constant'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_language__constant__pb2._LANGUAGECONSTANT -_GOOGLEADSROW.fields_by_name['location_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_location__view__pb2._LOCATIONVIEW -_GOOGLEADSROW.fields_by_name['managed_placement_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_managed__placement__view__pb2._MANAGEDPLACEMENTVIEW -_GOOGLEADSROW.fields_by_name['media_file'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_media__file__pb2._MEDIAFILE -_GOOGLEADSROW.fields_by_name['mobile_app_category_constant'].message_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_resources_dot_mobile__device__constant__pb2._MOBILEDEVICECONSTANT -_GOOGLEADSROW.fields_by_name['mutate_job'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mutate__job__pb2._MUTATEJOB -_GOOGLEADSROW.fields_by_name['operating_system_version_constant'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_resources_dot_product__group__view__pb2._PRODUCTGROUPVIEW -_GOOGLEADSROW.fields_by_name['recommendation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_recommendation__pb2._RECOMMENDATION -_GOOGLEADSROW.fields_by_name['search_term_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_search__term__view__pb2._SEARCHTERMVIEW -_GOOGLEADSROW.fields_by_name['shared_criterion'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__criterion__pb2._SHAREDCRITERION -_GOOGLEADSROW.fields_by_name['shared_set'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET -_GOOGLEADSROW.fields_by_name['shopping_performance_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shopping__performance__view__pb2._SHOPPINGPERFORMANCEVIEW -_GOOGLEADSROW.fields_by_name['topic_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_topic__view__pb2._TOPICVIEW -_GOOGLEADSROW.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__interest__pb2._USERINTEREST -_GOOGLEADSROW.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__list__pb2._USERLIST -_GOOGLEADSROW.fields_by_name['user_location_view'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__location__view__pb2._USERLOCATIONVIEW -_GOOGLEADSROW.fields_by_name['remarketing_action'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION -_GOOGLEADSROW.fields_by_name['topic_constant'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_topic__constant__pb2._TOPICCONSTANT -_GOOGLEADSROW.fields_by_name['video'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_video__pb2._VIDEO -_GOOGLEADSROW.fields_by_name['metrics'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_metrics__pb2._METRICS -_GOOGLEADSROW.fields_by_name['segments'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_services_dot_ad__group__service__pb2._ADGROUPOPERATION -_MUTATEOPERATION.fields_by_name['ad_parameter_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__parameter__service__pb2._ADPARAMETEROPERATION -_MUTATEOPERATION.fields_by_name['asset_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_asset__service__pb2._ASSETOPERATION -_MUTATEOPERATION.fields_by_name['bidding_strategy_operation'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2._CAMPAIGNBUDGETOPERATION -_MUTATEOPERATION.fields_by_name['campaign_criterion_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2._CAMPAIGNCRITERIONOPERATION -_MUTATEOPERATION.fields_by_name['campaign_draft_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2._CAMPAIGNDRAFTOPERATION -_MUTATEOPERATION.fields_by_name['campaign_experiment_operation'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2._CAMPAIGNFEEDOPERATION -_MUTATEOPERATION.fields_by_name['campaign_label_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__label__service__pb2._CAMPAIGNLABELOPERATION -_MUTATEOPERATION.fields_by_name['campaign_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__service__pb2._CAMPAIGNOPERATION -_MUTATEOPERATION.fields_by_name['campaign_shared_set_operation'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_services_dot_customer__feed__service__pb2._CUSTOMERFEEDOPERATION -_MUTATEOPERATION.fields_by_name['customer_label_operation'].message_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2._CUSTOMERNEGATIVECRITERIONOPERATION -_MUTATEOPERATION.fields_by_name['customer_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2._CUSTOMEROPERATION -_MUTATEOPERATION.fields_by_name['extension_feed_item_operation'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2._FEEDMAPPINGOPERATION -_MUTATEOPERATION.fields_by_name['feed_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__service__pb2._FEEDOPERATION -_MUTATEOPERATION.fields_by_name['label_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_label__service__pb2._LABELOPERATION -_MUTATEOPERATION.fields_by_name['media_file_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_media__file__service__pb2._MEDIAFILEOPERATION -_MUTATEOPERATION.fields_by_name['remarketing_action_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2._REMARKETINGACTIONOPERATION -_MUTATEOPERATION.fields_by_name['shared_criterion_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2._SHAREDCRITERIONOPERATION -_MUTATEOPERATION.fields_by_name['shared_set_operation'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__set__service__pb2._SHAREDSETOPERATION -_MUTATEOPERATION.fields_by_name['user_list_operation'].message_type = google_dot_ads_dot_googleads__v2_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'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['ad_group_ad_operation']) -_MUTATEOPERATION.fields_by_name['ad_group_ad_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['ad_group_bid_modifier_operation']) -_MUTATEOPERATION.fields_by_name['ad_group_bid_modifier_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['ad_group_criterion_label_operation']) -_MUTATEOPERATION.fields_by_name['ad_group_criterion_label_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['ad_group_criterion_operation']) -_MUTATEOPERATION.fields_by_name['ad_group_criterion_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['ad_group_extension_setting_operation']) -_MUTATEOPERATION.fields_by_name['ad_group_extension_setting_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['ad_group_feed_operation']) -_MUTATEOPERATION.fields_by_name['ad_group_feed_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['ad_group_label_operation']) -_MUTATEOPERATION.fields_by_name['ad_group_label_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_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_parameter_operation']) -_MUTATEOPERATION.fields_by_name['ad_parameter_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['asset_operation']) -_MUTATEOPERATION.fields_by_name['asset_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['bidding_strategy_operation']) -_MUTATEOPERATION.fields_by_name['bidding_strategy_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_bid_modifier_operation']) -_MUTATEOPERATION.fields_by_name['campaign_bid_modifier_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_budget_operation']) -_MUTATEOPERATION.fields_by_name['campaign_budget_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_criterion_operation']) -_MUTATEOPERATION.fields_by_name['campaign_criterion_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_draft_operation']) -_MUTATEOPERATION.fields_by_name['campaign_draft_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_experiment_operation']) -_MUTATEOPERATION.fields_by_name['campaign_experiment_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_extension_setting_operation']) -_MUTATEOPERATION.fields_by_name['campaign_extension_setting_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_feed_operation']) -_MUTATEOPERATION.fields_by_name['campaign_feed_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_label_operation']) -_MUTATEOPERATION.fields_by_name['campaign_label_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_operation']) -_MUTATEOPERATION.fields_by_name['campaign_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['campaign_shared_set_operation']) -_MUTATEOPERATION.fields_by_name['campaign_shared_set_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['conversion_action_operation']) -_MUTATEOPERATION.fields_by_name['conversion_action_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['customer_extension_setting_operation']) -_MUTATEOPERATION.fields_by_name['customer_extension_setting_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['customer_feed_operation']) -_MUTATEOPERATION.fields_by_name['customer_feed_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['customer_label_operation']) -_MUTATEOPERATION.fields_by_name['customer_label_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['customer_negative_criterion_operation']) -_MUTATEOPERATION.fields_by_name['customer_negative_criterion_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['customer_operation']) -_MUTATEOPERATION.fields_by_name['customer_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['extension_feed_item_operation']) -_MUTATEOPERATION.fields_by_name['extension_feed_item_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['feed_item_operation']) -_MUTATEOPERATION.fields_by_name['feed_item_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['feed_item_target_operation']) -_MUTATEOPERATION.fields_by_name['feed_item_target_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['feed_mapping_operation']) -_MUTATEOPERATION.fields_by_name['feed_mapping_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_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['label_operation']) -_MUTATEOPERATION.fields_by_name['label_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['media_file_operation']) -_MUTATEOPERATION.fields_by_name['media_file_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['remarketing_action_operation']) -_MUTATEOPERATION.fields_by_name['remarketing_action_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['shared_criterion_operation']) -_MUTATEOPERATION.fields_by_name['shared_criterion_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( - _MUTATEOPERATION.fields_by_name['shared_set_operation']) -_MUTATEOPERATION.fields_by_name['shared_set_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_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__v2_dot_proto_dot_services_dot_ad__group__service__pb2._MUTATEADGROUPRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_parameter_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_ad__parameter__service__pb2._MUTATEADPARAMETERRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['asset_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_asset__service__pb2._MUTATEASSETRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['bidding_strategy_result'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_services_dot_campaign__budget__service__pb2._MUTATECAMPAIGNBUDGETRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_criterion_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__criterion__service__pb2._MUTATECAMPAIGNCRITERIONRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_draft_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__draft__service__pb2._MUTATECAMPAIGNDRAFTRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_experiment_result'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_services_dot_campaign__feed__service__pb2._MUTATECAMPAIGNFEEDRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_label_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__label__service__pb2._MUTATECAMPAIGNLABELRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_campaign__service__pb2._MUTATECAMPAIGNRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_shared_set_result'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_services_dot_customer__feed__service__pb2._MUTATECUSTOMERFEEDRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_label_result'].message_type = google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2._MUTATECUSTOMERNEGATIVECRITERIARESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_customer__service__pb2._MUTATECUSTOMERRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['extension_feed_item_result'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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__v2_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__v2_dot_proto_dot_services_dot_feed__mapping__service__pb2._MUTATEFEEDMAPPINGRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['feed_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_feed__service__pb2._MUTATEFEEDRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['label_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_label__service__pb2._MUTATELABELRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['media_file_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_media__file__service__pb2._MUTATEMEDIAFILERESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['remarketing_action_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2._MUTATEREMARKETINGACTIONRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['shared_criterion_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2._MUTATESHAREDCRITERIONRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['shared_set_result'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__set__service__pb2._MUTATESHAREDSETRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['user_list_result'].message_type = google_dot_ads_dot_googleads__v2_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'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_ad_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_ad_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_bid_modifier_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_bid_modifier_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_criterion_label_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_criterion_label_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_criterion_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_criterion_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_extension_setting_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_extension_setting_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_feed_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_feed_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_label_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_label_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_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['asset_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['asset_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['bidding_strategy_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['bidding_strategy_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_bid_modifier_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_bid_modifier_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_budget_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_budget_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_criterion_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_criterion_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_draft_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_draft_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_experiment_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_experiment_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_extension_setting_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_extension_setting_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_feed_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_feed_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_label_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_label_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['campaign_shared_set_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_shared_set_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['conversion_action_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['conversion_action_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['customer_extension_setting_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_extension_setting_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['customer_feed_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_feed_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['customer_label_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_label_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['customer_negative_criterion_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_negative_criterion_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['customer_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['extension_feed_item_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['extension_feed_item_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['feed_item_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['feed_item_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['feed_item_target_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['feed_item_target_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['feed_mapping_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['feed_mapping_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_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['label_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['label_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['media_file_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['media_file_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['remarketing_action_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['remarketing_action_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['shared_criterion_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['shared_criterion_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['shared_set_result']) -_MUTATEOPERATIONRESPONSE.fields_by_name['shared_set_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] -_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( - _MUTATEOPERATIONRESPONSE.fields_by_name['user_list_result']) -_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['GoogleAdsRow'] = _GOOGLEADSROW -DESCRIPTOR.message_types_by_name['MutateGoogleAdsRequest'] = _MUTATEGOOGLEADSREQUEST -DESCRIPTOR.message_types_by_name['MutateGoogleAdsResponse'] = _MUTATEGOOGLEADSRESPONSE -DESCRIPTOR.message_types_by_name['MutateOperation'] = _MUTATEOPERATION -DESCRIPTOR.message_types_by_name['MutateOperationResponse'] = _MUTATEOPERATIONRESPONSE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SearchGoogleAdsRequest = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsRequest', (_message.Message,), dict( - DESCRIPTOR = _SEARCHGOOGLEADSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_service_pb2' - , - __doc__ = """Request message for - [GoogleAdsService.Search][google.ads.googleads.v2.services.GoogleAdsService.Search]. - - - Attributes: - customer_id: - The ID of the customer being queried. - query: - 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 - ``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 too - large a page is requested, the server may decide to further - limit the number of returned resources. - validate_only: - If true, the request is validated but not executed. - return_summary_row: - If true, summary row will be included in the response. - Otherwise(false or not specified) summary row will not be - returned. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.SearchGoogleAdsRequest) - )) -_sym_db.RegisterMessage(SearchGoogleAdsRequest) - -SearchGoogleAdsResponse = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsResponse', (_message.Message,), dict( - DESCRIPTOR = _SEARCHGOOGLEADSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_service_pb2' - , - __doc__ = """Response message for - [GoogleAdsService.Search][google.ads.googleads.v2.services.GoogleAdsService.Search]. - - - 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. - total_results_count: - Total number of results that match the query ignoring the - LIMIT clause. - 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.v2.services.SearchGoogleAdsResponse) - )) -_sym_db.RegisterMessage(SearchGoogleAdsResponse) - -GoogleAdsRow = _reflection.GeneratedProtocolMessageType('GoogleAdsRow', (_message.Message,), dict( - DESCRIPTOR = _GOOGLEADSROW, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_service_pb2' - , - __doc__ = """A returned row from the query. - - - Attributes: - account_budget: - The account budget in the query. - account_budget_proposal: - The account budget proposal 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: - The ad group audience view referenced in the query. - ad_group_bid_modifier: - The bid modifier referenced in the query. - ad_group_criterion: - The criterion referenced in the query. - ad_group_criterion_label: - The ad group criterion label referenced in the query. - ad_group_criterion_simulation: - The ad group criterion simulation referenced in the query. - ad_group_extension_setting: - The ad group extension setting referenced in the query. - ad_group_feed: - The ad group feed referenced in the query. - ad_group_label: - The ad group label referenced in the query. - ad_group_simulation: - The ad group simulation referenced in the query. - ad_parameter: - The ad parameter referenced in the query. - age_range_view: - The age range view referenced in the query. - ad_schedule_view: - The ad schedule view referenced in the query. - domain_category: - The domain category referenced in the query. - asset: - The asset referenced in the query. - bidding_strategy: - The bidding strategy referenced in the query. - billing_setup: - The billing setup referenced in the query. - campaign_budget: - The campaign budget referenced in the query. - campaign: - The campaign referenced in the query. - campaign_audience_view: - The campaign audience view referenced in the query. - campaign_bid_modifier: - The campaign bid modifier referenced in the query. - campaign_criterion: - The campaign criterion referenced in the query. - campaign_criterion_simulation: - The campaign criterion simulation referenced in the query. - campaign_draft: - The campaign draft referenced in the query. - campaign_experiment: - The campaign experiment referenced in the query. - campaign_extension_setting: - The campaign extension setting referenced in the query. - campaign_feed: - The campaign feed referenced in the query. - campaign_label: - The campaign label referenced in the query. - campaign_shared_set: - Campaign Shared Set referenced in AWQL query. - carrier_constant: - The carrier constant referenced in the query. - change_status: - The ChangeStatus referenced in the query. - conversion_action: - The conversion action referenced in the query. - click_view: - The ClickView referenced in the query. - custom_interest: - The CustomInterest referenced in the query. - customer: - The customer referenced in the query. - customer_manager_link: - The CustomerManagerLink referenced in the query. - customer_client_link: - The CustomerClientLink referenced in the query. - customer_client: - The CustomerClient referenced in the query. - customer_extension_setting: - The customer extension setting referenced in the query. - customer_feed: - The customer feed referenced in the query. - customer_label: - The customer label referenced in the query. - customer_negative_criterion: - The customer negative criterion referenced in the query. - detail_placement_view: - 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. - expanded_landing_page_view: - The expanded landing page view referenced in the query. - extension_feed_item: - The extension feed item referenced in the query. - feed: - The feed referenced in the query. - feed_item: - The feed item referenced in the query. - feed_item_target: - The feed item target referenced in the query. - feed_mapping: - The feed mapping referenced in the query. - feed_placeholder_view: - The feed placeholder view referenced in the query. - gender_view: - The gender view referenced in the query. - geo_target_constant: - The geo target constant referenced in the query. - geographic_view: - The geographic view referenced in the query. - group_placement_view: - The group placement view referenced in the query. - hotel_group_view: - The hotel group view referenced in the query. - hotel_performance_view: - The hotel performance 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_ad_group: - The keyword plan ad group referenced in the query. - keyword_plan_keyword: - The keyword plan keyword referenced in the query. - label: - The label referenced in the query. - landing_page_view: - The landing page view referenced in the query. - language_constant: - The language constant referenced in the query. - location_view: - The location view referenced in the query. - managed_placement_view: - The managed placement view referenced in the query. - media_file: - The media file referenced in the query. - mobile_app_category_constant: - 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. - operating_system_version_constant: - The operating system version constant referenced in the query. - paid_organic_search_term_view: - The paid organic search term view referenced in the query. - parental_status_view: - The parental status view referenced in the query. - product_bidding_category_constant: - The Product Bidding Category referenced in the query. - product_group_view: - The product group view referenced in the query. - recommendation: - The recommendation referenced in the query. - search_term_view: - The search term view referenced in the query. - shared_criterion: - The shared set referenced in the query. - shared_set: - The shared set referenced in the query. - shopping_performance_view: - The shopping performance view 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: - The topic constant referenced in the query. - video: - The video referenced in the query. - metrics: - The metrics. - segments: - The segments. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GoogleAdsRow) - )) -_sym_db.RegisterMessage(GoogleAdsRow) - -MutateGoogleAdsRequest = _reflection.GeneratedProtocolMessageType('MutateGoogleAdsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEGOOGLEADSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_service_pb2' - , - __doc__ = """Request message for - [GoogleAdsService.Mutate][google.ads.googleads.v2.services.GoogleAdsService.Mutate]. - - - Attributes: - customer_id: - The ID of the customer whose resources are being modified. - mutate_operations: - 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 - 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.v2.services.MutateGoogleAdsRequest) - )) -_sym_db.RegisterMessage(MutateGoogleAdsRequest) - -MutateGoogleAdsResponse = _reflection.GeneratedProtocolMessageType('MutateGoogleAdsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEGOOGLEADSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_service_pb2' - , - __doc__ = """Response message for - [GoogleAdsService.Mutate][google.ads.googleads.v2.services.GoogleAdsService.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. - mutate_operation_responses: - All responses for the mutate. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateGoogleAdsResponse) - )) -_sym_db.RegisterMessage(MutateGoogleAdsResponse) - -MutateOperation = _reflection.GeneratedProtocolMessageType('MutateOperation', (_message.Message,), dict( - DESCRIPTOR = _MUTATEOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a resource. - - - Attributes: - operation: - The mutate operation. - ad_group_ad_label_operation: - An ad group ad label mutate operation. - ad_group_ad_operation: - An ad group ad mutate operation. - ad_group_bid_modifier_operation: - An ad group bid modifier mutate operation. - ad_group_criterion_label_operation: - An ad group criterion label mutate operation. - ad_group_criterion_operation: - An ad group criterion mutate operation. - ad_group_extension_setting_operation: - An ad group extension setting mutate operation. - ad_group_feed_operation: - An ad group feed mutate operation. - ad_group_label_operation: - An ad group label mutate operation. - ad_group_operation: - An ad group mutate operation. - ad_parameter_operation: - An ad parameter mutate operation. - asset_operation: - An asset mutate operation. - bidding_strategy_operation: - A bidding strategy mutate operation. - campaign_bid_modifier_operation: - A campaign bid modifier mutate operation. - campaign_budget_operation: - A campaign budget mutate operation. - campaign_criterion_operation: - A campaign criterion mutate operation. - campaign_draft_operation: - A campaign draft mutate operation. - campaign_experiment_operation: - A campaign experiment mutate operation. - campaign_extension_setting_operation: - A campaign extension setting mutate operation. - campaign_feed_operation: - A campaign feed mutate operation. - campaign_label_operation: - A campaign label mutate operation. - campaign_operation: - A campaign mutate operation. - campaign_shared_set_operation: - A campaign shared set mutate operation. - conversion_action_operation: - A conversion action mutate operation. - customer_extension_setting_operation: - A customer extension setting mutate operation. - customer_feed_operation: - A customer feed mutate operation. - customer_label_operation: - A customer label mutate operation. - customer_negative_criterion_operation: - A customer negative criterion mutate operation. - customer_operation: - A customer mutate operation. - extension_feed_item_operation: - An extension feed item mutate operation. - feed_item_operation: - A feed item mutate operation. - feed_item_target_operation: - A feed item target mutate operation. - feed_mapping_operation: - A feed mapping mutate operation. - feed_operation: - A feed mutate operation. - label_operation: - A label mutate operation. - media_file_operation: - A media file mutate operation. - remarketing_action_operation: - A remarketing action mutate operation. - shared_criterion_operation: - A shared criterion mutate operation. - shared_set_operation: - A shared set mutate operation. - user_list_operation: - A user list mutate operation. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateOperation) - )) -_sym_db.RegisterMessage(MutateOperation) - -MutateOperationResponse = _reflection.GeneratedProtocolMessageType('MutateOperationResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEOPERATIONRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.google_ads_service_pb2' - , - __doc__ = """Response message for the resource mutate. - - - Attributes: - response: - The mutate response. - ad_group_ad_label_result: - The result for the ad group ad label mutate. - ad_group_ad_result: - The result for the ad group ad mutate. - ad_group_bid_modifier_result: - The result for the ad group bid modifier mutate. - ad_group_criterion_label_result: - The result for the ad group criterion label mutate. - ad_group_criterion_result: - The result for the ad group criterion mutate. - ad_group_extension_setting_result: - The result for the ad group extension setting mutate. - ad_group_feed_result: - The result for the ad group feed mutate. - ad_group_label_result: - The result for the ad group label mutate. - ad_group_result: - The result for the ad group mutate. - ad_parameter_result: - The result for the ad parameter mutate. - asset_result: - The result for the asset mutate. - bidding_strategy_result: - The result for the bidding strategy mutate. - campaign_bid_modifier_result: - The result for the campaign bid modifier mutate. - campaign_budget_result: - The result for the campaign budget mutate. - campaign_criterion_result: - The result for the campaign criterion mutate. - campaign_draft_result: - The result for the campaign draft mutate. - campaign_experiment_result: - The result for the campaign experiment mutate. - campaign_extension_setting_result: - The result for the campaign extension setting mutate. - campaign_feed_result: - The result for the campaign feed mutate. - campaign_label_result: - The result for the campaign label mutate. - campaign_result: - The result for the campaign mutate. - campaign_shared_set_result: - The result for the campaign shared set mutate. - conversion_action_result: - The result for the conversion action mutate. - customer_extension_setting_result: - The result for the customer extension setting mutate. - customer_feed_result: - The result for the customer feed mutate. - customer_label_result: - The result for the customer label mutate. - customer_negative_criterion_result: - The result for the customer negative criterion mutate. - customer_result: - The result for the customer mutate. - extension_feed_item_result: - The result for the extension feed item mutate. - feed_item_result: - The result for the feed item mutate. - feed_item_target_result: - The result for the feed item target mutate. - feed_mapping_result: - The result for the feed mapping mutate. - feed_result: - The result for the feed mutate. - label_result: - The result for the label mutate. - media_file_result: - The result for the media file mutate. - remarketing_action_result: - The result for the remarketing action mutate. - shared_criterion_result: - The result for the shared criterion mutate. - shared_set_result: - The result for the shared set mutate. - user_list_result: - The result for the user list mutate. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateOperationResponse) - )) -_sym_db.RegisterMessage(MutateOperationResponse) - - -DESCRIPTOR._options = None - -_GOOGLEADSSERVICE = _descriptor.ServiceDescriptor( - name='GoogleAdsService', - full_name='google.ads.googleads.v2.services.GoogleAdsService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=25442, - serialized_end=25863, - methods=[ - _descriptor.MethodDescriptor( - name='Search', - full_name='google.ads.googleads.v2.services.GoogleAdsService.Search', - index=0, - containing_service=None, - input_type=_SEARCHGOOGLEADSREQUEST, - output_type=_SEARCHGOOGLEADSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v2/customers/{customer_id=*}/googleAds:search:\001*'), - ), - _descriptor.MethodDescriptor( - name='Mutate', - full_name='google.ads.googleads.v2.services.GoogleAdsService.Mutate', - index=1, - containing_service=None, - input_type=_MUTATEGOOGLEADSREQUEST, - output_type=_MUTATEGOOGLEADSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v2/customers/{customer_id=*}/googleAds:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_GOOGLEADSSERVICE) - -DESCRIPTOR.services_by_name['GoogleAdsService'] = _GOOGLEADSSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/google_ads_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/google_ads_service_pb2_grpc.py deleted file mode 100644 index 109e533a4..000000000 --- a/google/ads/google_ads/v2/proto/services/google_ads_service_pb2_grpc.py +++ /dev/null @@ -1,117 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__service__pb2 - - -class GoogleAdsServiceStub(object): - """Proto file describing the GoogleAdsService. - - Service to fetch data and metrics across resources. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Search = channel.unary_unary( - '/google.ads.googleads.v2.services.GoogleAdsService/Search', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsResponse.FromString, - ) - self.Mutate = channel.unary_unary( - '/google.ads.googleads.v2.services.GoogleAdsService/Mutate', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsResponse.FromString, - ) - - -class GoogleAdsServiceServicer(object): - """Proto file describing the GoogleAdsService. - - Service to fetch data and metrics across resources. - """ - - def Search(self, request, context): - """Returns all rows that match the search 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 - atomically create a campaign and a campaign budget, or perform up to - 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 - - Note: Only resources that support atomic transactions are included, so this - method can't replace all calls to individual services. - - ## Atomic Transaction Benefits - - Atomicity makes error handling much easier. If you're making a series of - changes and one fails, it can leave your account in an inconsistent state. - With atomicity, you either reach the desired state directly, or the request - fails and you can retry. - - ## Temp Resource Names - - 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 - 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. - - ## Latency - - It's important to group mutates by resource type or the request may time - out and fail. Latency is roughly equal to a series of calls to individual - mutate methods, where each change in resource type is a new call. For - example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsResponse.SerializeToString, - ), - 'Mutate': grpc.unary_unary_rpc_method_handler( - servicer.Mutate, - request_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.GoogleAdsService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/group_placement_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/group_placement_view_service_pb2.py deleted file mode 100644 index e1ddf347c..000000000 --- a/google/ads/google_ads/v2/proto/services/group_placement_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_v2/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.v2.proto.resources import group_placement_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/group_placement_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\036GroupPlacementViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/services/group_placement_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x42google/ads/googleads_v2/proto/resources/group_placement_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"5\n\x1cGetGroupPlacementViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x88\x02\n\x19GroupPlacementViewService\x12\xcd\x01\n\x15GetGroupPlacementView\x12>.google.ads.googleads.v2.services.GetGroupPlacementViewRequest\x1a\x35.google.ads.googleads.v2.resources.GroupPlacementView\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/groupPlacementViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1eGroupPlacementViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_group__placement__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETGROUPPLACEMENTVIEWREQUEST = _descriptor.Descriptor( - name='GetGroupPlacementViewRequest', - full_name='google.ads.googleads.v2.services.GetGroupPlacementViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=234, - serialized_end=287, -) - -DESCRIPTOR.message_types_by_name['GetGroupPlacementViewRequest'] = _GETGROUPPLACEMENTVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetGroupPlacementViewRequest = _reflection.GeneratedProtocolMessageType('GetGroupPlacementViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETGROUPPLACEMENTVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.group_placement_view_service_pb2' - , - __doc__ = """Request message for - [GroupPlacementViewService.GetGroupPlacementView][google.ads.googleads.v2.services.GroupPlacementViewService.GetGroupPlacementView]. - - - Attributes: - resource_name: - The resource name of the Group Placement view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetGroupPlacementViewRequest) - )) -_sym_db.RegisterMessage(GetGroupPlacementViewRequest) - - -DESCRIPTOR._options = None - -_GROUPPLACEMENTVIEWSERVICE = _descriptor.ServiceDescriptor( - name='GroupPlacementViewService', - full_name='google.ads.googleads.v2.services.GroupPlacementViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=290, - serialized_end=554, - methods=[ - _descriptor.MethodDescriptor( - name='GetGroupPlacementView', - full_name='google.ads.googleads.v2.services.GroupPlacementViewService.GetGroupPlacementView', - index=0, - containing_service=None, - input_type=_GETGROUPPLACEMENTVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_group__placement__view__pb2._GROUPPLACEMENTVIEW, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{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/v2/proto/services/group_placement_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/group_placement_view_service_pb2_grpc.py deleted file mode 100644 index 8cb3a9a66..000000000 --- a/google/ads/google_ads/v2/proto/services/group_placement_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_group__placement__view__pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_group__placement__view__service__pb2 - - -class GroupPlacementViewServiceStub(object): - """Proto file describing the Group Placement View service. - - Service to fetch Group Placement views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetGroupPlacementView = channel.unary_unary( - '/google.ads.googleads.v2.services.GroupPlacementViewService/GetGroupPlacementView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_group__placement__view__service__pb2.GetGroupPlacementViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_group__placement__view__pb2.GroupPlacementView.FromString, - ) - - -class GroupPlacementViewServiceServicer(object): - """Proto file describing the Group Placement View service. - - Service to fetch Group Placement views. - """ - - def GetGroupPlacementView(self, request, context): - """Returns the requested Group Placement view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_group__placement__view__service__pb2.GetGroupPlacementViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_group__placement__view__pb2.GroupPlacementView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.GroupPlacementViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/hotel_group_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/hotel_group_view_service_pb2.py deleted file mode 100644 index b7e64b264..000000000 --- a/google/ads/google_ads/v2/proto/services/hotel_group_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_v2/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.v2.proto.resources import hotel_group_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/hotel_group_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032HotelGroupViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/services/hotel_group_view_service.proto\x12 google.ads.googleads.v2.services\x1a>google/ads/googleads_v2/proto/resources/hotel_group_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"1\n\x18GetHotelGroupViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf4\x01\n\x15HotelGroupViewService\x12\xbd\x01\n\x11GetHotelGroupView\x12:.google.ads.googleads.v2.services.GetHotelGroupViewRequest\x1a\x31.google.ads.googleads.v2.resources.HotelGroupView\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/hotelGroupViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1aHotelGroupViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__group__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETHOTELGROUPVIEWREQUEST = _descriptor.Descriptor( - name='GetHotelGroupViewRequest', - full_name='google.ads.googleads.v2.services.GetHotelGroupViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=226, - serialized_end=275, -) - -DESCRIPTOR.message_types_by_name['GetHotelGroupViewRequest'] = _GETHOTELGROUPVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetHotelGroupViewRequest = _reflection.GeneratedProtocolMessageType('GetHotelGroupViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETHOTELGROUPVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.hotel_group_view_service_pb2' - , - __doc__ = """Request message for - [HotelGroupViewService.GetHotelGroupView][google.ads.googleads.v2.services.HotelGroupViewService.GetHotelGroupView]. - - - Attributes: - resource_name: - Resource name of the Hotel Group View to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetHotelGroupViewRequest) - )) -_sym_db.RegisterMessage(GetHotelGroupViewRequest) - - -DESCRIPTOR._options = None - -_HOTELGROUPVIEWSERVICE = _descriptor.ServiceDescriptor( - name='HotelGroupViewService', - full_name='google.ads.googleads.v2.services.HotelGroupViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=278, - serialized_end=522, - methods=[ - _descriptor.MethodDescriptor( - name='GetHotelGroupView', - full_name='google.ads.googleads.v2.services.HotelGroupViewService.GetHotelGroupView', - index=0, - containing_service=None, - input_type=_GETHOTELGROUPVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__group__view__pb2._HOTELGROUPVIEW, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{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/v2/proto/services/hotel_group_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/hotel_group_view_service_pb2_grpc.py deleted file mode 100644 index 825035a64..000000000 --- a/google/ads/google_ads/v2/proto/services/hotel_group_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__group__view__pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_hotel__group__view__service__pb2 - - -class HotelGroupViewServiceStub(object): - """Proto file describing the Hotel Group View Service. - - Service to manage Hotel Group Views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetHotelGroupView = channel.unary_unary( - '/google.ads.googleads.v2.services.HotelGroupViewService/GetHotelGroupView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_hotel__group__view__service__pb2.GetHotelGroupViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__group__view__pb2.HotelGroupView.FromString, - ) - - -class HotelGroupViewServiceServicer(object): - """Proto file describing the Hotel Group View Service. - - Service to manage Hotel Group Views. - """ - - def GetHotelGroupView(self, request, context): - """Returns the requested Hotel Group View in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_hotel__group__view__service__pb2.GetHotelGroupViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__group__view__pb2.HotelGroupView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.HotelGroupViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/hotel_performance_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/hotel_performance_view_service_pb2.py deleted file mode 100644 index 9920f5524..000000000 --- a/google/ads/google_ads/v2/proto/services/hotel_performance_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_v2/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.v2.proto.resources import hotel_performance_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/hotel_performance_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB HotelPerformanceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/services/hotel_performance_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x44google/ads/googleads_v2/proto/resources/hotel_performance_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"7\n\x1eGetHotelPerformanceViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8f\x02\n\x1bHotelPerformanceViewService\x12\xd2\x01\n\x17GetHotelPerformanceView\x12@.google.ads.googleads.v2.services.GetHotelPerformanceViewRequest\x1a\x37.google.ads.googleads.v2.resources.HotelPerformanceView\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v2/{resource_name=customers/*/hotelPerformanceView}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x87\x02\n$com.google.ads.googleads.v2.servicesB HotelPerformanceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__performance__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETHOTELPERFORMANCEVIEWREQUEST = _descriptor.Descriptor( - name='GetHotelPerformanceViewRequest', - full_name='google.ads.googleads.v2.services.GetHotelPerformanceViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=238, - serialized_end=293, -) - -DESCRIPTOR.message_types_by_name['GetHotelPerformanceViewRequest'] = _GETHOTELPERFORMANCEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetHotelPerformanceViewRequest = _reflection.GeneratedProtocolMessageType('GetHotelPerformanceViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETHOTELPERFORMANCEVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.hotel_performance_view_service_pb2' - , - __doc__ = """Request message for - [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v2.services.HotelPerformanceViewService.GetHotelPerformanceView]. - - - Attributes: - resource_name: - Resource name of the Hotel Performance View to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetHotelPerformanceViewRequest) - )) -_sym_db.RegisterMessage(GetHotelPerformanceViewRequest) - - -DESCRIPTOR._options = None - -_HOTELPERFORMANCEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='HotelPerformanceViewService', - full_name='google.ads.googleads.v2.services.HotelPerformanceViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=296, - serialized_end=567, - methods=[ - _descriptor.MethodDescriptor( - name='GetHotelPerformanceView', - full_name='google.ads.googleads.v2.services.HotelPerformanceViewService.GetHotelPerformanceView', - index=0, - containing_service=None, - input_type=_GETHOTELPERFORMANCEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__performance__view__pb2._HOTELPERFORMANCEVIEW, - serialized_options=_b('\202\323\344\223\0026\0224/v2/{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/v2/proto/services/hotel_performance_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/hotel_performance_view_service_pb2_grpc.py deleted file mode 100644 index e8d61f5a1..000000000 --- a/google/ads/google_ads/v2/proto/services/hotel_performance_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__performance__view__pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_hotel__performance__view__service__pb2 - - -class HotelPerformanceViewServiceStub(object): - """Proto file describing the Hotel Performance View Service. - - Service to manage Hotel Performance Views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetHotelPerformanceView = channel.unary_unary( - '/google.ads.googleads.v2.services.HotelPerformanceViewService/GetHotelPerformanceView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_hotel__performance__view__service__pb2.GetHotelPerformanceViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__performance__view__pb2.HotelPerformanceView.FromString, - ) - - -class HotelPerformanceViewServiceServicer(object): - """Proto file describing the Hotel Performance View Service. - - Service to manage Hotel Performance Views. - """ - - def GetHotelPerformanceView(self, request, context): - """Returns the requested Hotel Performance View in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_hotel__performance__view__service__pb2.GetHotelPerformanceViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_hotel__performance__view__pb2.HotelPerformanceView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.HotelPerformanceViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/invoice_service_pb2.py b/google/ads/google_ads/v2/proto/services/invoice_service_pb2.py deleted file mode 100644 index d5c7bd9b9..000000000 --- a/google/ads/google_ads/v2/proto/services/invoice_service_pb2.py +++ /dev/null @@ -1,190 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.enums import month_of_year_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_month__of__year__pb2 -from google.ads.google_ads.v2.proto.resources import invoice_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/invoice_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\023InvoiceServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n.google.ads.googleads.v2.services.GetKeywordPlanAdGroupRequest\x1a\x35.google.ads.googleads.v2.resources.KeywordPlanAdGroup\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/keywordPlanAdGroups/*}\x12\xe9\x01\n\x19MutateKeywordPlanAdGroups\x12\x42.google.ads.googleads.v2.services.MutateKeywordPlanAdGroupsRequest\x1a\x43.google.ads.googleads.v2.services.MutateKeywordPlanAdGroupsResponse\"C\x82\xd3\xe4\x93\x02=\"8/v2/customers/{customer_id=*}/keywordPlanAdGroups:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1eKeywordPlanAdGroupServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETKEYWORDPLANADGROUPREQUEST = _descriptor.Descriptor( - name='GetKeywordPlanAdGroupRequest', - full_name='google.ads.googleads.v2.services.GetKeywordPlanAdGroupRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=295, - serialized_end=348, -) - - -_MUTATEKEYWORDPLANADGROUPSREQUEST = _descriptor.Descriptor( - name='MutateKeywordPlanAdGroupsRequest', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanAdGroupsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=351, - serialized_end=537, -) - - -_KEYWORDPLANADGROUPOPERATION = _descriptor.Descriptor( - name='KeywordPlanAdGroupOperation', - full_name='google.ads.googleads.v2.services.KeywordPlanAdGroupOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.KeywordPlanAdGroupOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=540, - serialized_end=795, -) - - -_MUTATEKEYWORDPLANADGROUPSRESPONSE = _descriptor.Descriptor( - name='MutateKeywordPlanAdGroupsResponse', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanAdGroupsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=798, - serialized_end=967, -) - - -_MUTATEKEYWORDPLANADGROUPRESULT = _descriptor.Descriptor( - name='MutateKeywordPlanAdGroupResult', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanAdGroupResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=969, - serialized_end=1024, -) - -_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__v2_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP -_KEYWORDPLANADGROUPOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_KEYWORDPLANADGROUPOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANADGROUPOPERATION.fields_by_name['update']) -_KEYWORDPLANADGROUPOPERATION.fields_by_name['update'].containing_oneof = _KEYWORDPLANADGROUPOPERATION.oneofs_by_name['operation'] -_KEYWORDPLANADGROUPOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANADGROUPOPERATION.fields_by_name['remove']) -_KEYWORDPLANADGROUPOPERATION.fields_by_name['remove'].containing_oneof = _KEYWORDPLANADGROUPOPERATION.oneofs_by_name['operation'] -_MUTATEKEYWORDPLANADGROUPSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEKEYWORDPLANADGROUPSRESPONSE.fields_by_name['results'].message_type = _MUTATEKEYWORDPLANADGROUPRESULT -DESCRIPTOR.message_types_by_name['GetKeywordPlanAdGroupRequest'] = _GETKEYWORDPLANADGROUPREQUEST -DESCRIPTOR.message_types_by_name['MutateKeywordPlanAdGroupsRequest'] = _MUTATEKEYWORDPLANADGROUPSREQUEST -DESCRIPTOR.message_types_by_name['KeywordPlanAdGroupOperation'] = _KEYWORDPLANADGROUPOPERATION -DESCRIPTOR.message_types_by_name['MutateKeywordPlanAdGroupsResponse'] = _MUTATEKEYWORDPLANADGROUPSRESPONSE -DESCRIPTOR.message_types_by_name['MutateKeywordPlanAdGroupResult'] = _MUTATEKEYWORDPLANADGROUPRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetKeywordPlanAdGroupRequest = _reflection.GeneratedProtocolMessageType('GetKeywordPlanAdGroupRequest', (_message.Message,), dict( - DESCRIPTOR = _GETKEYWORDPLANADGROUPREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_ad_group_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v2.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup]. - - - Attributes: - resource_name: - The resource name of the Keyword Plan ad group to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetKeywordPlanAdGroupRequest) - )) -_sym_db.RegisterMessage(GetKeywordPlanAdGroupRequest) - -MutateKeywordPlanAdGroupsRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanAdGroupsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANADGROUPSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_ad_group_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v2.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. - - - Attributes: - customer_id: - 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. - 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.v2.services.MutateKeywordPlanAdGroupsRequest) - )) -_sym_db.RegisterMessage(MutateKeywordPlanAdGroupsRequest) - -KeywordPlanAdGroupOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanAdGroupOperation', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANADGROUPOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_ad_group_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a Keyword Plan ad group. - - - 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. - update: - Update operation: The Keyword Plan ad group is expected to - have a valid resource name. - remove: - Remove operation: A resource name for the removed Keyword Plan - ad group is expected, in this format: ``customers/{customer_i - d}/keywordPlanAdGroups/{kp_ad_group_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.KeywordPlanAdGroupOperation) - )) -_sym_db.RegisterMessage(KeywordPlanAdGroupOperation) - -MutateKeywordPlanAdGroupsResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanAdGroupsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANADGROUPSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_ad_group_service_pb2' - , - __doc__ = """Response message for a Keyword Plan ad group 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.v2.services.MutateKeywordPlanAdGroupsResponse) - )) -_sym_db.RegisterMessage(MutateKeywordPlanAdGroupsResponse) - -MutateKeywordPlanAdGroupResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanAdGroupResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANADGROUPRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_ad_group_service_pb2' - , - __doc__ = """The result for the Keyword Plan ad group mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateKeywordPlanAdGroupResult) - )) -_sym_db.RegisterMessage(MutateKeywordPlanAdGroupResult) - - -DESCRIPTOR._options = None - -_KEYWORDPLANADGROUPSERVICE = _descriptor.ServiceDescriptor( - name='KeywordPlanAdGroupService', - full_name='google.ads.googleads.v2.services.KeywordPlanAdGroupService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1027, - serialized_end=1527, - methods=[ - _descriptor.MethodDescriptor( - name='GetKeywordPlanAdGroup', - full_name='google.ads.googleads.v2.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup', - index=0, - containing_service=None, - input_type=_GETKEYWORDPLANADGROUPREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{resource_name=customers/*/keywordPlanAdGroups/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateKeywordPlanAdGroups', - full_name='google.ads.googleads.v2.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups', - index=1, - containing_service=None, - input_type=_MUTATEKEYWORDPLANADGROUPSREQUEST, - output_type=_MUTATEKEYWORDPLANADGROUPSRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v2/customers/{customer_id=*}/keywordPlanAdGroups:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_KEYWORDPLANADGROUPSERVICE) - -DESCRIPTOR.services_by_name['KeywordPlanAdGroupService'] = _KEYWORDPLANADGROUPSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/keyword_plan_ad_group_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/keyword_plan_ad_group_service_pb2_grpc.py deleted file mode 100644 index bde1e347a..000000000 --- a/google/ads/google_ads/v2/proto/services/keyword_plan_ad_group_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.v2.proto.resources import keyword_plan_ad_group_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2 - - -class KeywordPlanAdGroupServiceStub(object): - """Proto file describing the keyword plan ad group service. - - Service to manage Keyword Plan ad groups. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetKeywordPlanAdGroup = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.GetKeywordPlanAdGroupRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.KeywordPlanAdGroup.FromString, - ) - self.MutateKeywordPlanAdGroups = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsResponse.FromString, - ) - - -class KeywordPlanAdGroupServiceServicer(object): - """Proto file describing the keyword plan ad group service. - - Service to manage Keyword Plan ad groups. - """ - - def GetKeywordPlanAdGroup(self, request, context): - """Returns the requested Keyword Plan ad group in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateKeywordPlanAdGroups(self, request, context): - """Creates, updates, or removes Keyword Plan ad groups. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.GetKeywordPlanAdGroupRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.KeywordPlanAdGroupService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/keyword_plan_campaign_service_pb2.py b/google/ads/google_ads/v2/proto/services/keyword_plan_campaign_service_pb2.py deleted file mode 100644 index e31e67822..000000000 --- a/google/ads/google_ads/v2/proto/services/keyword_plan_campaign_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_v2/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')) -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.v2.proto.resources import keyword_plan_campaign_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__campaign__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/keyword_plan_campaign_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\037KeywordPlanCampaignServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v2/proto/services/keyword_plan_campaign_service.proto\x12 google.ads.googleads.v2.services\x1a\x43google/ads/googleads_v2/proto/resources/keyword_plan_campaign.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.KeywordPlanCampaignH\x00\x12H\n\x06update\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v2.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.v2.services.MutateKeywordPlanCampaignResult\"8\n\x1fMutateKeywordPlanCampaignResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xfd\x03\n\x1aKeywordPlanCampaignService\x12\xd1\x01\n\x16GetKeywordPlanCampaign\x12?.google.ads.googleads.v2.services.GetKeywordPlanCampaignRequest\x1a\x36.google.ads.googleads.v2.resources.KeywordPlanCampaign\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{resource_name=customers/*/keywordPlanCampaigns/*}\x12\xed\x01\n\x1aMutateKeywordPlanCampaigns\x12\x43.google.ads.googleads.v2.services.MutateKeywordPlanCampaignsRequest\x1a\x44.google.ads.googleads.v2.services.MutateKeywordPlanCampaignsResponse\"D\x82\xd3\xe4\x93\x02>\"9/v2/customers/{customer_id=*}/keywordPlanCampaigns:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v2.servicesB\x1fKeywordPlanCampaignServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETKEYWORDPLANCAMPAIGNREQUEST = _descriptor.Descriptor( - name='GetKeywordPlanCampaignRequest', - full_name='google.ads.googleads.v2.services.GetKeywordPlanCampaignRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=295, - serialized_end=349, -) - - -_MUTATEKEYWORDPLANCAMPAIGNSREQUEST = _descriptor.Descriptor( - name='MutateKeywordPlanCampaignsRequest', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanCampaignsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=352, - serialized_end=540, -) - - -_KEYWORDPLANCAMPAIGNOPERATION = _descriptor.Descriptor( - name='KeywordPlanCampaignOperation', - full_name='google.ads.googleads.v2.services.KeywordPlanCampaignOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.KeywordPlanCampaignOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=543, - serialized_end=801, -) - - -_MUTATEKEYWORDPLANCAMPAIGNSRESPONSE = _descriptor.Descriptor( - name='MutateKeywordPlanCampaignsResponse', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanCampaignsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=804, - serialized_end=975, -) - - -_MUTATEKEYWORDPLANCAMPAIGNRESULT = _descriptor.Descriptor( - name='MutateKeywordPlanCampaignResult', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanCampaignResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=977, - serialized_end=1033, -) - -_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__v2_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN -_KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_KEYWORDPLANCAMPAIGNOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['update']) -_KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['update'].containing_oneof = _KEYWORDPLANCAMPAIGNOPERATION.oneofs_by_name['operation'] -_KEYWORDPLANCAMPAIGNOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['remove']) -_KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['remove'].containing_oneof = _KEYWORDPLANCAMPAIGNOPERATION.oneofs_by_name['operation'] -_MUTATEKEYWORDPLANCAMPAIGNSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEKEYWORDPLANCAMPAIGNSRESPONSE.fields_by_name['results'].message_type = _MUTATEKEYWORDPLANCAMPAIGNRESULT -DESCRIPTOR.message_types_by_name['GetKeywordPlanCampaignRequest'] = _GETKEYWORDPLANCAMPAIGNREQUEST -DESCRIPTOR.message_types_by_name['MutateKeywordPlanCampaignsRequest'] = _MUTATEKEYWORDPLANCAMPAIGNSREQUEST -DESCRIPTOR.message_types_by_name['KeywordPlanCampaignOperation'] = _KEYWORDPLANCAMPAIGNOPERATION -DESCRIPTOR.message_types_by_name['MutateKeywordPlanCampaignsResponse'] = _MUTATEKEYWORDPLANCAMPAIGNSRESPONSE -DESCRIPTOR.message_types_by_name['MutateKeywordPlanCampaignResult'] = _MUTATEKEYWORDPLANCAMPAIGNRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetKeywordPlanCampaignRequest = _reflection.GeneratedProtocolMessageType('GetKeywordPlanCampaignRequest', (_message.Message,), dict( - DESCRIPTOR = _GETKEYWORDPLANCAMPAIGNREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_campaign_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v2.services.KeywordPlanCampaignService.GetKeywordPlanCampaign]. - - - Attributes: - resource_name: - The resource name of the Keyword Plan campaign to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetKeywordPlanCampaignRequest) - )) -_sym_db.RegisterMessage(GetKeywordPlanCampaignRequest) - -MutateKeywordPlanCampaignsRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanCampaignsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANCAMPAIGNSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_campaign_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v2.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. - - - Attributes: - customer_id: - The ID of the customer whose Keyword Plan campaigns are being - modified. - operations: - 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 - 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.v2.services.MutateKeywordPlanCampaignsRequest) - )) -_sym_db.RegisterMessage(MutateKeywordPlanCampaignsRequest) - -KeywordPlanCampaignOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignOperation', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANCAMPAIGNOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_campaign_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a Keyword Plan campaign. - - - 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. - update: - Update operation: The Keyword Plan campaign is expected to - have a valid resource name. - remove: - Remove operation: A resource name for the removed Keyword Plan - campaign is expected, in this format: ``customers/{customer_i - d}/keywordPlanCampaigns/{keywordPlan_campaign_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.KeywordPlanCampaignOperation) - )) -_sym_db.RegisterMessage(KeywordPlanCampaignOperation) - -MutateKeywordPlanCampaignsResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanCampaignsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANCAMPAIGNSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_campaign_service_pb2' - , - __doc__ = """Response message for a Keyword Plan campaign 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.v2.services.MutateKeywordPlanCampaignsResponse) - )) -_sym_db.RegisterMessage(MutateKeywordPlanCampaignsResponse) - -MutateKeywordPlanCampaignResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanCampaignResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANCAMPAIGNRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_campaign_service_pb2' - , - __doc__ = """The result for the Keyword Plan campaign mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateKeywordPlanCampaignResult) - )) -_sym_db.RegisterMessage(MutateKeywordPlanCampaignResult) - - -DESCRIPTOR._options = None - -_KEYWORDPLANCAMPAIGNSERVICE = _descriptor.ServiceDescriptor( - name='KeywordPlanCampaignService', - full_name='google.ads.googleads.v2.services.KeywordPlanCampaignService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1036, - serialized_end=1545, - methods=[ - _descriptor.MethodDescriptor( - name='GetKeywordPlanCampaign', - full_name='google.ads.googleads.v2.services.KeywordPlanCampaignService.GetKeywordPlanCampaign', - index=0, - containing_service=None, - input_type=_GETKEYWORDPLANCAMPAIGNREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN, - serialized_options=_b('\202\323\344\223\0028\0226/v2/{resource_name=customers/*/keywordPlanCampaigns/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateKeywordPlanCampaigns', - full_name='google.ads.googleads.v2.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns', - index=1, - containing_service=None, - input_type=_MUTATEKEYWORDPLANCAMPAIGNSREQUEST, - output_type=_MUTATEKEYWORDPLANCAMPAIGNSRESPONSE, - serialized_options=_b('\202\323\344\223\002>\"9/v2/customers/{customer_id=*}/keywordPlanCampaigns:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_KEYWORDPLANCAMPAIGNSERVICE) - -DESCRIPTOR.services_by_name['KeywordPlanCampaignService'] = _KEYWORDPLANCAMPAIGNSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/keyword_plan_campaign_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/keyword_plan_campaign_service_pb2_grpc.py deleted file mode 100644 index 1e59f4000..000000000 --- a/google/ads/google_ads/v2/proto/services/keyword_plan_campaign_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.v2.proto.resources import keyword_plan_campaign_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2 - - -class KeywordPlanCampaignServiceStub(object): - """Proto file describing the keyword plan campaign service. - - Service to manage Keyword Plan campaigns. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetKeywordPlanCampaign = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanCampaignService/GetKeywordPlanCampaign', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.GetKeywordPlanCampaignRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.KeywordPlanCampaign.FromString, - ) - self.MutateKeywordPlanCampaigns = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsResponse.FromString, - ) - - -class KeywordPlanCampaignServiceServicer(object): - """Proto file describing the keyword plan campaign service. - - Service to manage Keyword Plan campaigns. - """ - - def GetKeywordPlanCampaign(self, request, context): - """Returns the requested Keyword Plan campaign in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateKeywordPlanCampaigns(self, request, context): - """Creates, updates, or removes Keyword Plan campaigns. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.GetKeywordPlanCampaignRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.KeywordPlanCampaignService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/keyword_plan_idea_service_pb2.py b/google/ads/google_ads/v2/proto/services/keyword_plan_idea_service_pb2.py deleted file mode 100644 index 7ba0831d9..000000000 --- a/google/ads/google_ads/v2/proto/services/keyword_plan_idea_service_pb2.py +++ /dev/null @@ -1,449 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.common import keyword_plan_common_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_keyword__plan__common__pb2 -from google.ads.google_ads.v2.proto.enums import keyword_plan_network_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_keyword__plan__network__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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/keyword_plan_idea_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\033KeywordPlanIdeaServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/services/keyword_plan_idea_service.proto\x12 google.ads.googleads.v2.services\x1a>google/ads/googleads_v2/proto/common/keyword_plan_common.proto\x1a>google/ads/googleads_v2/proto/enums/keyword_plan_network.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/api/client.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.v2.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork\x12S\n\x14keyword_and_url_seed\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v2.services.KeywordAndUrlSeedH\x00\x12\x45\n\x0ckeyword_seed\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v2.services.KeywordSeedH\x00\x12=\n\x08url_seed\x18\x05 \x01(\x0b\x32).google.ads.googleads.v2.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.v2.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.v2.common.KeywordPlanHistoricalMetrics2\x8b\x02\n\x16KeywordPlanIdeaService\x12\xd3\x01\n\x14GenerateKeywordIdeas\x12=.google.ads.googleads.v2.services.GenerateKeywordIdeasRequest\x1a=.google.ads.googleads.v2.services.GenerateKeywordIdeaResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v2/customers/{customer_id=*}:generateKeywordIdeas:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v2.servicesB\x1bKeywordPlanIdeaServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_keyword__plan__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_keyword__plan__network__pb2.DESCRIPTOR,google_dot_api_dot_annotations__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.v2.services.GenerateKeywordIdeasRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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.v2.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), - _descriptor.FieldDescriptor( - name='geo_target_constants', full_name='google.ads.googleads.v2.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.v2.services.GenerateKeywordIdeasRequest.keyword_plan_network', index=3, - 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.v2.services.GenerateKeywordIdeasRequest.keyword_and_url_seed', 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='keyword_seed', full_name='google.ads.googleads.v2.services.GenerateKeywordIdeasRequest.keyword_seed', 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='url_seed', full_name='google.ads.googleads.v2.services.GenerateKeywordIdeasRequest.url_seed', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='seed', full_name='google.ads.googleads.v2.services.GenerateKeywordIdeasRequest.seed', - index=0, containing_type=None, fields=[]), - ], - serialized_start=324, - serialized_end=813, -) - - -_KEYWORDANDURLSEED = _descriptor.Descriptor( - name='KeywordAndUrlSeed', - full_name='google.ads.googleads.v2.services.KeywordAndUrlSeed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='url', full_name='google.ads.googleads.v2.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.v2.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, - 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=815, - serialized_end=925, -) - - -_KEYWORDSEED = _descriptor.Descriptor( - name='KeywordSeed', - full_name='google.ads.googleads.v2.services.KeywordSeed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='keywords', full_name='google.ads.googleads.v2.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, - 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=927, - serialized_end=988, -) - - -_URLSEED = _descriptor.Descriptor( - name='UrlSeed', - full_name='google.ads.googleads.v2.services.UrlSeed', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='url', full_name='google.ads.googleads.v2.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, - 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=990, - serialized_end=1042, -) - - -_GENERATEKEYWORDIDEARESPONSE = _descriptor.Descriptor( - name='GenerateKeywordIdeaResponse', - full_name='google.ads.googleads.v2.services.GenerateKeywordIdeaResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1044, - serialized_end=1151, -) - - -_GENERATEKEYWORDIDEARESULT = _descriptor.Descriptor( - name='GenerateKeywordIdeaResult', - full_name='google.ads.googleads.v2.services.GenerateKeywordIdeaResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v2.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.v2.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, - 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=1154, - serialized_end=1317, -) - -_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__v2_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.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'] -_GENERATEKEYWORDIDEASREQUEST.oneofs_by_name['seed'].fields.append( - _GENERATEKEYWORDIDEASREQUEST.fields_by_name['keyword_seed']) -_GENERATEKEYWORDIDEASREQUEST.fields_by_name['keyword_seed'].containing_oneof = _GENERATEKEYWORDIDEASREQUEST.oneofs_by_name['seed'] -_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'] -_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 -_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__v2_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['UrlSeed'] = _URLSEED -DESCRIPTOR.message_types_by_name['GenerateKeywordIdeaResponse'] = _GENERATEKEYWORDIDEARESPONSE -DESCRIPTOR.message_types_by_name['GenerateKeywordIdeaResult'] = _GENERATEKEYWORDIDEARESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GenerateKeywordIdeasRequest = _reflection.GeneratedProtocolMessageType('GenerateKeywordIdeasRequest', (_message.Message,), dict( - DESCRIPTOR = _GENERATEKEYWORDIDEASREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_idea_service_pb2' - , - __doc__ = """Request message for [KeywordIdeaService.GenerateKeywordIdeas][]. - - - Attributes: - customer_id: - The ID of the customer with the recommendation. - language: - The resource name of the language to target. Required - geo_target_constants: - The resource names of the location to target. Max 10 - keyword_plan_network: - Targeting network. - seed: - The type of seed to generate keyword ideas. - keyword_and_url_seed: - A Keyword and a specific Url to generate ideas from e.g. cars, - www.example.com/cars. - keyword_seed: - A Keyword or phrase to generate ideas from, e.g. cars. - url_seed: - A specific url to generate ideas from, e.g. - www.example.com/cars. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GenerateKeywordIdeasRequest) - )) -_sym_db.RegisterMessage(GenerateKeywordIdeasRequest) - -KeywordAndUrlSeed = _reflection.GeneratedProtocolMessageType('KeywordAndUrlSeed', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDANDURLSEED, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_idea_service_pb2' - , - __doc__ = """Keyword And Url Seed - - - Attributes: - url: - The URL to crawl in order to generate keyword ideas. - keywords: - Requires at least one keyword. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.KeywordAndUrlSeed) - )) -_sym_db.RegisterMessage(KeywordAndUrlSeed) - -KeywordSeed = _reflection.GeneratedProtocolMessageType('KeywordSeed', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDSEED, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_idea_service_pb2' - , - __doc__ = """Keyword Seed - - - Attributes: - keywords: - Requires at least one keyword. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.KeywordSeed) - )) -_sym_db.RegisterMessage(KeywordSeed) - -UrlSeed = _reflection.GeneratedProtocolMessageType('UrlSeed', (_message.Message,), dict( - DESCRIPTOR = _URLSEED, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_idea_service_pb2' - , - __doc__ = """Url Seed - - - Attributes: - url: - The URL to crawl in order to generate keyword ideas. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.UrlSeed) - )) -_sym_db.RegisterMessage(UrlSeed) - -GenerateKeywordIdeaResponse = _reflection.GeneratedProtocolMessageType('GenerateKeywordIdeaResponse', (_message.Message,), dict( - DESCRIPTOR = _GENERATEKEYWORDIDEARESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_idea_service_pb2' - , - __doc__ = """Response message for [KeywordIdeaService.GenerateKeywordIdeas][]. - - - Attributes: - results: - Results of generating keyword ideas. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GenerateKeywordIdeaResponse) - )) -_sym_db.RegisterMessage(GenerateKeywordIdeaResponse) - -GenerateKeywordIdeaResult = _reflection.GeneratedProtocolMessageType('GenerateKeywordIdeaResult', (_message.Message,), dict( - DESCRIPTOR = _GENERATEKEYWORDIDEARESULT, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_idea_service_pb2' - , - __doc__ = """The result of generating keyword ideas. - - - Attributes: - text: - Text of the keyword idea. As in Keyword Plan historical - metrics, this text may not be an actual keyword, but the - canonical form of multiple keywords. See - KeywordPlanKeywordHistoricalMetrics message in - KeywordPlanService. - keyword_idea_metrics: - The historical metrics for the keyword - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GenerateKeywordIdeaResult) - )) -_sym_db.RegisterMessage(GenerateKeywordIdeaResult) - - -DESCRIPTOR._options = None - -_KEYWORDPLANIDEASERVICE = _descriptor.ServiceDescriptor( - name='KeywordPlanIdeaService', - full_name='google.ads.googleads.v2.services.KeywordPlanIdeaService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1320, - serialized_end=1587, - methods=[ - _descriptor.MethodDescriptor( - name='GenerateKeywordIdeas', - full_name='google.ads.googleads.v2.services.KeywordPlanIdeaService.GenerateKeywordIdeas', - index=0, - containing_service=None, - input_type=_GENERATEKEYWORDIDEASREQUEST, - output_type=_GENERATEKEYWORDIDEARESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v2/customers/{customer_id=*}:generateKeywordIdeas:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_KEYWORDPLANIDEASERVICE) - -DESCRIPTOR.services_by_name['KeywordPlanIdeaService'] = _KEYWORDPLANIDEASERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/keyword_plan_idea_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/keyword_plan_idea_service_pb2_grpc.py deleted file mode 100644 index 74387ea12..000000000 --- a/google/ads/google_ads/v2/proto/services/keyword_plan_idea_service_pb2_grpc.py +++ /dev/null @@ -1,50 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2 - - -class KeywordPlanIdeaServiceStub(object): - """Proto file describing the keyword plan idea service. - - Service to generate keyword ideas. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GenerateKeywordIdeas = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanIdeaService/GenerateKeywordIdeas', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeasRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeaResponse.FromString, - ) - - -class KeywordPlanIdeaServiceServicer(object): - """Proto file describing the keyword plan idea service. - - Service to generate keyword ideas. - """ - - def GenerateKeywordIdeas(self, request, context): - """Returns a list of keyword ideas. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeasRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeaResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.KeywordPlanIdeaService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/keyword_plan_keyword_service_pb2.py b/google/ads/google_ads/v2/proto/services/keyword_plan_keyword_service_pb2.py deleted file mode 100644 index 764b0f761..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.resources import keyword_plan_keyword_pb2 as google_dot_ads_dot_googleads__v2_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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/keyword_plan_keyword_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\036KeywordPlanKeywordServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/services/keyword_plan_keyword_service.proto\x12 google.ads.googleads.v2.services\x1a\x42google/ads/googleads_v2/proto/resources/keyword_plan_keyword.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.KeywordPlanKeywordH\x00\x12G\n\x06update\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v2.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.v2.services.MutateKeywordPlanKeywordResult\"7\n\x1eMutateKeywordPlanKeywordResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf4\x03\n\x19KeywordPlanKeywordService\x12\xcd\x01\n\x15GetKeywordPlanKeyword\x12>.google.ads.googleads.v2.services.GetKeywordPlanKeywordRequest\x1a\x35.google.ads.googleads.v2.resources.KeywordPlanKeyword\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/keywordPlanKeywords/*}\x12\xe9\x01\n\x19MutateKeywordPlanKeywords\x12\x42.google.ads.googleads.v2.services.MutateKeywordPlanKeywordsRequest\x1a\x43.google.ads.googleads.v2.services.MutateKeywordPlanKeywordsResponse\"C\x82\xd3\xe4\x93\x02=\"8/v2/customers/{customer_id=*}/keywordPlanKeywords:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1eKeywordPlanKeywordServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETKEYWORDPLANKEYWORDREQUEST = _descriptor.Descriptor( - name='GetKeywordPlanKeywordRequest', - full_name='google.ads.googleads.v2.services.GetKeywordPlanKeywordRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=293, - serialized_end=346, -) - - -_MUTATEKEYWORDPLANKEYWORDSREQUEST = _descriptor.Descriptor( - name='MutateKeywordPlanKeywordsRequest', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanKeywordsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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=349, - serialized_end=535, -) - - -_KEYWORDPLANKEYWORDOPERATION = _descriptor.Descriptor( - name='KeywordPlanKeywordOperation', - full_name='google.ads.googleads.v2.services.KeywordPlanKeywordOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.services.KeywordPlanKeywordOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=538, - serialized_end=793, -) - - -_MUTATEKEYWORDPLANKEYWORDSRESPONSE = _descriptor.Descriptor( - name='MutateKeywordPlanKeywordsResponse', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanKeywordsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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=796, - serialized_end=965, -) - - -_MUTATEKEYWORDPLANKEYWORDRESULT = _descriptor.Descriptor( - name='MutateKeywordPlanKeywordResult', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanKeywordResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=967, - serialized_end=1022, -) - -_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__v2_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2._KEYWORDPLANKEYWORD -_KEYWORDPLANKEYWORDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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_v2.proto.services.keyword_plan_keyword_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanKeywordService.GetKeywordPlanKeyword][google.ads.googleads.v2.services.KeywordPlanKeywordService.GetKeywordPlanKeyword]. - - - Attributes: - resource_name: - The resource name of the ad group keyword to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetKeywordPlanKeywordRequest) - )) -_sym_db.RegisterMessage(GetKeywordPlanKeywordRequest) - -MutateKeywordPlanKeywordsRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanKeywordsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANKEYWORDSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_keyword_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanKeywordService.MutateKeywordPlanKeywords][google.ads.googleads.v2.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.v2.services.MutateKeywordPlanKeywordsRequest) - )) -_sym_db.RegisterMessage(MutateKeywordPlanKeywordsRequest) - -KeywordPlanKeywordOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanKeywordOperation', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANKEYWORDOPERATION, - __module__ = 'google.ads.googleads_v2.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.v2.services.KeywordPlanKeywordOperation) - )) -_sym_db.RegisterMessage(KeywordPlanKeywordOperation) - -MutateKeywordPlanKeywordsResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanKeywordsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANKEYWORDSRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateKeywordPlanKeywordsResponse) - )) -_sym_db.RegisterMessage(MutateKeywordPlanKeywordsResponse) - -MutateKeywordPlanKeywordResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanKeywordResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANKEYWORDRESULT, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateKeywordPlanKeywordResult) - )) -_sym_db.RegisterMessage(MutateKeywordPlanKeywordResult) - - -DESCRIPTOR._options = None - -_KEYWORDPLANKEYWORDSERVICE = _descriptor.ServiceDescriptor( - name='KeywordPlanKeywordService', - full_name='google.ads.googleads.v2.services.KeywordPlanKeywordService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1025, - serialized_end=1525, - methods=[ - _descriptor.MethodDescriptor( - name='GetKeywordPlanKeyword', - full_name='google.ads.googleads.v2.services.KeywordPlanKeywordService.GetKeywordPlanKeyword', - index=0, - containing_service=None, - input_type=_GETKEYWORDPLANKEYWORDREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2._KEYWORDPLANKEYWORD, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{resource_name=customers/*/keywordPlanKeywords/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateKeywordPlanKeywords', - full_name='google.ads.googleads.v2.services.KeywordPlanKeywordService.MutateKeywordPlanKeywords', - index=1, - containing_service=None, - input_type=_MUTATEKEYWORDPLANKEYWORDSREQUEST, - output_type=_MUTATEKEYWORDPLANKEYWORDSRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v2/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/v2/proto/services/keyword_plan_keyword_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/keyword_plan_keyword_service_pb2_grpc.py deleted file mode 100644 index 6fe52ad06..000000000 --- a/google/ads/google_ads/v2/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.v2.proto.resources import keyword_plan_keyword_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 as google_dot_ads_dot_googleads__v2_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.v2.services.KeywordPlanKeywordService/GetKeywordPlanKeyword', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.GetKeywordPlanKeywordRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2.KeywordPlanKeyword.FromString, - ) - self.MutateKeywordPlanKeywords = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanKeywordService/MutateKeywordPlanKeywords', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.MutateKeywordPlanKeywordsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.GetKeywordPlanKeywordRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.MutateKeywordPlanKeywordsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.MutateKeywordPlanKeywordsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.KeywordPlanKeywordService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/keyword_plan_negative_keyword_service_pb2.py b/google/ads/google_ads/v2/proto/services/keyword_plan_negative_keyword_service_pb2.py deleted file mode 100644 index d26690754..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.resources import keyword_plan_negative_keyword_pb2 as google_dot_ads_dot_googleads__v2_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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/keyword_plan_negative_keyword_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB&KeywordPlanNegativeKeywordServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nRgoogle/ads/googleads_v2/proto/services/keyword_plan_negative_keyword_service.proto\x12 google.ads.googleads.v2.services\x1aKgoogle/ads/googleads_v2/proto/resources/keyword_plan_negative_keyword.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.KeywordPlanNegativeKeywordH\x00\x12O\n\x06update\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v2.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.v2.services.MutateKeywordPlanNegativeKeywordResult\"?\n&MutateKeywordPlanNegativeKeywordResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xbc\x04\n!KeywordPlanNegativeKeywordService\x12\xed\x01\n\x1dGetKeywordPlanNegativeKeyword\x12\x46.google.ads.googleads.v2.services.GetKeywordPlanNegativeKeywordRequest\x1a=.google.ads.googleads.v2.resources.KeywordPlanNegativeKeyword\"E\x82\xd3\xe4\x93\x02?\x12=/v2/{resource_name=customers/*/keywordPlanNegativeKeywords/*}\x12\x89\x02\n!MutateKeywordPlanNegativeKeywords\x12J.google.ads.googleads.v2.services.MutateKeywordPlanNegativeKeywordsRequest\x1aK.google.ads.googleads.v2.services.MutateKeywordPlanNegativeKeywordsResponse\"K\x82\xd3\xe4\x93\x02\x45\"@/v2/customers/{customer_id=*}/keywordPlanNegativeKeywords:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8d\x02\n$com.google.ads.googleads.v2.servicesB&KeywordPlanNegativeKeywordServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETKEYWORDPLANNEGATIVEKEYWORDREQUEST = _descriptor.Descriptor( - name='GetKeywordPlanNegativeKeywordRequest', - full_name='google.ads.googleads.v2.services.GetKeywordPlanNegativeKeywordRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=311, - serialized_end=372, -) - - -_MUTATEKEYWORDPLANNEGATIVEKEYWORDSREQUEST = _descriptor.Descriptor( - name='MutateKeywordPlanNegativeKeywordsRequest', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanNegativeKeywordsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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=375, - serialized_end=577, -) - - -_KEYWORDPLANNEGATIVEKEYWORDOPERATION = _descriptor.Descriptor( - name='KeywordPlanNegativeKeywordOperation', - full_name='google.ads.googleads.v2.services.KeywordPlanNegativeKeywordOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.services.KeywordPlanNegativeKeywordOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=580, - serialized_end=859, -) - - -_MUTATEKEYWORDPLANNEGATIVEKEYWORDSRESPONSE = _descriptor.Descriptor( - name='MutateKeywordPlanNegativeKeywordsResponse', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanNegativeKeywordsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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=862, - serialized_end=1047, -) - - -_MUTATEKEYWORDPLANNEGATIVEKEYWORDRESULT = _descriptor.Descriptor( - name='MutateKeywordPlanNegativeKeywordResult', - full_name='google.ads.googleads.v2.services.MutateKeywordPlanNegativeKeywordResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=1049, - serialized_end=1112, -) - -_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__v2_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2._KEYWORDPLANNEGATIVEKEYWORD -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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_v2.proto.services.keyword_plan_negative_keyword_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword][google.ads.googleads.v2.services.KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword]. - - - Attributes: - resource_name: - The resource name of the plan to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetKeywordPlanNegativeKeywordRequest) - )) -_sym_db.RegisterMessage(GetKeywordPlanNegativeKeywordRequest) - -MutateKeywordPlanNegativeKeywordsRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanNegativeKeywordsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANNEGATIVEKEYWORDSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_negative_keyword_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanNegativeKeywordService.MutateKeywordPlanNegativeKeywords][google.ads.googleads.v2.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.v2.services.MutateKeywordPlanNegativeKeywordsRequest) - )) -_sym_db.RegisterMessage(MutateKeywordPlanNegativeKeywordsRequest) - -KeywordPlanNegativeKeywordOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanNegativeKeywordOperation', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANNEGATIVEKEYWORDOPERATION, - __module__ = 'google.ads.googleads_v2.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.v2.services.KeywordPlanNegativeKeywordOperation) - )) -_sym_db.RegisterMessage(KeywordPlanNegativeKeywordOperation) - -MutateKeywordPlanNegativeKeywordsResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanNegativeKeywordsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANNEGATIVEKEYWORDSRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateKeywordPlanNegativeKeywordsResponse) - )) -_sym_db.RegisterMessage(MutateKeywordPlanNegativeKeywordsResponse) - -MutateKeywordPlanNegativeKeywordResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanNegativeKeywordResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANNEGATIVEKEYWORDRESULT, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateKeywordPlanNegativeKeywordResult) - )) -_sym_db.RegisterMessage(MutateKeywordPlanNegativeKeywordResult) - - -DESCRIPTOR._options = None - -_KEYWORDPLANNEGATIVEKEYWORDSERVICE = _descriptor.ServiceDescriptor( - name='KeywordPlanNegativeKeywordService', - full_name='google.ads.googleads.v2.services.KeywordPlanNegativeKeywordService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1115, - serialized_end=1687, - methods=[ - _descriptor.MethodDescriptor( - name='GetKeywordPlanNegativeKeyword', - full_name='google.ads.googleads.v2.services.KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword', - index=0, - containing_service=None, - input_type=_GETKEYWORDPLANNEGATIVEKEYWORDREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2._KEYWORDPLANNEGATIVEKEYWORD, - serialized_options=_b('\202\323\344\223\002?\022=/v2/{resource_name=customers/*/keywordPlanNegativeKeywords/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateKeywordPlanNegativeKeywords', - full_name='google.ads.googleads.v2.services.KeywordPlanNegativeKeywordService.MutateKeywordPlanNegativeKeywords', - index=1, - containing_service=None, - input_type=_MUTATEKEYWORDPLANNEGATIVEKEYWORDSREQUEST, - output_type=_MUTATEKEYWORDPLANNEGATIVEKEYWORDSRESPONSE, - serialized_options=_b('\202\323\344\223\002E\"@/v2/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/v2/proto/services/keyword_plan_negative_keyword_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/keyword_plan_negative_keyword_service_pb2_grpc.py deleted file mode 100644 index 5a6cfb4f3..000000000 --- a/google/ads/google_ads/v2/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.v2.proto.resources import keyword_plan_negative_keyword_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 as google_dot_ads_dot_googleads__v2_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.v2.services.KeywordPlanNegativeKeywordService/GetKeywordPlanNegativeKeyword', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.GetKeywordPlanNegativeKeywordRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2.KeywordPlanNegativeKeyword.FromString, - ) - self.MutateKeywordPlanNegativeKeywords = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanNegativeKeywordService/MutateKeywordPlanNegativeKeywords', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.MutateKeywordPlanNegativeKeywordsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.GetKeywordPlanNegativeKeywordRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.MutateKeywordPlanNegativeKeywordsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.MutateKeywordPlanNegativeKeywordsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.KeywordPlanNegativeKeywordService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2.py b/google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2.py deleted file mode 100644 index 1d9799f66..000000000 --- a/google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2.py +++ /dev/null @@ -1,971 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/keyword_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.v2.proto.common import keyword_plan_common_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_keyword__plan__common__pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__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 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/keyword_plan_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\027KeywordPlanServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/services/keyword_plan_service.proto\x12 google.ads.googleads.v2.services\x1a>google/ads/googleads_v2/proto/common/keyword_plan_common.proto\x1a:google/ads/googleads_v2/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\x1a\x17google/api/client.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.v2.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.v2.resources.KeywordPlanH\x00\x12@\n\x06update\x18\x02 \x01(\x0b\x32..google.ads.googleads.v2.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.v2.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.v2.services.KeywordPlanCampaignForecast\x12X\n\x12\x61\x64_group_forecasts\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v2.services.KeywordPlanAdGroupForecast\x12W\n\x11keyword_forecasts\x18\x03 \x03(\x0b\x32<.google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.common.KeywordPlanHistoricalMetrics2\xa3\x07\n\x12KeywordPlanService\x12\xb1\x01\n\x0eGetKeywordPlan\x12\x37.google.ads.googleads.v2.services.GetKeywordPlanRequest\x1a..google.ads.googleads.v2.resources.KeywordPlan\"6\x82\xd3\xe4\x93\x02\x30\x12./v2/{resource_name=customers/*/keywordPlans/*}\x12\xcd\x01\n\x12MutateKeywordPlans\x12;.google.ads.googleads.v2.services.MutateKeywordPlansRequest\x1a<.google.ads.googleads.v2.services.MutateKeywordPlansResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v2/customers/{customer_id=*}/keywordPlans:mutate:\x01*\x12\xf0\x01\n\x17GenerateForecastMetrics\x12@.google.ads.googleads.v2.services.GenerateForecastMetricsRequest\x1a\x41.google.ads.googleads.v2.services.GenerateForecastMetricsResponse\"P\x82\xd3\xe4\x93\x02J\"E/v2/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics:\x01*\x12\xf8\x01\n\x19GenerateHistoricalMetrics\x12\x42.google.ads.googleads.v2.services.GenerateHistoricalMetricsRequest\x1a\x43.google.ads.googleads.v2.services.GenerateHistoricalMetricsResponse\"R\x82\xd3\xe4\x93\x02L\"G/v2/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfe\x01\n$com.google.ads.googleads.v2.servicesB\x17KeywordPlanServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_keyword__plan__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETKEYWORDPLANREQUEST = _descriptor.Descriptor( - name='GetKeywordPlanRequest', - full_name='google.ads.googleads.v2.services.GetKeywordPlanRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=373, - serialized_end=419, -) - - -_MUTATEKEYWORDPLANSREQUEST = _descriptor.Descriptor( - name='MutateKeywordPlansRequest', - full_name='google.ads.googleads.v2.services.MutateKeywordPlansRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=422, - serialized_end=594, -) - - -_KEYWORDPLANOPERATION = _descriptor.Descriptor( - name='KeywordPlanOperation', - full_name='google.ads.googleads.v2.services.KeywordPlanOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.KeywordPlanOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=597, - serialized_end=831, -) - - -_MUTATEKEYWORDPLANSRESPONSE = _descriptor.Descriptor( - name='MutateKeywordPlansResponse', - full_name='google.ads.googleads.v2.services.MutateKeywordPlansResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=834, - serialized_end=990, -) - - -_MUTATEKEYWORDPLANSRESULT = _descriptor.Descriptor( - name='MutateKeywordPlansResult', - full_name='google.ads.googleads.v2.services.MutateKeywordPlansResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=992, - serialized_end=1041, -) - - -_GENERATEFORECASTMETRICSREQUEST = _descriptor.Descriptor( - name='GenerateForecastMetricsRequest', - full_name='google.ads.googleads.v2.services.GenerateForecastMetricsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='keyword_plan', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1043, - serialized_end=1097, -) - - -_GENERATEFORECASTMETRICSRESPONSE = _descriptor.Descriptor( - name='GenerateForecastMetricsResponse', - full_name='google.ads.googleads.v2.services.GenerateForecastMetricsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='campaign_forecasts', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=1100, - serialized_end=1403, -) - - -_KEYWORDPLANCAMPAIGNFORECAST = _descriptor.Descriptor( - name='KeywordPlanCampaignForecast', - full_name='google.ads.googleads.v2.services.KeywordPlanCampaignForecast', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='keyword_plan_campaign', full_name='google.ads.googleads.v2.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.v2.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, - 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=1406, - serialized_end=1574, -) - - -_KEYWORDPLANADGROUPFORECAST = _descriptor.Descriptor( - name='KeywordPlanAdGroupForecast', - full_name='google.ads.googleads.v2.services.KeywordPlanAdGroupForecast', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='keyword_plan_ad_group', full_name='google.ads.googleads.v2.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.v2.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, - 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=1577, - serialized_end=1744, -) - - -_KEYWORDPLANKEYWORDFORECAST = _descriptor.Descriptor( - name='KeywordPlanKeywordForecast', - full_name='google.ads.googleads.v2.services.KeywordPlanKeywordForecast', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='keyword_plan_ad_group_keyword', full_name='google.ads.googleads.v2.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.v2.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, - 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=1747, - serialized_end=1921, -) - - -_FORECASTMETRICS = _descriptor.Descriptor( - name='ForecastMetrics', - full_name='google.ads.googleads.v2.services.ForecastMetrics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='impressions', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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, - 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=1924, - serialized_end=2181, -) - - -_GENERATEHISTORICALMETRICSREQUEST = _descriptor.Descriptor( - name='GenerateHistoricalMetricsRequest', - full_name='google.ads.googleads.v2.services.GenerateHistoricalMetricsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='keyword_plan', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2183, - serialized_end=2239, -) - - -_GENERATEHISTORICALMETRICSRESPONSE = _descriptor.Descriptor( - name='GenerateHistoricalMetricsResponse', - full_name='google.ads.googleads.v2.services.GenerateHistoricalMetricsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='metrics', full_name='google.ads.googleads.v2.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, - 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=2241, - serialized_end=2364, -) - - -_KEYWORDPLANKEYWORDHISTORICALMETRICS = _descriptor.Descriptor( - name='KeywordPlanKeywordHistoricalMetrics', - full_name='google.ads.googleads.v2.services.KeywordPlanKeywordHistoricalMetrics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='search_query', full_name='google.ads.googleads.v2.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.v2.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, - 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=2367, - serialized_end=2543, -) - -_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__v2_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN -_KEYWORDPLANOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_KEYWORDPLANOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANOPERATION.fields_by_name['update']) -_KEYWORDPLANOPERATION.fields_by_name['update'].containing_oneof = _KEYWORDPLANOPERATION.oneofs_by_name['operation'] -_KEYWORDPLANOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANOPERATION.fields_by_name['remove']) -_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 -_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 -_KEYWORDPLANCAMPAIGNFORECAST.fields_by_name['keyword_plan_campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_KEYWORDPLANCAMPAIGNFORECAST.fields_by_name['campaign_forecast'].message_type = _FORECASTMETRICS -_KEYWORDPLANADGROUPFORECAST.fields_by_name['keyword_plan_ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_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 -_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 -_FORECASTMETRICS.fields_by_name['clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_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__v2_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['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['ForecastMetrics'] = _FORECASTMETRICS -DESCRIPTOR.message_types_by_name['GenerateHistoricalMetricsRequest'] = _GENERATEHISTORICALMETRICSREQUEST -DESCRIPTOR.message_types_by_name['GenerateHistoricalMetricsResponse'] = _GENERATEHISTORICALMETRICSRESPONSE -DESCRIPTOR.message_types_by_name['KeywordPlanKeywordHistoricalMetrics'] = _KEYWORDPLANKEYWORDHISTORICALMETRICS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetKeywordPlanRequest = _reflection.GeneratedProtocolMessageType('GetKeywordPlanRequest', (_message.Message,), dict( - DESCRIPTOR = _GETKEYWORDPLANREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanService.GetKeywordPlan][google.ads.googleads.v2.services.KeywordPlanService.GetKeywordPlan]. - - - Attributes: - resource_name: - The resource name of the plan to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetKeywordPlanRequest) - )) -_sym_db.RegisterMessage(GetKeywordPlanRequest) - -MutateKeywordPlansRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlansRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v2.services.KeywordPlanService.MutateKeywordPlans]. - - - Attributes: - customer_id: - The ID of the customer whose keyword plans are being modified. - operations: - 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 - 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.v2.services.MutateKeywordPlansRequest) - )) -_sym_db.RegisterMessage(MutateKeywordPlansRequest) - -KeywordPlanOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanOperation', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a keyword plan. - - - 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. - update: - Update operation: The keyword plan is expected to have a valid - resource name. - remove: - Remove operation: A resource name for the removed keyword plan - is expected in this format: - ``customers/{customer_id}/keywordPlans/{keyword_plan_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.KeywordPlanOperation) - )) -_sym_db.RegisterMessage(KeywordPlanOperation) - -MutateKeywordPlansResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlansResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """Response message for a keyword plan 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.v2.services.MutateKeywordPlansResponse) - )) -_sym_db.RegisterMessage(MutateKeywordPlansResponse) - -MutateKeywordPlansResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlansResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANSRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """The result for the keyword plan mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateKeywordPlansResult) - )) -_sym_db.RegisterMessage(MutateKeywordPlansResult) - -GenerateForecastMetricsRequest = _reflection.GeneratedProtocolMessageType('GenerateForecastMetricsRequest', (_message.Message,), dict( - DESCRIPTOR = _GENERATEFORECASTMETRICSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v2.services.KeywordPlanService.GenerateForecastMetrics]. - - - Attributes: - keyword_plan: - The resource name of the keyword plan to be forecasted. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GenerateForecastMetricsRequest) - )) -_sym_db.RegisterMessage(GenerateForecastMetricsRequest) - -GenerateForecastMetricsResponse = _reflection.GeneratedProtocolMessageType('GenerateForecastMetricsResponse', (_message.Message,), dict( - DESCRIPTOR = _GENERATEFORECASTMETRICSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """Response message for - [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v2.services.KeywordPlanService.GenerateForecastMetrics]. - - - Attributes: - campaign_forecasts: - List of campaign forecasts. One maximum. - ad_group_forecasts: - List of ad group forecasts. - keyword_forecasts: - List of keyword forecasts. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GenerateForecastMetricsResponse) - )) -_sym_db.RegisterMessage(GenerateForecastMetricsResponse) - -KeywordPlanCampaignForecast = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignForecast', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANCAMPAIGNFORECAST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """A campaign forecast. - - - 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}`` - campaign_forecast: - The forecast for the Keyword Plan campaign. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.KeywordPlanCampaignForecast) - )) -_sym_db.RegisterMessage(KeywordPlanCampaignForecast) - -KeywordPlanAdGroupForecast = _reflection.GeneratedProtocolMessageType('KeywordPlanAdGroupForecast', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANADGROUPFORECAST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """An ad group forecast. - - - Attributes: - keyword_plan_ad_group: - The resource name of the Keyword Plan ad group related to the - forecast. ``customers/{customer_id}/keywordPlanAdGroups/{keyw - ord_plan_ad_group_id}`` - ad_group_forecast: - The forecast for the Keyword Plan ad group. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.KeywordPlanAdGroupForecast) - )) -_sym_db.RegisterMessage(KeywordPlanAdGroupForecast) - -KeywordPlanKeywordForecast = _reflection.GeneratedProtocolMessageType('KeywordPlanKeywordForecast', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANKEYWORDFORECAST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """A keyword forecast. - - - Attributes: - keyword_plan_ad_group_keyword: - The resource name of the Keyword Plan keyword related to the - forecast. ``customers/{customer_id}/keywordPlanAdGroupKeyword - s/{keyword_plan_ad_group_keyword_id}`` - keyword_forecast: - The forecast for the Keyword Plan keyword. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.KeywordPlanKeywordForecast) - )) -_sym_db.RegisterMessage(KeywordPlanKeywordForecast) - -ForecastMetrics = _reflection.GeneratedProtocolMessageType('ForecastMetrics', (_message.Message,), dict( - DESCRIPTOR = _FORECASTMETRICS, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """Forecast metrics. - - - Attributes: - impressions: - Impressions - ctr: - Ctr - average_cpc: - AVG cpc - clicks: - Clicks - cost_micros: - Cost - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ForecastMetrics) - )) -_sym_db.RegisterMessage(ForecastMetrics) - -GenerateHistoricalMetricsRequest = _reflection.GeneratedProtocolMessageType('GenerateHistoricalMetricsRequest', (_message.Message,), dict( - DESCRIPTOR = _GENERATEHISTORICALMETRICSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v2.services.KeywordPlanService.GenerateHistoricalMetrics]. - - - Attributes: - keyword_plan: - The resource name of the keyword plan of which historical - metrics are requested. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GenerateHistoricalMetricsRequest) - )) -_sym_db.RegisterMessage(GenerateHistoricalMetricsRequest) - -GenerateHistoricalMetricsResponse = _reflection.GeneratedProtocolMessageType('GenerateHistoricalMetricsResponse', (_message.Message,), dict( - DESCRIPTOR = _GENERATEHISTORICALMETRICSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """Response message for - [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v2.services.KeywordPlanService.GenerateHistoricalMetrics]. - - - Attributes: - metrics: - List of keyword historical metrics. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GenerateHistoricalMetricsResponse) - )) -_sym_db.RegisterMessage(GenerateHistoricalMetricsResponse) - -KeywordPlanKeywordHistoricalMetrics = _reflection.GeneratedProtocolMessageType('KeywordPlanKeywordHistoricalMetrics', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANKEYWORDHISTORICALMETRICS, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_plan_service_pb2' - , - __doc__ = """A keyword historical metrics. - - - Attributes: - search_query: - The text of the query associated with one or more - ad\_group\_keywords in the plan. Note that we de-dupe your - keywords list, eliminating close variants before returning the - plan's keywords as text. For example, if your plan originally - contained the keywords 'car' and 'cars', the returned search - query will only contain 'car'. - keyword_metrics: - 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.v2.services.KeywordPlanKeywordHistoricalMetrics) - )) -_sym_db.RegisterMessage(KeywordPlanKeywordHistoricalMetrics) - - -DESCRIPTOR._options = None - -_KEYWORDPLANSERVICE = _descriptor.ServiceDescriptor( - name='KeywordPlanService', - full_name='google.ads.googleads.v2.services.KeywordPlanService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=2546, - serialized_end=3477, - methods=[ - _descriptor.MethodDescriptor( - name='GetKeywordPlan', - full_name='google.ads.googleads.v2.services.KeywordPlanService.GetKeywordPlan', - index=0, - containing_service=None, - input_type=_GETKEYWORDPLANREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN, - serialized_options=_b('\202\323\344\223\0020\022./v2/{resource_name=customers/*/keywordPlans/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateKeywordPlans', - full_name='google.ads.googleads.v2.services.KeywordPlanService.MutateKeywordPlans', - index=1, - containing_service=None, - input_type=_MUTATEKEYWORDPLANSREQUEST, - output_type=_MUTATEKEYWORDPLANSRESPONSE, - serialized_options=_b('\202\323\344\223\0026\"1/v2/customers/{customer_id=*}/keywordPlans:mutate:\001*'), - ), - _descriptor.MethodDescriptor( - name='GenerateForecastMetrics', - full_name='google.ads.googleads.v2.services.KeywordPlanService.GenerateForecastMetrics', - index=2, - containing_service=None, - input_type=_GENERATEFORECASTMETRICSREQUEST, - output_type=_GENERATEFORECASTMETRICSRESPONSE, - serialized_options=_b('\202\323\344\223\002J\"E/v2/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics:\001*'), - ), - _descriptor.MethodDescriptor( - name='GenerateHistoricalMetrics', - full_name='google.ads.googleads.v2.services.KeywordPlanService.GenerateHistoricalMetrics', - index=3, - containing_service=None, - input_type=_GENERATEHISTORICALMETRICSREQUEST, - output_type=_GENERATEHISTORICALMETRICSRESPONSE, - serialized_options=_b('\202\323\344\223\002L\"G/v2/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_KEYWORDPLANSERVICE) - -DESCRIPTOR.services_by_name['KeywordPlanService'] = _KEYWORDPLANSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2_grpc.py deleted file mode 100644 index 3fea19a4e..000000000 --- a/google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2_grpc.py +++ /dev/null @@ -1,103 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2 - - -class KeywordPlanServiceStub(object): - """Proto file describing the keyword plan service. - - Service to manage keyword plans. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetKeywordPlan = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanService/GetKeywordPlan', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.GetKeywordPlanRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__pb2.KeywordPlan.FromString, - ) - self.MutateKeywordPlans = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanService/MutateKeywordPlans', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansResponse.FromString, - ) - self.GenerateForecastMetrics = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanService/GenerateForecastMetrics', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsResponse.FromString, - ) - self.GenerateHistoricalMetrics = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordPlanService/GenerateHistoricalMetrics', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsResponse.FromString, - ) - - -class KeywordPlanServiceServicer(object): - """Proto file describing the keyword plan service. - - Service to manage keyword plans. - """ - - def GetKeywordPlan(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 MutateKeywordPlans(self, request, context): - """Creates, updates, or removes keyword plans. Operation statuses are - returned. - """ - 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. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GenerateHistoricalMetrics(self, request, context): - """Returns the requested Keyword Plan historical metrics. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.GetKeywordPlanRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansResponse.SerializeToString, - ), - 'GenerateForecastMetrics': grpc.unary_unary_rpc_method_handler( - servicer.GenerateForecastMetrics, - request_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.KeywordPlanService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/keyword_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/keyword_view_service_pb2.py deleted file mode 100644 index c975ca794..000000000 --- a/google/ads/google_ads/v2/proto/services/keyword_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_v2/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.v2.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/keyword_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\027KeywordViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nAgoogle/ads/googleads_v2/proto/services/keyword_view_service.proto\x12 google.ads.googleads.v2.services\x1a:google/ads/googleads_v2/proto/resources/keyword_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\".\n\x15GetKeywordViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe5\x01\n\x12KeywordViewService\x12\xb1\x01\n\x0eGetKeywordView\x12\x37.google.ads.googleads.v2.services.GetKeywordViewRequest\x1a..google.ads.googleads.v2.resources.KeywordView\"6\x82\xd3\xe4\x93\x02\x30\x12./v2/{resource_name=customers/*/keywordViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfe\x01\n$com.google.ads.googleads.v2.servicesB\x17KeywordViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETKEYWORDVIEWREQUEST = _descriptor.Descriptor( - name='GetKeywordViewRequest', - full_name='google.ads.googleads.v2.services.GetKeywordViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=218, - serialized_end=264, -) - -DESCRIPTOR.message_types_by_name['GetKeywordViewRequest'] = _GETKEYWORDVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetKeywordViewRequest = _reflection.GeneratedProtocolMessageType('GetKeywordViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETKEYWORDVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.keyword_view_service_pb2' - , - __doc__ = """Request message for - [KeywordViewService.GetKeywordView][google.ads.googleads.v2.services.KeywordViewService.GetKeywordView]. - - - Attributes: - resource_name: - The resource name of the keyword view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetKeywordViewRequest) - )) -_sym_db.RegisterMessage(GetKeywordViewRequest) - - -DESCRIPTOR._options = None - -_KEYWORDVIEWSERVICE = _descriptor.ServiceDescriptor( - name='KeywordViewService', - full_name='google.ads.googleads.v2.services.KeywordViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=267, - serialized_end=496, - methods=[ - _descriptor.MethodDescriptor( - name='GetKeywordView', - full_name='google.ads.googleads.v2.services.KeywordViewService.GetKeywordView', - index=0, - containing_service=None, - input_type=_GETKEYWORDVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__view__pb2._KEYWORDVIEW, - serialized_options=_b('\202\323\344\223\0020\022./v2/{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/v2/proto/services/keyword_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/keyword_view_service_pb2_grpc.py deleted file mode 100644 index d74b3a0a6..000000000 --- a/google/ads/google_ads/v2/proto/services/keyword_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__view__pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__view__service__pb2 - - -class KeywordViewServiceStub(object): - """Proto file describing the Keyword View service. - - Service to manage keyword views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetKeywordView = channel.unary_unary( - '/google.ads.googleads.v2.services.KeywordViewService/GetKeywordView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_keyword__view__service__pb2.GetKeywordViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__view__pb2.KeywordView.FromString, - ) - - -class KeywordViewServiceServicer(object): - """Proto file describing the Keyword View service. - - Service to manage keyword views. - """ - - def GetKeywordView(self, request, context): - """Returns the requested keyword view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_keyword__view__service__pb2.GetKeywordViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__view__pb2.KeywordView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.KeywordViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/label_service_pb2.py b/google/ads/google_ads/v2/proto/services/label_service_pb2.py deleted file mode 100644 index 9496cdbfe..000000000 --- a/google/ads/google_ads/v2/proto/services/label_service_pb2.py +++ /dev/null @@ -1,403 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/label_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.v2.proto.resources import label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_label__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/label_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\021LabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/services/label_service.proto\x12 google.ads.googleads.v2.services\x1a\x33google/ads/googleads_v2/proto/resources/label.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.LabelH\x00\x12:\n\x06update\x18\x02 \x01(\x0b\x32(.google.ads.googleads.v2.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.v2.services.MutateLabelResult\"*\n\x11MutateLabelResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xff\x02\n\x0cLabelService\x12\x99\x01\n\x08GetLabel\x12\x31.google.ads.googleads.v2.services.GetLabelRequest\x1a(.google.ads.googleads.v2.resources.Label\"0\x82\xd3\xe4\x93\x02*\x12(/v2/{resource_name=customers/*/labels/*}\x12\xb5\x01\n\x0cMutateLabels\x12\x35.google.ads.googleads.v2.services.MutateLabelsRequest\x1a\x36.google.ads.googleads.v2.services.MutateLabelsResponse\"6\x82\xd3\xe4\x93\x02\x30\"+/v2/customers/{customer_id=*}/labels:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xf8\x01\n$com.google.ads.googleads.v2.servicesB\x11LabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETLABELREQUEST = _descriptor.Descriptor( - name='GetLabelRequest', - full_name='google.ads.googleads.v2.services.GetLabelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=263, - serialized_end=303, -) - - -_MUTATELABELSREQUEST = _descriptor.Descriptor( - name='MutateLabelsRequest', - full_name='google.ads.googleads.v2.services.MutateLabelsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=306, - serialized_end=466, -) - - -_LABELOPERATION = _descriptor.Descriptor( - name='LabelOperation', - full_name='google.ads.googleads.v2.services.LabelOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.LabelOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=469, - serialized_end=685, -) - - -_MUTATELABELSRESPONSE = _descriptor.Descriptor( - name='MutateLabelsResponse', - full_name='google.ads.googleads.v2.services.MutateLabelsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=831, -) - - -_MUTATELABELRESULT = _descriptor.Descriptor( - name='MutateLabelResult', - full_name='google.ads.googleads.v2.services.MutateLabelResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=833, - serialized_end=875, -) - -_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__v2_dot_proto_dot_resources_dot_label__pb2._LABEL -_LABELOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_LABELOPERATION.oneofs_by_name['operation'].fields.append( - _LABELOPERATION.fields_by_name['update']) -_LABELOPERATION.fields_by_name['update'].containing_oneof = _LABELOPERATION.oneofs_by_name['operation'] -_LABELOPERATION.oneofs_by_name['operation'].fields.append( - _LABELOPERATION.fields_by_name['remove']) -_LABELOPERATION.fields_by_name['remove'].containing_oneof = _LABELOPERATION.oneofs_by_name['operation'] -_MUTATELABELSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATELABELSRESPONSE.fields_by_name['results'].message_type = _MUTATELABELRESULT -DESCRIPTOR.message_types_by_name['GetLabelRequest'] = _GETLABELREQUEST -DESCRIPTOR.message_types_by_name['MutateLabelsRequest'] = _MUTATELABELSREQUEST -DESCRIPTOR.message_types_by_name['LabelOperation'] = _LABELOPERATION -DESCRIPTOR.message_types_by_name['MutateLabelsResponse'] = _MUTATELABELSRESPONSE -DESCRIPTOR.message_types_by_name['MutateLabelResult'] = _MUTATELABELRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetLabelRequest = _reflection.GeneratedProtocolMessageType('GetLabelRequest', (_message.Message,), dict( - DESCRIPTOR = _GETLABELREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.label_service_pb2' - , - __doc__ = """Request message for - [LabelService.GetLabel][google.ads.googleads.v2.services.LabelService.GetLabel]. - - - Attributes: - resource_name: - The resource name of the label to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetLabelRequest) - )) -_sym_db.RegisterMessage(GetLabelRequest) - -MutateLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateLabelsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATELABELSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.label_service_pb2' - , - __doc__ = """Request message for - [LabelService.MutateLabels][google.ads.googleads.v2.services.LabelService.MutateLabels]. - - - Attributes: - customer_id: - ID of the customer whose labels are being modified. - operations: - 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 - 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.v2.services.MutateLabelsRequest) - )) -_sym_db.RegisterMessage(MutateLabelsRequest) - -LabelOperation = _reflection.GeneratedProtocolMessageType('LabelOperation', (_message.Message,), dict( - DESCRIPTOR = _LABELOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.label_service_pb2' - , - __doc__ = """A single operation (create, remove, update) on a label. - - - Attributes: - update_mask: - 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 - label. - update: - Update operation: The label is expected to have a valid - resource name. - remove: - 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.v2.services.LabelOperation) - )) -_sym_db.RegisterMessage(LabelOperation) - -MutateLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateLabelsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATELABELSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.label_service_pb2' - , - __doc__ = """Response message for a labels 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.v2.services.MutateLabelsResponse) - )) -_sym_db.RegisterMessage(MutateLabelsResponse) - -MutateLabelResult = _reflection.GeneratedProtocolMessageType('MutateLabelResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATELABELRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.label_service_pb2' - , - __doc__ = """The result for a label mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateLabelResult) - )) -_sym_db.RegisterMessage(MutateLabelResult) - - -DESCRIPTOR._options = None - -_LABELSERVICE = _descriptor.ServiceDescriptor( - name='LabelService', - full_name='google.ads.googleads.v2.services.LabelService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=878, - serialized_end=1261, - methods=[ - _descriptor.MethodDescriptor( - name='GetLabel', - full_name='google.ads.googleads.v2.services.LabelService.GetLabel', - index=0, - containing_service=None, - input_type=_GETLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_label__pb2._LABEL, - serialized_options=_b('\202\323\344\223\002*\022(/v2/{resource_name=customers/*/labels/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateLabels', - full_name='google.ads.googleads.v2.services.LabelService.MutateLabels', - index=1, - containing_service=None, - input_type=_MUTATELABELSREQUEST, - output_type=_MUTATELABELSRESPONSE, - serialized_options=_b('\202\323\344\223\0020\"+/v2/customers/{customer_id=*}/labels:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_LABELSERVICE) - -DESCRIPTOR.services_by_name['LabelService'] = _LABELSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/label_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/label_service_pb2_grpc.py deleted file mode 100644 index 7c42b5d98..000000000 --- a/google/ads/google_ads/v2/proto/services/label_service_pb2_grpc.py +++ /dev/null @@ -1,64 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import label_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_label__pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_label__service__pb2 - - -class LabelServiceStub(object): - """Service to manage labels. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetLabel = channel.unary_unary( - '/google.ads.googleads.v2.services.LabelService/GetLabel', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_label__service__pb2.GetLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_label__pb2.Label.FromString, - ) - self.MutateLabels = channel.unary_unary( - '/google.ads.googleads.v2.services.LabelService/MutateLabels', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsResponse.FromString, - ) - - -class LabelServiceServicer(object): - """Service to manage labels. - """ - - def GetLabel(self, request, context): - """Returns the requested label in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateLabels(self, request, context): - """Creates, updates, or removes labels. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_label__service__pb2.GetLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.LabelService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/landing_page_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/landing_page_view_service_pb2.py deleted file mode 100644 index eae5e190e..000000000 --- a/google/ads/google_ads/v2/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_v2/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.v2.proto.resources import landing_page_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/landing_page_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\033LandingPageViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/services/landing_page_view_service.proto\x12 google.ads.googleads.v2.services\x1a?google/ads/googleads_v2/proto/resources/landing_page_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"2\n\x19GetLandingPageViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf9\x01\n\x16LandingPageViewService\x12\xc1\x01\n\x12GetLandingPageView\x12;.google.ads.googleads.v2.services.GetLandingPageViewRequest\x1a\x32.google.ads.googleads.v2.resources.LandingPageView\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v2/{resource_name=customers/*/landingPageViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v2.servicesB\x1bLandingPageViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_landing__page__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETLANDINGPAGEVIEWREQUEST = _descriptor.Descriptor( - name='GetLandingPageViewRequest', - full_name='google.ads.googleads.v2.services.GetLandingPageViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=228, - serialized_end=278, -) - -DESCRIPTOR.message_types_by_name['GetLandingPageViewRequest'] = _GETLANDINGPAGEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetLandingPageViewRequest = _reflection.GeneratedProtocolMessageType('GetLandingPageViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETLANDINGPAGEVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.landing_page_view_service_pb2' - , - __doc__ = """Request message for - [LandingPageViewService.GetLandingPageView][google.ads.googleads.v2.services.LandingPageViewService.GetLandingPageView]. - - - Attributes: - resource_name: - The resource name of the landing page view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetLandingPageViewRequest) - )) -_sym_db.RegisterMessage(GetLandingPageViewRequest) - - -DESCRIPTOR._options = None - -_LANDINGPAGEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='LandingPageViewService', - full_name='google.ads.googleads.v2.services.LandingPageViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=281, - serialized_end=530, - methods=[ - _descriptor.MethodDescriptor( - name='GetLandingPageView', - full_name='google.ads.googleads.v2.services.LandingPageViewService.GetLandingPageView', - index=0, - containing_service=None, - input_type=_GETLANDINGPAGEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_landing__page__view__pb2._LANDINGPAGEVIEW, - serialized_options=_b('\202\323\344\223\0024\0222/v2/{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/v2/proto/services/landing_page_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/landing_page_view_service_pb2_grpc.py deleted file mode 100644 index 8d988c490..000000000 --- a/google/ads/google_ads/v2/proto/services/landing_page_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_landing__page__view__pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_landing__page__view__service__pb2 - - -class LandingPageViewServiceStub(object): - """Proto file describing the landing page view service. - - Service to fetch landing page views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetLandingPageView = channel.unary_unary( - '/google.ads.googleads.v2.services.LandingPageViewService/GetLandingPageView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_landing__page__view__service__pb2.GetLandingPageViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_landing__page__view__pb2.LandingPageView.FromString, - ) - - -class LandingPageViewServiceServicer(object): - """Proto file describing the landing page view service. - - Service to fetch landing page views. - """ - - def GetLandingPageView(self, request, context): - """Returns the requested landing page view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_landing__page__view__service__pb2.GetLandingPageViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_landing__page__view__pb2.LandingPageView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.LandingPageViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/language_constant_service_pb2.py b/google/ads/google_ads/v2/proto/services/language_constant_service_pb2.py deleted file mode 100644 index 4122ac5ce..000000000 --- a/google/ads/google_ads/v2/proto/services/language_constant_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_v2/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.v2.proto.resources import language_constant_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/language_constant_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\034LanguageConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v2/proto/services/language_constant_service.proto\x12 google.ads.googleads.v2.services\x1a?google/ads/googleads_v2/proto/resources/language_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"3\n\x1aGetLanguageConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf2\x01\n\x17LanguageConstantService\x12\xb9\x01\n\x13GetLanguageConstant\x12<.google.ads.googleads.v2.services.GetLanguageConstantRequest\x1a\x33.google.ads.googleads.v2.resources.LanguageConstant\"/\x82\xd3\xe4\x93\x02)\x12\'/v2/{resource_name=languageConstants/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v2.servicesB\x1cLanguageConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_language__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETLANGUAGECONSTANTREQUEST = _descriptor.Descriptor( - name='GetLanguageConstantRequest', - full_name='google.ads.googleads.v2.services.GetLanguageConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=228, - serialized_end=279, -) - -DESCRIPTOR.message_types_by_name['GetLanguageConstantRequest'] = _GETLANGUAGECONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetLanguageConstantRequest = _reflection.GeneratedProtocolMessageType('GetLanguageConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETLANGUAGECONSTANTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.language_constant_service_pb2' - , - __doc__ = """Request message for - [LanguageConstantService.GetLanguageConstant][google.ads.googleads.v2.services.LanguageConstantService.GetLanguageConstant]. - - - Attributes: - resource_name: - Resource name of the language constant to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetLanguageConstantRequest) - )) -_sym_db.RegisterMessage(GetLanguageConstantRequest) - - -DESCRIPTOR._options = None - -_LANGUAGECONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='LanguageConstantService', - full_name='google.ads.googleads.v2.services.LanguageConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=282, - serialized_end=524, - methods=[ - _descriptor.MethodDescriptor( - name='GetLanguageConstant', - full_name='google.ads.googleads.v2.services.LanguageConstantService.GetLanguageConstant', - index=0, - containing_service=None, - input_type=_GETLANGUAGECONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_language__constant__pb2._LANGUAGECONSTANT, - serialized_options=_b('\202\323\344\223\002)\022\'/v2/{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/v2/proto/services/language_constant_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/language_constant_service_pb2_grpc.py deleted file mode 100644 index c5b631789..000000000 --- a/google/ads/google_ads/v2/proto/services/language_constant_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_language__constant__pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_language__constant__service__pb2 - - -class LanguageConstantServiceStub(object): - """Proto file describing the language constant service. - - Service to fetch language constants. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetLanguageConstant = channel.unary_unary( - '/google.ads.googleads.v2.services.LanguageConstantService/GetLanguageConstant', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_language__constant__service__pb2.GetLanguageConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_language__constant__pb2.LanguageConstant.FromString, - ) - - -class LanguageConstantServiceServicer(object): - """Proto file describing the language constant service. - - Service to fetch language constants. - """ - - def GetLanguageConstant(self, request, context): - """Returns the requested language constant. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_language__constant__service__pb2.GetLanguageConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_language__constant__pb2.LanguageConstant.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.LanguageConstantService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/location_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/location_view_service_pb2.py deleted file mode 100644 index 99c428f9e..000000000 --- a/google/ads/google_ads/v2/proto/services/location_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_v2/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.v2.proto.resources import location_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/location_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\030LocationViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v2/proto/services/location_view_service.proto\x12 google.ads.googleads.v2.services\x1a;google/ads/googleads_v2/proto/resources/location_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"/\n\x16GetLocationViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xea\x01\n\x13LocationViewService\x12\xb5\x01\n\x0fGetLocationView\x12\x38.google.ads.googleads.v2.services.GetLocationViewRequest\x1a/.google.ads.googleads.v2.resources.LocationView\"7\x82\xd3\xe4\x93\x02\x31\x12//v2/{resource_name=customers/*/locationViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v2.servicesB\x18LocationViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_location__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETLOCATIONVIEWREQUEST = _descriptor.Descriptor( - name='GetLocationViewRequest', - full_name='google.ads.googleads.v2.services.GetLocationViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=220, - serialized_end=267, -) - -DESCRIPTOR.message_types_by_name['GetLocationViewRequest'] = _GETLOCATIONVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetLocationViewRequest = _reflection.GeneratedProtocolMessageType('GetLocationViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETLOCATIONVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.location_view_service_pb2' - , - __doc__ = """Request message for - [LocationViewService.GetLocationView][google.ads.googleads.v2.services.LocationViewService.GetLocationView]. - - - Attributes: - resource_name: - The resource name of the location view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetLocationViewRequest) - )) -_sym_db.RegisterMessage(GetLocationViewRequest) - - -DESCRIPTOR._options = None - -_LOCATIONVIEWSERVICE = _descriptor.ServiceDescriptor( - name='LocationViewService', - full_name='google.ads.googleads.v2.services.LocationViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=270, - serialized_end=504, - methods=[ - _descriptor.MethodDescriptor( - name='GetLocationView', - full_name='google.ads.googleads.v2.services.LocationViewService.GetLocationView', - index=0, - containing_service=None, - input_type=_GETLOCATIONVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_location__view__pb2._LOCATIONVIEW, - serialized_options=_b('\202\323\344\223\0021\022//v2/{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/v2/proto/services/location_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/location_view_service_pb2_grpc.py deleted file mode 100644 index e7dc6e734..000000000 --- a/google/ads/google_ads/v2/proto/services/location_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import location_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_location__view__pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_location__view__service__pb2 - - -class LocationViewServiceStub(object): - """Proto file describing the Location View service. - - Service to fetch location views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetLocationView = channel.unary_unary( - '/google.ads.googleads.v2.services.LocationViewService/GetLocationView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_location__view__service__pb2.GetLocationViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_location__view__pb2.LocationView.FromString, - ) - - -class LocationViewServiceServicer(object): - """Proto file describing the Location View service. - - Service to fetch location views. - """ - - def GetLocationView(self, request, context): - """Returns the requested location view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_location__view__service__pb2.GetLocationViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_location__view__pb2.LocationView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.LocationViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/managed_placement_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/managed_placement_view_service_pb2.py deleted file mode 100644 index 2fef852b7..000000000 --- a/google/ads/google_ads/v2/proto/services/managed_placement_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_v2/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.v2.proto.resources import managed_placement_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/managed_placement_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB ManagedPlacementViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/services/managed_placement_view_service.proto\x12 google.ads.googleads.v2.services\x1a\x44google/ads/googleads_v2/proto/resources/managed_placement_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"7\n\x1eGetManagedPlacementViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x92\x02\n\x1bManagedPlacementViewService\x12\xd5\x01\n\x17GetManagedPlacementView\x12@.google.ads.googleads.v2.services.GetManagedPlacementViewRequest\x1a\x37.google.ads.googleads.v2.resources.ManagedPlacementView\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/v2/{resource_name=customers/*/managedPlacementViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x87\x02\n$com.google.ads.googleads.v2.servicesB ManagedPlacementViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_managed__placement__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETMANAGEDPLACEMENTVIEWREQUEST = _descriptor.Descriptor( - name='GetManagedPlacementViewRequest', - full_name='google.ads.googleads.v2.services.GetManagedPlacementViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=238, - serialized_end=293, -) - -DESCRIPTOR.message_types_by_name['GetManagedPlacementViewRequest'] = _GETMANAGEDPLACEMENTVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetManagedPlacementViewRequest = _reflection.GeneratedProtocolMessageType('GetManagedPlacementViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMANAGEDPLACEMENTVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.managed_placement_view_service_pb2' - , - __doc__ = """Request message for - [ManagedPlacementViewService.GetManagedPlacementView][google.ads.googleads.v2.services.ManagedPlacementViewService.GetManagedPlacementView]. - - - Attributes: - resource_name: - The resource name of the Managed Placement View to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetManagedPlacementViewRequest) - )) -_sym_db.RegisterMessage(GetManagedPlacementViewRequest) - - -DESCRIPTOR._options = None - -_MANAGEDPLACEMENTVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ManagedPlacementViewService', - full_name='google.ads.googleads.v2.services.ManagedPlacementViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=296, - serialized_end=570, - methods=[ - _descriptor.MethodDescriptor( - name='GetManagedPlacementView', - full_name='google.ads.googleads.v2.services.ManagedPlacementViewService.GetManagedPlacementView', - index=0, - containing_service=None, - input_type=_GETMANAGEDPLACEMENTVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_managed__placement__view__pb2._MANAGEDPLACEMENTVIEW, - serialized_options=_b('\202\323\344\223\0029\0227/v2/{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/v2/proto/services/managed_placement_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/managed_placement_view_service_pb2_grpc.py deleted file mode 100644 index 7fdf8e1a2..000000000 --- a/google/ads/google_ads/v2/proto/services/managed_placement_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_managed__placement__view__pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_managed__placement__view__service__pb2 - - -class ManagedPlacementViewServiceStub(object): - """Proto file describing the Managed Placement View service. - - Service to manage Managed Placement views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetManagedPlacementView = channel.unary_unary( - '/google.ads.googleads.v2.services.ManagedPlacementViewService/GetManagedPlacementView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_managed__placement__view__service__pb2.GetManagedPlacementViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_managed__placement__view__pb2.ManagedPlacementView.FromString, - ) - - -class ManagedPlacementViewServiceServicer(object): - """Proto file describing the Managed Placement View service. - - Service to manage Managed Placement views. - """ - - def GetManagedPlacementView(self, request, context): - """Returns the requested Managed Placement view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_managed__placement__view__service__pb2.GetManagedPlacementViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_managed__placement__view__pb2.ManagedPlacementView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ManagedPlacementViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/media_file_service_pb2.py b/google/ads/google_ads/v2/proto/services/media_file_service_pb2.py deleted file mode 100644 index a7cd93bae..000000000 --- a/google/ads/google_ads/v2/proto/services/media_file_service_pb2.py +++ /dev/null @@ -1,364 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/media_file_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.v2.proto.resources import media_file_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_media__file__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/media_file_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\025MediaFileServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/services/media_file_service.proto\x12 google.ads.googleads.v2.services\x1a\x38google/ads/googleads_v2/proto/resources/media_file.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.services.MutateMediaFileResult\".\n\x15MutateMediaFileResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa3\x03\n\x10MediaFileService\x12\xa9\x01\n\x0cGetMediaFile\x12\x35.google.ads.googleads.v2.services.GetMediaFileRequest\x1a,.google.ads.googleads.v2.resources.MediaFile\"4\x82\xd3\xe4\x93\x02.\x12,/v2/{resource_name=customers/*/mediaFiles/*}\x12\xc5\x01\n\x10MutateMediaFiles\x12\x39.google.ads.googleads.v2.services.MutateMediaFilesRequest\x1a:.google.ads.googleads.v2.services.MutateMediaFilesResponse\":\x82\xd3\xe4\x93\x02\x34\"//v2/customers/{customer_id=*}/mediaFiles:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v2.servicesB\x15MediaFileServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_media__file__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETMEDIAFILEREQUEST = _descriptor.Descriptor( - name='GetMediaFileRequest', - full_name='google.ads.googleads.v2.services.GetMediaFileRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=239, - serialized_end=283, -) - - -_MUTATEMEDIAFILESREQUEST = _descriptor.Descriptor( - name='MutateMediaFilesRequest', - full_name='google.ads.googleads.v2.services.MutateMediaFilesRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=286, - serialized_end=454, -) - - -_MEDIAFILEOPERATION = _descriptor.Descriptor( - name='MediaFileOperation', - full_name='google.ads.googleads.v2.services.MediaFileOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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, - 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.v2.services.MediaFileOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=456, - serialized_end=553, -) - - -_MUTATEMEDIAFILESRESPONSE = _descriptor.Descriptor( - name='MutateMediaFilesResponse', - full_name='google.ads.googleads.v2.services.MutateMediaFilesResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=556, - serialized_end=707, -) - - -_MUTATEMEDIAFILERESULT = _descriptor.Descriptor( - name='MutateMediaFileResult', - full_name='google.ads.googleads.v2.services.MutateMediaFileResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=755, -) - -_MUTATEMEDIAFILESREQUEST.fields_by_name['operations'].message_type = _MEDIAFILEOPERATION -_MEDIAFILEOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_MUTATEMEDIAFILESRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEMEDIAFILESRESPONSE.fields_by_name['results'].message_type = _MUTATEMEDIAFILERESULT -DESCRIPTOR.message_types_by_name['GetMediaFileRequest'] = _GETMEDIAFILEREQUEST -DESCRIPTOR.message_types_by_name['MutateMediaFilesRequest'] = _MUTATEMEDIAFILESREQUEST -DESCRIPTOR.message_types_by_name['MediaFileOperation'] = _MEDIAFILEOPERATION -DESCRIPTOR.message_types_by_name['MutateMediaFilesResponse'] = _MUTATEMEDIAFILESRESPONSE -DESCRIPTOR.message_types_by_name['MutateMediaFileResult'] = _MUTATEMEDIAFILERESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetMediaFileRequest = _reflection.GeneratedProtocolMessageType('GetMediaFileRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMEDIAFILEREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.media_file_service_pb2' - , - __doc__ = """Request message for - [MediaFileService.GetMediaFile][google.ads.googleads.v2.services.MediaFileService.GetMediaFile] - - - Attributes: - resource_name: - The resource name of the media file to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetMediaFileRequest) - )) -_sym_db.RegisterMessage(GetMediaFileRequest) - -MutateMediaFilesRequest = _reflection.GeneratedProtocolMessageType('MutateMediaFilesRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEMEDIAFILESREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.media_file_service_pb2' - , - __doc__ = """Request message for - [MediaFileService.MutateMediaFiles][google.ads.googleads.v2.services.MediaFileService.MutateMediaFiles] - - - Attributes: - customer_id: - The ID of the customer whose media files are being modified. - operations: - 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 - 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.v2.services.MutateMediaFilesRequest) - )) -_sym_db.RegisterMessage(MutateMediaFilesRequest) - -MediaFileOperation = _reflection.GeneratedProtocolMessageType('MediaFileOperation', (_message.Message,), dict( - DESCRIPTOR = _MEDIAFILEOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.media_file_service_pb2' - , - __doc__ = """A single operation to create media file. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - media file. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MediaFileOperation) - )) -_sym_db.RegisterMessage(MediaFileOperation) - -MutateMediaFilesResponse = _reflection.GeneratedProtocolMessageType('MutateMediaFilesResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEMEDIAFILESRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.media_file_service_pb2' - , - __doc__ = """Response message for a media file 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.v2.services.MutateMediaFilesResponse) - )) -_sym_db.RegisterMessage(MutateMediaFilesResponse) - -MutateMediaFileResult = _reflection.GeneratedProtocolMessageType('MutateMediaFileResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEMEDIAFILERESULT, - __module__ = 'google.ads.googleads_v2.proto.services.media_file_service_pb2' - , - __doc__ = """The result for the media file mutate. - - - Attributes: - resource_name: - The resource name returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateMediaFileResult) - )) -_sym_db.RegisterMessage(MutateMediaFileResult) - - -DESCRIPTOR._options = None - -_MEDIAFILESERVICE = _descriptor.ServiceDescriptor( - name='MediaFileService', - full_name='google.ads.googleads.v2.services.MediaFileService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=758, - serialized_end=1177, - methods=[ - _descriptor.MethodDescriptor( - name='GetMediaFile', - full_name='google.ads.googleads.v2.services.MediaFileService.GetMediaFile', - index=0, - containing_service=None, - input_type=_GETMEDIAFILEREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_media__file__pb2._MEDIAFILE, - serialized_options=_b('\202\323\344\223\002.\022,/v2/{resource_name=customers/*/mediaFiles/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateMediaFiles', - full_name='google.ads.googleads.v2.services.MediaFileService.MutateMediaFiles', - index=1, - containing_service=None, - input_type=_MUTATEMEDIAFILESREQUEST, - output_type=_MUTATEMEDIAFILESRESPONSE, - serialized_options=_b('\202\323\344\223\0024\"//v2/customers/{customer_id=*}/mediaFiles:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_MEDIAFILESERVICE) - -DESCRIPTOR.services_by_name['MediaFileService'] = _MEDIAFILESERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/media_file_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/media_file_service_pb2_grpc.py deleted file mode 100644 index 3152f4d7c..000000000 --- a/google/ads/google_ads/v2/proto/services/media_file_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import media_file_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_media__file__pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_media__file__service__pb2 - - -class MediaFileServiceStub(object): - """Proto file describing the Media File service. - - Service to manage media files. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetMediaFile = channel.unary_unary( - '/google.ads.googleads.v2.services.MediaFileService/GetMediaFile', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_media__file__service__pb2.GetMediaFileRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_media__file__pb2.MediaFile.FromString, - ) - self.MutateMediaFiles = channel.unary_unary( - '/google.ads.googleads.v2.services.MediaFileService/MutateMediaFiles', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesResponse.FromString, - ) - - -class MediaFileServiceServicer(object): - """Proto file describing the Media File service. - - Service to manage media files. - """ - - def GetMediaFile(self, request, context): - """Returns the requested media file in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateMediaFiles(self, request, context): - """Creates media files. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_media__file__service__pb2.GetMediaFileRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.MediaFileService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/merchant_center_link_service_pb2.py b/google/ads/google_ads/v2/proto/services/merchant_center_link_service_pb2.py deleted file mode 100644 index 89cab4d62..000000000 --- a/google/ads/google_ads/v2/proto/services/merchant_center_link_service_pb2.py +++ /dev/null @@ -1,460 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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')) -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.v2.proto.resources import merchant_center_link_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_merchant__center__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 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/merchant_center_link_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\036MerchantCenterLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v2/proto/services/merchant_center_link_service.proto\x12 google.ads.googleads.v2.services\x1a\x42google/ads/googleads_v2/proto/resources/merchant_center_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.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.v2.services.MutateMerchantCenterLinkResult\"7\n\x1eMutateMerchantCenterLinkResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xcd\x05\n\x19MerchantCenterLinkService\x12\xd9\x01\n\x17ListMerchantCenterLinks\x12@.google.ads.googleads.v2.services.ListMerchantCenterLinksRequest\x1a\x41.google.ads.googleads.v2.services.ListMerchantCenterLinksResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/customers/{customer_id=*}/merchantCenterLinks\x12\xcd\x01\n\x15GetMerchantCenterLink\x12>.google.ads.googleads.v2.services.GetMerchantCenterLinkRequest\x1a\x35.google.ads.googleads.v2.resources.MerchantCenterLink\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/merchantCenterLinks/*}\x12\xe6\x01\n\x18MutateMerchantCenterLink\x12\x41.google.ads.googleads.v2.services.MutateMerchantCenterLinkRequest\x1a\x42.google.ads.googleads.v2.services.MutateMerchantCenterLinkResponse\"C\x82\xd3\xe4\x93\x02=\"8/v2/customers/{customer_id=*}/merchantCenterLinks:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1eMerchantCenterLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_LISTMERCHANTCENTERLINKSREQUEST = _descriptor.Descriptor( - name='ListMerchantCenterLinksRequest', - full_name='google.ads.googleads.v2.services.ListMerchantCenterLinksRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=268, - serialized_end=321, -) - - -_LISTMERCHANTCENTERLINKSRESPONSE = _descriptor.Descriptor( - name='ListMerchantCenterLinksResponse', - full_name='google.ads.googleads.v2.services.ListMerchantCenterLinksResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='merchant_center_links', full_name='google.ads.googleads.v2.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, - 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=323, - serialized_end=442, -) - - -_GETMERCHANTCENTERLINKREQUEST = _descriptor.Descriptor( - name='GetMerchantCenterLinkRequest', - full_name='google.ads.googleads.v2.services.GetMerchantCenterLinkRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=444, - serialized_end=497, -) - - -_MUTATEMERCHANTCENTERLINKREQUEST = _descriptor.Descriptor( - name='MutateMerchantCenterLinkRequest', - full_name='google.ads.googleads.v2.services.MutateMerchantCenterLinkRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=500, - serialized_end=636, -) - - -_MERCHANTCENTERLINKOPERATION = _descriptor.Descriptor( - name='MerchantCenterLinkOperation', - full_name='google.ads.googleads.v2.services.MerchantCenterLinkOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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.v2.services.MerchantCenterLinkOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=639, - serialized_end=821, -) - - -_MUTATEMERCHANTCENTERLINKRESPONSE = _descriptor.Descriptor( - name='MutateMerchantCenterLinkResponse', - full_name='google.ads.googleads.v2.services.MutateMerchantCenterLinkResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v2.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, - 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=823, - serialized_end=939, -) - - -_MUTATEMERCHANTCENTERLINKRESULT = _descriptor.Descriptor( - name='MutateMerchantCenterLinkResult', - full_name='google.ads.googleads.v2.services.MutateMerchantCenterLinkResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=941, - serialized_end=996, -) - -_LISTMERCHANTCENTERLINKSRESPONSE.fields_by_name['merchant_center_links'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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'] -_MERCHANTCENTERLINKOPERATION.oneofs_by_name['operation'].fields.append( - _MERCHANTCENTERLINKOPERATION.fields_by_name['remove']) -_MERCHANTCENTERLINKOPERATION.fields_by_name['remove'].containing_oneof = _MERCHANTCENTERLINKOPERATION.oneofs_by_name['operation'] -_MUTATEMERCHANTCENTERLINKRESPONSE.fields_by_name['result'].message_type = _MUTATEMERCHANTCENTERLINKRESULT -DESCRIPTOR.message_types_by_name['ListMerchantCenterLinksRequest'] = _LISTMERCHANTCENTERLINKSREQUEST -DESCRIPTOR.message_types_by_name['ListMerchantCenterLinksResponse'] = _LISTMERCHANTCENTERLINKSRESPONSE -DESCRIPTOR.message_types_by_name['GetMerchantCenterLinkRequest'] = _GETMERCHANTCENTERLINKREQUEST -DESCRIPTOR.message_types_by_name['MutateMerchantCenterLinkRequest'] = _MUTATEMERCHANTCENTERLINKREQUEST -DESCRIPTOR.message_types_by_name['MerchantCenterLinkOperation'] = _MERCHANTCENTERLINKOPERATION -DESCRIPTOR.message_types_by_name['MutateMerchantCenterLinkResponse'] = _MUTATEMERCHANTCENTERLINKRESPONSE -DESCRIPTOR.message_types_by_name['MutateMerchantCenterLinkResult'] = _MUTATEMERCHANTCENTERLINKRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ListMerchantCenterLinksRequest = _reflection.GeneratedProtocolMessageType('ListMerchantCenterLinksRequest', (_message.Message,), dict( - DESCRIPTOR = _LISTMERCHANTCENTERLINKSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.merchant_center_link_service_pb2' - , - __doc__ = """Request message for - [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v2.services.MerchantCenterLinkService.ListMerchantCenterLinks]. - - - Attributes: - customer_id: - The ID of the customer onto which to apply the Merchant Center - link list operation. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ListMerchantCenterLinksRequest) - )) -_sym_db.RegisterMessage(ListMerchantCenterLinksRequest) - -ListMerchantCenterLinksResponse = _reflection.GeneratedProtocolMessageType('ListMerchantCenterLinksResponse', (_message.Message,), dict( - DESCRIPTOR = _LISTMERCHANTCENTERLINKSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.merchant_center_link_service_pb2' - , - __doc__ = """Response message for - [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v2.services.MerchantCenterLinkService.ListMerchantCenterLinks]. - - - Attributes: - merchant_center_links: - Merchant Center links available for the requested customer - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ListMerchantCenterLinksResponse) - )) -_sym_db.RegisterMessage(ListMerchantCenterLinksResponse) - -GetMerchantCenterLinkRequest = _reflection.GeneratedProtocolMessageType('GetMerchantCenterLinkRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMERCHANTCENTERLINKREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.merchant_center_link_service_pb2' - , - __doc__ = """Request message for - [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v2.services.MerchantCenterLinkService.GetMerchantCenterLink]. - - - Attributes: - resource_name: - Resource name of the Merchant Center link. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetMerchantCenterLinkRequest) - )) -_sym_db.RegisterMessage(GetMerchantCenterLinkRequest) - -MutateMerchantCenterLinkRequest = _reflection.GeneratedProtocolMessageType('MutateMerchantCenterLinkRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEMERCHANTCENTERLINKREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.merchant_center_link_service_pb2' - , - __doc__ = """Request message for - [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v2.services.MerchantCenterLinkService.MutateMerchantCenterLink]. - - - Attributes: - customer_id: - The ID of the customer being modified. - operation: - The operation to perform on the link - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateMerchantCenterLinkRequest) - )) -_sym_db.RegisterMessage(MutateMerchantCenterLinkRequest) - -MerchantCenterLinkOperation = _reflection.GeneratedProtocolMessageType('MerchantCenterLinkOperation', (_message.Message,), dict( - DESCRIPTOR = _MERCHANTCENTERLINKOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.merchant_center_link_service_pb2' - , - __doc__ = """A single update on a Merchant Center link. - - - Attributes: - update_mask: - FieldMask that determines which resource fields are modified - in an update. - operation: - The operation to perform - update: - Update operation: The merchant center link is expected to have - a valid resource name. - remove: - Remove operation: A resource name for the removed merchant - center link is expected, in this format: ``customers/{custome - r_id}/merchantCenterLinks/{merchant_center_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MerchantCenterLinkOperation) - )) -_sym_db.RegisterMessage(MerchantCenterLinkOperation) - -MutateMerchantCenterLinkResponse = _reflection.GeneratedProtocolMessageType('MutateMerchantCenterLinkResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEMERCHANTCENTERLINKRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.merchant_center_link_service_pb2' - , - __doc__ = """Response message for Merchant Center link mutate. - - - Attributes: - result: - Result for the mutate. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateMerchantCenterLinkResponse) - )) -_sym_db.RegisterMessage(MutateMerchantCenterLinkResponse) - -MutateMerchantCenterLinkResult = _reflection.GeneratedProtocolMessageType('MutateMerchantCenterLinkResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEMERCHANTCENTERLINKRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.merchant_center_link_service_pb2' - , - __doc__ = """The result for the Merchant Center link mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateMerchantCenterLinkResult) - )) -_sym_db.RegisterMessage(MutateMerchantCenterLinkResult) - - -DESCRIPTOR._options = None - -_MERCHANTCENTERLINKSERVICE = _descriptor.ServiceDescriptor( - name='MerchantCenterLinkService', - full_name='google.ads.googleads.v2.services.MerchantCenterLinkService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=999, - serialized_end=1716, - methods=[ - _descriptor.MethodDescriptor( - name='ListMerchantCenterLinks', - full_name='google.ads.googleads.v2.services.MerchantCenterLinkService.ListMerchantCenterLinks', - index=0, - containing_service=None, - input_type=_LISTMERCHANTCENTERLINKSREQUEST, - output_type=_LISTMERCHANTCENTERLINKSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\0221/v2/customers/{customer_id=*}/merchantCenterLinks'), - ), - _descriptor.MethodDescriptor( - name='GetMerchantCenterLink', - full_name='google.ads.googleads.v2.services.MerchantCenterLinkService.GetMerchantCenterLink', - index=1, - containing_service=None, - input_type=_GETMERCHANTCENTERLINKREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_merchant__center__link__pb2._MERCHANTCENTERLINK, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{resource_name=customers/*/merchantCenterLinks/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateMerchantCenterLink', - full_name='google.ads.googleads.v2.services.MerchantCenterLinkService.MutateMerchantCenterLink', - index=2, - containing_service=None, - input_type=_MUTATEMERCHANTCENTERLINKREQUEST, - output_type=_MUTATEMERCHANTCENTERLINKRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v2/customers/{customer_id=*}/merchantCenterLinks:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_MERCHANTCENTERLINKSERVICE) - -DESCRIPTOR.services_by_name['MerchantCenterLinkService'] = _MERCHANTCENTERLINKSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/merchant_center_link_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/merchant_center_link_service_pb2_grpc.py deleted file mode 100644 index 87146c3f2..000000000 --- a/google/ads/google_ads/v2/proto/services/merchant_center_link_service_pb2_grpc.py +++ /dev/null @@ -1,87 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_merchant__center__link__pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2 - - -class MerchantCenterLinkServiceStub(object): - """Proto file describing the MerchantCenterLink service. - - This service allows management of links between Google Ads and Google - Merchant Center. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ListMerchantCenterLinks = channel.unary_unary( - '/google.ads.googleads.v2.services.MerchantCenterLinkService/ListMerchantCenterLinks', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksResponse.FromString, - ) - self.GetMerchantCenterLink = channel.unary_unary( - '/google.ads.googleads.v2.services.MerchantCenterLinkService/GetMerchantCenterLink', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2.GetMerchantCenterLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_merchant__center__link__pb2.MerchantCenterLink.FromString, - ) - self.MutateMerchantCenterLink = channel.unary_unary( - '/google.ads.googleads.v2.services.MerchantCenterLinkService/MutateMerchantCenterLink', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkResponse.FromString, - ) - - -class MerchantCenterLinkServiceServicer(object): - """Proto file describing the MerchantCenterLink service. - - This service allows management of links between Google Ads and Google - Merchant Center. - """ - - def ListMerchantCenterLinks(self, request, context): - """Returns Merchant Center links available for this customer. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetMerchantCenterLink(self, request, context): - """Returns the Merchant Center link in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateMerchantCenterLink(self, request, context): - """Updates status or removes a Merchant Center link. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2.GetMerchantCenterLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.MerchantCenterLinkService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/mobile_app_category_constant_service_pb2.py b/google/ads/google_ads/v2/proto/services/mobile_app_category_constant_service_pb2.py deleted file mode 100644 index 6c1d121c7..000000000 --- a/google/ads/google_ads/v2/proto/services/mobile_app_category_constant_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_v2/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.v2.proto.resources import mobile_app_category_constant_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/mobile_app_category_constant_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB%MobileAppCategoryConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nQgoogle/ads/googleads_v2/proto/services/mobile_app_category_constant_service.proto\x12 google.ads.googleads.v2.services\x1aJgoogle/ads/googleads_v2/proto/resources/mobile_app_category_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"<\n#GetMobileAppCategoryConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9f\x02\n MobileAppCategoryConstantService\x12\xdd\x01\n\x1cGetMobileAppCategoryConstant\x12\x45.google.ads.googleads.v2.services.GetMobileAppCategoryConstantRequest\x1a<.google.ads.googleads.v2.resources.MobileAppCategoryConstant\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/v2/{resource_name=mobileAppCategoryConstants/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8c\x02\n$com.google.ads.googleads.v2.servicesB%MobileAppCategoryConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,]) - - - - -_GETMOBILEAPPCATEGORYCONSTANTREQUEST = _descriptor.Descriptor( - name='GetMobileAppCategoryConstantRequest', - full_name='google.ads.googleads.v2.services.GetMobileAppCategoryConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=250, - serialized_end=310, -) - -DESCRIPTOR.message_types_by_name['GetMobileAppCategoryConstantRequest'] = _GETMOBILEAPPCATEGORYCONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetMobileAppCategoryConstantRequest = _reflection.GeneratedProtocolMessageType('GetMobileAppCategoryConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMOBILEAPPCATEGORYCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.mobile_app_category_constant_service_pb2' - , - __doc__ = """Request message for - [MobileAppCategoryConstantService.GetMobileAppCategoryConstant][google.ads.googleads.v2.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant]. - - - Attributes: - resource_name: - Resource name of the mobile app category constant to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetMobileAppCategoryConstantRequest) - )) -_sym_db.RegisterMessage(GetMobileAppCategoryConstantRequest) - - -DESCRIPTOR._options = None - -_MOBILEAPPCATEGORYCONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='MobileAppCategoryConstantService', - full_name='google.ads.googleads.v2.services.MobileAppCategoryConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=313, - serialized_end=600, - methods=[ - _descriptor.MethodDescriptor( - name='GetMobileAppCategoryConstant', - full_name='google.ads.googleads.v2.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant', - index=0, - containing_service=None, - input_type=_GETMOBILEAPPCATEGORYCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2._MOBILEAPPCATEGORYCONSTANT, - serialized_options=_b('\202\323\344\223\0022\0220/v2/{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/v2/proto/services/mobile_app_category_constant_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/mobile_app_category_constant_service_pb2_grpc.py deleted file mode 100644 index 4a394d684..000000000 --- a/google/ads/google_ads/v2/proto/services/mobile_app_category_constant_service_pb2_grpc.py +++ /dev/null @@ -1,47 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mobile__app__category__constant__service__pb2 - - -class MobileAppCategoryConstantServiceStub(object): - """Service to fetch mobile app category constants. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetMobileAppCategoryConstant = channel.unary_unary( - '/google.ads.googleads.v2.services.MobileAppCategoryConstantService/GetMobileAppCategoryConstant', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mobile__app__category__constant__service__pb2.GetMobileAppCategoryConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.MobileAppCategoryConstant.FromString, - ) - - -class MobileAppCategoryConstantServiceServicer(object): - """Service to fetch mobile app category constants. - """ - - def GetMobileAppCategoryConstant(self, request, context): - """Returns the requested mobile app category constant. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_mobile__app__category__constant__service__pb2.GetMobileAppCategoryConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.MobileAppCategoryConstant.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.MobileAppCategoryConstantService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/mobile_device_constant_service_pb2.py b/google/ads/google_ads/v2/proto/services/mobile_device_constant_service_pb2.py deleted file mode 100644 index 0d251cf60..000000000 --- a/google/ads/google_ads/v2/proto/services/mobile_device_constant_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_v2/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.v2.proto.resources import mobile_device_constant_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/mobile_device_constant_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB MobileDeviceConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nKgoogle/ads/googleads_v2/proto/services/mobile_device_constant_service.proto\x12 google.ads.googleads.v2.services\x1a\x44google/ads/googleads_v2/proto/resources/mobile_device_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"7\n\x1eGetMobileDeviceConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x86\x02\n\x1bMobileDeviceConstantService\x12\xc9\x01\n\x17GetMobileDeviceConstant\x12@.google.ads.googleads.v2.services.GetMobileDeviceConstantRequest\x1a\x37.google.ads.googleads.v2.resources.MobileDeviceConstant\"3\x82\xd3\xe4\x93\x02-\x12+/v2/{resource_name=mobileDeviceConstants/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x87\x02\n$com.google.ads.googleads.v2.servicesB MobileDeviceConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__device__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETMOBILEDEVICECONSTANTREQUEST = _descriptor.Descriptor( - name='GetMobileDeviceConstantRequest', - full_name='google.ads.googleads.v2.services.GetMobileDeviceConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=238, - serialized_end=293, -) - -DESCRIPTOR.message_types_by_name['GetMobileDeviceConstantRequest'] = _GETMOBILEDEVICECONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetMobileDeviceConstantRequest = _reflection.GeneratedProtocolMessageType('GetMobileDeviceConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMOBILEDEVICECONSTANTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.mobile_device_constant_service_pb2' - , - __doc__ = """Request message for - [MobileDeviceConstantService.GetMobileDeviceConstant][google.ads.googleads.v2.services.MobileDeviceConstantService.GetMobileDeviceConstant]. - - - Attributes: - resource_name: - Resource name of the mobile device to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetMobileDeviceConstantRequest) - )) -_sym_db.RegisterMessage(GetMobileDeviceConstantRequest) - - -DESCRIPTOR._options = None - -_MOBILEDEVICECONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='MobileDeviceConstantService', - full_name='google.ads.googleads.v2.services.MobileDeviceConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=296, - serialized_end=558, - methods=[ - _descriptor.MethodDescriptor( - name='GetMobileDeviceConstant', - full_name='google.ads.googleads.v2.services.MobileDeviceConstantService.GetMobileDeviceConstant', - index=0, - containing_service=None, - input_type=_GETMOBILEDEVICECONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__device__constant__pb2._MOBILEDEVICECONSTANT, - serialized_options=_b('\202\323\344\223\002-\022+/v2/{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/v2/proto/services/mobile_device_constant_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/mobile_device_constant_service_pb2_grpc.py deleted file mode 100644 index 396dab5af..000000000 --- a/google/ads/google_ads/v2/proto/services/mobile_device_constant_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__device__constant__pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mobile__device__constant__service__pb2 - - -class MobileDeviceConstantServiceStub(object): - """Proto file describing the mobile device constant service. - - Service to fetch mobile device constants. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetMobileDeviceConstant = channel.unary_unary( - '/google.ads.googleads.v2.services.MobileDeviceConstantService/GetMobileDeviceConstant', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mobile__device__constant__service__pb2.GetMobileDeviceConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__device__constant__pb2.MobileDeviceConstant.FromString, - ) - - -class MobileDeviceConstantServiceServicer(object): - """Proto file describing the mobile device constant service. - - Service to fetch mobile device constants. - """ - - def GetMobileDeviceConstant(self, request, context): - """Returns the requested mobile device constant in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_mobile__device__constant__service__pb2.GetMobileDeviceConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mobile__device__constant__pb2.MobileDeviceConstant.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.MobileDeviceConstantService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/mutate_job_service_pb2.py b/google/ads/google_ads/v2/proto/services/mutate_job_service_pb2.py deleted file mode 100644 index 9dbc4bdbe..000000000 --- a/google/ads/google_ads/v2/proto/services/mutate_job_service_pb2.py +++ /dev/null @@ -1,628 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.resources import mutate_job_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mutate__job__pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 as google_dot_ads_dot_googleads__v2_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 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/mutate_job_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\025MutateJobServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/services/mutate_job_service.proto\x12 google.ads.googleads.v2.services\x1a\x38google/ads/googleads_v2/proto/resources/mutate_job.proto\x1a?google/ads/googleads_v2/proto/services/google_ads_service.proto\x1a\x1cgoogle/api/annotations.proto\x1a#google/longrunning/operations.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.services.MutateOperationResponse\x12\"\n\x06status\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status2\xdd\x08\n\x10MutateJobService\x12\xc2\x01\n\x0f\x43reateMutateJob\x12\x38.google.ads.googleads.v2.services.CreateMutateJobRequest\x1a\x39.google.ads.googleads.v2.services.CreateMutateJobResponse\":\x82\xd3\xe4\x93\x02\x34\"//v2/customers/{customer_id=*}/mutateJobs:create:\x01*\x12\xa9\x01\n\x0cGetMutateJob\x12\x35.google.ads.googleads.v2.services.GetMutateJobRequest\x1a,.google.ads.googleads.v2.resources.MutateJob\"4\x82\xd3\xe4\x93\x02.\x12,/v2/{resource_name=customers/*/mutateJobs/*}\x12\xd7\x01\n\x14ListMutateJobResults\x12=.google.ads.googleads.v2.services.ListMutateJobResultsRequest\x1a>.google.ads.googleads.v2.services.ListMutateJobResultsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/v2/{resource_name=customers/*/mutateJobs/*}:listResults\x12\xfb\x01\n\x0cRunMutateJob\x12\x35.google.ads.googleads.v2.services.RunMutateJobRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02\x35\"0/v2/{resource_name=customers/*/mutateJobs/*}:run:\x01*\xca\x41V\n\x15google.protobuf.Empty\x12=google.ads.googleads.v2.resources.MutateJob.MutateJobMetadata\x12\xe2\x01\n\x16\x41\x64\x64MutateJobOperations\x12?.google.ads.googleads.v2.services.AddMutateJobOperationsRequest\x1a@.google.ads.googleads.v2.services.AddMutateJobOperationsResponse\"E\x82\xd3\xe4\x93\x02?\":/v2/{resource_name=customers/*/mutateJobs/*}:addOperations:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v2.servicesB\x15MutateJobServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mutate__job__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_CREATEMUTATEJOBREQUEST = _descriptor.Descriptor( - name='CreateMutateJobRequest', - full_name='google.ads.googleads.v2.services.CreateMutateJobRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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=341, - serialized_end=386, -) - - -_CREATEMUTATEJOBRESPONSE = _descriptor.Descriptor( - name='CreateMutateJobResponse', - full_name='google.ads.googleads.v2.services.CreateMutateJobResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=388, - serialized_end=436, -) - - -_GETMUTATEJOBREQUEST = _descriptor.Descriptor( - name='GetMutateJobRequest', - full_name='google.ads.googleads.v2.services.GetMutateJobRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=438, - serialized_end=482, -) - - -_RUNMUTATEJOBREQUEST = _descriptor.Descriptor( - name='RunMutateJobRequest', - full_name='google.ads.googleads.v2.services.RunMutateJobRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=484, - serialized_end=528, -) - - -_ADDMUTATEJOBOPERATIONSREQUEST = _descriptor.Descriptor( - name='AddMutateJobOperationsRequest', - full_name='google.ads.googleads.v2.services.AddMutateJobOperationsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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=531, - serialized_end=687, -) - - -_ADDMUTATEJOBOPERATIONSRESPONSE = _descriptor.Descriptor( - name='AddMutateJobOperationsResponse', - full_name='google.ads.googleads.v2.services.AddMutateJobOperationsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='total_operations', full_name='google.ads.googleads.v2.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.v2.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=689, - serialized_end=776, -) - - -_LISTMUTATEJOBRESULTSREQUEST = _descriptor.Descriptor( - name='ListMutateJobResultsRequest', - full_name='google.ads.googleads.v2.services.ListMutateJobResultsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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=778, - serialized_end=869, -) - - -_LISTMUTATEJOBRESULTSRESPONSE = _descriptor.Descriptor( - name='ListMutateJobResultsResponse', - full_name='google.ads.googleads.v2.services.ListMutateJobResultsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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.v2.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=871, - serialized_end=994, -) - - -_MUTATEJOBRESULT = _descriptor.Descriptor( - name='MutateJobResult', - full_name='google.ads.googleads.v2.services.MutateJobResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='operation_index', full_name='google.ads.googleads.v2.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.v2.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.v2.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=997, - serialized_end=1169, -) - -_ADDMUTATEJOBOPERATIONSREQUEST.fields_by_name['mutate_operations'].message_type = google_dot_ads_dot_googleads__v2_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__v2_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_v2.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.v2.services.CreateMutateJobRequest) - )) -_sym_db.RegisterMessage(CreateMutateJobRequest) - -CreateMutateJobResponse = _reflection.GeneratedProtocolMessageType('CreateMutateJobResponse', (_message.Message,), dict( - DESCRIPTOR = _CREATEMUTATEJOBRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.CreateMutateJobResponse) - )) -_sym_db.RegisterMessage(CreateMutateJobResponse) - -GetMutateJobRequest = _reflection.GeneratedProtocolMessageType('GetMutateJobRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMUTATEJOBREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.mutate_job_service_pb2' - , - __doc__ = """Request message for - [MutateJobService.GetMutateJob][google.ads.googleads.v2.services.MutateJobService.GetMutateJob] - - - Attributes: - resource_name: - The resource name of the MutateJob to get. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetMutateJobRequest) - )) -_sym_db.RegisterMessage(GetMutateJobRequest) - -RunMutateJobRequest = _reflection.GeneratedProtocolMessageType('RunMutateJobRequest', (_message.Message,), dict( - DESCRIPTOR = _RUNMUTATEJOBREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.mutate_job_service_pb2' - , - __doc__ = """Request message for - [MutateJobService.RunMutateJob][google.ads.googleads.v2.services.MutateJobService.RunMutateJob] - - - Attributes: - resource_name: - The resource name of the MutateJob to run. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.RunMutateJobRequest) - )) -_sym_db.RegisterMessage(RunMutateJobRequest) - -AddMutateJobOperationsRequest = _reflection.GeneratedProtocolMessageType('AddMutateJobOperationsRequest', (_message.Message,), dict( - DESCRIPTOR = _ADDMUTATEJOBOPERATIONSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.mutate_job_service_pb2' - , - __doc__ = """Request message for - [MutateJobService.AddMutateJobOperations][google.ads.googleads.v2.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.v2.services.AddMutateJobOperationsRequest) - )) -_sym_db.RegisterMessage(AddMutateJobOperationsRequest) - -AddMutateJobOperationsResponse = _reflection.GeneratedProtocolMessageType('AddMutateJobOperationsResponse', (_message.Message,), dict( - DESCRIPTOR = _ADDMUTATEJOBOPERATIONSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.mutate_job_service_pb2' - , - __doc__ = """Response message for - [MutateJobService.AddMutateJobOperations][google.ads.googleads.v2.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.v2.services.AddMutateJobOperationsResponse) - )) -_sym_db.RegisterMessage(AddMutateJobOperationsResponse) - -ListMutateJobResultsRequest = _reflection.GeneratedProtocolMessageType('ListMutateJobResultsRequest', (_message.Message,), dict( - DESCRIPTOR = _LISTMUTATEJOBRESULTSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.mutate_job_service_pb2' - , - __doc__ = """Request message for - [MutateJobService.ListMutateJobResults][google.ads.googleads.v2.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.v2.services.ListMutateJobResultsRequest) - )) -_sym_db.RegisterMessage(ListMutateJobResultsRequest) - -ListMutateJobResultsResponse = _reflection.GeneratedProtocolMessageType('ListMutateJobResultsResponse', (_message.Message,), dict( - DESCRIPTOR = _LISTMUTATEJOBRESULTSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.mutate_job_service_pb2' - , - __doc__ = """Response message for - [MutateJobService.ListMutateJobResults][google.ads.googleads.v2.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.v2.services.ListMutateJobResultsResponse) - )) -_sym_db.RegisterMessage(ListMutateJobResultsResponse) - -MutateJobResult = _reflection.GeneratedProtocolMessageType('MutateJobResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEJOBRESULT, - __module__ = 'google.ads.googleads_v2.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.v2.services.MutateJobResult) - )) -_sym_db.RegisterMessage(MutateJobResult) - - -DESCRIPTOR._options = None - -_MUTATEJOBSERVICE = _descriptor.ServiceDescriptor( - name='MutateJobService', - full_name='google.ads.googleads.v2.services.MutateJobService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=1172, - serialized_end=2289, - methods=[ - _descriptor.MethodDescriptor( - name='CreateMutateJob', - full_name='google.ads.googleads.v2.services.MutateJobService.CreateMutateJob', - index=0, - containing_service=None, - input_type=_CREATEMUTATEJOBREQUEST, - output_type=_CREATEMUTATEJOBRESPONSE, - serialized_options=_b('\202\323\344\223\0024\"//v2/customers/{customer_id=*}/mutateJobs:create:\001*'), - ), - _descriptor.MethodDescriptor( - name='GetMutateJob', - full_name='google.ads.googleads.v2.services.MutateJobService.GetMutateJob', - index=1, - containing_service=None, - input_type=_GETMUTATEJOBREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mutate__job__pb2._MUTATEJOB, - serialized_options=_b('\202\323\344\223\002.\022,/v2/{resource_name=customers/*/mutateJobs/*}'), - ), - _descriptor.MethodDescriptor( - name='ListMutateJobResults', - full_name='google.ads.googleads.v2.services.MutateJobService.ListMutateJobResults', - index=2, - containing_service=None, - input_type=_LISTMUTATEJOBRESULTSREQUEST, - output_type=_LISTMUTATEJOBRESULTSRESPONSE, - serialized_options=_b('\202\323\344\223\002:\0228/v2/{resource_name=customers/*/mutateJobs/*}:listResults'), - ), - _descriptor.MethodDescriptor( - name='RunMutateJob', - full_name='google.ads.googleads.v2.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/v2/{resource_name=customers/*/mutateJobs/*}:run:\001*\312AV\n\025google.protobuf.Empty\022=google.ads.googleads.v2.resources.MutateJob.MutateJobMetadata'), - ), - _descriptor.MethodDescriptor( - name='AddMutateJobOperations', - full_name='google.ads.googleads.v2.services.MutateJobService.AddMutateJobOperations', - index=4, - containing_service=None, - input_type=_ADDMUTATEJOBOPERATIONSREQUEST, - output_type=_ADDMUTATEJOBOPERATIONSRESPONSE, - serialized_options=_b('\202\323\344\223\002?\":/v2/{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/v2/proto/services/mutate_job_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/mutate_job_service_pb2_grpc.py deleted file mode 100644 index a997b3390..000000000 --- a/google/ads/google_ads/v2/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.v2.proto.resources import mutate_job_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mutate__job__pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 as google_dot_ads_dot_googleads__v2_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.v2.services.MutateJobService/CreateMutateJob', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.CreateMutateJobRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.CreateMutateJobResponse.FromString, - ) - self.GetMutateJob = channel.unary_unary( - '/google.ads.googleads.v2.services.MutateJobService/GetMutateJob', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.GetMutateJobRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_mutate__job__pb2.MutateJob.FromString, - ) - self.ListMutateJobResults = channel.unary_unary( - '/google.ads.googleads.v2.services.MutateJobService/ListMutateJobResults', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.ListMutateJobResultsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.ListMutateJobResultsResponse.FromString, - ) - self.RunMutateJob = channel.unary_unary( - '/google.ads.googleads.v2.services.MutateJobService/RunMutateJob', - request_serializer=google_dot_ads_dot_googleads__v2_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.v2.services.MutateJobService/AddMutateJobOperations', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.AddMutateJobOperationsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.CreateMutateJobRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.GetMutateJobRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.ListMutateJobResultsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_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__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.AddMutateJobOperationsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_mutate__job__service__pb2.AddMutateJobOperationsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.MutateJobService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/operating_system_version_constant_service_pb2.py b/google/ads/google_ads/v2/proto/services/operating_system_version_constant_service_pb2.py deleted file mode 100644 index c2eed7f1d..000000000 --- a/google/ads/google_ads/v2/proto/services/operating_system_version_constant_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_v2/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.v2.proto.resources import operating_system_version_constant_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/operating_system_version_constant_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB*OperatingSystemVersionConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nVgoogle/ads/googleads_v2/proto/services/operating_system_version_constant_service.proto\x12 google.ads.googleads.v2.services\x1aOgoogle/ads/googleads_v2/proto/resources/operating_system_version_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"A\n(GetOperatingSystemVersionConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb8\x02\n%OperatingSystemVersionConstantService\x12\xf1\x01\n!GetOperatingSystemVersionConstant\x12J.google.ads.googleads.v2.services.GetOperatingSystemVersionConstantRequest\x1a\x41.google.ads.googleads.v2.resources.OperatingSystemVersionConstant\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=operatingSystemVersionConstants/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x91\x02\n$com.google.ads.googleads.v2.servicesB*OperatingSystemVersionConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,]) - - - - -_GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST = _descriptor.Descriptor( - name='GetOperatingSystemVersionConstantRequest', - full_name='google.ads.googleads.v2.services.GetOperatingSystemVersionConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=260, - serialized_end=325, -) - -DESCRIPTOR.message_types_by_name['GetOperatingSystemVersionConstantRequest'] = _GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetOperatingSystemVersionConstantRequest = _reflection.GeneratedProtocolMessageType('GetOperatingSystemVersionConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.operating_system_version_constant_service_pb2' - , - __doc__ = """Request message for - [OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant][google.ads.googleads.v2.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant]. - - - Attributes: - resource_name: - Resource name of the OS version to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetOperatingSystemVersionConstantRequest) - )) -_sym_db.RegisterMessage(GetOperatingSystemVersionConstantRequest) - - -DESCRIPTOR._options = None - -_OPERATINGSYSTEMVERSIONCONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='OperatingSystemVersionConstantService', - full_name='google.ads.googleads.v2.services.OperatingSystemVersionConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=328, - serialized_end=640, - methods=[ - _descriptor.MethodDescriptor( - name='GetOperatingSystemVersionConstant', - full_name='google.ads.googleads.v2.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant', - index=0, - containing_service=None, - input_type=_GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_operating__system__version__constant__pb2._OPERATINGSYSTEMVERSIONCONSTANT, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{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/v2/proto/services/operating_system_version_constant_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/operating_system_version_constant_service_pb2_grpc.py deleted file mode 100644 index 7ad92292a..000000000 --- a/google/ads/google_ads/v2/proto/services/operating_system_version_constant_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_operating__system__version__constant__pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_operating__system__version__constant__service__pb2 - - -class OperatingSystemVersionConstantServiceStub(object): - """Proto file describing the OS version constant service - - Service to fetch Operating System Version constants. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetOperatingSystemVersionConstant = channel.unary_unary( - '/google.ads.googleads.v2.services.OperatingSystemVersionConstantService/GetOperatingSystemVersionConstant', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_operating__system__version__constant__service__pb2.GetOperatingSystemVersionConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.OperatingSystemVersionConstant.FromString, - ) - - -class OperatingSystemVersionConstantServiceServicer(object): - """Proto file describing the OS version constant service - - Service to fetch Operating System Version constants. - """ - - def GetOperatingSystemVersionConstant(self, request, context): - """Returns the requested OS version constant in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_operating__system__version__constant__service__pb2.GetOperatingSystemVersionConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.OperatingSystemVersionConstant.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.OperatingSystemVersionConstantService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/paid_organic_search_term_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/paid_organic_search_term_view_service_pb2.py deleted file mode 100644 index f42e31eba..000000000 --- a/google/ads/google_ads/v2/proto/services/paid_organic_search_term_view_service_pb2.py +++ /dev/null @@ -1,109 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.resources import paid_organic_search_term_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/paid_organic_search_term_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB%PaidOrganicSearchTermViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nRgoogle/ads/googleads_v2/proto/services/paid_organic_search_term_view_service.proto\x12 google.ads.googleads.v2.services\x1aKgoogle/ads/googleads_v2/proto/resources/paid_organic_search_term_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"<\n#GetPaidOrganicSearchTermViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xab\x02\n PaidOrganicSearchTermViewService\x12\xe9\x01\n\x1cGetPaidOrganicSearchTermView\x12\x45.google.ads.googleads.v2.services.GetPaidOrganicSearchTermViewRequest\x1a<.google.ads.googleads.v2.resources.PaidOrganicSearchTermView\"D\x82\xd3\xe4\x93\x02>\x12\022.google.ads.googleads.v2.services.GetParentalStatusViewRequest\x1a\x35.google.ads.googleads.v2.resources.ParentalStatusView\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=customers/*/parentalStatusViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v2.servicesB\x1eParentalStatusViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_parental__status__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETPARENTALSTATUSVIEWREQUEST = _descriptor.Descriptor( - name='GetParentalStatusViewRequest', - full_name='google.ads.googleads.v2.services.GetParentalStatusViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=234, - serialized_end=287, -) - -DESCRIPTOR.message_types_by_name['GetParentalStatusViewRequest'] = _GETPARENTALSTATUSVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetParentalStatusViewRequest = _reflection.GeneratedProtocolMessageType('GetParentalStatusViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETPARENTALSTATUSVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.parental_status_view_service_pb2' - , - __doc__ = """Request message for - [ParentalStatusViewService.GetParentalStatusView][google.ads.googleads.v2.services.ParentalStatusViewService.GetParentalStatusView]. - - - Attributes: - resource_name: - The resource name of the parental status view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetParentalStatusViewRequest) - )) -_sym_db.RegisterMessage(GetParentalStatusViewRequest) - - -DESCRIPTOR._options = None - -_PARENTALSTATUSVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ParentalStatusViewService', - full_name='google.ads.googleads.v2.services.ParentalStatusViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=290, - serialized_end=554, - methods=[ - _descriptor.MethodDescriptor( - name='GetParentalStatusView', - full_name='google.ads.googleads.v2.services.ParentalStatusViewService.GetParentalStatusView', - index=0, - containing_service=None, - input_type=_GETPARENTALSTATUSVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_parental__status__view__pb2._PARENTALSTATUSVIEW, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{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/v2/proto/services/parental_status_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/parental_status_view_service_pb2_grpc.py deleted file mode 100644 index 3dd5d2076..000000000 --- a/google/ads/google_ads/v2/proto/services/parental_status_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_parental__status__view__pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_parental__status__view__service__pb2 - - -class ParentalStatusViewServiceStub(object): - """Proto file describing the Parental Status View service. - - Service to manage parental status views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetParentalStatusView = channel.unary_unary( - '/google.ads.googleads.v2.services.ParentalStatusViewService/GetParentalStatusView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_parental__status__view__service__pb2.GetParentalStatusViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_parental__status__view__pb2.ParentalStatusView.FromString, - ) - - -class ParentalStatusViewServiceServicer(object): - """Proto file describing the Parental Status View service. - - Service to manage parental status views. - """ - - def GetParentalStatusView(self, request, context): - """Returns the requested parental status view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_parental__status__view__service__pb2.GetParentalStatusViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_parental__status__view__pb2.ParentalStatusView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ParentalStatusViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/payments_account_service_pb2.py b/google/ads/google_ads/v2/proto/services/payments_account_service_pb2.py deleted file mode 100644 index 038d7315a..000000000 --- a/google/ads/google_ads/v2/proto/services/payments_account_service_pb2.py +++ /dev/null @@ -1,157 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/payments_account_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.v2.proto.resources import payments_account_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/payments_account_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\033PaymentsAccountServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/services/payments_account_service.proto\x12 google.ads.googleads.v2.services\x1a>google/ads/googleads_v2/proto/resources/payments_account.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.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.v2.resources.PaymentsAccount2\x85\x02\n\x16PaymentsAccountService\x12\xcd\x01\n\x14ListPaymentsAccounts\x12=.google.ads.googleads.v2.services.ListPaymentsAccountsRequest\x1a>.google.ads.googleads.v2.services.ListPaymentsAccountsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./v2/customers/{customer_id=*}/paymentsAccounts\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v2.servicesB\x1bPaymentsAccountServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_payments__account__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_LISTPAYMENTSACCOUNTSREQUEST = _descriptor.Descriptor( - name='ListPaymentsAccountsRequest', - full_name='google.ads.googleads.v2.services.ListPaymentsAccountsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=226, - serialized_end=276, -) - - -_LISTPAYMENTSACCOUNTSRESPONSE = _descriptor.Descriptor( - name='ListPaymentsAccountsResponse', - full_name='google.ads.googleads.v2.services.ListPaymentsAccountsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='payments_accounts', full_name='google.ads.googleads.v2.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, - 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=387, -) - -_LISTPAYMENTSACCOUNTSRESPONSE.fields_by_name['payments_accounts'].message_type = google_dot_ads_dot_googleads__v2_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_v2.proto.services.payments_account_service_pb2' - , - __doc__ = """Request message for fetching all accessible payments accounts. - - - Attributes: - customer_id: - The ID of the customer to apply the PaymentsAccount list - operation to. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ListPaymentsAccountsRequest) - )) -_sym_db.RegisterMessage(ListPaymentsAccountsRequest) - -ListPaymentsAccountsResponse = _reflection.GeneratedProtocolMessageType('ListPaymentsAccountsResponse', (_message.Message,), dict( - DESCRIPTOR = _LISTPAYMENTSACCOUNTSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.payments_account_service_pb2' - , - __doc__ = """Response message for - [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v2.services.PaymentsAccountService.ListPaymentsAccounts]. - - - Attributes: - payments_accounts: - The list of accessible payments accounts. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ListPaymentsAccountsResponse) - )) -_sym_db.RegisterMessage(ListPaymentsAccountsResponse) - - -DESCRIPTOR._options = None - -_PAYMENTSACCOUNTSERVICE = _descriptor.ServiceDescriptor( - name='PaymentsAccountService', - full_name='google.ads.googleads.v2.services.PaymentsAccountService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=390, - serialized_end=651, - methods=[ - _descriptor.MethodDescriptor( - name='ListPaymentsAccounts', - full_name='google.ads.googleads.v2.services.PaymentsAccountService.ListPaymentsAccounts', - index=0, - containing_service=None, - input_type=_LISTPAYMENTSACCOUNTSREQUEST, - output_type=_LISTPAYMENTSACCOUNTSRESPONSE, - serialized_options=_b('\202\323\344\223\0020\022./v2/customers/{customer_id=*}/paymentsAccounts'), - ), -]) -_sym_db.RegisterServiceDescriptor(_PAYMENTSACCOUNTSERVICE) - -DESCRIPTOR.services_by_name['PaymentsAccountService'] = _PAYMENTSACCOUNTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/payments_account_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/payments_account_service_pb2_grpc.py deleted file mode 100644 index 79892f308..000000000 --- a/google/ads/google_ads/v2/proto/services/payments_account_service_pb2_grpc.py +++ /dev/null @@ -1,54 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_payments__account__service__pb2 - - -class PaymentsAccountServiceStub(object): - """Proto file describing the payments account service. - - Service to provide payments accounts that can be used to set up consolidated - billing. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.ListPaymentsAccounts = channel.unary_unary( - '/google.ads.googleads.v2.services.PaymentsAccountService/ListPaymentsAccounts', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsResponse.FromString, - ) - - -class PaymentsAccountServiceServicer(object): - """Proto file describing the payments account service. - - 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 - between the login customer ID and specified serving customer in the - hierarchy, inclusive. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.PaymentsAccountService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/product_bidding_category_constant_service_pb2.py b/google/ads/google_ads/v2/proto/services/product_bidding_category_constant_service_pb2.py deleted file mode 100644 index c82391836..000000000 --- a/google/ads/google_ads/v2/proto/services/product_bidding_category_constant_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_v2/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.v2.proto.resources import product_bidding_category_constant_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/product_bidding_category_constant_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB*ProductBiddingCategoryConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nVgoogle/ads/googleads_v2/proto/services/product_bidding_category_constant_service.proto\x12 google.ads.googleads.v2.services\x1aOgoogle/ads/googleads_v2/proto/resources/product_bidding_category_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"A\n(GetProductBiddingCategoryConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb8\x02\n%ProductBiddingCategoryConstantService\x12\xf1\x01\n!GetProductBiddingCategoryConstant\x12J.google.ads.googleads.v2.services.GetProductBiddingCategoryConstantRequest\x1a\x41.google.ads.googleads.v2.resources.ProductBiddingCategoryConstant\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{resource_name=productBiddingCategoryConstants/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x91\x02\n$com.google.ads.googleads.v2.servicesB*ProductBiddingCategoryConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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,]) - - - - -_GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST = _descriptor.Descriptor( - name='GetProductBiddingCategoryConstantRequest', - full_name='google.ads.googleads.v2.services.GetProductBiddingCategoryConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=260, - serialized_end=325, -) - -DESCRIPTOR.message_types_by_name['GetProductBiddingCategoryConstantRequest'] = _GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetProductBiddingCategoryConstantRequest = _reflection.GeneratedProtocolMessageType('GetProductBiddingCategoryConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v2.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.v2.services.GetProductBiddingCategoryConstantRequest) - )) -_sym_db.RegisterMessage(GetProductBiddingCategoryConstantRequest) - - -DESCRIPTOR._options = None - -_PRODUCTBIDDINGCATEGORYCONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='ProductBiddingCategoryConstantService', - full_name='google.ads.googleads.v2.services.ProductBiddingCategoryConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=328, - serialized_end=640, - methods=[ - _descriptor.MethodDescriptor( - name='GetProductBiddingCategoryConstant', - full_name='google.ads.googleads.v2.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant', - index=0, - containing_service=None, - input_type=_GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2._PRODUCTBIDDINGCATEGORYCONSTANT, - serialized_options=_b('\202\323\344\223\0027\0225/v2/{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/v2/proto/services/product_bidding_category_constant_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/product_bidding_category_constant_service_pb2_grpc.py deleted file mode 100644 index a7c44e047..000000000 --- a/google/ads/google_ads/v2/proto/services/product_bidding_category_constant_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_product__bidding__category__constant__service__pb2 - - -class ProductBiddingCategoryConstantServiceStub(object): - """Proto file describing the Product Bidding Category constant service - - Service to fetch Product Bidding Categories. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetProductBiddingCategoryConstant = channel.unary_unary( - '/google.ads.googleads.v2.services.ProductBiddingCategoryConstantService/GetProductBiddingCategoryConstant', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_product__bidding__category__constant__service__pb2.GetProductBiddingCategoryConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.ProductBiddingCategoryConstant.FromString, - ) - - -class ProductBiddingCategoryConstantServiceServicer(object): - """Proto file describing the Product Bidding Category constant service - - Service to fetch Product Bidding Categories. - """ - - def GetProductBiddingCategoryConstant(self, request, context): - """Returns the requested Product Bidding Category in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_product__bidding__category__constant__service__pb2.GetProductBiddingCategoryConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.ProductBiddingCategoryConstant.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ProductBiddingCategoryConstantService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/product_group_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/product_group_view_service_pb2.py deleted file mode 100644 index 2b3b0d7c5..000000000 --- a/google/ads/google_ads/v2/proto/services/product_group_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_v2/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.v2.proto.resources import product_group_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/product_group_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\034ProductGroupViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nGgoogle/ads/googleads_v2/proto/services/product_group_view_service.proto\x12 google.ads.googleads.v2.services\x1a@google/ads/googleads_v2/proto/resources/product_group_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"3\n\x1aGetProductGroupViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xfe\x01\n\x17ProductGroupViewService\x12\xc5\x01\n\x13GetProductGroupView\x12<.google.ads.googleads.v2.services.GetProductGroupViewRequest\x1a\x33.google.ads.googleads.v2.resources.ProductGroupView\";\x82\xd3\xe4\x93\x02\x35\x12\x33/v2/{resource_name=customers/*/productGroupViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v2.servicesB\x1cProductGroupViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__group__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETPRODUCTGROUPVIEWREQUEST = _descriptor.Descriptor( - name='GetProductGroupViewRequest', - full_name='google.ads.googleads.v2.services.GetProductGroupViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=230, - serialized_end=281, -) - -DESCRIPTOR.message_types_by_name['GetProductGroupViewRequest'] = _GETPRODUCTGROUPVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetProductGroupViewRequest = _reflection.GeneratedProtocolMessageType('GetProductGroupViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETPRODUCTGROUPVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.product_group_view_service_pb2' - , - __doc__ = """Request message for - [ProductGroupViewService.GetProductGroupView][google.ads.googleads.v2.services.ProductGroupViewService.GetProductGroupView]. - - - Attributes: - resource_name: - The resource name of the product group view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetProductGroupViewRequest) - )) -_sym_db.RegisterMessage(GetProductGroupViewRequest) - - -DESCRIPTOR._options = None - -_PRODUCTGROUPVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ProductGroupViewService', - full_name='google.ads.googleads.v2.services.ProductGroupViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=284, - serialized_end=538, - methods=[ - _descriptor.MethodDescriptor( - name='GetProductGroupView', - full_name='google.ads.googleads.v2.services.ProductGroupViewService.GetProductGroupView', - index=0, - containing_service=None, - input_type=_GETPRODUCTGROUPVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__group__view__pb2._PRODUCTGROUPVIEW, - serialized_options=_b('\202\323\344\223\0025\0223/v2/{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/v2/proto/services/product_group_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/product_group_view_service_pb2_grpc.py deleted file mode 100644 index 23b5574c1..000000000 --- a/google/ads/google_ads/v2/proto/services/product_group_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__group__view__pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_product__group__view__service__pb2 - - -class ProductGroupViewServiceStub(object): - """Proto file describing the ProductGroup View service. - - Service to manage product group views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetProductGroupView = channel.unary_unary( - '/google.ads.googleads.v2.services.ProductGroupViewService/GetProductGroupView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_product__group__view__service__pb2.GetProductGroupViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__group__view__pb2.ProductGroupView.FromString, - ) - - -class ProductGroupViewServiceServicer(object): - """Proto file describing the ProductGroup View service. - - Service to manage product group views. - """ - - def GetProductGroupView(self, request, context): - """Returns the requested product group view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_product__group__view__service__pb2.GetProductGroupViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_product__group__view__pb2.ProductGroupView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ProductGroupViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/reach_plan_service_pb2.py b/google/ads/google_ads/v2/proto/services/reach_plan_service_pb2.py deleted file mode 100644 index b68470420..000000000 --- a/google/ads/google_ads/v2/proto/services/reach_plan_service_pb2.py +++ /dev/null @@ -1,1408 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/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.v2.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v2.proto.enums import reach_plan_ad_length_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_reach__plan__ad__length__pb2 -from google.ads.google_ads.v2.proto.enums import reach_plan_age_range_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_reach__plan__age__range__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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/reach_plan_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\025ReachPlanServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/services/reach_plan_service.proto\x12 google.ads.googleads.v2.services\x1a\x33google/ads/googleads_v2/proto/common/criteria.proto\x1a>google/ads/googleads_v2/proto/enums/reach_plan_ad_length.proto\x1a>google/ads/googleads_v2/proto/enums/reach_plan_age_range.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/api/client.proto\"\x1f\n\x1dListPlannableLocationsRequest\"r\n\x1eListPlannableLocationsResponse\x12P\n\x13plannable_locations\x18\x01 \x03(\x0b\x32\x33.google.ads.googleads.v2.services.PlannableLocation\"\xa1\x01\n\x11PlannableLocation\x12(\n\x02id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x11parent_country_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"[\n\x1cListPlannableProductsRequest\x12;\n\x15plannable_location_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"l\n\x1dListPlannableProductsResponse\x12K\n\x10product_metadata\x18\x01 \x03(\x0b\x32\x31.google.ads.googleads.v2.services.ProductMetadata\"\xa2\x01\n\x0fProductMetadata\x12<\n\x16plannable_product_code\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Q\n\x13plannable_targeting\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v2.services.PlannableTargeting\"\xea\x01\n\x12PlannableTargeting\x12Z\n\nage_ranges\x18\x01 \x03(\x0e\x32\x46.google.ads.googleads.v2.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange\x12;\n\x07genders\x18\x02 \x03(\x0b\x32*.google.ads.googleads.v2.common.GenderInfo\x12;\n\x07\x64\x65vices\x18\x03 \x03(\x0b\x32*.google.ads.googleads.v2.common.DeviceInfo\"\x9f\x02\n\x1eGenerateProductMixIdeasRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12;\n\x15plannable_location_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rcurrency_code\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\rbudget_micros\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x42\n\x0bpreferences\x18\x05 \x01(\x0b\x32-.google.ads.googleads.v2.services.Preferences\"\xc1\x02\n\x0bPreferences\x12\x30\n\x0cis_skippable\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x35\n\x11starts_with_sound\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12Y\n\tad_length\x18\x03 \x01(\x0e\x32\x46.google.ads.googleads.v2.enums.ReachPlanAdLengthEnum.ReachPlanAdLength\x12\x34\n\x10top_content_only\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x38\n\x14has_guaranteed_price\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"r\n\x1fGenerateProductMixIdeasResponse\x12O\n\x12product_allocation\x18\x01 \x03(\x0b\x32\x33.google.ads.googleads.v2.services.ProductAllocation\"\x85\x01\n\x11ProductAllocation\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\"\xbc\x03\n\x1cGenerateReachForecastRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\x33\n\rcurrency_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12M\n\x11\x63\x61mpaign_duration\x18\x03 \x01(\x0b\x32\x32.google.ads.googleads.v2.services.CampaignDuration\x12\x39\n\x14\x63ookie_frequency_cap\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12<\n\x17min_effective_frequency\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12>\n\ttargeting\x18\x06 \x01(\x0b\x32+.google.ads.googleads.v2.services.Targeting\x12J\n\x10planned_products\x18\x07 \x03(\x0b\x32\x30.google.ads.googleads.v2.services.PlannedProduct\"\x9d\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.v2.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange\x12;\n\x07genders\x18\x03 \x03(\x0b\x32*.google.ads.googleads.v2.common.GenderInfo\x12;\n\x07\x64\x65vices\x18\x04 \x03(\x0b\x32*.google.ads.googleads.v2.common.DeviceInfo\"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.v2.services.OnTargetAudienceMetrics\x12\x41\n\x0breach_curve\x18\x02 \x01(\x0b\x32,.google.ads.googleads.v2.services.ReachCurve\"V\n\nReachCurve\x12H\n\x0freach_forecasts\x18\x01 \x03(\x0b\x32/.google.ads.googleads.v2.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.v2.services.Forecast\x12[\n\x1e\x66orecasted_product_allocations\x18\x03 \x03(\x0b\x32\x33.google.ads.googleads.v2.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\xf3\x06\n\x10ReachPlanService\x12\xc2\x01\n\x16ListPlannableLocations\x12?.google.ads.googleads.v2.services.ListPlannableLocationsRequest\x1a@.google.ads.googleads.v2.services.ListPlannableLocationsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v2:listPlannableLocations:\x01*\x12\xbe\x01\n\x15ListPlannableProducts\x12>.google.ads.googleads.v2.services.ListPlannableProductsRequest\x1a?.google.ads.googleads.v2.services.ListPlannableProductsResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v2:listPlannableProducts:\x01*\x12\xe0\x01\n\x17GenerateProductMixIdeas\x12@.google.ads.googleads.v2.services.GenerateProductMixIdeasRequest\x1a\x41.google.ads.googleads.v2.services.GenerateProductMixIdeasResponse\"@\x82\xd3\xe4\x93\x02:\"5/v2/customers/{customer_id=*}:generateProductMixIdeas:\x01*\x12\xd8\x01\n\x15GenerateReachForecast\x12>.google.ads.googleads.v2.services.GenerateReachForecastRequest\x1a?.google.ads.googleads.v2.services.GenerateReachForecastResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v2/customers/{customer_id=*}:generateReachForecast:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v2.servicesB\x15ReachPlanServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_reach__plan__ad__length__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_reach__plan__age__range__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_LISTPLANNABLELOCATIONSREQUEST = _descriptor.Descriptor( - name='ListPlannableLocationsRequest', - full_name='google.ads.googleads.v2.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=369, - serialized_end=400, -) - - -_LISTPLANNABLELOCATIONSRESPONSE = _descriptor.Descriptor( - name='ListPlannableLocationsResponse', - full_name='google.ads.googleads.v2.services.ListPlannableLocationsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='plannable_locations', full_name='google.ads.googleads.v2.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=402, - serialized_end=516, -) - - -_PLANNABLELOCATION = _descriptor.Descriptor( - name='PlannableLocation', - full_name='google.ads.googleads.v2.services.PlannableLocation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v2.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.v2.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.v2.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=519, - serialized_end=680, -) - - -_LISTPLANNABLEPRODUCTSREQUEST = _descriptor.Descriptor( - name='ListPlannableProductsRequest', - full_name='google.ads.googleads.v2.services.ListPlannableProductsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='plannable_location_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=682, - serialized_end=773, -) - - -_LISTPLANNABLEPRODUCTSRESPONSE = _descriptor.Descriptor( - name='ListPlannableProductsResponse', - full_name='google.ads.googleads.v2.services.ListPlannableProductsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='product_metadata', full_name='google.ads.googleads.v2.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=775, - serialized_end=883, -) - - -_PRODUCTMETADATA = _descriptor.Descriptor( - name='ProductMetadata', - full_name='google.ads.googleads.v2.services.ProductMetadata', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='plannable_product_code', full_name='google.ads.googleads.v2.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.v2.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=886, - serialized_end=1048, -) - - -_PLANNABLETARGETING = _descriptor.Descriptor( - name='PlannableTargeting', - full_name='google.ads.googleads.v2.services.PlannableTargeting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='age_ranges', full_name='google.ads.googleads.v2.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.v2.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.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1051, - serialized_end=1285, -) - - -_GENERATEPRODUCTMIXIDEASREQUEST = _descriptor.Descriptor( - name='GenerateProductMixIdeasRequest', - full_name='google.ads.googleads.v2.services.GenerateProductMixIdeasRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='plannable_location_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='budget_micros', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='preferences', full_name='google.ads.googleads.v2.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=1288, - serialized_end=1575, -) - - -_PREFERENCES = _descriptor.Descriptor( - name='Preferences', - full_name='google.ads.googleads.v2.services.Preferences', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='is_skippable', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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=1578, - serialized_end=1899, -) - - -_GENERATEPRODUCTMIXIDEASRESPONSE = _descriptor.Descriptor( - name='GenerateProductMixIdeasResponse', - full_name='google.ads.googleads.v2.services.GenerateProductMixIdeasResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='product_allocation', full_name='google.ads.googleads.v2.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=1901, - serialized_end=2015, -) - - -_PRODUCTALLOCATION = _descriptor.Descriptor( - name='ProductAllocation', - full_name='google.ads.googleads.v2.services.ProductAllocation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='plannable_product_code', full_name='google.ads.googleads.v2.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.v2.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=2018, - serialized_end=2151, -) - - -_GENERATEREACHFORECASTREQUEST = _descriptor.Descriptor( - name='GenerateReachForecastRequest', - full_name='google.ads.googleads.v2.services.GenerateReachForecastRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v2.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.v2.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=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cookie_frequency_cap', full_name='google.ads.googleads.v2.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='min_effective_frequency', full_name='google.ads.googleads.v2.services.GenerateReachForecastRequest.min_effective_frequency', 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='targeting', full_name='google.ads.googleads.v2.services.GenerateReachForecastRequest.targeting', 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='planned_products', full_name='google.ads.googleads.v2.services.GenerateReachForecastRequest.planned_products', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2154, - serialized_end=2598, -) - - -_TARGETING = _descriptor.Descriptor( - name='Targeting', - full_name='google.ads.googleads.v2.services.Targeting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='plannable_location_id', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2601, - serialized_end=2886, -) - - -_CAMPAIGNDURATION = _descriptor.Descriptor( - name='CampaignDuration', - full_name='google.ads.googleads.v2.services.CampaignDuration', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='duration_in_days', full_name='google.ads.googleads.v2.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=2888, - serialized_end=2961, -) - - -_PLANNEDPRODUCT = _descriptor.Descriptor( - name='PlannedProduct', - full_name='google.ads.googleads.v2.services.PlannedProduct', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='plannable_product_code', full_name='google.ads.googleads.v2.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.v2.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=2964, - serialized_end=3094, -) - - -_GENERATEREACHFORECASTRESPONSE = _descriptor.Descriptor( - name='GenerateReachForecastResponse', - full_name='google.ads.googleads.v2.services.GenerateReachForecastResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='on_target_audience_metrics', full_name='google.ads.googleads.v2.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.v2.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=3097, - serialized_end=3290, -) - - -_REACHCURVE = _descriptor.Descriptor( - name='ReachCurve', - full_name='google.ads.googleads.v2.services.ReachCurve', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='reach_forecasts', full_name='google.ads.googleads.v2.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=3292, - serialized_end=3378, -) - - -_REACHFORECAST = _descriptor.Descriptor( - name='ReachForecast', - full_name='google.ads.googleads.v2.services.ReachForecast', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='cost_micros', full_name='google.ads.googleads.v2.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.v2.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.v2.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=3381, - serialized_end=3601, -) - - -_FORECAST = _descriptor.Descriptor( - name='Forecast', - full_name='google.ads.googleads.v2.services.Forecast', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='on_target_reach', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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=3604, - serialized_end=3834, -) - - -_ONTARGETAUDIENCEMETRICS = _descriptor.Descriptor( - name='OnTargetAudienceMetrics', - full_name='google.ads.googleads.v2.services.OnTargetAudienceMetrics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='youtube_audience_size', full_name='google.ads.googleads.v2.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.v2.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=3837, - serialized_end=3981, -) - -_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__v2_dot_proto_dot_enums_dot_reach__plan__age__range__pb2._REACHPLANAGERANGEENUM_REACHPLANAGERANGE -_PLANNABLETARGETING.fields_by_name['genders'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO -_PLANNABLETARGETING.fields_by_name['devices'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO -_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__v2_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['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 -_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__v2_dot_proto_dot_enums_dot_reach__plan__age__range__pb2._REACHPLANAGERANGEENUM_REACHPLANAGERANGE -_TARGETING.fields_by_name['genders'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO -_TARGETING.fields_by_name['devices'].message_type = google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO -_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['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_v2.proto.services.reach_plan_service_pb2' - , - __doc__ = """Request message for [ReachForecastService.ListPlannableLocations][] - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ListPlannableLocationsRequest) - )) -_sym_db.RegisterMessage(ListPlannableLocationsRequest) - -ListPlannableLocationsResponse = _reflection.GeneratedProtocolMessageType('ListPlannableLocationsResponse', (_message.Message,), dict( - DESCRIPTOR = _LISTPLANNABLELOCATIONSRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.ListPlannableLocationsResponse) - )) -_sym_db.RegisterMessage(ListPlannableLocationsResponse) - -PlannableLocation = _reflection.GeneratedProtocolMessageType('PlannableLocation', (_message.Message,), dict( - DESCRIPTOR = _PLANNABLELOCATION, - __module__ = 'google.ads.googleads_v2.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.v2.services.PlannableLocation) - )) -_sym_db.RegisterMessage(PlannableLocation) - -ListPlannableProductsRequest = _reflection.GeneratedProtocolMessageType('ListPlannableProductsRequest', (_message.Message,), dict( - DESCRIPTOR = _LISTPLANNABLEPRODUCTSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.reach_plan_service_pb2' - , - __doc__ = """Request to list available products in a given location. - - - Attributes: - plannable_location_id: - 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.v2.services.ListPlannableProductsRequest) - )) -_sym_db.RegisterMessage(ListPlannableProductsRequest) - -ListPlannableProductsResponse = _reflection.GeneratedProtocolMessageType('ListPlannableProductsResponse', (_message.Message,), dict( - DESCRIPTOR = _LISTPLANNABLEPRODUCTSRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.ListPlannableProductsResponse) - )) -_sym_db.RegisterMessage(ListPlannableProductsResponse) - -ProductMetadata = _reflection.GeneratedProtocolMessageType('ProductMetadata', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTMETADATA, - __module__ = 'google.ads.googleads_v2.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.v2.services.ProductMetadata) - )) -_sym_db.RegisterMessage(ProductMetadata) - -PlannableTargeting = _reflection.GeneratedProtocolMessageType('PlannableTargeting', (_message.Message,), dict( - DESCRIPTOR = _PLANNABLETARGETING, - __module__ = 'google.ads.googleads_v2.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. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.PlannableTargeting) - )) -_sym_db.RegisterMessage(PlannableTargeting) - -GenerateProductMixIdeasRequest = _reflection.GeneratedProtocolMessageType('GenerateProductMixIdeasRequest', (_message.Message,), dict( - DESCRIPTOR = _GENERATEPRODUCTMIXIDEASREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.reach_plan_service_pb2' - , - __doc__ = """Request message for [ReachForecastService.GenerateProductMixIdeas][]. - - - Attributes: - customer_id: - 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.v2.services.GenerateProductMixIdeasRequest) - )) -_sym_db.RegisterMessage(GenerateProductMixIdeasRequest) - -Preferences = _reflection.GeneratedProtocolMessageType('Preferences', (_message.Message,), dict( - DESCRIPTOR = _PREFERENCES, - __module__ = 'google.ads.googleads_v2.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.v2.services.Preferences) - )) -_sym_db.RegisterMessage(Preferences) - -GenerateProductMixIdeasResponse = _reflection.GeneratedProtocolMessageType('GenerateProductMixIdeasResponse', (_message.Message,), dict( - DESCRIPTOR = _GENERATEPRODUCTMIXIDEASRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.GenerateProductMixIdeasResponse) - )) -_sym_db.RegisterMessage(GenerateProductMixIdeasResponse) - -ProductAllocation = _reflection.GeneratedProtocolMessageType('ProductAllocation', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTALLOCATION, - __module__ = 'google.ads.googleads_v2.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.v2.services.ProductAllocation) - )) -_sym_db.RegisterMessage(ProductAllocation) - -GenerateReachForecastRequest = _reflection.GeneratedProtocolMessageType('GenerateReachForecastRequest', (_message.Message,), dict( - DESCRIPTOR = _GENERATEREACHFORECASTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.reach_plan_service_pb2' - , - __doc__ = """Request message for - [ReachPlanService.GenerateReachForecast][google.ads.googleads.v2.services.ReachPlanService.GenerateReachForecast]. - - - Attributes: - customer_id: - The ID of the customer. - currency_code: - Required. The currency code. Three-character ISO 4217 currency - code. - campaign_duration: - 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. - 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. If no targeting dimensions are - specified, then campaigns will target everywhere and everyone. - 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: - The product to be planned. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GenerateReachForecastRequest) - )) -_sym_db.RegisterMessage(GenerateReachForecastRequest) - -Targeting = _reflection.GeneratedProtocolMessageType('Targeting', (_message.Message,), dict( - DESCRIPTOR = _TARGETING, - __module__ = 'google.ads.googleads_v2.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: - Required Selected age range to be planned on. - genders: - Targetable genders for the ad product. - devices: - Targetable devices for the ad product. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.Targeting) - )) -_sym_db.RegisterMessage(Targeting) - -CampaignDuration = _reflection.GeneratedProtocolMessageType('CampaignDuration', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNDURATION, - __module__ = 'google.ads.googleads_v2.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.v2.services.CampaignDuration) - )) -_sym_db.RegisterMessage(CampaignDuration) - -PlannedProduct = _reflection.GeneratedProtocolMessageType('PlannedProduct', (_message.Message,), dict( - DESCRIPTOR = _PLANNEDPRODUCT, - __module__ = 'google.ads.googleads_v2.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.v2.services.PlannedProduct) - )) -_sym_db.RegisterMessage(PlannedProduct) - -GenerateReachForecastResponse = _reflection.GeneratedProtocolMessageType('GenerateReachForecastResponse', (_message.Message,), dict( - DESCRIPTOR = _GENERATEREACHFORECASTRESPONSE, - __module__ = 'google.ads.googleads_v2.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.v2.services.GenerateReachForecastResponse) - )) -_sym_db.RegisterMessage(GenerateReachForecastResponse) - -ReachCurve = _reflection.GeneratedProtocolMessageType('ReachCurve', (_message.Message,), dict( - DESCRIPTOR = _REACHCURVE, - __module__ = 'google.ads.googleads_v2.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.v2.services.ReachCurve) - )) -_sym_db.RegisterMessage(ReachCurve) - -ReachForecast = _reflection.GeneratedProtocolMessageType('ReachForecast', (_message.Message,), dict( - DESCRIPTOR = _REACHFORECAST, - __module__ = 'google.ads.googleads_v2.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.v2.services.ReachForecast) - )) -_sym_db.RegisterMessage(ReachForecast) - -Forecast = _reflection.GeneratedProtocolMessageType('Forecast', (_message.Message,), dict( - DESCRIPTOR = _FORECAST, - __module__ = 'google.ads.googleads_v2.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 insufficent - information on signed-in users. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.Forecast) - )) -_sym_db.RegisterMessage(Forecast) - -OnTargetAudienceMetrics = _reflection.GeneratedProtocolMessageType('OnTargetAudienceMetrics', (_message.Message,), dict( - DESCRIPTOR = _ONTARGETAUDIENCEMETRICS, - __module__ = 'google.ads.googleads_v2.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.v2.services.OnTargetAudienceMetrics) - )) -_sym_db.RegisterMessage(OnTargetAudienceMetrics) - - -DESCRIPTOR._options = None - -_REACHPLANSERVICE = _descriptor.ServiceDescriptor( - name='ReachPlanService', - full_name='google.ads.googleads.v2.services.ReachPlanService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=3984, - serialized_end=4867, - methods=[ - _descriptor.MethodDescriptor( - name='ListPlannableLocations', - full_name='google.ads.googleads.v2.services.ReachPlanService.ListPlannableLocations', - index=0, - containing_service=None, - input_type=_LISTPLANNABLELOCATIONSREQUEST, - output_type=_LISTPLANNABLELOCATIONSRESPONSE, - serialized_options=_b('\202\323\344\223\002\037\"\032/v2:listPlannableLocations:\001*'), - ), - _descriptor.MethodDescriptor( - name='ListPlannableProducts', - full_name='google.ads.googleads.v2.services.ReachPlanService.ListPlannableProducts', - index=1, - containing_service=None, - input_type=_LISTPLANNABLEPRODUCTSREQUEST, - output_type=_LISTPLANNABLEPRODUCTSRESPONSE, - serialized_options=_b('\202\323\344\223\002\036\"\031/v2:listPlannableProducts:\001*'), - ), - _descriptor.MethodDescriptor( - name='GenerateProductMixIdeas', - full_name='google.ads.googleads.v2.services.ReachPlanService.GenerateProductMixIdeas', - index=2, - containing_service=None, - input_type=_GENERATEPRODUCTMIXIDEASREQUEST, - output_type=_GENERATEPRODUCTMIXIDEASRESPONSE, - serialized_options=_b('\202\323\344\223\002:\"5/v2/customers/{customer_id=*}:generateProductMixIdeas:\001*'), - ), - _descriptor.MethodDescriptor( - name='GenerateReachForecast', - full_name='google.ads.googleads.v2.services.ReachPlanService.GenerateReachForecast', - index=3, - containing_service=None, - input_type=_GENERATEREACHFORECASTREQUEST, - output_type=_GENERATEREACHFORECASTRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v2/customers/{customer_id=*}:generateReachForecast:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_REACHPLANSERVICE) - -DESCRIPTOR.services_by_name['ReachPlanService'] = _REACHPLANSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/reach_plan_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/reach_plan_service_pb2_grpc.py deleted file mode 100644 index a7fa78bf4..000000000 --- a/google/ads/google_ads/v2/proto/services/reach_plan_service_pb2_grpc.py +++ /dev/null @@ -1,112 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 as google_dot_ads_dot_googleads__v2_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.v2.services.ReachPlanService/ListPlannableLocations', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableLocationsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableLocationsResponse.FromString, - ) - self.ListPlannableProducts = channel.unary_unary( - '/google.ads.googleads.v2.services.ReachPlanService/ListPlannableProducts', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableProductsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableProductsResponse.FromString, - ) - self.GenerateProductMixIdeas = channel.unary_unary( - '/google.ads.googleads.v2.services.ReachPlanService/GenerateProductMixIdeas', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateProductMixIdeasRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateProductMixIdeasResponse.FromString, - ) - self.GenerateReachForecast = channel.unary_unary( - '/google.ads.googleads.v2.services.ReachPlanService/GenerateReachForecast', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateReachForecastRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableLocationsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableProductsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateProductMixIdeasRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateReachForecastRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateReachForecastResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ReachPlanService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/recommendation_service_pb2.py b/google/ads/google_ads/v2/proto/services/recommendation_service_pb2.py deleted file mode 100644 index 5f1e967f9..000000000 --- a/google/ads/google_ads/v2/proto/services/recommendation_service_pb2.py +++ /dev/null @@ -1,1128 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/recommendation_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.v2.proto.common import extensions_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2 -from google.ads.google_ads.v2.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_keyword__match__type__pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_recommendation__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/recommendation_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032RecommendationServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/services/recommendation_service.proto\x12 google.ads.googleads.v2.services\x1a\x35google/ads/googleads_v2/proto/common/extensions.proto\x1a.google.ads.googleads.v2.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.v2.services.ApplyRecommendationOperation.CampaignBudgetParametersH\x00\x12\x62\n\x07text_ad\x18\x03 \x01(\x0b\x32O.google.ads.googleads.v2.services.ApplyRecommendationOperation.TextAdParametersH\x00\x12\x63\n\x07keyword\x18\x04 \x01(\x0b\x32P.google.ads.googleads.v2.services.ApplyRecommendationOperation.KeywordParametersH\x00\x12t\n\x11target_cpa_opt_in\x18\x05 \x01(\x0b\x32W.google.ads.googleads.v2.services.ApplyRecommendationOperation.TargetCpaOptInParametersH\x00\x12v\n\x11\x63\x61llout_extension\x18\x06 \x01(\x0b\x32Y.google.ads.googleads.v2.services.ApplyRecommendationOperation.CalloutExtensionParametersH\x00\x12p\n\x0e\x63\x61ll_extension\x18\x07 \x01(\x0b\x32V.google.ads.googleads.v2.services.ApplyRecommendationOperation.CallExtensionParametersH\x00\x12x\n\x12sitelink_extension\x18\x08 \x01(\x0b\x32Z.google.ads.googleads.v2.services.ApplyRecommendationOperation.SitelinkExtensionParametersH\x00\x12w\n\x12move_unused_budget\x18\t \x01(\x0b\x32Y.google.ads.googleads.v2.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.v2.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.v2.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.v2.common.CalloutFeedItem\x1a`\n\x17\x43\x61llExtensionParameters\x12\x45\n\x0f\x63\x61ll_extensions\x18\x01 \x03(\x0b\x32,.google.ads.googleads.v2.common.CallFeedItem\x1al\n\x1bSitelinkExtensionParameters\x12M\n\x13sitelink_extensions\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v2.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.v2.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.v2.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.v2.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\xa6\x05\n\x15RecommendationService\x12\xbd\x01\n\x11GetRecommendation\x12:.google.ads.googleads.v2.services.GetRecommendationRequest\x1a\x31.google.ads.googleads.v2.resources.Recommendation\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/recommendations/*}\x12\xd2\x01\n\x13\x41pplyRecommendation\x12<.google.ads.googleads.v2.services.ApplyRecommendationRequest\x1a=.google.ads.googleads.v2.services.ApplyRecommendationResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v2/customers/{customer_id=*}/recommendations:apply:\x01*\x12\xda\x01\n\x15\x44ismissRecommendation\x12>.google.ads.googleads.v2.services.DismissRecommendationRequest\x1a?.google.ads.googleads.v2.services.DismissRecommendationResponse\"@\x82\xd3\xe4\x93\x02:\"5/v2/customers/{customer_id=*}/recommendations:dismiss:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1aRecommendationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_common_dot_extensions__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_enums_dot_keyword__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v2_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,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETRECOMMENDATIONREQUEST = _descriptor.Descriptor( - name='GetRecommendationRequest', - full_name='google.ads.googleads.v2.services.GetRecommendationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=446, - serialized_end=495, -) - - -_APPLYRECOMMENDATIONREQUEST = _descriptor.Descriptor( - name='ApplyRecommendationRequest', - full_name='google.ads.googleads.v2.services.ApplyRecommendationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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, - 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=498, - serialized_end=656, -) - - -_APPLYRECOMMENDATIONOPERATION_CAMPAIGNBUDGETPARAMETERS = _descriptor.Descriptor( - name='CampaignBudgetParameters', - full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation.CampaignBudgetParameters', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='new_budget_amount_micros', full_name='google.ads.googleads.v2.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, - 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=1626, - serialized_end=1715, -) - -_APPLYRECOMMENDATIONOPERATION_TEXTADPARAMETERS = _descriptor.Descriptor( - name='TextAdParameters', - full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation.TextAdParameters', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ad', full_name='google.ads.googleads.v2.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, - 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=1717, - serialized_end=1786, -) - -_APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS = _descriptor.Descriptor( - name='KeywordParameters', - full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation.KeywordParameters', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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=1789, - serialized_end=1999, -) - -_APPLYRECOMMENDATIONOPERATION_TARGETCPAOPTINPARAMETERS = _descriptor.Descriptor( - name='TargetCpaOptInParameters', - full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation.TargetCpaOptInParameters', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='target_cpa_micros', full_name='google.ads.googleads.v2.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.v2.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, - 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=2002, - serialized_end=2156, -) - -_APPLYRECOMMENDATIONOPERATION_CALLOUTEXTENSIONPARAMETERS = _descriptor.Descriptor( - name='CalloutExtensionParameters', - full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation.CalloutExtensionParameters', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='callout_extensions', full_name='google.ads.googleads.v2.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, - 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=2158, - serialized_end=2263, -) - -_APPLYRECOMMENDATIONOPERATION_CALLEXTENSIONPARAMETERS = _descriptor.Descriptor( - name='CallExtensionParameters', - full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation.CallExtensionParameters', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='call_extensions', full_name='google.ads.googleads.v2.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, - 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=2265, - serialized_end=2361, -) - -_APPLYRECOMMENDATIONOPERATION_SITELINKEXTENSIONPARAMETERS = _descriptor.Descriptor( - name='SitelinkExtensionParameters', - full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation.SitelinkExtensionParameters', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='sitelink_extensions', full_name='google.ads.googleads.v2.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, - 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=2363, - serialized_end=2471, -) - -_APPLYRECOMMENDATIONOPERATION_MOVEUNUSEDBUDGETPARAMETERS = _descriptor.Descriptor( - name='MoveUnusedBudgetParameters', - full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='budget_micros_to_move', full_name='google.ads.googleads.v2.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, - 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=2473, - serialized_end=2561, -) - -_APPLYRECOMMENDATIONOPERATION = _descriptor.Descriptor( - name='ApplyRecommendationOperation', - full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_APPLYRECOMMENDATIONOPERATION_CAMPAIGNBUDGETPARAMETERS, _APPLYRECOMMENDATIONOPERATION_TEXTADPARAMETERS, _APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS, _APPLYRECOMMENDATIONOPERATION_TARGETCPAOPTINPARAMETERS, _APPLYRECOMMENDATIONOPERATION_CALLOUTEXTENSIONPARAMETERS, _APPLYRECOMMENDATIONOPERATION_CALLEXTENSIONPARAMETERS, _APPLYRECOMMENDATIONOPERATION_SITELINKEXTENSIONPARAMETERS, _APPLYRECOMMENDATIONOPERATION_MOVEUNUSEDBUDGETPARAMETERS, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='apply_parameters', full_name='google.ads.googleads.v2.services.ApplyRecommendationOperation.apply_parameters', - index=0, containing_type=None, fields=[]), - ], - serialized_start=659, - serialized_end=2581, -) - - -_APPLYRECOMMENDATIONRESPONSE = _descriptor.Descriptor( - name='ApplyRecommendationResponse', - full_name='google.ads.googleads.v2.services.ApplyRecommendationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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.v2.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, - 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=2584, - serialized_end=2742, -) - - -_APPLYRECOMMENDATIONRESULT = _descriptor.Descriptor( - name='ApplyRecommendationResult', - full_name='google.ads.googleads.v2.services.ApplyRecommendationResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=2744, - serialized_end=2794, -) - - -_DISMISSRECOMMENDATIONREQUEST_DISMISSRECOMMENDATIONOPERATION = _descriptor.Descriptor( - name='DismissRecommendationOperation', - full_name='google.ads.googleads.v2.services.DismissRecommendationRequest.DismissRecommendationOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=2990, - serialized_end=3045, -) - -_DISMISSRECOMMENDATIONREQUEST = _descriptor.Descriptor( - name='DismissRecommendationRequest', - full_name='google.ads.googleads.v2.services.DismissRecommendationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_DISMISSRECOMMENDATIONREQUEST_DISMISSRECOMMENDATIONOPERATION, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2797, - serialized_end=3045, -) - - -_DISMISSRECOMMENDATIONRESPONSE_DISMISSRECOMMENDATIONRESULT = _descriptor.Descriptor( - name='DismissRecommendationResult', - full_name='google.ads.googleads.v2.services.DismissRecommendationResponse.DismissRecommendationResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=3242, - serialized_end=3294, -) - -_DISMISSRECOMMENDATIONRESPONSE = _descriptor.Descriptor( - name='DismissRecommendationResponse', - full_name='google.ads.googleads.v2.services.DismissRecommendationResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v2.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.v2.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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_DISMISSRECOMMENDATIONRESPONSE_DISMISSRECOMMENDATIONRESULT, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3048, - serialized_end=3294, -) - -_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__v2_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__v2_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__v2_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__v2_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__v2_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 -_APPLYRECOMMENDATIONOPERATION.fields_by_name['campaign_budget'].message_type = _APPLYRECOMMENDATIONOPERATION_CAMPAIGNBUDGETPARAMETERS -_APPLYRECOMMENDATIONOPERATION.fields_by_name['text_ad'].message_type = _APPLYRECOMMENDATIONOPERATION_TEXTADPARAMETERS -_APPLYRECOMMENDATIONOPERATION.fields_by_name['keyword'].message_type = _APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS -_APPLYRECOMMENDATIONOPERATION.fields_by_name['target_cpa_opt_in'].message_type = _APPLYRECOMMENDATIONOPERATION_TARGETCPAOPTINPARAMETERS -_APPLYRECOMMENDATIONOPERATION.fields_by_name['callout_extension'].message_type = _APPLYRECOMMENDATIONOPERATION_CALLOUTEXTENSIONPARAMETERS -_APPLYRECOMMENDATIONOPERATION.fields_by_name['call_extension'].message_type = _APPLYRECOMMENDATIONOPERATION_CALLEXTENSIONPARAMETERS -_APPLYRECOMMENDATIONOPERATION.fields_by_name['sitelink_extension'].message_type = _APPLYRECOMMENDATIONOPERATION_SITELINKEXTENSIONPARAMETERS -_APPLYRECOMMENDATIONOPERATION.fields_by_name['move_unused_budget'].message_type = _APPLYRECOMMENDATIONOPERATION_MOVEUNUSEDBUDGETPARAMETERS -_APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'].fields.append( - _APPLYRECOMMENDATIONOPERATION.fields_by_name['campaign_budget']) -_APPLYRECOMMENDATIONOPERATION.fields_by_name['campaign_budget'].containing_oneof = _APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'] -_APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'].fields.append( - _APPLYRECOMMENDATIONOPERATION.fields_by_name['text_ad']) -_APPLYRECOMMENDATIONOPERATION.fields_by_name['text_ad'].containing_oneof = _APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'] -_APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'].fields.append( - _APPLYRECOMMENDATIONOPERATION.fields_by_name['keyword']) -_APPLYRECOMMENDATIONOPERATION.fields_by_name['keyword'].containing_oneof = _APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'] -_APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'].fields.append( - _APPLYRECOMMENDATIONOPERATION.fields_by_name['target_cpa_opt_in']) -_APPLYRECOMMENDATIONOPERATION.fields_by_name['target_cpa_opt_in'].containing_oneof = _APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'] -_APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'].fields.append( - _APPLYRECOMMENDATIONOPERATION.fields_by_name['callout_extension']) -_APPLYRECOMMENDATIONOPERATION.fields_by_name['callout_extension'].containing_oneof = _APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'] -_APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'].fields.append( - _APPLYRECOMMENDATIONOPERATION.fields_by_name['call_extension']) -_APPLYRECOMMENDATIONOPERATION.fields_by_name['call_extension'].containing_oneof = _APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'] -_APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'].fields.append( - _APPLYRECOMMENDATIONOPERATION.fields_by_name['sitelink_extension']) -_APPLYRECOMMENDATIONOPERATION.fields_by_name['sitelink_extension'].containing_oneof = _APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'] -_APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'].fields.append( - _APPLYRECOMMENDATIONOPERATION.fields_by_name['move_unused_budget']) -_APPLYRECOMMENDATIONOPERATION.fields_by_name['move_unused_budget'].containing_oneof = _APPLYRECOMMENDATIONOPERATION.oneofs_by_name['apply_parameters'] -_APPLYRECOMMENDATIONRESPONSE.fields_by_name['results'].message_type = _APPLYRECOMMENDATIONRESULT -_APPLYRECOMMENDATIONRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_DISMISSRECOMMENDATIONREQUEST_DISMISSRECOMMENDATIONOPERATION.containing_type = _DISMISSRECOMMENDATIONREQUEST -_DISMISSRECOMMENDATIONREQUEST.fields_by_name['operations'].message_type = _DISMISSRECOMMENDATIONREQUEST_DISMISSRECOMMENDATIONOPERATION -_DISMISSRECOMMENDATIONRESPONSE_DISMISSRECOMMENDATIONRESULT.containing_type = _DISMISSRECOMMENDATIONRESPONSE -_DISMISSRECOMMENDATIONRESPONSE.fields_by_name['results'].message_type = _DISMISSRECOMMENDATIONRESPONSE_DISMISSRECOMMENDATIONRESULT -_DISMISSRECOMMENDATIONRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -DESCRIPTOR.message_types_by_name['GetRecommendationRequest'] = _GETRECOMMENDATIONREQUEST -DESCRIPTOR.message_types_by_name['ApplyRecommendationRequest'] = _APPLYRECOMMENDATIONREQUEST -DESCRIPTOR.message_types_by_name['ApplyRecommendationOperation'] = _APPLYRECOMMENDATIONOPERATION -DESCRIPTOR.message_types_by_name['ApplyRecommendationResponse'] = _APPLYRECOMMENDATIONRESPONSE -DESCRIPTOR.message_types_by_name['ApplyRecommendationResult'] = _APPLYRECOMMENDATIONRESULT -DESCRIPTOR.message_types_by_name['DismissRecommendationRequest'] = _DISMISSRECOMMENDATIONREQUEST -DESCRIPTOR.message_types_by_name['DismissRecommendationResponse'] = _DISMISSRECOMMENDATIONRESPONSE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetRecommendationRequest = _reflection.GeneratedProtocolMessageType('GetRecommendationRequest', (_message.Message,), dict( - DESCRIPTOR = _GETRECOMMENDATIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Request message for - [RecommendationService.GetRecommendation][google.ads.googleads.v2.services.RecommendationService.GetRecommendation]. - - - Attributes: - resource_name: - The resource name of the recommendation to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetRecommendationRequest) - )) -_sym_db.RegisterMessage(GetRecommendationRequest) - -ApplyRecommendationRequest = _reflection.GeneratedProtocolMessageType('ApplyRecommendationRequest', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Request message for - [RecommendationService.ApplyRecommendation][google.ads.googleads.v2.services.RecommendationService.ApplyRecommendation]. - - - Attributes: - customer_id: - The ID of the customer with the recommendation. - operations: - 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: - 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. Default is false. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationRequest) - )) -_sym_db.RegisterMessage(ApplyRecommendationRequest) - -ApplyRecommendationOperation = _reflection.GeneratedProtocolMessageType('ApplyRecommendationOperation', (_message.Message,), dict( - - CampaignBudgetParameters = _reflection.GeneratedProtocolMessageType('CampaignBudgetParameters', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_CAMPAIGNBUDGETPARAMETERS, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Parameters to use when applying a campaign budget recommendation. - - - Attributes: - new_budget_amount_micros: - New budget amount to set for target budget resource. This is a - required field. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationOperation.CampaignBudgetParameters) - )) - , - - TextAdParameters = _reflection.GeneratedProtocolMessageType('TextAdParameters', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_TEXTADPARAMETERS, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Parameters to use when applying a text ad recommendation. - - - Attributes: - ad: - 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.v2.services.ApplyRecommendationOperation.TextAdParameters) - )) - , - - KeywordParameters = _reflection.GeneratedProtocolMessageType('KeywordParameters', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Parameters to use when applying keyword recommendation. - - - Attributes: - ad_group: - The ad group resource to add keyword to. This is a required - field. - match_type: - The match type of the keyword. This is a required field. - cpc_bid_micros: - Optional, CPC bid to set for the keyword. If not set, keyword - will use bid based on bidding strategy used by target ad - group. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationOperation.KeywordParameters) - )) - , - - TargetCpaOptInParameters = _reflection.GeneratedProtocolMessageType('TargetCpaOptInParameters', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_TARGETCPAOPTINPARAMETERS, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Parameters to use when applying Target CPA recommendation. - - - Attributes: - target_cpa_micros: - Average CPA to use for Target CPA bidding strategy. This is a - required field. - new_campaign_budget_amount_micros: - Optional, budget amount to set for the campaign. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationOperation.TargetCpaOptInParameters) - )) - , - - CalloutExtensionParameters = _reflection.GeneratedProtocolMessageType('CalloutExtensionParameters', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_CALLOUTEXTENSIONPARAMETERS, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Parameters to use when applying callout extension recommendation. - - - Attributes: - callout_extensions: - Callout extensions to be added. This is a required field. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationOperation.CalloutExtensionParameters) - )) - , - - CallExtensionParameters = _reflection.GeneratedProtocolMessageType('CallExtensionParameters', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_CALLEXTENSIONPARAMETERS, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Parameters to use when applying call extension recommendation. - - - Attributes: - call_extensions: - Call extensions to be added. This is a required field. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationOperation.CallExtensionParameters) - )) - , - - SitelinkExtensionParameters = _reflection.GeneratedProtocolMessageType('SitelinkExtensionParameters', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_SITELINKEXTENSIONPARAMETERS, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Parameters to use when applying sitelink extension recommendation. - - - Attributes: - sitelink_extensions: - Sitelink extensions to be added. This is a required field. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationOperation.SitelinkExtensionParameters) - )) - , - - MoveUnusedBudgetParameters = _reflection.GeneratedProtocolMessageType('MoveUnusedBudgetParameters', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_MOVEUNUSEDBUDGETPARAMETERS, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Parameters to use when applying move unused budget recommendation. - - - Attributes: - budget_micros_to_move: - Budget amount to move from excess budget to constrained - budget. This is a required field. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters) - )) - , - DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Information about the operation to apply a recommendation and any - parameters to customize it. - - - Attributes: - resource_name: - The resource name of the recommendation to apply. - apply_parameters: - Parameters to use when applying the recommendation. - campaign_budget: - Optional parameters to use when applying a campaign budget - recommendation. - text_ad: - Optional parameters to use when applying a text ad - recommendation. - keyword: - Optional parameters to use when applying keyword - recommendation. - target_cpa_opt_in: - Optional parameters to use when applying target CPA opt-in - recommendation. - callout_extension: - Parameters to use when applying callout extension - recommendation. - call_extension: - Parameters to use when applying call extension recommendation. - sitelink_extension: - Parameters to use when applying sitelink extension - recommendation. - move_unused_budget: - Parameters to use when applying move unused budget - recommendation. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationOperation) - )) -_sym_db.RegisterMessage(ApplyRecommendationOperation) -_sym_db.RegisterMessage(ApplyRecommendationOperation.CampaignBudgetParameters) -_sym_db.RegisterMessage(ApplyRecommendationOperation.TextAdParameters) -_sym_db.RegisterMessage(ApplyRecommendationOperation.KeywordParameters) -_sym_db.RegisterMessage(ApplyRecommendationOperation.TargetCpaOptInParameters) -_sym_db.RegisterMessage(ApplyRecommendationOperation.CalloutExtensionParameters) -_sym_db.RegisterMessage(ApplyRecommendationOperation.CallExtensionParameters) -_sym_db.RegisterMessage(ApplyRecommendationOperation.SitelinkExtensionParameters) -_sym_db.RegisterMessage(ApplyRecommendationOperation.MoveUnusedBudgetParameters) - -ApplyRecommendationResponse = _reflection.GeneratedProtocolMessageType('ApplyRecommendationResponse', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Response message for - [RecommendationService.ApplyRecommendation][google.ads.googleads.v2.services.RecommendationService.ApplyRecommendation]. - - - Attributes: - results: - Results of operations to apply recommendations. - 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 the RPC - level error. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationResponse) - )) -_sym_db.RegisterMessage(ApplyRecommendationResponse) - -ApplyRecommendationResult = _reflection.GeneratedProtocolMessageType('ApplyRecommendationResult', (_message.Message,), dict( - DESCRIPTOR = _APPLYRECOMMENDATIONRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """The result of applying a recommendation. - - - Attributes: - resource_name: - Returned for successful applies. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.ApplyRecommendationResult) - )) -_sym_db.RegisterMessage(ApplyRecommendationResult) - -DismissRecommendationRequest = _reflection.GeneratedProtocolMessageType('DismissRecommendationRequest', (_message.Message,), dict( - - DismissRecommendationOperation = _reflection.GeneratedProtocolMessageType('DismissRecommendationOperation', (_message.Message,), dict( - DESCRIPTOR = _DISMISSRECOMMENDATIONREQUEST_DISMISSRECOMMENDATIONOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Operation to dismiss a single recommendation identified by - resource\_name. - - - Attributes: - resource_name: - The resource name of the recommendation to dismiss. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.DismissRecommendationRequest.DismissRecommendationOperation) - )) - , - DESCRIPTOR = _DISMISSRECOMMENDATIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Request message for - [RecommendationService.DismissRecommendation][google.ads.googleads.v2.services.RecommendationService.DismissRecommendation]. - - - Attributes: - customer_id: - 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 - same type There is a limit of 100 operations per request. - partial_failure: - 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. Default is false. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.DismissRecommendationRequest) - )) -_sym_db.RegisterMessage(DismissRecommendationRequest) -_sym_db.RegisterMessage(DismissRecommendationRequest.DismissRecommendationOperation) - -DismissRecommendationResponse = _reflection.GeneratedProtocolMessageType('DismissRecommendationResponse', (_message.Message,), dict( - - DismissRecommendationResult = _reflection.GeneratedProtocolMessageType('DismissRecommendationResult', (_message.Message,), dict( - DESCRIPTOR = _DISMISSRECOMMENDATIONRESPONSE_DISMISSRECOMMENDATIONRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """The result of dismissing a recommendation. - - - Attributes: - resource_name: - Returned for successful dismissals. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.DismissRecommendationResponse.DismissRecommendationResult) - )) - , - DESCRIPTOR = _DISMISSRECOMMENDATIONRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.recommendation_service_pb2' - , - __doc__ = """Response message for - [RecommendationService.DismissRecommendation][google.ads.googleads.v2.services.RecommendationService.DismissRecommendation]. - - - Attributes: - results: - Results of operations to dismiss recommendations. - 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 the RPC - level error. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.DismissRecommendationResponse) - )) -_sym_db.RegisterMessage(DismissRecommendationResponse) -_sym_db.RegisterMessage(DismissRecommendationResponse.DismissRecommendationResult) - - -DESCRIPTOR._options = None - -_RECOMMENDATIONSERVICE = _descriptor.ServiceDescriptor( - name='RecommendationService', - full_name='google.ads.googleads.v2.services.RecommendationService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=3297, - serialized_end=3975, - methods=[ - _descriptor.MethodDescriptor( - name='GetRecommendation', - full_name='google.ads.googleads.v2.services.RecommendationService.GetRecommendation', - index=0, - containing_service=None, - input_type=_GETRECOMMENDATIONREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_recommendation__pb2._RECOMMENDATION, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{resource_name=customers/*/recommendations/*}'), - ), - _descriptor.MethodDescriptor( - name='ApplyRecommendation', - full_name='google.ads.googleads.v2.services.RecommendationService.ApplyRecommendation', - index=1, - containing_service=None, - input_type=_APPLYRECOMMENDATIONREQUEST, - output_type=_APPLYRECOMMENDATIONRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v2/customers/{customer_id=*}/recommendations:apply:\001*'), - ), - _descriptor.MethodDescriptor( - name='DismissRecommendation', - full_name='google.ads.googleads.v2.services.RecommendationService.DismissRecommendation', - index=2, - containing_service=None, - input_type=_DISMISSRECOMMENDATIONREQUEST, - output_type=_DISMISSRECOMMENDATIONRESPONSE, - serialized_options=_b('\202\323\344\223\002:\"5/v2/customers/{customer_id=*}/recommendations:dismiss:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_RECOMMENDATIONSERVICE) - -DESCRIPTOR.services_by_name['RecommendationService'] = _RECOMMENDATIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/recommendation_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/recommendation_service_pb2_grpc.py deleted file mode 100644 index 242d575c3..000000000 --- a/google/ads/google_ads/v2/proto/services/recommendation_service_pb2_grpc.py +++ /dev/null @@ -1,85 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_recommendation__pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_recommendation__service__pb2 - - -class RecommendationServiceStub(object): - """Proto file describing the Recommendation service. - - Service to manage recommendations. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetRecommendation = channel.unary_unary( - '/google.ads.googleads.v2.services.RecommendationService/GetRecommendation', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_recommendation__service__pb2.GetRecommendationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_recommendation__pb2.Recommendation.FromString, - ) - self.ApplyRecommendation = channel.unary_unary( - '/google.ads.googleads.v2.services.RecommendationService/ApplyRecommendation', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationResponse.FromString, - ) - self.DismissRecommendation = channel.unary_unary( - '/google.ads.googleads.v2.services.RecommendationService/DismissRecommendation', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationResponse.FromString, - ) - - -class RecommendationServiceServicer(object): - """Proto file describing the Recommendation service. - - Service to manage recommendations. - """ - - def GetRecommendation(self, request, context): - """Returns the requested recommendation in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ApplyRecommendation(self, request, context): - """Applies given recommendations with corresponding apply parameters. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DismissRecommendation(self, request, context): - """Dismisses given recommendations. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_recommendation__service__pb2.GetRecommendationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.RecommendationService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/remarketing_action_service_pb2.py b/google/ads/google_ads/v2/proto/services/remarketing_action_service_pb2.py deleted file mode 100644 index dc890a2f1..000000000 --- a/google/ads/google_ads/v2/proto/services/remarketing_action_service_pb2.py +++ /dev/null @@ -1,392 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/remarketing_action_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.v2.proto.resources import remarketing_action_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_remarketing__action__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/remarketing_action_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\035RemarketingActionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nGgoogle/ads/googleads_v2/proto/services/remarketing_action_service.proto\x12 google.ads.googleads.v2.services\x1a@google/ads/googleads_v2/proto/resources/remarketing_action.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.RemarketingActionH\x00\x12\x46\n\x06update\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v2.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.v2.services.MutateRemarketingActionResult\"6\n\x1dMutateRemarketingActionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xeb\x03\n\x18RemarketingActionService\x12\xc9\x01\n\x14GetRemarketingAction\x12=.google.ads.googleads.v2.services.GetRemarketingActionRequest\x1a\x34.google.ads.googleads.v2.resources.RemarketingAction\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v2/{resource_name=customers/*/remarketingActions/*}\x12\xe5\x01\n\x18MutateRemarketingActions\x12\x41.google.ads.googleads.v2.services.MutateRemarketingActionsRequest\x1a\x42.google.ads.googleads.v2.services.MutateRemarketingActionsResponse\"B\x82\xd3\xe4\x93\x02<\"7/v2/customers/{customer_id=*}/remarketingActions:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v2.servicesB\x1dRemarketingActionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETREMARKETINGACTIONREQUEST = _descriptor.Descriptor( - name='GetRemarketingActionRequest', - full_name='google.ads.googleads.v2.services.GetRemarketingActionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=289, - serialized_end=341, -) - - -_MUTATEREMARKETINGACTIONSREQUEST = _descriptor.Descriptor( - name='MutateRemarketingActionsRequest', - full_name='google.ads.googleads.v2.services.MutateRemarketingActionsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=344, - serialized_end=528, -) - - -_REMARKETINGACTIONOPERATION = _descriptor.Descriptor( - name='RemarketingActionOperation', - full_name='google.ads.googleads.v2.services.RemarketingActionOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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, - 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.v2.services.RemarketingActionOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=531, - serialized_end=765, -) - - -_MUTATEREMARKETINGACTIONSRESPONSE = _descriptor.Descriptor( - name='MutateRemarketingActionsResponse', - full_name='google.ads.googleads.v2.services.MutateRemarketingActionsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=768, - serialized_end=935, -) - - -_MUTATEREMARKETINGACTIONRESULT = _descriptor.Descriptor( - name='MutateRemarketingActionResult', - full_name='google.ads.googleads.v2.services.MutateRemarketingActionResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=937, - serialized_end=991, -) - -_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__v2_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION -_REMARKETINGACTIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_REMARKETINGACTIONOPERATION.oneofs_by_name['operation'].fields.append( - _REMARKETINGACTIONOPERATION.fields_by_name['update']) -_REMARKETINGACTIONOPERATION.fields_by_name['update'].containing_oneof = _REMARKETINGACTIONOPERATION.oneofs_by_name['operation'] -_MUTATEREMARKETINGACTIONSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEREMARKETINGACTIONSRESPONSE.fields_by_name['results'].message_type = _MUTATEREMARKETINGACTIONRESULT -DESCRIPTOR.message_types_by_name['GetRemarketingActionRequest'] = _GETREMARKETINGACTIONREQUEST -DESCRIPTOR.message_types_by_name['MutateRemarketingActionsRequest'] = _MUTATEREMARKETINGACTIONSREQUEST -DESCRIPTOR.message_types_by_name['RemarketingActionOperation'] = _REMARKETINGACTIONOPERATION -DESCRIPTOR.message_types_by_name['MutateRemarketingActionsResponse'] = _MUTATEREMARKETINGACTIONSRESPONSE -DESCRIPTOR.message_types_by_name['MutateRemarketingActionResult'] = _MUTATEREMARKETINGACTIONRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetRemarketingActionRequest = _reflection.GeneratedProtocolMessageType('GetRemarketingActionRequest', (_message.Message,), dict( - DESCRIPTOR = _GETREMARKETINGACTIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.remarketing_action_service_pb2' - , - __doc__ = """Request message for - [RemarketingActionService.GetRemarketingAction][google.ads.googleads.v2.services.RemarketingActionService.GetRemarketingAction]. - - - Attributes: - resource_name: - The resource name of the remarketing action to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetRemarketingActionRequest) - )) -_sym_db.RegisterMessage(GetRemarketingActionRequest) - -MutateRemarketingActionsRequest = _reflection.GeneratedProtocolMessageType('MutateRemarketingActionsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEREMARKETINGACTIONSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.remarketing_action_service_pb2' - , - __doc__ = """Request message for - [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v2.services.RemarketingActionService.MutateRemarketingActions]. - - - Attributes: - customer_id: - The ID of the customer whose remarketing actions are being - modified. - operations: - 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 - 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.v2.services.MutateRemarketingActionsRequest) - )) -_sym_db.RegisterMessage(MutateRemarketingActionsRequest) - -RemarketingActionOperation = _reflection.GeneratedProtocolMessageType('RemarketingActionOperation', (_message.Message,), dict( - DESCRIPTOR = _REMARKETINGACTIONOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.remarketing_action_service_pb2' - , - __doc__ = """A single operation (create, update) on a remarketing action. - - - Attributes: - update_mask: - 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 - remarketing action. - update: - Update operation: The remarketing action is expected to have a - valid resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.RemarketingActionOperation) - )) -_sym_db.RegisterMessage(RemarketingActionOperation) - -MutateRemarketingActionsResponse = _reflection.GeneratedProtocolMessageType('MutateRemarketingActionsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEREMARKETINGACTIONSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.remarketing_action_service_pb2' - , - __doc__ = """Response message for remarketing action 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.v2.services.MutateRemarketingActionsResponse) - )) -_sym_db.RegisterMessage(MutateRemarketingActionsResponse) - -MutateRemarketingActionResult = _reflection.GeneratedProtocolMessageType('MutateRemarketingActionResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEREMARKETINGACTIONRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.remarketing_action_service_pb2' - , - __doc__ = """The result for the remarketing action mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateRemarketingActionResult) - )) -_sym_db.RegisterMessage(MutateRemarketingActionResult) - - -DESCRIPTOR._options = None - -_REMARKETINGACTIONSERVICE = _descriptor.ServiceDescriptor( - name='RemarketingActionService', - full_name='google.ads.googleads.v2.services.RemarketingActionService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=994, - serialized_end=1485, - methods=[ - _descriptor.MethodDescriptor( - name='GetRemarketingAction', - full_name='google.ads.googleads.v2.services.RemarketingActionService.GetRemarketingAction', - index=0, - containing_service=None, - input_type=_GETREMARKETINGACTIONREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION, - serialized_options=_b('\202\323\344\223\0026\0224/v2/{resource_name=customers/*/remarketingActions/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateRemarketingActions', - full_name='google.ads.googleads.v2.services.RemarketingActionService.MutateRemarketingActions', - index=1, - containing_service=None, - input_type=_MUTATEREMARKETINGACTIONSREQUEST, - output_type=_MUTATEREMARKETINGACTIONSRESPONSE, - serialized_options=_b('\202\323\344\223\002<\"7/v2/customers/{customer_id=*}/remarketingActions:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_REMARKETINGACTIONSERVICE) - -DESCRIPTOR.services_by_name['RemarketingActionService'] = _REMARKETINGACTIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/remarketing_action_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/remarketing_action_service_pb2_grpc.py deleted file mode 100644 index 6ede96af5..000000000 --- a/google/ads/google_ads/v2/proto/services/remarketing_action_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_remarketing__action__pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2 - - -class RemarketingActionServiceStub(object): - """Proto file describing the Remarketing Action service. - - Service to manage remarketing actions. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetRemarketingAction = channel.unary_unary( - '/google.ads.googleads.v2.services.RemarketingActionService/GetRemarketingAction', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2.GetRemarketingActionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_remarketing__action__pb2.RemarketingAction.FromString, - ) - self.MutateRemarketingActions = channel.unary_unary( - '/google.ads.googleads.v2.services.RemarketingActionService/MutateRemarketingActions', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsResponse.FromString, - ) - - -class RemarketingActionServiceServicer(object): - """Proto file describing the Remarketing Action service. - - Service to manage remarketing actions. - """ - - def GetRemarketingAction(self, request, context): - """Returns the requested remarketing action in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateRemarketingActions(self, request, context): - """Creates or updates remarketing actions. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2.GetRemarketingActionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.RemarketingActionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/search_term_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/search_term_view_service_pb2.py deleted file mode 100644 index 66d82dde8..000000000 --- a/google/ads/google_ads/v2/proto/services/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_v2/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.v2.proto.resources import search_term_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/search_term_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\032SearchTermViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/services/search_term_view_service.proto\x12 google.ads.googleads.v2.services\x1a>google/ads/googleads_v2/proto/resources/search_term_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"1\n\x18GetSearchTermViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf4\x01\n\x15SearchTermViewService\x12\xbd\x01\n\x11GetSearchTermView\x12:.google.ads.googleads.v2.services.GetSearchTermViewRequest\x1a\x31.google.ads.googleads.v2.resources.SearchTermView\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v2/{resource_name=customers/*/searchTermViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v2.servicesB\x1aSearchTermViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_search__term__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETSEARCHTERMVIEWREQUEST = _descriptor.Descriptor( - name='GetSearchTermViewRequest', - full_name='google.ads.googleads.v2.services.GetSearchTermViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=226, - serialized_end=275, -) - -DESCRIPTOR.message_types_by_name['GetSearchTermViewRequest'] = _GETSEARCHTERMVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetSearchTermViewRequest = _reflection.GeneratedProtocolMessageType('GetSearchTermViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETSEARCHTERMVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.search_term_view_service_pb2' - , - __doc__ = """Request message for - [SearchTermViewService.GetSearchTermView][google.ads.googleads.v2.services.SearchTermViewService.GetSearchTermView]. - - - Attributes: - resource_name: - The resource name of the search term view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetSearchTermViewRequest) - )) -_sym_db.RegisterMessage(GetSearchTermViewRequest) - - -DESCRIPTOR._options = None - -_SEARCHTERMVIEWSERVICE = _descriptor.ServiceDescriptor( - name='SearchTermViewService', - full_name='google.ads.googleads.v2.services.SearchTermViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=278, - serialized_end=522, - methods=[ - _descriptor.MethodDescriptor( - name='GetSearchTermView', - full_name='google.ads.googleads.v2.services.SearchTermViewService.GetSearchTermView', - index=0, - containing_service=None, - input_type=_GETSEARCHTERMVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_search__term__view__pb2._SEARCHTERMVIEW, - serialized_options=_b('\202\323\344\223\0023\0221/v2/{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/v2/proto/services/search_term_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/search_term_view_service_pb2_grpc.py deleted file mode 100644 index be61e8190..000000000 --- a/google/ads/google_ads/v2/proto/services/search_term_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_search__term__view__pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_search__term__view__service__pb2 - - -class SearchTermViewServiceStub(object): - """Proto file describing the Search Term View service. - - Service to manage search term views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetSearchTermView = channel.unary_unary( - '/google.ads.googleads.v2.services.SearchTermViewService/GetSearchTermView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_search__term__view__service__pb2.GetSearchTermViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_search__term__view__pb2.SearchTermView.FromString, - ) - - -class SearchTermViewServiceServicer(object): - """Proto file describing the Search Term View service. - - Service to manage search term views. - """ - - def GetSearchTermView(self, request, context): - """Returns the attributes of the requested search term view. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_search__term__view__service__pb2.GetSearchTermViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_search__term__view__pb2.SearchTermView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.SearchTermViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/shared_criterion_service_pb2.py b/google/ads/google_ads/v2/proto/services/shared_criterion_service_pb2.py deleted file mode 100644 index 5bcfbfc8a..000000000 --- a/google/ads/google_ads/v2/proto/services/shared_criterion_service_pb2.py +++ /dev/null @@ -1,380 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/shared_criterion_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.v2.proto.resources import shared_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__criterion__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/shared_criterion_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\033SharedCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v2/proto/services/shared_criterion_service.proto\x12 google.ads.googleads.v2.services\x1a>google/ads/googleads_v2/proto/resources/shared_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.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.v2.services.MutateSharedCriterionResult\"4\n\x1bMutateSharedCriterionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xcf\x03\n\x16SharedCriterionService\x12\xbf\x01\n\x12GetSharedCriterion\x12;.google.ads.googleads.v2.services.GetSharedCriterionRequest\x1a\x32.google.ads.googleads.v2.resources.SharedCriterion\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/v2/{resource_name=customers/*/sharedCriteria/*}\x12\xd5\x01\n\x14MutateSharedCriteria\x12=.google.ads.googleads.v2.services.MutateSharedCriteriaRequest\x1a>.google.ads.googleads.v2.services.MutateSharedCriteriaResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v2/customers/{customer_id=*}/sharedCriteria:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v2.servicesB\x1bSharedCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETSHAREDCRITERIONREQUEST = _descriptor.Descriptor( - name='GetSharedCriterionRequest', - full_name='google.ads.googleads.v2.services.GetSharedCriterionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=251, - serialized_end=301, -) - - -_MUTATESHAREDCRITERIAREQUEST = _descriptor.Descriptor( - name='MutateSharedCriteriaRequest', - full_name='google.ads.googleads.v2.services.MutateSharedCriteriaRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=304, - serialized_end=482, -) - - -_SHAREDCRITERIONOPERATION = _descriptor.Descriptor( - name='SharedCriterionOperation', - full_name='google.ads.googleads.v2.services.SharedCriterionOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v2.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.v2.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, - 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.v2.services.SharedCriterionOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=484, - serialized_end=611, -) - - -_MUTATESHAREDCRITERIARESPONSE = _descriptor.Descriptor( - name='MutateSharedCriteriaResponse', - full_name='google.ads.googleads.v2.services.MutateSharedCriteriaResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=614, - serialized_end=775, -) - - -_MUTATESHAREDCRITERIONRESULT = _descriptor.Descriptor( - name='MutateSharedCriterionResult', - full_name='google.ads.googleads.v2.services.MutateSharedCriterionResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=777, - serialized_end=829, -) - -_MUTATESHAREDCRITERIAREQUEST.fields_by_name['operations'].message_type = _SHAREDCRITERIONOPERATION -_SHAREDCRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v2_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'] -_SHAREDCRITERIONOPERATION.oneofs_by_name['operation'].fields.append( - _SHAREDCRITERIONOPERATION.fields_by_name['remove']) -_SHAREDCRITERIONOPERATION.fields_by_name['remove'].containing_oneof = _SHAREDCRITERIONOPERATION.oneofs_by_name['operation'] -_MUTATESHAREDCRITERIARESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATESHAREDCRITERIARESPONSE.fields_by_name['results'].message_type = _MUTATESHAREDCRITERIONRESULT -DESCRIPTOR.message_types_by_name['GetSharedCriterionRequest'] = _GETSHAREDCRITERIONREQUEST -DESCRIPTOR.message_types_by_name['MutateSharedCriteriaRequest'] = _MUTATESHAREDCRITERIAREQUEST -DESCRIPTOR.message_types_by_name['SharedCriterionOperation'] = _SHAREDCRITERIONOPERATION -DESCRIPTOR.message_types_by_name['MutateSharedCriteriaResponse'] = _MUTATESHAREDCRITERIARESPONSE -DESCRIPTOR.message_types_by_name['MutateSharedCriterionResult'] = _MUTATESHAREDCRITERIONRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetSharedCriterionRequest = _reflection.GeneratedProtocolMessageType('GetSharedCriterionRequest', (_message.Message,), dict( - DESCRIPTOR = _GETSHAREDCRITERIONREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.shared_criterion_service_pb2' - , - __doc__ = """Request message for - [SharedCriterionService.GetSharedCriterion][google.ads.googleads.v2.services.SharedCriterionService.GetSharedCriterion]. - - - Attributes: - resource_name: - The resource name of the shared criterion to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetSharedCriterionRequest) - )) -_sym_db.RegisterMessage(GetSharedCriterionRequest) - -MutateSharedCriteriaRequest = _reflection.GeneratedProtocolMessageType('MutateSharedCriteriaRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATESHAREDCRITERIAREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.shared_criterion_service_pb2' - , - __doc__ = """Request message for - [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v2.services.SharedCriterionService.MutateSharedCriteria]. - - - Attributes: - customer_id: - The ID of the customer whose shared criteria are being - modified. - operations: - 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 - 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.v2.services.MutateSharedCriteriaRequest) - )) -_sym_db.RegisterMessage(MutateSharedCriteriaRequest) - -SharedCriterionOperation = _reflection.GeneratedProtocolMessageType('SharedCriterionOperation', (_message.Message,), dict( - DESCRIPTOR = _SHAREDCRITERIONOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.shared_criterion_service_pb2' - , - __doc__ = """A single operation (create, remove) on an shared criterion. - - - Attributes: - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - shared criterion. - remove: - Remove operation: A resource name for the removed shared - criterion is expected, in this format: ``customers/{customer_ - id}/sharedCriteria/{shared_set_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.SharedCriterionOperation) - )) -_sym_db.RegisterMessage(SharedCriterionOperation) - -MutateSharedCriteriaResponse = _reflection.GeneratedProtocolMessageType('MutateSharedCriteriaResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATESHAREDCRITERIARESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.shared_criterion_service_pb2' - , - __doc__ = """Response message for a shared criterion 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.v2.services.MutateSharedCriteriaResponse) - )) -_sym_db.RegisterMessage(MutateSharedCriteriaResponse) - -MutateSharedCriterionResult = _reflection.GeneratedProtocolMessageType('MutateSharedCriterionResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATESHAREDCRITERIONRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.shared_criterion_service_pb2' - , - __doc__ = """The result for the shared criterion mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateSharedCriterionResult) - )) -_sym_db.RegisterMessage(MutateSharedCriterionResult) - - -DESCRIPTOR._options = None - -_SHAREDCRITERIONSERVICE = _descriptor.ServiceDescriptor( - name='SharedCriterionService', - full_name='google.ads.googleads.v2.services.SharedCriterionService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=832, - serialized_end=1295, - methods=[ - _descriptor.MethodDescriptor( - name='GetSharedCriterion', - full_name='google.ads.googleads.v2.services.SharedCriterionService.GetSharedCriterion', - index=0, - containing_service=None, - input_type=_GETSHAREDCRITERIONREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__criterion__pb2._SHAREDCRITERION, - serialized_options=_b('\202\323\344\223\0022\0220/v2/{resource_name=customers/*/sharedCriteria/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateSharedCriteria', - full_name='google.ads.googleads.v2.services.SharedCriterionService.MutateSharedCriteria', - index=1, - containing_service=None, - input_type=_MUTATESHAREDCRITERIAREQUEST, - output_type=_MUTATESHAREDCRITERIARESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v2/customers/{customer_id=*}/sharedCriteria:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_SHAREDCRITERIONSERVICE) - -DESCRIPTOR.services_by_name['SharedCriterionService'] = _SHAREDCRITERIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/shared_criterion_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/shared_criterion_service_pb2_grpc.py deleted file mode 100644 index 09f1d339c..000000000 --- a/google/ads/google_ads/v2/proto/services/shared_criterion_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__criterion__pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2 - - -class SharedCriterionServiceStub(object): - """Proto file describing the Shared Criterion service. - - Service to manage shared criteria. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetSharedCriterion = channel.unary_unary( - '/google.ads.googleads.v2.services.SharedCriterionService/GetSharedCriterion', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2.GetSharedCriterionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__criterion__pb2.SharedCriterion.FromString, - ) - self.MutateSharedCriteria = channel.unary_unary( - '/google.ads.googleads.v2.services.SharedCriterionService/MutateSharedCriteria', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaResponse.FromString, - ) - - -class SharedCriterionServiceServicer(object): - """Proto file describing the Shared Criterion service. - - Service to manage shared criteria. - """ - - def GetSharedCriterion(self, request, context): - """Returns the requested shared criterion in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateSharedCriteria(self, request, context): - """Creates or removes shared criteria. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2.GetSharedCriterionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.SharedCriterionService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/shared_set_service_pb2.py b/google/ads/google_ads/v2/proto/services/shared_set_service_pb2.py deleted file mode 100644 index 6fe14e213..000000000 --- a/google/ads/google_ads/v2/proto/services/shared_set_service_pb2.py +++ /dev/null @@ -1,404 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v2/proto/services/shared_set_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.v2.proto.resources import shared_set_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__set__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.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 -from google.api import client_pb2 as google_dot_api_dot_client__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/shared_set_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\025SharedSetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n?google/ads/googleads_v2/proto/services/shared_set_service.proto\x12 google.ads.googleads.v2.services\x1a\x38google/ads/googleads_v2/proto/resources/shared_set.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.SharedSetH\x00\x12>\n\x06update\x18\x02 \x01(\x0b\x32,.google.ads.googleads.v2.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.v2.services.MutateSharedSetResult\".\n\x15MutateSharedSetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa3\x03\n\x10SharedSetService\x12\xa9\x01\n\x0cGetSharedSet\x12\x35.google.ads.googleads.v2.services.GetSharedSetRequest\x1a,.google.ads.googleads.v2.resources.SharedSet\"4\x82\xd3\xe4\x93\x02.\x12,/v2/{resource_name=customers/*/sharedSets/*}\x12\xc5\x01\n\x10MutateSharedSets\x12\x39.google.ads.googleads.v2.services.MutateSharedSetsRequest\x1a:.google.ads.googleads.v2.services.MutateSharedSetsResponse\":\x82\xd3\xe4\x93\x02\x34\"//v2/customers/{customer_id=*}/sharedSets:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v2.servicesB\x15SharedSetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETSHAREDSETREQUEST = _descriptor.Descriptor( - name='GetSharedSetRequest', - full_name='google.ads.googleads.v2.services.GetSharedSetRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=273, - serialized_end=317, -) - - -_MUTATESHAREDSETSREQUEST = _descriptor.Descriptor( - name='MutateSharedSetsRequest', - full_name='google.ads.googleads.v2.services.MutateSharedSetsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=320, - serialized_end=488, -) - - -_SHAREDSETOPERATION = _descriptor.Descriptor( - name='SharedSetOperation', - full_name='google.ads.googleads.v2.services.SharedSetOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.SharedSetOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=491, - serialized_end=719, -) - - -_MUTATESHAREDSETSRESPONSE = _descriptor.Descriptor( - name='MutateSharedSetsResponse', - full_name='google.ads.googleads.v2.services.MutateSharedSetsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=722, - serialized_end=873, -) - - -_MUTATESHAREDSETRESULT = _descriptor.Descriptor( - name='MutateSharedSetResult', - full_name='google.ads.googleads.v2.services.MutateSharedSetResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=875, - serialized_end=921, -) - -_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__v2_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET -_SHAREDSETOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_SHAREDSETOPERATION.oneofs_by_name['operation'].fields.append( - _SHAREDSETOPERATION.fields_by_name['update']) -_SHAREDSETOPERATION.fields_by_name['update'].containing_oneof = _SHAREDSETOPERATION.oneofs_by_name['operation'] -_SHAREDSETOPERATION.oneofs_by_name['operation'].fields.append( - _SHAREDSETOPERATION.fields_by_name['remove']) -_SHAREDSETOPERATION.fields_by_name['remove'].containing_oneof = _SHAREDSETOPERATION.oneofs_by_name['operation'] -_MUTATESHAREDSETSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATESHAREDSETSRESPONSE.fields_by_name['results'].message_type = _MUTATESHAREDSETRESULT -DESCRIPTOR.message_types_by_name['GetSharedSetRequest'] = _GETSHAREDSETREQUEST -DESCRIPTOR.message_types_by_name['MutateSharedSetsRequest'] = _MUTATESHAREDSETSREQUEST -DESCRIPTOR.message_types_by_name['SharedSetOperation'] = _SHAREDSETOPERATION -DESCRIPTOR.message_types_by_name['MutateSharedSetsResponse'] = _MUTATESHAREDSETSRESPONSE -DESCRIPTOR.message_types_by_name['MutateSharedSetResult'] = _MUTATESHAREDSETRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetSharedSetRequest = _reflection.GeneratedProtocolMessageType('GetSharedSetRequest', (_message.Message,), dict( - DESCRIPTOR = _GETSHAREDSETREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.shared_set_service_pb2' - , - __doc__ = """Request message for - [SharedSetService.GetSharedSet][google.ads.googleads.v2.services.SharedSetService.GetSharedSet]. - - - Attributes: - resource_name: - The resource name of the shared set to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetSharedSetRequest) - )) -_sym_db.RegisterMessage(GetSharedSetRequest) - -MutateSharedSetsRequest = _reflection.GeneratedProtocolMessageType('MutateSharedSetsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATESHAREDSETSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.shared_set_service_pb2' - , - __doc__ = """Request message for - [SharedSetService.MutateSharedSets][google.ads.googleads.v2.services.SharedSetService.MutateSharedSets]. - - - Attributes: - customer_id: - The ID of the customer whose shared sets are being modified. - operations: - 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 - 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.v2.services.MutateSharedSetsRequest) - )) -_sym_db.RegisterMessage(MutateSharedSetsRequest) - -SharedSetOperation = _reflection.GeneratedProtocolMessageType('SharedSetOperation', (_message.Message,), dict( - DESCRIPTOR = _SHAREDSETOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.shared_set_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on an shared set. - - - Attributes: - update_mask: - 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 - shared set. - update: - Update operation: The shared set is expected to have a valid - resource name. - remove: - Remove operation: A resource name for the removed shared set - is expected, in this format: - ``customers/{customer_id}/sharedSets/{shared_set_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.SharedSetOperation) - )) -_sym_db.RegisterMessage(SharedSetOperation) - -MutateSharedSetsResponse = _reflection.GeneratedProtocolMessageType('MutateSharedSetsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATESHAREDSETSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.shared_set_service_pb2' - , - __doc__ = """Response message for a shared set 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.v2.services.MutateSharedSetsResponse) - )) -_sym_db.RegisterMessage(MutateSharedSetsResponse) - -MutateSharedSetResult = _reflection.GeneratedProtocolMessageType('MutateSharedSetResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATESHAREDSETRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.shared_set_service_pb2' - , - __doc__ = """The result for the shared set mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateSharedSetResult) - )) -_sym_db.RegisterMessage(MutateSharedSetResult) - - -DESCRIPTOR._options = None - -_SHAREDSETSERVICE = _descriptor.ServiceDescriptor( - name='SharedSetService', - full_name='google.ads.googleads.v2.services.SharedSetService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=924, - serialized_end=1343, - methods=[ - _descriptor.MethodDescriptor( - name='GetSharedSet', - full_name='google.ads.googleads.v2.services.SharedSetService.GetSharedSet', - index=0, - containing_service=None, - input_type=_GETSHAREDSETREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET, - serialized_options=_b('\202\323\344\223\002.\022,/v2/{resource_name=customers/*/sharedSets/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateSharedSets', - full_name='google.ads.googleads.v2.services.SharedSetService.MutateSharedSets', - index=1, - containing_service=None, - input_type=_MUTATESHAREDSETSREQUEST, - output_type=_MUTATESHAREDSETSRESPONSE, - serialized_options=_b('\202\323\344\223\0024\"//v2/customers/{customer_id=*}/sharedSets:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_SHAREDSETSERVICE) - -DESCRIPTOR.services_by_name['SharedSetService'] = _SHAREDSETSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/shared_set_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/shared_set_service_pb2_grpc.py deleted file mode 100644 index ca3a51dbb..000000000 --- a/google/ads/google_ads/v2/proto/services/shared_set_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__set__pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__set__service__pb2 - - -class SharedSetServiceStub(object): - """Proto file describing the Shared Set service. - - Service to manage shared sets. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetSharedSet = channel.unary_unary( - '/google.ads.googleads.v2.services.SharedSetService/GetSharedSet', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__set__service__pb2.GetSharedSetRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shared__set__pb2.SharedSet.FromString, - ) - self.MutateSharedSets = channel.unary_unary( - '/google.ads.googleads.v2.services.SharedSetService/MutateSharedSets', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsResponse.FromString, - ) - - -class SharedSetServiceServicer(object): - """Proto file describing the Shared Set service. - - Service to manage shared sets. - """ - - def GetSharedSet(self, request, context): - """Returns the requested shared set in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateSharedSets(self, request, context): - """Creates, updates, or removes shared sets. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_shared__set__service__pb2.GetSharedSetRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.SharedSetService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/shopping_performance_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/shopping_performance_view_service_pb2.py deleted file mode 100644 index f73b47741..000000000 --- a/google/ads/google_ads/v2/proto/services/shopping_performance_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_v2/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.v2.proto.resources import shopping_performance_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/shopping_performance_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB#ShoppingPerformanceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nNgoogle/ads/googleads_v2/proto/services/shopping_performance_view_service.proto\x12 google.ads.googleads.v2.services\x1aGgoogle/ads/googleads_v2/proto/resources/shopping_performance_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\":\n!GetShoppingPerformanceViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9e\x02\n\x1eShoppingPerformanceViewService\x12\xde\x01\n\x1aGetShoppingPerformanceView\x12\x43.google.ads.googleads.v2.services.GetShoppingPerformanceViewRequest\x1a:.google.ads.googleads.v2.resources.ShoppingPerformanceView\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/v2/{resource_name=customers/*/shoppingPerformanceView}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8a\x02\n$com.google.ads.googleads.v2.servicesB#ShoppingPerformanceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shopping__performance__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETSHOPPINGPERFORMANCEVIEWREQUEST = _descriptor.Descriptor( - name='GetShoppingPerformanceViewRequest', - full_name='google.ads.googleads.v2.services.GetShoppingPerformanceViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=244, - serialized_end=302, -) - -DESCRIPTOR.message_types_by_name['GetShoppingPerformanceViewRequest'] = _GETSHOPPINGPERFORMANCEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetShoppingPerformanceViewRequest = _reflection.GeneratedProtocolMessageType('GetShoppingPerformanceViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETSHOPPINGPERFORMANCEVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.shopping_performance_view_service_pb2' - , - __doc__ = """Request message for - [ShoppingPerformanceViewService.GetShoppingPerformanceView][google.ads.googleads.v2.services.ShoppingPerformanceViewService.GetShoppingPerformanceView]. - - - Attributes: - resource_name: - The resource name of the Shopping performance view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetShoppingPerformanceViewRequest) - )) -_sym_db.RegisterMessage(GetShoppingPerformanceViewRequest) - - -DESCRIPTOR._options = None - -_SHOPPINGPERFORMANCEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ShoppingPerformanceViewService', - full_name='google.ads.googleads.v2.services.ShoppingPerformanceViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=305, - serialized_end=591, - methods=[ - _descriptor.MethodDescriptor( - name='GetShoppingPerformanceView', - full_name='google.ads.googleads.v2.services.ShoppingPerformanceViewService.GetShoppingPerformanceView', - index=0, - containing_service=None, - input_type=_GETSHOPPINGPERFORMANCEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shopping__performance__view__pb2._SHOPPINGPERFORMANCEVIEW, - serialized_options=_b('\202\323\344\223\0029\0227/v2/{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/v2/proto/services/shopping_performance_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/shopping_performance_view_service_pb2_grpc.py deleted file mode 100644 index 0dd857f48..000000000 --- a/google/ads/google_ads/v2/proto/services/shopping_performance_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import shopping_performance_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shopping__performance__view__pb2 -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shopping__performance__view__service__pb2 - - -class ShoppingPerformanceViewServiceStub(object): - """Proto file describing the ShoppingPerformanceView service. - - Service to fetch Shopping performance views. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetShoppingPerformanceView = channel.unary_unary( - '/google.ads.googleads.v2.services.ShoppingPerformanceViewService/GetShoppingPerformanceView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_shopping__performance__view__service__pb2.GetShoppingPerformanceViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shopping__performance__view__pb2.ShoppingPerformanceView.FromString, - ) - - -class ShoppingPerformanceViewServiceServicer(object): - """Proto file describing the ShoppingPerformanceView service. - - Service to fetch Shopping performance views. - """ - - def GetShoppingPerformanceView(self, request, context): - """Returns the requested Shopping performance view in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_shopping__performance__view__service__pb2.GetShoppingPerformanceViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_shopping__performance__view__pb2.ShoppingPerformanceView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.ShoppingPerformanceViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/topic_constant_service_pb2.py b/google/ads/google_ads/v2/proto/services/topic_constant_service_pb2.py deleted file mode 100644 index f8dda793f..000000000 --- a/google/ads/google_ads/v2/proto/services/topic_constant_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_v2/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.v2.proto.resources import topic_constant_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/topic_constant_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\031TopicConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v2/proto/services/topic_constant_service.proto\x12 google.ads.googleads.v2.services\x1agoogle/ads/googleads_v2/proto/services/user_list_service.proto\x12 google.ads.googleads.v2.services\x1a\x37google/ads/googleads_v2/proto/resources/user_list.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.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.v2.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.v2.resources.UserListH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v2.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.v2.services.MutateUserListResult\"-\n\x14MutateUserListResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9a\x03\n\x0fUserListService\x12\xa5\x01\n\x0bGetUserList\x12\x34.google.ads.googleads.v2.services.GetUserListRequest\x1a+.google.ads.googleads.v2.resources.UserList\"3\x82\xd3\xe4\x93\x02-\x12+/v2/{resource_name=customers/*/userLists/*}\x12\xc1\x01\n\x0fMutateUserLists\x12\x38.google.ads.googleads.v2.services.MutateUserListsRequest\x1a\x39.google.ads.googleads.v2.services.MutateUserListsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v2/customers/{customer_id=*}/userLists:mutate:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v2.servicesB\x14UserListServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_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_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETUSERLISTREQUEST = _descriptor.Descriptor( - name='GetUserListRequest', - full_name='google.ads.googleads.v2.services.GetUserListRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=271, - serialized_end=314, -) - - -_MUTATEUSERLISTSREQUEST = _descriptor.Descriptor( - name='MutateUserListsRequest', - full_name='google.ads.googleads.v2.services.MutateUserListsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v2.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), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v2.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.v2.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, - 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=317, - serialized_end=483, -) - - -_USERLISTOPERATION = _descriptor.Descriptor( - name='UserListOperation', - full_name='google.ads.googleads.v2.services.UserListOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v2.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.v2.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.v2.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.v2.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, - 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.v2.services.UserListOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=486, - serialized_end=711, -) - - -_MUTATEUSERLISTSRESPONSE = _descriptor.Descriptor( - name='MutateUserListsResponse', - full_name='google.ads.googleads.v2.services.MutateUserListsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v2.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.v2.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, - 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=714, - serialized_end=863, -) - - -_MUTATEUSERLISTRESULT = _descriptor.Descriptor( - name='MutateUserListResult', - full_name='google.ads.googleads.v2.services.MutateUserListResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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, - 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=865, - serialized_end=910, -) - -_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__v2_dot_proto_dot_resources_dot_user__list__pb2._USERLIST -_USERLISTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v2_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'] -_USERLISTOPERATION.oneofs_by_name['operation'].fields.append( - _USERLISTOPERATION.fields_by_name['update']) -_USERLISTOPERATION.fields_by_name['update'].containing_oneof = _USERLISTOPERATION.oneofs_by_name['operation'] -_USERLISTOPERATION.oneofs_by_name['operation'].fields.append( - _USERLISTOPERATION.fields_by_name['remove']) -_USERLISTOPERATION.fields_by_name['remove'].containing_oneof = _USERLISTOPERATION.oneofs_by_name['operation'] -_MUTATEUSERLISTSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEUSERLISTSRESPONSE.fields_by_name['results'].message_type = _MUTATEUSERLISTRESULT -DESCRIPTOR.message_types_by_name['GetUserListRequest'] = _GETUSERLISTREQUEST -DESCRIPTOR.message_types_by_name['MutateUserListsRequest'] = _MUTATEUSERLISTSREQUEST -DESCRIPTOR.message_types_by_name['UserListOperation'] = _USERLISTOPERATION -DESCRIPTOR.message_types_by_name['MutateUserListsResponse'] = _MUTATEUSERLISTSRESPONSE -DESCRIPTOR.message_types_by_name['MutateUserListResult'] = _MUTATEUSERLISTRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetUserListRequest = _reflection.GeneratedProtocolMessageType('GetUserListRequest', (_message.Message,), dict( - DESCRIPTOR = _GETUSERLISTREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.user_list_service_pb2' - , - __doc__ = """Request message for - [UserListService.GetUserList][google.ads.googleads.v2.services.UserListService.GetUserList]. - - - Attributes: - resource_name: - The resource name of the user list to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetUserListRequest) - )) -_sym_db.RegisterMessage(GetUserListRequest) - -MutateUserListsRequest = _reflection.GeneratedProtocolMessageType('MutateUserListsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEUSERLISTSREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.user_list_service_pb2' - , - __doc__ = """Request message for - [UserListService.MutateUserLists][google.ads.googleads.v2.services.UserListService.MutateUserLists]. - - - Attributes: - customer_id: - The ID of the customer whose user lists are being modified. - operations: - 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 - 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.v2.services.MutateUserListsRequest) - )) -_sym_db.RegisterMessage(MutateUserListsRequest) - -UserListOperation = _reflection.GeneratedProtocolMessageType('UserListOperation', (_message.Message,), dict( - DESCRIPTOR = _USERLISTOPERATION, - __module__ = 'google.ads.googleads_v2.proto.services.user_list_service_pb2' - , - __doc__ = """A single operation (create, update) on a user list. - - - Attributes: - update_mask: - 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 - user list. - update: - Update operation: The user list is expected to have a valid - resource name. - remove: - Remove operation: A resource name for the removed user list is - expected, in this format: - ``customers/{customer_id}/userLists/{user_list_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.UserListOperation) - )) -_sym_db.RegisterMessage(UserListOperation) - -MutateUserListsResponse = _reflection.GeneratedProtocolMessageType('MutateUserListsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEUSERLISTSRESPONSE, - __module__ = 'google.ads.googleads_v2.proto.services.user_list_service_pb2' - , - __doc__ = """Response message for user list 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.v2.services.MutateUserListsResponse) - )) -_sym_db.RegisterMessage(MutateUserListsResponse) - -MutateUserListResult = _reflection.GeneratedProtocolMessageType('MutateUserListResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEUSERLISTRESULT, - __module__ = 'google.ads.googleads_v2.proto.services.user_list_service_pb2' - , - __doc__ = """The result for the user list mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.MutateUserListResult) - )) -_sym_db.RegisterMessage(MutateUserListResult) - - -DESCRIPTOR._options = None - -_USERLISTSERVICE = _descriptor.ServiceDescriptor( - name='UserListService', - full_name='google.ads.googleads.v2.services.UserListService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=913, - serialized_end=1323, - methods=[ - _descriptor.MethodDescriptor( - name='GetUserList', - full_name='google.ads.googleads.v2.services.UserListService.GetUserList', - index=0, - containing_service=None, - input_type=_GETUSERLISTREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__list__pb2._USERLIST, - serialized_options=_b('\202\323\344\223\002-\022+/v2/{resource_name=customers/*/userLists/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateUserLists', - full_name='google.ads.googleads.v2.services.UserListService.MutateUserLists', - index=1, - containing_service=None, - input_type=_MUTATEUSERLISTSREQUEST, - output_type=_MUTATEUSERLISTSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v2/customers/{customer_id=*}/userLists:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_USERLISTSERVICE) - -DESCRIPTOR.services_by_name['UserListService'] = _USERLISTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/user_list_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/user_list_service_pb2_grpc.py deleted file mode 100644 index cc1f7cba6..000000000 --- a/google/ads/google_ads/v2/proto/services/user_list_service_pb2_grpc.py +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import user_list_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__list__pb2 -from google.ads.google_ads.v2.proto.services import user_list_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_user__list__service__pb2 - - -class UserListServiceStub(object): - """Proto file describing the User List service. - - Service to manage user lists. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetUserList = channel.unary_unary( - '/google.ads.googleads.v2.services.UserListService/GetUserList', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_user__list__service__pb2.GetUserListRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__list__pb2.UserList.FromString, - ) - self.MutateUserLists = channel.unary_unary( - '/google.ads.googleads.v2.services.UserListService/MutateUserLists', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsResponse.FromString, - ) - - -class UserListServiceServicer(object): - """Proto file describing the User List service. - - Service to manage user lists. - """ - - def GetUserList(self, request, context): - """Returns the requested user list. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateUserLists(self, request, context): - """Creates or updates user lists. Operation statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_user__list__service__pb2.GetUserListRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.UserListService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/user_location_view_service_pb2.py b/google/ads/google_ads/v2/proto/services/user_location_view_service_pb2.py deleted file mode 100644 index cdef425f6..000000000 --- a/google/ads/google_ads/v2/proto/services/user_location_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_v2/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.v2.proto.resources import user_location_view_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/user_location_view_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\034UserLocationViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\nGgoogle/ads/googleads_v2/proto/services/user_location_view_service.proto\x12 google.ads.googleads.v2.services\x1a@google/ads/googleads_v2/proto/resources/user_location_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"3\n\x1aGetUserLocationViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xfe\x01\n\x17UserLocationViewService\x12\xc5\x01\n\x13GetUserLocationView\x12<.google.ads.googleads.v2.services.GetUserLocationViewRequest\x1a\x33.google.ads.googleads.v2.resources.UserLocationView\";\x82\xd3\xe4\x93\x02\x35\x12\x33/v2/{resource_name=customers/*/userLocationViews/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v2.servicesB\x1cUserLocationViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__location__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETUSERLOCATIONVIEWREQUEST = _descriptor.Descriptor( - name='GetUserLocationViewRequest', - full_name='google.ads.googleads.v2.services.GetUserLocationViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=230, - serialized_end=281, -) - -DESCRIPTOR.message_types_by_name['GetUserLocationViewRequest'] = _GETUSERLOCATIONVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetUserLocationViewRequest = _reflection.GeneratedProtocolMessageType('GetUserLocationViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETUSERLOCATIONVIEWREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.user_location_view_service_pb2' - , - __doc__ = """Request message for - [UserLocationViewService.GetUserLocationView][google.ads.googleads.v2.services.UserLocationViewService.GetUserLocationView]. - - - Attributes: - resource_name: - The resource name of the user location view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetUserLocationViewRequest) - )) -_sym_db.RegisterMessage(GetUserLocationViewRequest) - - -DESCRIPTOR._options = None - -_USERLOCATIONVIEWSERVICE = _descriptor.ServiceDescriptor( - name='UserLocationViewService', - full_name='google.ads.googleads.v2.services.UserLocationViewService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=284, - serialized_end=538, - methods=[ - _descriptor.MethodDescriptor( - name='GetUserLocationView', - full_name='google.ads.googleads.v2.services.UserLocationViewService.GetUserLocationView', - index=0, - containing_service=None, - input_type=_GETUSERLOCATIONVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__location__view__pb2._USERLOCATIONVIEW, - serialized_options=_b('\202\323\344\223\0025\0223/v2/{resource_name=customers/*/userLocationViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_USERLOCATIONVIEWSERVICE) - -DESCRIPTOR.services_by_name['UserLocationViewService'] = _USERLOCATIONVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/user_location_view_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/user_location_view_service_pb2_grpc.py deleted file mode 100644 index fa2576cb5..000000000 --- a/google/ads/google_ads/v2/proto/services/user_location_view_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import user_location_view_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__location__view__pb2 -from google.ads.google_ads.v2.proto.services import user_location_view_service_pb2 as google_dot_ads_dot_googleads__v2_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.v2.services.UserLocationViewService/GetUserLocationView', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_user__location__view__service__pb2.GetUserLocationViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_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__v2_dot_proto_dot_services_dot_user__location__view__service__pb2.GetUserLocationViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_user__location__view__pb2.UserLocationView.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.UserLocationViewService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/proto/services/video_service_pb2.py b/google/ads/google_ads/v2/proto/services/video_service_pb2.py deleted file mode 100644 index 6ac00ddba..000000000 --- a/google/ads/google_ads/v2/proto/services/video_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_v2/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.v2.proto.resources import video_pb2 as google_dot_ads_dot_googleads__v2_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 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v2/proto/services/video_service.proto', - package='google.ads.googleads.v2.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v2.servicesB\021VideoServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V2.Services\312\002 Google\\Ads\\GoogleAds\\V2\\Services\352\002$Google::Ads::GoogleAds::V2::Services'), - serialized_pb=_b('\n:google/ads/googleads_v2/proto/services/video_service.proto\x12 google.ads.googleads.v2.services\x1a\x33google/ads/googleads_v2/proto/resources/video.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"(\n\x0fGetVideoRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc7\x01\n\x0cVideoService\x12\x99\x01\n\x08GetVideo\x12\x31.google.ads.googleads.v2.services.GetVideoRequest\x1a(.google.ads.googleads.v2.resources.Video\"0\x82\xd3\xe4\x93\x02*\x12(/v2/{resource_name=customers/*/videos/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xf8\x01\n$com.google.ads.googleads.v2.servicesB\x11VideoServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v2/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V2.Services\xca\x02 Google\\Ads\\GoogleAds\\V2\\Services\xea\x02$Google::Ads::GoogleAds::V2::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_video__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) - - - - -_GETVIDEOREQUEST = _descriptor.Descriptor( - name='GetVideoRequest', - full_name='google.ads.googleads.v2.services.GetVideoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v2.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=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=204, - serialized_end=244, -) - -DESCRIPTOR.message_types_by_name['GetVideoRequest'] = _GETVIDEOREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetVideoRequest = _reflection.GeneratedProtocolMessageType('GetVideoRequest', (_message.Message,), dict( - DESCRIPTOR = _GETVIDEOREQUEST, - __module__ = 'google.ads.googleads_v2.proto.services.video_service_pb2' - , - __doc__ = """Request message for - [VideoService.GetVideo][google.ads.googleads.v2.services.VideoService.GetVideo]. - - - Attributes: - resource_name: - The resource name of the video to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v2.services.GetVideoRequest) - )) -_sym_db.RegisterMessage(GetVideoRequest) - - -DESCRIPTOR._options = None - -_VIDEOSERVICE = _descriptor.ServiceDescriptor( - name='VideoService', - full_name='google.ads.googleads.v2.services.VideoService', - file=DESCRIPTOR, - index=0, - serialized_options=_b('\312A\030googleads.googleapis.com'), - serialized_start=247, - serialized_end=446, - methods=[ - _descriptor.MethodDescriptor( - name='GetVideo', - full_name='google.ads.googleads.v2.services.VideoService.GetVideo', - index=0, - containing_service=None, - input_type=_GETVIDEOREQUEST, - output_type=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_video__pb2._VIDEO, - serialized_options=_b('\202\323\344\223\002*\022(/v2/{resource_name=customers/*/videos/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_VIDEOSERVICE) - -DESCRIPTOR.services_by_name['VideoService'] = _VIDEOSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v2/proto/services/video_service_pb2_grpc.py b/google/ads/google_ads/v2/proto/services/video_service_pb2_grpc.py deleted file mode 100644 index f11e54eb0..000000000 --- a/google/ads/google_ads/v2/proto/services/video_service_pb2_grpc.py +++ /dev/null @@ -1,51 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v2.proto.resources import video_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_video__pb2 -from google.ads.google_ads.v2.proto.services import video_service_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_video__service__pb2 - - -class VideoServiceStub(object): - """Proto file describing the Video service. - - Service to manage videos. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetVideo = channel.unary_unary( - '/google.ads.googleads.v2.services.VideoService/GetVideo', - request_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_services_dot_video__service__pb2.GetVideoRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_video__pb2.Video.FromString, - ) - - -class VideoServiceServicer(object): - """Proto file describing the Video service. - - Service to manage videos. - """ - - def GetVideo(self, request, context): - """Returns the requested video in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -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__v2_dot_proto_dot_services_dot_video__service__pb2.GetVideoRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_video__pb2.Video.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v2.services.VideoService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v2/services/ad_group_label_service_client.py b/google/ads/google_ads/v2/services/ad_group_label_service_client.py deleted file mode 100644 index 6ff030720..000000000 --- a/google/ads/google_ads/v2/services/ad_group_label_service_client.py +++ /dev/null @@ -1,338 +0,0 @@ -# -*- 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.v2.services AdGroupLabelService 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 -import grpc - -from google.ads.google_ads.v2.services import ad_group_label_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import ad_group_label_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class AdGroupLabelServiceClient(object): - """Service to manage labels on ad groups.""" - - 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.v2.services.AdGroupLabelService' - - - @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: - AdGroupLabelServiceClient: 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_label_path(cls, customer, ad_group_label): - """Return a fully-qualified ad_group_label string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/adGroupLabels/{ad_group_label}', - customer=customer, - ad_group_label=ad_group_label, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.AdGroupLabelServiceGrpcTransport, - Callable[[~.Credentials, type], ~.AdGroupLabelServiceGrpcTransport]): 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_label_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_label_service_grpc_transport.AdGroupLabelServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = ad_group_label_service_grpc_transport.AdGroupLabelServiceGrpcTransport( - 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_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. - 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_v2.types.AdGroupLabel` 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_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, - ) - - request = ad_group_label_service_pb2.GetAdGroupLabelRequest( - 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_v2.types.AdGroupLabelOperation]]): 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_v2.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. - 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_v2.types.MutateAdGroupLabelsResponse` 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_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, - ) - - request = ad_group_label_service_pb2.MutateAdGroupLabelsRequest( - 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_ad_group_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/ad_group_service_client.py b/google/ads/google_ads/v2/services/ad_group_service_client.py deleted file mode 100644 index 31c54afad..000000000 --- a/google/ads/google_ads/v2/services/ad_group_service_client.py +++ /dev/null @@ -1,340 +0,0 @@ -# -*- 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.v2.services AdGroupService 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 -import grpc - -from google.ads.google_ads.v2.services import ad_group_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import ad_group_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class AdGroupServiceClient(object): - """Service to manage ad groups.""" - - 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.v2.services.AdGroupService' - - - @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: - AdGroupServiceClient: 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_path(cls, customer, ad_group): - """Return a fully-qualified ad_group string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/adGroups/{ad_group}', - customer=customer, - ad_group=ad_group, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.AdGroupServiceGrpcTransport, - Callable[[~.Credentials, type], ~.AdGroupServiceGrpcTransport]): 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_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_service_grpc_transport.AdGroupServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = ad_group_service_grpc_transport.AdGroupServiceGrpcTransport( - 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( - 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. - 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_v2.types.AdGroup` 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' 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, - ) - - request = ad_group_service_pb2.GetAdGroupRequest( - 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_v2.types.AdGroupOperation]]): 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_v2.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. - 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_v2.types.MutateAdGroupsResponse` 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_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, - ) - - request = ad_group_service_pb2.MutateAdGroupsRequest( - 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_ad_groups'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/ad_group_simulation_service_client.py b/google/ads/google_ads/v2/services/ad_group_simulation_service_client.py deleted file mode 100644 index ddc2d9dee..000000000 --- a/google/ads/google_ads/v2/services/ad_group_simulation_service_client.py +++ /dev/null @@ -1,272 +0,0 @@ -# -*- 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.v2.services AdGroupSimulationService 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 -import grpc - -from google.ads.google_ads.v2.services import ad_group_simulation_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import ad_group_simulation_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class AdGroupSimulationServiceClient(object): - """Service to fetch ad group simulations.""" - - 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.v2.services.AdGroupSimulationService' - - - @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: - AdGroupSimulationServiceClient: 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_simulation_path(cls, customer, ad_group_simulation): - """Return a fully-qualified ad_group_simulation string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/adGroupSimulations/{ad_group_simulation}', - customer=customer, - ad_group_simulation=ad_group_simulation, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.AdGroupSimulationServiceGrpcTransport, - Callable[[~.Credentials, type], ~.AdGroupSimulationServiceGrpcTransport]): 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_simulation_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_simulation_service_grpc_transport.AdGroupSimulationServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = ad_group_simulation_service_grpc_transport.AdGroupSimulationServiceGrpcTransport( - 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_simulation( - 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 simulation in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.AdGroupSimulation` 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_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, - ) - - request = ad_group_simulation_service_pb2.GetAdGroupSimulationRequest( - 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/v2/services/ad_parameter_service_client.py b/google/ads/google_ads/v2/services/ad_parameter_service_client.py deleted file mode 100644 index 391f1e231..000000000 --- a/google/ads/google_ads/v2/services/ad_parameter_service_client.py +++ /dev/null @@ -1,347 +0,0 @@ -# -*- 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.v2.services AdParameterService 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 -import grpc - -from google.ads.google_ads.v2.services import ad_parameter_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import ad_parameter_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class AdParameterServiceClient(object): - """Service to manage ad parameters.""" - - 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.v2.services.AdParameterService' - - - @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: - AdParameterServiceClient: 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_parameter_path(cls, customer, ad_parameter): - """Return a fully-qualified ad_parameter string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/adParameters/{ad_parameter}', - customer=customer, - ad_parameter=ad_parameter, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.AdParameterServiceGrpcTransport, - Callable[[~.Credentials, type], ~.AdParameterServiceGrpcTransport]): 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_parameter_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_parameter_service_grpc_transport.AdParameterServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = ad_parameter_service_grpc_transport.AdParameterServiceGrpcTransport( - 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_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. - 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_v2.types.AdParameter` 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_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, - ) - - request = ad_parameter_service_pb2.GetAdParameterRequest( - 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_v2.types.AdParameterOperation]]): 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_v2.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. - 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_v2.types.MutateAdParametersResponse` 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_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, - ) - - request = ad_parameter_service_pb2.MutateAdParametersRequest( - 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_ad_parameters'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/ad_schedule_view_service_client.py b/google/ads/google_ads/v2/services/ad_schedule_view_service_client.py deleted file mode 100644 index 231d22e6b..000000000 --- a/google/ads/google_ads/v2/services/ad_schedule_view_service_client.py +++ /dev/null @@ -1,278 +0,0 @@ -# -*- 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.v2.services AdScheduleViewService 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 -import grpc - -from google.ads.google_ads.v2.services import ad_schedule_view_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import ad_schedule_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class AdScheduleViewServiceClient(object): - """Service to fetch ad schedule 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.v2.services.AdScheduleViewService' - - - @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: - AdScheduleViewServiceClient: 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_schedule_view_path(cls, customer, ad_schedule_view): - """Return a fully-qualified ad_schedule_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/adScheduleViews/{ad_schedule_view}', - customer=customer, - ad_schedule_view=ad_schedule_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.AdScheduleViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.AdScheduleViewServiceGrpcTransport]): 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_schedule_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_schedule_view_service_grpc_transport.AdScheduleViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = ad_schedule_view_service_grpc_transport.AdScheduleViewServiceGrpcTransport( - 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_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. - 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_v2.types.AdScheduleView` 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_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, - ) - - request = ad_schedule_view_service_pb2.GetAdScheduleViewRequest( - 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/v2/services/ad_service_client.py b/google/ads/google_ads/v2/services/ad_service_client.py deleted file mode 100644 index 72c18daa1..000000000 --- a/google/ads/google_ads/v2/services/ad_service_client.py +++ /dev/null @@ -1,342 +0,0 @@ -# -*- 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.v2.services AdService 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 -import grpc - -from google.ads.google_ads.v2.services import ad_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import ad_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -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.v2.services.AdService' - - - @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: - AdServiceClient: 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_path(cls, customer, ad): - """Return a fully-qualified ad string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/ads/{ad}', - customer=customer, - ad=ad, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - 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 - 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_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_service_grpc_transport.AdServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = ad_service_grpc_transport.AdServiceGrpcTransport( - 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( - 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. - 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_v2.types.Ad` 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' 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) - - return self._inner_api_calls['get_ad'](request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_ads( - self, - customer_id, - operations, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Updates 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_v2.types.AdOperation]]): 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_v2.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. - 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_v2.types.MutateAdsResponse` 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_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 = ad_service_pb2.MutateAdsRequest( - 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_ads'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/age_range_view_service_client.py b/google/ads/google_ads/v2/services/age_range_view_service_client.py deleted file mode 100644 index c1782945c..000000000 --- a/google/ads/google_ads/v2/services/age_range_view_service_client.py +++ /dev/null @@ -1,284 +0,0 @@ -# -*- 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.v2.services AgeRangeViewService 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 -import grpc - -from google.ads.google_ads.v2.services import age_range_view_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import age_range_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class AgeRangeViewServiceClient(object): - """Service to manage age 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.v2.services.AgeRangeViewService' - - - @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: - AgeRangeViewServiceClient: 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 age_range_view_path(cls, customer, age_range_view): - """Return a fully-qualified age_range_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/ageRangeViews/{age_range_view}', - customer=customer, - age_range_view=age_range_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.AgeRangeViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.AgeRangeViewServiceGrpcTransport]): 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 = age_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=age_range_view_service_grpc_transport.AgeRangeViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = age_range_view_service_grpc_transport.AgeRangeViewServiceGrpcTransport( - 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_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. - 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_v2.types.AgeRangeView` 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_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, - ) - - request = age_range_view_service_pb2.GetAgeRangeViewRequest( - 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/v2/services/asset_service_client.py b/google/ads/google_ads/v2/services/asset_service_client.py deleted file mode 100644 index 2878d74e7..000000000 --- a/google/ads/google_ads/v2/services/asset_service_client.py +++ /dev/null @@ -1,352 +0,0 @@ -# -*- 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.v2.services AssetService 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 -import grpc - -from google.ads.google_ads.v2.services import asset_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import asset_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class AssetServiceClient(object): - """ - Service to manage assets. Asset types can be created with AssetService are - YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be - created with Ad inline. - """ - - 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.v2.services.AssetService' - - - @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: - AssetServiceClient: 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 asset_path(cls, customer, asset): - """Return a fully-qualified asset string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/assets/{asset}', - customer=customer, - asset=asset, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.AssetServiceGrpcTransport, - Callable[[~.Credentials, type], ~.AssetServiceGrpcTransport]): 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 = asset_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=asset_service_grpc_transport.AssetServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = asset_service_grpc_transport.AssetServiceGrpcTransport( - 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_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. - 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_v2.types.Asset` 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_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, - ) - - request = asset_service_pb2.GetAssetRequest( - 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_v2.types.AssetOperation]]): 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_v2.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. - 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_v2.types.MutateAssetsResponse` 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_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, - ) - - request = asset_service_pb2.MutateAssetsRequest( - 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_assets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/bidding_strategy_service_client.py b/google/ads/google_ads/v2/services/bidding_strategy_service_client.py deleted file mode 100644 index f5152b2a6..000000000 --- a/google/ads/google_ads/v2/services/bidding_strategy_service_client.py +++ /dev/null @@ -1,362 +0,0 @@ -# -*- 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.v2.services BiddingStrategyService 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 -import grpc - -from google.ads.google_ads.v2.services import bidding_strategy_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import bidding_strategy_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class BiddingStrategyServiceClient(object): - """Service to manage bidding strategies.""" - - 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.v2.services.BiddingStrategyService' - - - @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: - BiddingStrategyServiceClient: 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 bidding_strategy_path(cls, customer, bidding_strategy): - """Return a fully-qualified bidding_strategy string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/biddingStrategies/{bidding_strategy}', - customer=customer, - bidding_strategy=bidding_strategy, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.BiddingStrategyServiceGrpcTransport, - Callable[[~.Credentials, type], ~.BiddingStrategyServiceGrpcTransport]): 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 = bidding_strategy_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=bidding_strategy_service_grpc_transport.BiddingStrategyServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = bidding_strategy_service_grpc_transport.BiddingStrategyServiceGrpcTransport( - 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_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. - 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_v2.types.BiddingStrategy` 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_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, - ) - - request = bidding_strategy_service_pb2.GetBiddingStrategyRequest( - 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, - 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 bidding strategies. Operation statuses are - returned. - - Args: - customer_id (str): The ID of the customer whose bidding strategies are being modified. - operations (list[Union[dict, ~google.ads.googleads_v2.types.BiddingStrategyOperation]]): 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_v2.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. - 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_v2.types.MutateBiddingStrategiesResponse` 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_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, - ) - - request = bidding_strategy_service_pb2.MutateBiddingStrategiesRequest( - 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_bidding_strategies'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/billing_setup_service_client.py b/google/ads/google_ads/v2/services/billing_setup_service_client.py deleted file mode 100644 index ebcc9d98a..000000000 --- a/google/ads/google_ads/v2/services/billing_setup_service_client.py +++ /dev/null @@ -1,364 +0,0 @@ -# -*- 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.v2.services BillingSetupService 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 -import grpc - -from google.ads.google_ads.v2.services import billing_setup_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import billing_setup_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - '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 - will appear on a single invoice generated monthly. - - Mutates: - The REMOVE operation cancels a pending billing setup. - The CREATE operation creates a new billing setup. - """ - - 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.v2.services.BillingSetupService' - - - @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: - BillingSetupServiceClient: 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 billing_setup_path(cls, customer, billing_setup): - """Return a fully-qualified billing_setup string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/billingSetups/{billing_setup}', - customer=customer, - billing_setup=billing_setup, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.BillingSetupServiceGrpcTransport, - Callable[[~.Credentials, type], ~.BillingSetupServiceGrpcTransport]): 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 = billing_setup_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=billing_setup_service_grpc_transport.BillingSetupServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = billing_setup_service_grpc_transport.BillingSetupServiceGrpcTransport( - 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_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. - 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_v2.types.BillingSetup` 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_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, - ) - - request = billing_setup_service_pb2.GetBillingSetupRequest( - 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_v2.types.BillingSetupOperation]): The operation to perform. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v2.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. - 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_v2.types.MutateBillingSetupResponse` 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_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, - ) - - request = billing_setup_service_pb2.MutateBillingSetupRequest( - 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) - - return self._inner_api_calls['mutate_billing_setup'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/campaign_audience_view_service_client.py b/google/ads/google_ads/v2/services/campaign_audience_view_service_client.py deleted file mode 100644 index 9efe56bf3..000000000 --- a/google/ads/google_ads/v2/services/campaign_audience_view_service_client.py +++ /dev/null @@ -1,296 +0,0 @@ -# -*- 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.v2.services CampaignAudienceViewService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_audience_view_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_audience_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignAudienceViewServiceClient(object): - """Service to manage campaign audience 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.v2.services.CampaignAudienceViewService' - - - @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: - CampaignAudienceViewServiceClient: 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 campaign_audience_view_path(cls, customer, campaign_audience_view): - """Return a fully-qualified campaign_audience_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaignAudienceViews/{campaign_audience_view}', - customer=customer, - campaign_audience_view=campaign_audience_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignAudienceViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignAudienceViewServiceGrpcTransport]): 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 = campaign_audience_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=campaign_audience_view_service_grpc_transport.CampaignAudienceViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_audience_view_service_grpc_transport.CampaignAudienceViewServiceGrpcTransport( - 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_campaign_audience_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 campaign audience view in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.CampaignAudienceView` 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_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, - ) - - request = campaign_audience_view_service_pb2.GetCampaignAudienceViewRequest( - 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/v2/services/campaign_bid_modifier_service_client.py b/google/ads/google_ads/v2/services/campaign_bid_modifier_service_client.py deleted file mode 100644 index 50a62ee10..000000000 --- a/google/ads/google_ads/v2/services/campaign_bid_modifier_service_client.py +++ /dev/null @@ -1,371 +0,0 @@ -# -*- 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.v2.services CampaignBidModifierService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_bid_modifier_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_bid_modifier_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignBidModifierServiceClient(object): - """Service to manage campaign bid modifiers.""" - - 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.v2.services.CampaignBidModifierService' - - - @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: - CampaignBidModifierServiceClient: 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 campaign_bid_modifier_path(cls, customer, campaign_bid_modifier): - """Return a fully-qualified campaign_bid_modifier string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaignBidModifiers/{campaign_bid_modifier}', - customer=customer, - campaign_bid_modifier=campaign_bid_modifier, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignBidModifierServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignBidModifierServiceGrpcTransport]): 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 = campaign_bid_modifier_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=campaign_bid_modifier_service_grpc_transport.CampaignBidModifierServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_bid_modifier_service_grpc_transport.CampaignBidModifierServiceGrpcTransport( - 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_campaign_bid_modifier( - 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 bid modifier in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.CampaignBidModifier` 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_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, - ) - - request = campaign_bid_modifier_service_pb2.GetCampaignBidModifierRequest( - 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, - 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 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_v2.types.CampaignBidModifierOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignBidModifiersResponse` 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_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, - ) - - request = campaign_bid_modifier_service_pb2.MutateCampaignBidModifiersRequest( - 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_campaign_bid_modifiers'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/campaign_budget_service_client.py b/google/ads/google_ads/v2/services/campaign_budget_service_client.py deleted file mode 100644 index c1305c8b7..000000000 --- a/google/ads/google_ads/v2/services/campaign_budget_service_client.py +++ /dev/null @@ -1,374 +0,0 @@ -# -*- 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.v2.services CampaignBudgetService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_budget_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_budget_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignBudgetServiceClient(object): - """Service to manage campaign budgets.""" - - 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.v2.services.CampaignBudgetService' - - - @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: - CampaignBudgetServiceClient: 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 campaign_budget_path(cls, customer, campaign_budget): - """Return a fully-qualified campaign_budget string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaignBudgets/{campaign_budget}', - customer=customer, - campaign_budget=campaign_budget, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignBudgetServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignBudgetServiceGrpcTransport]): 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 = campaign_budget_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=campaign_budget_service_grpc_transport.CampaignBudgetServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_budget_service_grpc_transport.CampaignBudgetServiceGrpcTransport( - 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_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. - 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_v2.types.CampaignBudget` 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_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, - ) - - request = campaign_budget_service_pb2.GetCampaignBudgetRequest( - 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, - 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 budgets. Operation statuses are - returned. - - Args: - customer_id (str): The ID of the customer whose campaign budgets are being modified. - operations (list[Union[dict, ~google.ads.googleads_v2.types.CampaignBudgetOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignBudgetsResponse` 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_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, - ) - - request = campaign_budget_service_pb2.MutateCampaignBudgetsRequest( - 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_campaign_budgets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/campaign_criterion_service_client.py b/google/ads/google_ads/v2/services/campaign_criterion_service_client.py deleted file mode 100644 index 6fc09865c..000000000 --- a/google/ads/google_ads/v2/services/campaign_criterion_service_client.py +++ /dev/null @@ -1,376 +0,0 @@ -# -*- 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.v2.services CampaignCriterionService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_criterion_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_criterion_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignCriterionServiceClient(object): - """Service to manage campaign criteria.""" - - 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.v2.services.CampaignCriterionService' - - - @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: - CampaignCriterionServiceClient: 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 campaign_criteria_path(cls, customer, campaign_criteria): - """Return a fully-qualified campaign_criteria string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaignCriteria/{campaign_criteria}', - customer=customer, - campaign_criteria=campaign_criteria, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignCriterionServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignCriterionServiceGrpcTransport]): 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 = campaign_criterion_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=campaign_criterion_service_grpc_transport.CampaignCriterionServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_criterion_service_grpc_transport.CampaignCriterionServiceGrpcTransport( - 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_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. - 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_v2.types.CampaignCriterion` 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_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, - ) - - request = campaign_criterion_service_pb2.GetCampaignCriterionRequest( - 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, - 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 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_v2.types.CampaignCriterionOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignCriteriaResponse` 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_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, - ) - - request = campaign_criterion_service_pb2.MutateCampaignCriteriaRequest( - 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_campaign_criteria'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/campaign_criterion_simulation_service_client.py b/google/ads/google_ads/v2/services/campaign_criterion_simulation_service_client.py deleted file mode 100644 index ea9fd12c8..000000000 --- a/google/ads/google_ads/v2/services/campaign_criterion_simulation_service_client.py +++ /dev/null @@ -1,308 +0,0 @@ -# -*- 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.v2.services CampaignCriterionSimulationService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_criterion_simulation_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_criterion_simulation_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignCriterionSimulationServiceClient(object): - """Service to fetch campaign criterion simulations.""" - - 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.v2.services.CampaignCriterionSimulationService' - - - @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: - CampaignCriterionSimulationServiceClient: 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 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}', - customer=customer, - campaign_criterion_simulation=campaign_criterion_simulation, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignCriterionSimulationServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignCriterionSimulationServiceGrpcTransport]): 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 = campaign_criterion_simulation_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=campaign_criterion_simulation_service_grpc_transport.CampaignCriterionSimulationServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_criterion_simulation_service_grpc_transport.CampaignCriterionSimulationServiceGrpcTransport( - 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_campaign_criterion_simulation( - 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 criterion simulation in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.CampaignCriterionSimulation` 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_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, - ) - - request = campaign_criterion_simulation_service_pb2.GetCampaignCriterionSimulationRequest( - 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/v2/services/campaign_draft_service_client.py b/google/ads/google_ads/v2/services/campaign_draft_service_client.py deleted file mode 100644 index 6c629161d..000000000 --- a/google/ads/google_ads/v2/services/campaign_draft_service_client.py +++ /dev/null @@ -1,533 +0,0 @@ -# -*- 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.v2.services CampaignDraftService API.""" - -import functools -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.page_iterator -import google.api_core.path_template -import grpc - -from google.ads.google_ads.v2.services import campaign_draft_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_draft_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignDraftServiceClient(object): - """Service to manage campaign drafts.""" - - 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.v2.services.CampaignDraftService' - - - @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: - CampaignDraftServiceClient: 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 campaign_draft_path(cls, customer, campaign_draft): - """Return a fully-qualified campaign_draft string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaignDrafts/{campaign_draft}', - customer=customer, - campaign_draft=campaign_draft, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignDraftServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignDraftServiceGrpcTransport]): 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 = campaign_draft_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=campaign_draft_service_grpc_transport.CampaignDraftServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_draft_service_grpc_transport.CampaignDraftServiceGrpcTransport( - 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_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. - 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_v2.types.CampaignDraft` 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_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, - ) - - request = campaign_draft_service_pb2.GetCampaignDraftRequest( - 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_v2.types.CampaignDraftOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignDraftsResponse` 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_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, - ) - - request = campaign_draft_service_pb2.MutateCampaignDraftsRequest( - 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_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. - - This method returns a Long Running Operation (LRO) indicating if the - Promote is done. Use [Operations.GetOperation] to poll the LRO until it - 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`` to view the list - of error reasons. - - Args: - campaign_draft (str): 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. - 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_v2.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 '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, - ) - - request = campaign_draft_service_pb2.PromoteCampaignDraftRequest( - 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, - empty_pb2.Empty, - metadata_type=empty_pb2.Empty, - ) - - def list_campaign_draft_async_errors( - self, - resource_name, - page_size=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Returns all errors that occurred during CampaignDraft promote. Throws an - error if called before campaign draft is promoted. - Supports standard list paging. - - Args: - resource_name (str): 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 - streaming is performed per-page, this determines the maximum number - of resources in a page. - 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.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v2.types.Status` 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 - 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_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, - ) - - 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), - request=request, - items_field='errors', - request_token_field='page_token', - response_token_field='next_page_token', - ) - return iterator diff --git a/google/ads/google_ads/v2/services/campaign_experiment_service_client.py b/google/ads/google_ads/v2/services/campaign_experiment_service_client.py deleted file mode 100644 index 492a9483f..000000000 --- a/google/ads/google_ads/v2/services/campaign_experiment_service_client.py +++ /dev/null @@ -1,738 +0,0 @@ -# -*- 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.v2.services CampaignExperimentService API.""" - -import functools -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.page_iterator -import google.api_core.path_template -import grpc - -from google.ads.google_ads.v2.services import campaign_experiment_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_experiment_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignExperimentServiceClient(object): - """ - CampaignExperimentService manages the life cycle of campaign experiments. - It is used to create new experiments from drafts, modify experiment - properties, promote changes in an experiment back to its base campaign, - graduate experiments into new stand-alone campaigns, and to remove an - experiment. - - An experiment consists of two variants or arms - the base campaign and the - experiment campaign, directing a fixed share of traffic to each arm. - A campaign experiment is created from a draft of changes to the base campaign - and will be a snapshot of changes in the draft at the time of creation. - """ - - 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.v2.services.CampaignExperimentService' - - - @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: - CampaignExperimentServiceClient: 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 campaign_experiment_path(cls, customer, campaign_experiment): - """Return a fully-qualified campaign_experiment string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaignExperiments/{campaign_experiment}', - customer=customer, - campaign_experiment=campaign_experiment, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignExperimentServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignExperimentServiceGrpcTransport]): 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 = campaign_experiment_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=campaign_experiment_service_grpc_transport.CampaignExperimentServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_experiment_service_grpc_transport.CampaignExperimentServiceGrpcTransport( - 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_campaign_experiment( - 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 experiment in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.CampaignExperiment` 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_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, - ) - - request = campaign_experiment_service_pb2.GetCampaignExperimentRequest( - 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, - customer_id, - campaign_experiment, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Creates a campaign experiment based on a campaign draft. The draft campaign - will be forked into a real campaign (called the experiment campaign) that - will begin serving ads if successfully created. - - The campaign experiment is created immediately with status INITIALIZING. - This method return a long running operation that tracks the forking of the - draft campaign. If the forking fails, a list of errors can be retrieved - using the ListCampaignExperimentAsyncErrors method. The operation's - metadata will be a StringValue containing the resource name of the created - campaign experiment. - - Args: - customer_id (str): The ID of the customer whose campaign experiment is being created. - campaign_experiment (Union[dict, ~google.ads.googleads_v2.types.CampaignExperiment]): 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_v2.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 - 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_v2.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 '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, - ) - - request = campaign_experiment_service_pb2.CreateCampaignExperimentRequest( - customer_id=customer_id, - campaign_experiment=campaign_experiment, - 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) - - 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, - ) - - def mutate_campaign_experiments( - 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): - """ - 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_v2.types.CampaignExperimentOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignExperimentsResponse` 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_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, - ) - - request = campaign_experiment_service_pb2.MutateCampaignExperimentsRequest( - 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_campaign_experiments'](request, retry=retry, timeout=timeout, metadata=metadata) - - def graduate_campaign_experiment( - self, - campaign_experiment, - campaign_budget, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Graduates a campaign experiment to a full campaign. The base and 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 - experiment. - 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_v2.types.GraduateCampaignExperimentResponse` 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 '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, - ) - - request = campaign_experiment_service_pb2.GraduateCampaignExperimentRequest( - campaign_experiment=campaign_experiment, - campaign_budget=campaign_budget, - ) - 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, - campaign_experiment, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Promotes the changes in a experiment campaign back to the base campaign. - - The campaign experiment is updated immediately with status PROMOTING. - This method return a long running operation that tracks the promoting of - the experiment campaign. If the promoting fails, a list of errors can be - retrieved using the ListCampaignExperimentAsyncErrors method. - - Args: - campaign_experiment (str): 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. - 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_v2.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 '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, - ) - - request = campaign_experiment_service_pb2.PromoteCampaignExperimentRequest( - 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, - empty_pb2.Empty, - metadata_type=empty_pb2.Empty, - ) - - def end_campaign_experiment( - self, - campaign_experiment, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Immediately ends a campaign experiment, changing the experiment's scheduled - end date and without waiting for end of day. End date is updated to be the - time of the request. - - Args: - campaign_experiment (str): 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. - 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. - - 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 '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, - ) - - request = campaign_experiment_service_pb2.EndCampaignExperimentRequest( - 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, - resource_name, - page_size=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Returns all errors that occurred during CampaignExperiment create or - promote (whichever occurred last). - Supports standard list paging. - - Args: - resource_name (str): 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- - 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. - 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.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v2.types.Status` 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 - 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_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, - ) - - 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), - request=request, - items_field='errors', - request_token_field='page_token', - response_token_field='next_page_token', - ) - return iterator diff --git a/google/ads/google_ads/v2/services/campaign_extension_setting_service_client.py b/google/ads/google_ads/v2/services/campaign_extension_setting_service_client.py deleted file mode 100644 index 79caa6b1f..000000000 --- a/google/ads/google_ads/v2/services/campaign_extension_setting_service_client.py +++ /dev/null @@ -1,393 +0,0 @@ -# -*- 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.v2.services CampaignExtensionSettingService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_extension_setting_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_extension_setting_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignExtensionSettingServiceClient(object): - """Service to manage campaign extension settings.""" - - 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.v2.services.CampaignExtensionSettingService' - - - @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: - CampaignExtensionSettingServiceClient: 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 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}', - customer=customer, - campaign_extension_setting=campaign_extension_setting, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignExtensionSettingServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignExtensionSettingServiceGrpcTransport]): 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 = campaign_extension_setting_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=campaign_extension_setting_service_grpc_transport.CampaignExtensionSettingServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_extension_setting_service_grpc_transport.CampaignExtensionSettingServiceGrpcTransport( - 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_campaign_extension_setting( - 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 extension setting in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.CampaignExtensionSetting` 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_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, - ) - - request = campaign_extension_setting_service_pb2.GetCampaignExtensionSettingRequest( - 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, - 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 extension settings. Operation - statuses are returned. - - Args: - customer_id (str): The ID of the customer whose campaign extension settings are being - modified. - operations (list[Union[dict, ~google.ads.googleads_v2.types.CampaignExtensionSettingOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignExtensionSettingsResponse` 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_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, - ) - - request = campaign_extension_setting_service_pb2.MutateCampaignExtensionSettingsRequest( - 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_campaign_extension_settings'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/campaign_feed_service_client.py b/google/ads/google_ads/v2/services/campaign_feed_service_client.py deleted file mode 100644 index a8d403a55..000000000 --- a/google/ads/google_ads/v2/services/campaign_feed_service_client.py +++ /dev/null @@ -1,394 +0,0 @@ -# -*- 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.v2.services CampaignFeedService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_feed_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_feed_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignFeedServiceClient(object): - """Service to manage campaign feeds.""" - - 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.v2.services.CampaignFeedService' - - - @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: - CampaignFeedServiceClient: 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 campaign_feed_path(cls, customer, campaign_feed): - """Return a fully-qualified campaign_feed string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaignFeeds/{campaign_feed}', - customer=customer, - campaign_feed=campaign_feed, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignFeedServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignFeedServiceGrpcTransport]): 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 = campaign_feed_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=campaign_feed_service_grpc_transport.CampaignFeedServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_feed_service_grpc_transport.CampaignFeedServiceGrpcTransport( - 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_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. - 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_v2.types.CampaignFeed` 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_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, - ) - - request = campaign_feed_service_pb2.GetCampaignFeedRequest( - 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_v2.types.CampaignFeedOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignFeedsResponse` 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_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, - ) - - request = campaign_feed_service_pb2.MutateCampaignFeedsRequest( - 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_campaign_feeds'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/campaign_label_service_client.py b/google/ads/google_ads/v2/services/campaign_label_service_client.py deleted file mode 100644 index fabded53a..000000000 --- a/google/ads/google_ads/v2/services/campaign_label_service_client.py +++ /dev/null @@ -1,397 +0,0 @@ -# -*- 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.v2.services CampaignLabelService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_label_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_label_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignLabelServiceClient(object): - """Service to manage labels on campaigns.""" - - 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.v2.services.CampaignLabelService' - - - @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: - CampaignLabelServiceClient: 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 campaign_label_path(cls, customer, campaign_label): - """Return a fully-qualified campaign_label string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaignLabels/{campaign_label}', - customer=customer, - campaign_label=campaign_label, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignLabelServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignLabelServiceGrpcTransport]): 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 = campaign_label_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=campaign_label_service_grpc_transport.CampaignLabelServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_label_service_grpc_transport.CampaignLabelServiceGrpcTransport( - 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_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. - 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_v2.types.CampaignLabel` 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_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, - ) - - request = campaign_label_service_pb2.GetCampaignLabelRequest( - 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_v2.types.CampaignLabelOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignLabelsResponse` 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_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, - ) - - request = campaign_label_service_pb2.MutateCampaignLabelsRequest( - 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_campaign_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/campaign_service_client.py b/google/ads/google_ads/v2/services/campaign_service_client.py deleted file mode 100644 index aea268257..000000000 --- a/google/ads/google_ads/v2/services/campaign_service_client.py +++ /dev/null @@ -1,399 +0,0 @@ -# -*- 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.v2.services CampaignService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignServiceClient(object): - """Service to manage campaigns.""" - - 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.v2.services.CampaignService' - - - @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: - CampaignServiceClient: 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 campaign_path(cls, customer, campaign): - """Return a fully-qualified campaign string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaigns/{campaign}', - customer=customer, - campaign=campaign, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignServiceGrpcTransport]): 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 = campaign_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=campaign_service_grpc_transport.CampaignServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_service_grpc_transport.CampaignServiceGrpcTransport( - 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_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. - 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_v2.types.Campaign` 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_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, - ) - - request = campaign_service_pb2.GetCampaignRequest( - 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_v2.types.CampaignOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignsResponse` 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_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, - ) - - request = campaign_service_pb2.MutateCampaignsRequest( - 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_campaigns'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/campaign_shared_set_service_client.py b/google/ads/google_ads/v2/services/campaign_shared_set_service_client.py deleted file mode 100644 index 3e3ea2973..000000000 --- a/google/ads/google_ads/v2/services/campaign_shared_set_service_client.py +++ /dev/null @@ -1,402 +0,0 @@ -# -*- 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.v2.services CampaignSharedSetService 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 -import grpc - -from google.ads.google_ads.v2.services import campaign_shared_set_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import campaign_shared_set_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CampaignSharedSetServiceClient(object): - """Service to manage campaign shared sets.""" - - 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.v2.services.CampaignSharedSetService' - - - @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: - CampaignSharedSetServiceClient: 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 campaign_shared_set_path(cls, customer, campaign_shared_set): - """Return a fully-qualified campaign_shared_set string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/campaignSharedSets/{campaign_shared_set}', - customer=customer, - campaign_shared_set=campaign_shared_set, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CampaignSharedSetServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CampaignSharedSetServiceGrpcTransport]): 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 = campaign_shared_set_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=campaign_shared_set_service_grpc_transport.CampaignSharedSetServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = campaign_shared_set_service_grpc_transport.CampaignSharedSetServiceGrpcTransport( - 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_campaign_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 campaign shared set in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.CampaignSharedSet` 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_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, - ) - - request = campaign_shared_set_service_pb2.GetCampaignSharedSetRequest( - 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, - 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 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_v2.types.CampaignSharedSetOperation]]): 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_v2.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. - 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_v2.types.MutateCampaignSharedSetsResponse` 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_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, - ) - - request = campaign_shared_set_service_pb2.MutateCampaignSharedSetsRequest( - 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_campaign_shared_sets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/carrier_constant_service_client.py b/google/ads/google_ads/v2/services/carrier_constant_service_client.py deleted file mode 100644 index 87a43faba..000000000 --- a/google/ads/google_ads/v2/services/carrier_constant_service_client.py +++ /dev/null @@ -1,333 +0,0 @@ -# -*- 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.v2.services CarrierConstantService 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 -import grpc - -from google.ads.google_ads.v2.services import carrier_constant_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import carrier_constant_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CarrierConstantServiceClient(object): - """Service to fetch carrier 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.v2.services.CarrierConstantService' - - - @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: - CarrierConstantServiceClient: 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 carrier_constant_path(cls, carrier_constant): - """Return a fully-qualified carrier_constant string.""" - return google.api_core.path_template.expand( - 'carrierConstants/{carrier_constant}', - carrier_constant=carrier_constant, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CarrierConstantServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CarrierConstantServiceGrpcTransport]): 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 = carrier_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=carrier_constant_service_grpc_transport.CarrierConstantServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = carrier_constant_service_grpc_transport.CarrierConstantServiceGrpcTransport( - 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_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. - 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_v2.types.CarrierConstant` 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_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, - ) - - request = carrier_constant_service_pb2.GetCarrierConstantRequest( - 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/v2/services/change_status_service_client.py b/google/ads/google_ads/v2/services/change_status_service_client.py deleted file mode 100644 index 78b32fba7..000000000 --- a/google/ads/google_ads/v2/services/change_status_service_client.py +++ /dev/null @@ -1,337 +0,0 @@ -# -*- 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.v2.services ChangeStatusService 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 -import grpc - -from google.ads.google_ads.v2.services import change_status_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import change_status_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ChangeStatusServiceClient(object): - """Service to fetch change statuses.""" - - 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.v2.services.ChangeStatusService' - - - @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: - ChangeStatusServiceClient: 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 change_status_path(cls, customer, change_status): - """Return a fully-qualified change_status string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/changeStatus/{change_status}', - customer=customer, - change_status=change_status, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.ChangeStatusServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ChangeStatusServiceGrpcTransport]): 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 = change_status_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=change_status_service_grpc_transport.ChangeStatusServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = change_status_service_grpc_transport.ChangeStatusServiceGrpcTransport( - 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_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. - 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_v2.types.ChangeStatus` 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_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, - ) - - request = change_status_service_pb2.GetChangeStatusRequest( - 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/v2/services/click_view_service_client.py b/google/ads/google_ads/v2/services/click_view_service_client.py deleted file mode 100644 index 92e324bb4..000000000 --- a/google/ads/google_ads/v2/services/click_view_service_client.py +++ /dev/null @@ -1,340 +0,0 @@ -# -*- 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.v2.services ClickViewService 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 -import grpc - -from google.ads.google_ads.v2.services import click_view_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import click_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ClickViewServiceClient(object): - """Service to fetch click 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.v2.services.ClickViewService' - - - @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: - ClickViewServiceClient: 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 click_view_path(cls, customer, click_view): - """Return a fully-qualified click_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/clickViews/{click_view}', - customer=customer, - click_view=click_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.ClickViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ClickViewServiceGrpcTransport]): 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 = click_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=click_view_service_grpc_transport.ClickViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = click_view_service_grpc_transport.ClickViewServiceGrpcTransport( - 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_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. - 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_v2.types.ClickView` 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_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, - ) - - request = click_view_service_pb2.GetClickViewRequest( - 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/v2/services/conversion_action_service_client.py b/google/ads/google_ads/v2/services/conversion_action_service_client.py deleted file mode 100644 index 0799e1a47..000000000 --- a/google/ads/google_ads/v2/services/conversion_action_service_client.py +++ /dev/null @@ -1,415 +0,0 @@ -# -*- 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.v2.services ConversionActionService 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 -import grpc - -from google.ads.google_ads.v2.services import conversion_action_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import conversion_action_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ConversionActionServiceClient(object): - """Service to manage conversion actions.""" - - 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.v2.services.ConversionActionService' - - - @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: - ConversionActionServiceClient: 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 conversion_action_path(cls, customer, conversion_action): - """Return a fully-qualified conversion_action string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/conversionActions/{conversion_action}', - customer=customer, - conversion_action=conversion_action, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.ConversionActionServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ConversionActionServiceGrpcTransport]): 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 = conversion_action_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=conversion_action_service_grpc_transport.ConversionActionServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = conversion_action_service_grpc_transport.ConversionActionServiceGrpcTransport( - 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_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. - 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_v2.types.ConversionAction` 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_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, - ) - - request = conversion_action_service_pb2.GetConversionActionRequest( - 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, - 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 conversion actions. Operation statuses are - returned. - - Args: - customer_id (str): The ID of the customer whose conversion actions are being modified. - operations (list[Union[dict, ~google.ads.googleads_v2.types.ConversionActionOperation]]): 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_v2.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. - 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_v2.types.MutateConversionActionsResponse` 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_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, - ) - - request = conversion_action_service_pb2.MutateConversionActionsRequest( - 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_conversion_actions'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/conversion_adjustment_upload_service_client.py b/google/ads/google_ads/v2/services/conversion_adjustment_upload_service_client.py deleted file mode 100644 index bf9b41ffd..000000000 --- a/google/ads/google_ads/v2/services/conversion_adjustment_upload_service_client.py +++ /dev/null @@ -1,350 +0,0 @@ -# -*- 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.v2.services ConversionAdjustmentUploadService 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 grpc - -from google.ads.google_ads.v2.services import conversion_adjustment_upload_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import conversion_adjustment_upload_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ConversionAdjustmentUploadServiceClient(object): - """Service to upload conversion adjustments.""" - - 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.v2.services.ConversionAdjustmentUploadService' - - - @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: - ConversionAdjustmentUploadServiceClient: 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[~.ConversionAdjustmentUploadServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ConversionAdjustmentUploadServiceGrpcTransport]): 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 = conversion_adjustment_upload_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=conversion_adjustment_upload_service_grpc_transport.ConversionAdjustmentUploadServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = conversion_adjustment_upload_service_grpc_transport.ConversionAdjustmentUploadServiceGrpcTransport( - 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_conversion_adjustments( - self, - customer_id, - conversion_adjustments, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - 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_v2.types.ConversionAdjustment]]): 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_v2.types.ConversionAdjustment` - 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. This should always be - set to true. - 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_v2.types.UploadConversionAdjustmentsResponse` 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_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, - ) - - request = conversion_adjustment_upload_service_pb2.UploadConversionAdjustmentsRequest( - customer_id=customer_id, - conversion_adjustments=conversion_adjustments, - 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['upload_conversion_adjustments'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/conversion_upload_service_client.py b/google/ads/google_ads/v2/services/conversion_upload_service_client.py deleted file mode 100644 index 53fd78b23..000000000 --- a/google/ads/google_ads/v2/services/conversion_upload_service_client.py +++ /dev/null @@ -1,423 +0,0 @@ -# -*- 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.v2.services ConversionUploadService 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 grpc - -from google.ads.google_ads.v2.services import conversion_upload_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import conversion_upload_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ConversionUploadServiceClient(object): - """Service to upload conversions.""" - - 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.v2.services.ConversionUploadService' - - - @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: - ConversionUploadServiceClient: 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[~.ConversionUploadServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ConversionUploadServiceGrpcTransport]): 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 = conversion_upload_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=conversion_upload_service_grpc_transport.ConversionUploadServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = conversion_upload_service_grpc_transport.ConversionUploadServiceGrpcTransport( - 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_click_conversions( - self, - customer_id, - conversions, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Processes the given click conversions. - - Args: - customer_id (str): The ID of the customer performing the upload. - conversions (list[Union[dict, ~google.ads.googleads_v2.types.ClickConversion]]): 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_v2.types.ClickConversion` - 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. - This should always be set to true. - 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_v2.types.UploadClickConversionsResponse` 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_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, - ) - - request = conversion_upload_service_pb2.UploadClickConversionsRequest( - customer_id=customer_id, - conversions=conversions, - 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['upload_click_conversions'](request, retry=retry, timeout=timeout, metadata=metadata) - - def upload_call_conversions( - self, - customer_id, - conversions, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Processes the given call conversions. - - Args: - customer_id (str): The ID of the customer performing the upload. - conversions (list[Union[dict, ~google.ads.googleads_v2.types.CallConversion]]): 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_v2.types.CallConversion` - 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. - This should always be set to true. - 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_v2.types.UploadCallConversionsResponse` 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_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, - ) - - request = conversion_upload_service_pb2.UploadCallConversionsRequest( - customer_id=customer_id, - conversions=conversions, - 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['upload_call_conversions'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/custom_interest_service_client.py b/google/ads/google_ads/v2/services/custom_interest_service_client.py deleted file mode 100644 index 18aa767ee..000000000 --- a/google/ads/google_ads/v2/services/custom_interest_service_client.py +++ /dev/null @@ -1,415 +0,0 @@ -# -*- 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.v2.services CustomInterestService 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 -import grpc - -from google.ads.google_ads.v2.services import custom_interest_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import custom_interest_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CustomInterestServiceClient(object): - """Service to manage custom interests.""" - - 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.v2.services.CustomInterestService' - - - @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: - CustomInterestServiceClient: 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 custom_interest_path(cls, customer, custom_interest): - """Return a fully-qualified custom_interest string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/customInterests/{custom_interest}', - customer=customer, - custom_interest=custom_interest, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CustomInterestServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CustomInterestServiceGrpcTransport]): 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 = custom_interest_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=custom_interest_service_grpc_transport.CustomInterestServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = custom_interest_service_grpc_transport.CustomInterestServiceGrpcTransport( - 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_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. - 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_v2.types.CustomInterest` 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_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, - ) - - request = custom_interest_service_pb2.GetCustomInterestRequest( - 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, - customer_id, - operations, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - 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_v2.types.CustomInterestOperation]]): 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_v2.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 - 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_v2.types.MutateCustomInterestsResponse` 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_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, - ) - - request = custom_interest_service_pb2.MutateCustomInterestsRequest( - customer_id=customer_id, - operations=operations, - 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_custom_interests'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/customer_client_link_service_client.py b/google/ads/google_ads/v2/services/customer_client_link_service_client.py deleted file mode 100644 index 8fdb22c8e..000000000 --- a/google/ads/google_ads/v2/services/customer_client_link_service_client.py +++ /dev/null @@ -1,414 +0,0 @@ -# -*- 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.v2.services CustomerClientLinkService 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 -import grpc - -from google.ads.google_ads.v2.services import customer_client_link_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import customer_client_link_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CustomerClientLinkServiceClient(object): - """Service to manage customer client 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.v2.services.CustomerClientLinkService' - - - @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: - CustomerClientLinkServiceClient: 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_client_link_path(cls, customer, customer_client_link): - """Return a fully-qualified customer_client_link string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/customerClientLinks/{customer_client_link}', - customer=customer, - customer_client_link=customer_client_link, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CustomerClientLinkServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CustomerClientLinkServiceGrpcTransport]): 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_client_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_client_link_service_grpc_transport.CustomerClientLinkServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = customer_client_link_service_grpc_transport.CustomerClientLinkServiceGrpcTransport( - 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_client_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 CustomerClientLink in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.CustomerClientLink` 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_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, - ) - - request = customer_client_link_service_pb2.GetCustomerClientLinkRequest( - 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, - customer_id, - operation_, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - 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_v2.types.CustomerClientLinkOperation]): 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_v2.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. - 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_v2.types.MutateCustomerClientLinkResponse` 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_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, - ) - - request = customer_client_link_service_pb2.MutateCustomerClientLinkRequest( - 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) - - return self._inner_api_calls['mutate_customer_client_link'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/customer_client_service_client.py b/google/ads/google_ads/v2/services/customer_client_service_client.py deleted file mode 100644 index 2a81c5056..000000000 --- a/google/ads/google_ads/v2/services/customer_client_service_client.py +++ /dev/null @@ -1,356 +0,0 @@ -# -*- 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.v2.services CustomerClientService 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 -import grpc - -from google.ads.google_ads.v2.services import customer_client_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import customer_client_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CustomerClientServiceClient(object): - """Service to get clients in a customer's hierarchy.""" - - 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.v2.services.CustomerClientService' - - - @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: - CustomerClientServiceClient: 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_client_path(cls, customer, customer_client): - """Return a fully-qualified customer_client string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/customerClients/{customer_client}', - customer=customer, - customer_client=customer_client, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CustomerClientServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CustomerClientServiceGrpcTransport]): 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_client_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_client_service_grpc_transport.CustomerClientServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = customer_client_service_grpc_transport.CustomerClientServiceGrpcTransport( - 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_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. - 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_v2.types.CustomerClient` 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_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, - ) - - request = customer_client_service_pb2.GetCustomerClientRequest( - 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/v2/services/customer_extension_setting_service_client.py b/google/ads/google_ads/v2/services/customer_extension_setting_service_client.py deleted file mode 100644 index 495ad9601..000000000 --- a/google/ads/google_ads/v2/services/customer_extension_setting_service_client.py +++ /dev/null @@ -1,433 +0,0 @@ -# -*- 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.v2.services CustomerExtensionSettingService 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 -import grpc - -from google.ads.google_ads.v2.services import customer_extension_setting_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import customer_extension_setting_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CustomerExtensionSettingServiceClient(object): - """Service to manage customer extension settings.""" - - 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.v2.services.CustomerExtensionSettingService' - - - @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: - CustomerExtensionSettingServiceClient: 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_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}', - customer=customer, - customer_extension_setting=customer_extension_setting, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CustomerExtensionSettingServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CustomerExtensionSettingServiceGrpcTransport]): 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_extension_setting_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_extension_setting_service_grpc_transport.CustomerExtensionSettingServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = customer_extension_setting_service_grpc_transport.CustomerExtensionSettingServiceGrpcTransport( - 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_extension_setting( - 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 extension setting in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.CustomerExtensionSetting` 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_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, - ) - - request = customer_extension_setting_service_pb2.GetCustomerExtensionSettingRequest( - 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, - 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 extension settings. Operation - statuses are returned. - - Args: - customer_id (str): The ID of the customer whose customer extension settings are being - modified. - operations (list[Union[dict, ~google.ads.googleads_v2.types.CustomerExtensionSettingOperation]]): 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_v2.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. - 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_v2.types.MutateCustomerExtensionSettingsResponse` 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_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, - ) - - request = customer_extension_setting_service_pb2.MutateCustomerExtensionSettingsRequest( - 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_customer_extension_settings'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/customer_feed_service_client.py b/google/ads/google_ads/v2/services/customer_feed_service_client.py deleted file mode 100644 index 93dade303..000000000 --- a/google/ads/google_ads/v2/services/customer_feed_service_client.py +++ /dev/null @@ -1,434 +0,0 @@ -# -*- 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.v2.services CustomerFeedService 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 -import grpc - -from google.ads.google_ads.v2.services import customer_feed_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import customer_feed_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CustomerFeedServiceClient(object): - """Service to manage customer feeds.""" - - 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.v2.services.CustomerFeedService' - - - @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: - CustomerFeedServiceClient: 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_feed_path(cls, customer, customer_feed): - """Return a fully-qualified customer_feed string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/customerFeeds/{customer_feed}', - customer=customer, - customer_feed=customer_feed, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CustomerFeedServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CustomerFeedServiceGrpcTransport]): 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_feed_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_feed_service_grpc_transport.CustomerFeedServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = customer_feed_service_grpc_transport.CustomerFeedServiceGrpcTransport( - 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_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. - 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_v2.types.CustomerFeed` 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_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, - ) - - request = customer_feed_service_pb2.GetCustomerFeedRequest( - 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_v2.types.CustomerFeedOperation]]): 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_v2.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. - 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_v2.types.MutateCustomerFeedsResponse` 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_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, - ) - - request = customer_feed_service_pb2.MutateCustomerFeedsRequest( - 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_customer_feeds'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/customer_label_service_client.py b/google/ads/google_ads/v2/services/customer_label_service_client.py deleted file mode 100644 index f3b639eb3..000000000 --- a/google/ads/google_ads/v2/services/customer_label_service_client.py +++ /dev/null @@ -1,437 +0,0 @@ -# -*- 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.v2.services CustomerLabelService 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 -import grpc - -from google.ads.google_ads.v2.services import customer_label_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import customer_label_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CustomerLabelServiceClient(object): - """Service to manage labels on customers.""" - - 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.v2.services.CustomerLabelService' - - - @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: - CustomerLabelServiceClient: 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_label_path(cls, customer, customer_label): - """Return a fully-qualified customer_label string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/customerLabels/{customer_label}', - customer=customer, - customer_label=customer_label, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CustomerLabelServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CustomerLabelServiceGrpcTransport]): 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_label_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_label_service_grpc_transport.CustomerLabelServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = customer_label_service_grpc_transport.CustomerLabelServiceGrpcTransport( - 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_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. - 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_v2.types.CustomerLabel` 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_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, - ) - - request = customer_label_service_pb2.GetCustomerLabelRequest( - 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_v2.types.CustomerLabelOperation]]): 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_v2.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. - 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_v2.types.MutateCustomerLabelsResponse` 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_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, - ) - - request = customer_label_service_pb2.MutateCustomerLabelsRequest( - 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_customer_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/customer_manager_link_service_client.py b/google/ads/google_ads/v2/services/customer_manager_link_service_client.py deleted file mode 100644 index e8e957676..000000000 --- a/google/ads/google_ads/v2/services/customer_manager_link_service_client.py +++ /dev/null @@ -1,429 +0,0 @@ -# -*- 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.v2.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 -import grpc - -from google.ads.google_ads.v2.services import customer_manager_link_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import customer_manager_link_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_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.v2.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): 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_v2.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): The ID of the customer whose customer manager links are being modified. - operations (list[Union[dict, ~google.ads.googleads_v2.types.CustomerManagerLinkOperation]]): 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_v2.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_v2.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) diff --git a/google/ads/google_ads/v2/services/customer_negative_criterion_service_client.py b/google/ads/google_ads/v2/services/customer_negative_criterion_service_client.py deleted file mode 100644 index 58c9f3dbc..000000000 --- a/google/ads/google_ads/v2/services/customer_negative_criterion_service_client.py +++ /dev/null @@ -1,442 +0,0 @@ -# -*- 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.v2.services CustomerNegativeCriterionService 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 -import grpc - -from google.ads.google_ads.v2.services import customer_negative_criterion_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import customer_negative_criterion_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CustomerNegativeCriterionServiceClient(object): - """Service to manage customer negative criteria.""" - - 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.v2.services.CustomerNegativeCriterionService' - - - @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: - CustomerNegativeCriterionServiceClient: 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_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}', - customer=customer, - customer_negative_criteria=customer_negative_criteria, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CustomerNegativeCriterionServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CustomerNegativeCriterionServiceGrpcTransport]): 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_negative_criterion_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_negative_criterion_service_grpc_transport.CustomerNegativeCriterionServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = customer_negative_criterion_service_grpc_transport.CustomerNegativeCriterionServiceGrpcTransport( - 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_negative_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. - 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_v2.types.CustomerNegativeCriterion` 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_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, - ) - - request = customer_negative_criterion_service_pb2.GetCustomerNegativeCriterionRequest( - 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, - 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 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_v2.types.CustomerNegativeCriterionOperation]]): 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_v2.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. - 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_v2.types.MutateCustomerNegativeCriteriaResponse` 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_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, - ) - - request = customer_negative_criterion_service_pb2.MutateCustomerNegativeCriteriaRequest( - 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_customer_negative_criteria'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/customer_service_client.py b/google/ads/google_ads/v2/services/customer_service_client.py deleted file mode 100644 index 27585c8b8..000000000 --- a/google/ads/google_ads/v2/services/customer_service_client.py +++ /dev/null @@ -1,552 +0,0 @@ -# -*- 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.v2.services CustomerService 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 -import grpc - -from google.ads.google_ads.v2.services import customer_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import customer_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class CustomerServiceClient(object): - """Service to manage customers.""" - - 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.v2.services.CustomerService' - - - @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: - CustomerServiceClient: 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_path(cls, customer): - """Return a fully-qualified customer string.""" - return google.api_core.path_template.expand( - 'customers/{customer}', - customer=customer, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.CustomerServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CustomerServiceGrpcTransport]): 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_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_service_grpc_transport.CustomerServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = customer_service_grpc_transport.CustomerServiceGrpcTransport( - 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( - 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. - 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_v2.types.Customer` 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' 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, - ) - - request = customer_service_pb2.GetCustomerRequest( - 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_v2.types.CustomerOperation]): 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_v2.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 - 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_v2.types.MutateCustomerResponse` 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' 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, - ) - - request = customer_service_pb2.MutateCustomerRequest( - customer_id=customer_id, - operation=operation_, - 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_customer'](request, retry=retry, timeout=timeout, metadata=metadata) - - def list_accessible_customers( - self, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Returns resource names of customers directly accessible by the - user authenticating the call. - - 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_v2.types.ListAccessibleCustomersResponse` 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_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, - ) - - 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, - 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_v2.types.Customer]): 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_v2.types.Customer` - email_address (Union[dict, ~google.ads.googleads_v2.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_v2.types.StringValue` - access_role (~google.ads.googleads_v2.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. - 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_v2.types.CreateCustomerClientResponse` 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_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, - ) - - request = customer_service_pb2.CreateCustomerClientRequest( - customer_id=customer_id, - customer_client=customer_client, - email_address=email_address, - access_role=access_role, - ) - 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/v2/services/detail_placement_view_service_client.py b/google/ads/google_ads/v2/services/detail_placement_view_service_client.py deleted file mode 100644 index a86295f06..000000000 --- a/google/ads/google_ads/v2/services/detail_placement_view_service_client.py +++ /dev/null @@ -1,378 +0,0 @@ -# -*- 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.v2.services DetailPlacementViewService 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 -import grpc - -from google.ads.google_ads.v2.services import detail_placement_view_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import detail_placement_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class DetailPlacementViewServiceClient(object): - """Service to fetch Detail Placement 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.v2.services.DetailPlacementViewService' - - - @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: - DetailPlacementViewServiceClient: 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 detail_placement_view_path(cls, customer, detail_placement_view): - """Return a fully-qualified detail_placement_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/detailPlacementViews/{detail_placement_view}', - customer=customer, - detail_placement_view=detail_placement_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.DetailPlacementViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.DetailPlacementViewServiceGrpcTransport]): 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 = detail_placement_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=detail_placement_view_service_grpc_transport.DetailPlacementViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = detail_placement_view_service_grpc_transport.DetailPlacementViewServiceGrpcTransport( - 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_detail_placement_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 Detail Placement view in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.DetailPlacementView` 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_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, - ) - - request = detail_placement_view_service_pb2.GetDetailPlacementViewRequest( - 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/v2/services/display_keyword_view_service_client.py b/google/ads/google_ads/v2/services/display_keyword_view_service_client.py deleted file mode 100644 index 4f18644af..000000000 --- a/google/ads/google_ads/v2/services/display_keyword_view_service_client.py +++ /dev/null @@ -1,381 +0,0 @@ -# -*- 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.v2.services DisplayKeywordViewService 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 -import grpc - -from google.ads.google_ads.v2.services import display_keyword_view_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import display_keyword_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class DisplayKeywordViewServiceClient(object): - """Service to manage display keyword 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.v2.services.DisplayKeywordViewService' - - - @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: - DisplayKeywordViewServiceClient: 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 display_keyword_view_path(cls, customer, display_keyword_view): - """Return a fully-qualified display_keyword_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/displayKeywordViews/{display_keyword_view}', - customer=customer, - display_keyword_view=display_keyword_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.DisplayKeywordViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.DisplayKeywordViewServiceGrpcTransport]): 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 = display_keyword_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=display_keyword_view_service_grpc_transport.DisplayKeywordViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = display_keyword_view_service_grpc_transport.DisplayKeywordViewServiceGrpcTransport( - 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_display_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 display keyword view in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.DisplayKeywordView` 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_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, - ) - - request = display_keyword_view_service_pb2.GetDisplayKeywordViewRequest( - 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/v2/services/distance_view_service_client.py b/google/ads/google_ads/v2/services/distance_view_service_client.py deleted file mode 100644 index 9eebb6647..000000000 --- a/google/ads/google_ads/v2/services/distance_view_service_client.py +++ /dev/null @@ -1,384 +0,0 @@ -# -*- 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.v2.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 -import grpc - -from google.ads.google_ads.v2.services import distance_view_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import distance_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_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.v2.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): 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_v2.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/v2/services/domain_category_service_client.py b/google/ads/google_ads/v2/services/domain_category_service_client.py deleted file mode 100644 index 677d41e03..000000000 --- a/google/ads/google_ads/v2/services/domain_category_service_client.py +++ /dev/null @@ -1,387 +0,0 @@ -# -*- 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.v2.services DomainCategoryService 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 -import grpc - -from google.ads.google_ads.v2.services import domain_category_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import domain_category_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class DomainCategoryServiceClient(object): - """Service to fetch domain categories.""" - - 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.v2.services.DomainCategoryService' - - - @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: - DomainCategoryServiceClient: 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 domain_category_path(cls, customer, domain_category): - """Return a fully-qualified domain_category string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/domainCategories/{domain_category}', - customer=customer, - domain_category=domain_category, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.DomainCategoryServiceGrpcTransport, - Callable[[~.Credentials, type], ~.DomainCategoryServiceGrpcTransport]): 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 = domain_category_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=domain_category_service_grpc_transport.DomainCategoryServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = domain_category_service_grpc_transport.DomainCategoryServiceGrpcTransport( - 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_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. - 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_v2.types.DomainCategory` 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_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, - ) - - request = domain_category_service_pb2.GetDomainCategoryRequest( - 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/v2/services/dynamic_search_ads_search_term_view_service_client.py b/google/ads/google_ads/v2/services/dynamic_search_ads_search_term_view_service_client.py deleted file mode 100644 index 7c7442f32..000000000 --- a/google/ads/google_ads/v2/services/dynamic_search_ads_search_term_view_service_client.py +++ /dev/null @@ -1,390 +0,0 @@ -# -*- 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.v2.services DynamicSearchAdsSearchTermViewService 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 -import grpc - -from google.ads.google_ads.v2.services import dynamic_search_ads_search_term_view_service_client_config -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services.transports import dynamic_search_ads_search_term_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class DynamicSearchAdsSearchTermViewServiceClient(object): - """Service to fetch dynamic search ads 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.v2.services.DynamicSearchAdsSearchTermViewService' - - - @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: - DynamicSearchAdsSearchTermViewServiceClient: 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 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, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.DynamicSearchAdsSearchTermViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.DynamicSearchAdsSearchTermViewServiceGrpcTransport]): 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 = 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) - - # 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=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.' - ) - self.transport = transport - else: - self.transport = dynamic_search_ads_search_term_view_service_grpc_transport.DynamicSearchAdsSearchTermViewServiceGrpcTransport( - 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_dynamic_search_ads_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 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. - 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_v2.types.DynamicSearchAdsSearchTermView` 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_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, - ) - - request = dynamic_search_ads_search_term_view_service_pb2.GetDynamicSearchAdsSearchTermViewRequest( - 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/v2/services/expanded_landing_page_view_service_client.py b/google/ads/google_ads/v2/services/expanded_landing_page_view_service_client.py deleted file mode 100644 index 7de0dd48d..000000000 --- a/google/ads/google_ads/v2/services/expanded_landing_page_view_service_client.py +++ /dev/null @@ -1,393 +0,0 @@ -# -*- 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.v2.services ExpandedLandingPageViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import expanded_landing_page_view_service_client_config -from google.ads.google_ads.v2.services.transports import expanded_landing_page_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ExpandedLandingPageViewServiceClient(object): - """Service to fetch expanded landing page 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.v2.services.ExpandedLandingPageViewService' - - - @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: - ExpandedLandingPageViewServiceClient: 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 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}', - customer=customer, - expanded_landing_page_view=expanded_landing_page_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.ExpandedLandingPageViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ExpandedLandingPageViewServiceGrpcTransport]): 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 = expanded_landing_page_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=expanded_landing_page_view_service_grpc_transport.ExpandedLandingPageViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = expanded_landing_page_view_service_grpc_transport.ExpandedLandingPageViewServiceGrpcTransport( - 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_expanded_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 expanded landing page view in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.ExpandedLandingPageView` 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_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, - ) - - request = expanded_landing_page_view_service_pb2.GetExpandedLandingPageViewRequest( - 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/v2/services/extension_feed_item_service_client.py b/google/ads/google_ads/v2/services/extension_feed_item_service_client.py deleted file mode 100644 index b0dc9fa40..000000000 --- a/google/ads/google_ads/v2/services/extension_feed_item_service_client.py +++ /dev/null @@ -1,469 +0,0 @@ -# -*- 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.v2.services ExtensionFeedItemService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import extension_feed_item_service_client_config -from google.ads.google_ads.v2.services.transports import extension_feed_item_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ExtensionFeedItemServiceClient(object): - """Service to manage extension feed items.""" - - 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.v2.services.ExtensionFeedItemService' - - - @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: - ExtensionFeedItemServiceClient: 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 extension_feed_item_path(cls, customer, extension_feed_item): - """Return a fully-qualified extension_feed_item string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/extensionFeedItems/{extension_feed_item}', - customer=customer, - extension_feed_item=extension_feed_item, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.ExtensionFeedItemServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ExtensionFeedItemServiceGrpcTransport]): 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 = extension_feed_item_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=extension_feed_item_service_grpc_transport.ExtensionFeedItemServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = extension_feed_item_service_grpc_transport.ExtensionFeedItemServiceGrpcTransport( - 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_extension_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 extension feed item in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.ExtensionFeedItem` 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_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, - ) - - request = extension_feed_item_service_pb2.GetExtensionFeedItemRequest( - 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, - metadata=None): - """ - Creates, updates, or removes extension feed items. Operation - statuses are returned. - - Args: - customer_id (str): The ID of the customer whose extension feed items are being - modified. - operations (list[Union[dict, ~google.ads.googleads_v2.types.ExtensionFeedItemOperation]]): 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_v2.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 - 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_v2.types.MutateExtensionFeedItemsResponse` 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_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, - ) - - request = extension_feed_item_service_pb2.MutateExtensionFeedItemsRequest( - 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_extension_feed_items'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/feed_item_service_client.py b/google/ads/google_ads/v2/services/feed_item_service_client.py deleted file mode 100644 index 0753226ce..000000000 --- a/google/ads/google_ads/v2/services/feed_item_service_client.py +++ /dev/null @@ -1,471 +0,0 @@ -# -*- 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.v2.services FeedItemService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import feed_item_service_client_config -from google.ads.google_ads.v2.services.transports import feed_item_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class FeedItemServiceClient(object): - """Service to manage feed items.""" - - 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.v2.services.FeedItemService' - - - @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: - FeedItemServiceClient: 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 feed_item_path(cls, customer, feed_item): - """Return a fully-qualified feed_item string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/feedItems/{feed_item}', - customer=customer, - feed_item=feed_item, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.FeedItemServiceGrpcTransport, - Callable[[~.Credentials, type], ~.FeedItemServiceGrpcTransport]): 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 = feed_item_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=feed_item_service_grpc_transport.FeedItemServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = feed_item_service_grpc_transport.FeedItemServiceGrpcTransport( - 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_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. - 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_v2.types.FeedItem` 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_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, - ) - - request = feed_item_service_pb2.GetFeedItemRequest( - 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_v2.types.FeedItemOperation]]): 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_v2.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. - 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_v2.types.MutateFeedItemsResponse` 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_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, - ) - - request = feed_item_service_pb2.MutateFeedItemsRequest( - 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_feed_items'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/feed_item_target_service_client.py b/google/ads/google_ads/v2/services/feed_item_target_service_client.py deleted file mode 100644 index f53cc7211..000000000 --- a/google/ads/google_ads/v2/services/feed_item_target_service_client.py +++ /dev/null @@ -1,463 +0,0 @@ -# -*- 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.v2.services FeedItemTargetService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import feed_item_target_service_client_config -from google.ads.google_ads.v2.services.transports import feed_item_target_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class FeedItemTargetServiceClient(object): - """Service to manage feed item targets.""" - - 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.v2.services.FeedItemTargetService' - - - @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: - FeedItemTargetServiceClient: 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 feed_item_target_path(cls, customer, feed_item_target): - """Return a fully-qualified feed_item_target string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/feedItemTargets/{feed_item_target}', - customer=customer, - feed_item_target=feed_item_target, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.FeedItemTargetServiceGrpcTransport, - Callable[[~.Credentials, type], ~.FeedItemTargetServiceGrpcTransport]): 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 = feed_item_target_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=feed_item_target_service_grpc_transport.FeedItemTargetServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = feed_item_target_service_grpc_transport.FeedItemTargetServiceGrpcTransport( - 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_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. - 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_v2.types.FeedItemTarget` 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_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, - ) - - request = feed_item_target_service_pb2.GetFeedItemTargetRequest( - 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, - customer_id, - operations, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - 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_v2.types.FeedItemTargetOperation]]): 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_v2.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. - 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_v2.types.MutateFeedItemTargetsResponse` 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_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, - ) - - request = feed_item_target_service_pb2.MutateFeedItemTargetsRequest( - 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_feed_item_targets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/feed_mapping_service_client.py b/google/ads/google_ads/v2/services/feed_mapping_service_client.py deleted file mode 100644 index 7855b361b..000000000 --- a/google/ads/google_ads/v2/services/feed_mapping_service_client.py +++ /dev/null @@ -1,477 +0,0 @@ -# -*- 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.v2.services FeedMappingService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import feed_mapping_service_client_config -from google.ads.google_ads.v2.services.transports import feed_mapping_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class FeedMappingServiceClient(object): - """Service to manage feed mappings.""" - - 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.v2.services.FeedMappingService' - - - @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: - FeedMappingServiceClient: 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 feed_mapping_path(cls, customer, feed_mapping): - """Return a fully-qualified feed_mapping string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/feedMappings/{feed_mapping}', - customer=customer, - feed_mapping=feed_mapping, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.FeedMappingServiceGrpcTransport, - Callable[[~.Credentials, type], ~.FeedMappingServiceGrpcTransport]): 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 = feed_mapping_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=feed_mapping_service_grpc_transport.FeedMappingServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = feed_mapping_service_grpc_transport.FeedMappingServiceGrpcTransport( - 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_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. - 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_v2.types.FeedMapping` 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_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, - ) - - request = feed_mapping_service_pb2.GetFeedMappingRequest( - 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_v2.types.FeedMappingOperation]]): 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_v2.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. - 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_v2.types.MutateFeedMappingsResponse` 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_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, - ) - - request = feed_mapping_service_pb2.MutateFeedMappingsRequest( - 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_feed_mappings'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/feed_placeholder_view_service_client.py b/google/ads/google_ads/v2/services/feed_placeholder_view_service_client.py deleted file mode 100644 index 45569fdca..000000000 --- a/google/ads/google_ads/v2/services/feed_placeholder_view_service_client.py +++ /dev/null @@ -1,408 +0,0 @@ -# -*- 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.v2.services FeedPlaceholderViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import feed_placeholder_view_service_client_config -from google.ads.google_ads.v2.services.transports import feed_placeholder_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class FeedPlaceholderViewServiceClient(object): - """Service to fetch feed placeholder 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.v2.services.FeedPlaceholderViewService' - - - @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: - FeedPlaceholderViewServiceClient: 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 feed_placeholder_view_path(cls, customer, feed_placeholder_view): - """Return a fully-qualified feed_placeholder_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/feedPlaceholderViews/{feed_placeholder_view}', - customer=customer, - feed_placeholder_view=feed_placeholder_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.FeedPlaceholderViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.FeedPlaceholderViewServiceGrpcTransport]): 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 = feed_placeholder_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=feed_placeholder_view_service_grpc_transport.FeedPlaceholderViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = feed_placeholder_view_service_grpc_transport.FeedPlaceholderViewServiceGrpcTransport( - 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_feed_placeholder_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 feed placeholder view in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.FeedPlaceholderView` 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_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, - ) - - request = feed_placeholder_view_service_pb2.GetFeedPlaceholderViewRequest( - 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/v2/services/feed_service_client.py b/google/ads/google_ads/v2/services/feed_service_client.py deleted file mode 100644 index cf2e9bc3c..000000000 --- a/google/ads/google_ads/v2/services/feed_service_client.py +++ /dev/null @@ -1,483 +0,0 @@ -# -*- 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.v2.services FeedService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import feed_service_client_config -from google.ads.google_ads.v2.services.transports import feed_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class FeedServiceClient(object): - """Service to manage feeds.""" - - 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.v2.services.FeedService' - - - @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: - FeedServiceClient: 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 feed_path(cls, customer, feed): - """Return a fully-qualified feed string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/feeds/{feed}', - customer=customer, - feed=feed, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.FeedServiceGrpcTransport, - Callable[[~.Credentials, type], ~.FeedServiceGrpcTransport]): 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 = feed_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=feed_service_grpc_transport.FeedServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = feed_service_grpc_transport.FeedServiceGrpcTransport( - 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_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. - 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_v2.types.Feed` 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_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, - ) - - request = feed_service_pb2.GetFeedRequest( - 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_v2.types.FeedOperation]]): 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_v2.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. - 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_v2.types.MutateFeedsResponse` 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_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, - ) - - request = feed_service_pb2.MutateFeedsRequest( - 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_feeds'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/gender_view_service_client.py b/google/ads/google_ads/v2/services/gender_view_service_client.py deleted file mode 100644 index 9ec2e3848..000000000 --- a/google/ads/google_ads/v2/services/gender_view_service_client.py +++ /dev/null @@ -1,414 +0,0 @@ -# -*- 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.v2.services GenderViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import gender_view_service_client_config -from google.ads.google_ads.v2.services.transports import gender_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class GenderViewServiceClient(object): - """Service to manage gender 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.v2.services.GenderViewService' - - - @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: - GenderViewServiceClient: 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 gender_view_path(cls, customer, gender_view): - """Return a fully-qualified gender_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/genderViews/{gender_view}', - customer=customer, - gender_view=gender_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.GenderViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.GenderViewServiceGrpcTransport]): 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 = gender_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=gender_view_service_grpc_transport.GenderViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = gender_view_service_grpc_transport.GenderViewServiceGrpcTransport( - 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_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. - 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_v2.types.GenderView` 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_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, - ) - - request = gender_view_service_pb2.GetGenderViewRequest( - 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/v2/services/geo_target_constant_service_client.py b/google/ads/google_ads/v2/services/geo_target_constant_service_client.py deleted file mode 100644 index 465af3b5a..000000000 --- a/google/ads/google_ads/v2/services/geo_target_constant_service_client.py +++ /dev/null @@ -1,491 +0,0 @@ -# -*- 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.v2.services GeoTargetConstantService 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 -import google.api_core.protobuf_helpers -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import geo_target_constant_service_client_config -from google.ads.google_ads.v2.services.transports import geo_target_constant_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class GeoTargetConstantServiceClient(object): - """Service to fetch geo target 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.v2.services.GeoTargetConstantService' - - - @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: - GeoTargetConstantServiceClient: 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 geo_target_constant_path(cls, geo_target_constant): - """Return a fully-qualified geo_target_constant string.""" - return google.api_core.path_template.expand( - 'geoTargetConstants/{geo_target_constant}', - geo_target_constant=geo_target_constant, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.GeoTargetConstantServiceGrpcTransport, - Callable[[~.Credentials, type], ~.GeoTargetConstantServiceGrpcTransport]): 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 = geo_target_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=geo_target_constant_service_grpc_transport.GeoTargetConstantServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = geo_target_constant_service_grpc_transport.GeoTargetConstantServiceGrpcTransport( - 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_geo_target_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 geo target constant in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.GeoTargetConstant` 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_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, - ) - - request = geo_target_constant_service_pb2.GetGeoTargetConstantRequest( - 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, - locale, - country_code, - location_names=None, - geo_targets=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Returns GeoTargetConstant suggestions by location name or by resource name. - - Args: - locale (Union[dict, ~google.ads.googleads_v2.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_v2.types.StringValue` - country_code (Union[dict, ~google.ads.googleads_v2.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_v2.types.StringValue` - location_names (Union[dict, ~google.ads.googleads_v2.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_v2.types.LocationNames` - geo_targets (Union[dict, ~google.ads.googleads_v2.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_v2.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. - 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_v2.types.SuggestGeoTargetConstantsResponse` 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 '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, - ) - - # 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( - location_names=location_names, - geo_targets=geo_targets, - ) - - request = geo_target_constant_service_pb2.SuggestGeoTargetConstantsRequest( - locale=locale, - country_code=country_code, - location_names=location_names, - geo_targets=geo_targets, - ) - return self._inner_api_calls['suggest_geo_target_constants'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/geographic_view_service_client.py b/google/ads/google_ads/v2/services/geographic_view_service_client.py deleted file mode 100644 index 72d2c2932..000000000 --- a/google/ads/google_ads/v2/services/geographic_view_service_client.py +++ /dev/null @@ -1,420 +0,0 @@ -# -*- 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.v2.services GeographicViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import geographic_view_service_client_config -from google.ads.google_ads.v2.services.transports import geographic_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class GeographicViewServiceClient(object): - """Service to manage geographic 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.v2.services.GeographicViewService' - - - @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: - GeographicViewServiceClient: 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 geographic_view_path(cls, customer, geographic_view): - """Return a fully-qualified geographic_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/geographicViews/{geographic_view}', - customer=customer, - geographic_view=geographic_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.GeographicViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.GeographicViewServiceGrpcTransport]): 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 = geographic_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=geographic_view_service_grpc_transport.GeographicViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = geographic_view_service_grpc_transport.GeographicViewServiceGrpcTransport( - 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_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. - 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_v2.types.GeographicView` 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_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, - ) - - request = geographic_view_service_pb2.GetGeographicViewRequest( - 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/v2/services/google_ads_field_service_client.py b/google/ads/google_ads/v2/services/google_ads_field_service_client.py deleted file mode 100644 index 46bf6bbf5..000000000 --- a/google/ads/google_ads/v2/services/google_ads_field_service_client.py +++ /dev/null @@ -1,486 +0,0 @@ -# -*- 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.v2.services GoogleAdsFieldService API.""" - -import functools -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.page_iterator -import google.api_core.path_template -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import google_ads_field_service_client_config -from google.ads.google_ads.v2.services.transports import google_ads_field_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class GoogleAdsFieldServiceClient(object): - """Service to fetch Google Ads API fields.""" - - 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.v2.services.GoogleAdsFieldService' - - - @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: - GoogleAdsFieldServiceClient: 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 google_ads_field_path(cls, google_ads_field): - """Return a fully-qualified google_ads_field string.""" - return google.api_core.path_template.expand( - 'googleAdsFields/{google_ads_field}', - google_ads_field=google_ads_field, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.GoogleAdsFieldServiceGrpcTransport, - Callable[[~.Credentials, type], ~.GoogleAdsFieldServiceGrpcTransport]): 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 = google_ads_field_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=google_ads_field_service_grpc_transport.GoogleAdsFieldServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = google_ads_field_service_grpc_transport.GoogleAdsFieldServiceGrpcTransport( - 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_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. - 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_v2.types.GoogleAdsField` 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_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, - ) - - request = google_ads_field_service_pb2.GetGoogleAdsFieldRequest( - 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, - query, - page_size=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Returns all fields that match the search query. - - Args: - query (str): 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. - 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.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v2.types.GoogleAdsField` 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 - 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_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, - ) - - request = google_ads_field_service_pb2.SearchGoogleAdsFieldsRequest( - query=query, - page_size=page_size, - ) - 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), - request=request, - items_field='results', - request_token_field='page_token', - response_token_field='next_page_token', - ) - return iterator diff --git a/google/ads/google_ads/v2/services/google_ads_service_client.py b/google/ads/google_ads/v2/services/google_ads_service_client.py deleted file mode 100644 index bad74e9f1..000000000 --- a/google/ads/google_ads/v2/services/google_ads_service_client.py +++ /dev/null @@ -1,566 +0,0 @@ -# -*- 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.v2.services GoogleAdsService API.""" - -import functools -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.page_iterator -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import google_ads_service_client_config -from google.ads.google_ads.v2.services.transports import google_ads_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class GoogleAdsServiceClient(object): - """Service to fetch data and metrics across resources.""" - - 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.v2.services.GoogleAdsService' - - - @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: - GoogleAdsServiceClient: 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[~.GoogleAdsServiceGrpcTransport, - Callable[[~.Credentials, type], ~.GoogleAdsServiceGrpcTransport]): 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 = google_ads_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=google_ads_service_grpc_transport.GoogleAdsServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = google_ads_service_grpc_transport.GoogleAdsServiceGrpcTransport( - 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 search( - self, - customer_id, - query, - page_size=None, - validate_only=None, - return_summary_row=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. - 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_summary_row (bool): If true, summary row will be included in the response. - Otherwise(false or not specified) summary row will not be 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: - A :class:`~google.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v2.types.GoogleAdsRow` 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 - 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' 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, - ) - - request = google_ads_service_pb2.SearchGoogleAdsRequest( - customer_id=customer_id, - query=query, - page_size=page_size, - validate_only=validate_only, - return_summary_row=return_summary_row, - ) - 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), - request=request, - items_field='results', - request_token_field='page_token', - response_token_field='next_page_token', - ) - 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): - """ - Creates, updates, or removes resources. This method supports atomic - transactions with multiple types of resources. For example, you can - atomically create a campaign and a campaign budget, or perform up to - 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 - - Note: Only resources that support atomic transactions are included, so - this method can't replace all calls to individual services. - - ## Atomic Transaction Benefits - - Atomicity makes error handling much easier. If you're making a series of - changes and one fails, it can leave your account in an inconsistent - state. With atomicity, you either reach the desired state directly, or - the request fails and you can retry. - - ## Temp Resource Names - - 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 - 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. - - ## Latency - - It's important to group mutates by resource type or the request may time - out and fail. Latency is roughly equal to a series of calls to - individual mutate methods, where each change in resource type is a new - call. For example, mutating 10 campaigns then 10 ad groups is like 2 - calls, while mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is - 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_v2.types.MutateOperation]]): 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_v2.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. - 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_v2.types.MutateGoogleAdsResponse` 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' 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, - ) - - request = google_ads_service_pb2.MutateGoogleAdsRequest( - customer_id=customer_id, - mutate_operations=mutate_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'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/group_placement_view_service_client.py b/google/ads/google_ads/v2/services/group_placement_view_service_client.py deleted file mode 100644 index 3df846ef3..000000000 --- a/google/ads/google_ads/v2/services/group_placement_view_service_client.py +++ /dev/null @@ -1,428 +0,0 @@ -# -*- 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.v2.services GroupPlacementViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import group_placement_view_service_client_config -from google.ads.google_ads.v2.services.transports import group_placement_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class GroupPlacementViewServiceClient(object): - """Service to fetch Group Placement 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.v2.services.GroupPlacementViewService' - - - @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: - GroupPlacementViewServiceClient: 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 group_placement_view_path(cls, customer, group_placement_view): - """Return a fully-qualified group_placement_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/groupPlacementViews/{group_placement_view}', - customer=customer, - group_placement_view=group_placement_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.GroupPlacementViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.GroupPlacementViewServiceGrpcTransport]): 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 = group_placement_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=group_placement_view_service_grpc_transport.GroupPlacementViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = group_placement_view_service_grpc_transport.GroupPlacementViewServiceGrpcTransport( - 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_group_placement_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 Group Placement view in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.GroupPlacementView` 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_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, - ) - - request = group_placement_view_service_pb2.GetGroupPlacementViewRequest( - 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/v2/services/hotel_group_view_service_client.py b/google/ads/google_ads/v2/services/hotel_group_view_service_client.py deleted file mode 100644 index e240a4da4..000000000 --- a/google/ads/google_ads/v2/services/hotel_group_view_service_client.py +++ /dev/null @@ -1,431 +0,0 @@ -# -*- 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.v2.services HotelGroupViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import hotel_group_view_service_client_config -from google.ads.google_ads.v2.services.transports import hotel_group_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class HotelGroupViewServiceClient(object): - """Service to manage Hotel Group 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.v2.services.HotelGroupViewService' - - - @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: - HotelGroupViewServiceClient: 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 hotel_group_view_path(cls, customer, hotel_group_view): - """Return a fully-qualified hotel_group_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/hotelGroupViews/{hotel_group_view}', - customer=customer, - hotel_group_view=hotel_group_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.HotelGroupViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.HotelGroupViewServiceGrpcTransport]): 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 = hotel_group_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=hotel_group_view_service_grpc_transport.HotelGroupViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = hotel_group_view_service_grpc_transport.HotelGroupViewServiceGrpcTransport( - 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_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. - 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_v2.types.HotelGroupView` 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_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, - ) - - request = hotel_group_view_service_pb2.GetHotelGroupViewRequest( - 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/v2/services/hotel_performance_view_service_client.py b/google/ads/google_ads/v2/services/hotel_performance_view_service_client.py deleted file mode 100644 index b5169b097..000000000 --- a/google/ads/google_ads/v2/services/hotel_performance_view_service_client.py +++ /dev/null @@ -1,433 +0,0 @@ -# -*- 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.v2.services HotelPerformanceViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import hotel_performance_view_service_client_config -from google.ads.google_ads.v2.services.transports import hotel_performance_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class HotelPerformanceViewServiceClient(object): - """Service to manage Hotel Performance 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.v2.services.HotelPerformanceViewService' - - - @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: - HotelPerformanceViewServiceClient: 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 hotel_performance_view_path(cls, customer): - """Return a fully-qualified hotel_performance_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/hotelPerformanceView', - customer=customer, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.HotelPerformanceViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.HotelPerformanceViewServiceGrpcTransport]): 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 = hotel_performance_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=hotel_performance_view_service_grpc_transport.HotelPerformanceViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = hotel_performance_view_service_grpc_transport.HotelPerformanceViewServiceGrpcTransport( - 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_hotel_performance_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 Performance View in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.HotelPerformanceView` 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_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, - ) - - request = hotel_performance_view_service_pb2.GetHotelPerformanceViewRequest( - 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/v2/services/invoice_service_client.py b/google/ads/google_ads/v2/services/invoice_service_client.py deleted file mode 100644 index fc33858ea..000000000 --- a/google/ads/google_ads/v2/services/invoice_service_client.py +++ /dev/null @@ -1,437 +0,0 @@ -# -*- 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.v2.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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import invoice_service_client_config -from google.ads.google_ads.v2.services.transports import invoice_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_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.v2.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): 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_v2.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_v2.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/v2/services/keyword_plan_ad_group_service_client.py b/google/ads/google_ads/v2/services/keyword_plan_ad_group_service_client.py deleted file mode 100644 index f2f7fb0e7..000000000 --- a/google/ads/google_ads/v2/services/keyword_plan_ad_group_service_client.py +++ /dev/null @@ -1,511 +0,0 @@ -# -*- 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.v2.services KeywordPlanAdGroupService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import keyword_plan_ad_group_service_client_config -from google.ads.google_ads.v2.services.transports import keyword_plan_ad_group_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class KeywordPlanAdGroupServiceClient(object): - """Service to manage Keyword Plan ad groups.""" - - 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.v2.services.KeywordPlanAdGroupService' - - - @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: - KeywordPlanAdGroupServiceClient: 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_path(cls, customer, keyword_plan_ad_group): - """Return a fully-qualified keyword_plan_ad_group string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/keywordPlanAdGroups/{keyword_plan_ad_group}', - customer=customer, - keyword_plan_ad_group=keyword_plan_ad_group, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.KeywordPlanAdGroupServiceGrpcTransport, - Callable[[~.Credentials, type], ~.KeywordPlanAdGroupServiceGrpcTransport]): 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_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_service_grpc_transport.KeywordPlanAdGroupServiceGrpcTransport, - ) - 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_service_grpc_transport.KeywordPlanAdGroupServiceGrpcTransport( - 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( - 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 in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.KeywordPlanAdGroup` 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' 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, - ) - - request = keyword_plan_ad_group_service_pb2.GetKeywordPlanAdGroupRequest( - 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, - 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 groups. Operation statuses are - 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_v2.types.KeywordPlanAdGroupOperation]]): 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_v2.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. - 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_v2.types.MutateKeywordPlanAdGroupsResponse` 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_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, - ) - - request = keyword_plan_ad_group_service_pb2.MutateKeywordPlanAdGroupsRequest( - 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_groups'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/keyword_plan_campaign_service_client.py b/google/ads/google_ads/v2/services/keyword_plan_campaign_service_client.py deleted file mode 100644 index 2830b6072..000000000 --- a/google/ads/google_ads/v2/services/keyword_plan_campaign_service_client.py +++ /dev/null @@ -1,514 +0,0 @@ -# -*- 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.v2.services KeywordPlanCampaignService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import keyword_plan_campaign_service_client_config -from google.ads.google_ads.v2.services.transports import keyword_plan_campaign_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class KeywordPlanCampaignServiceClient(object): - """Service to manage Keyword Plan campaigns.""" - - 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.v2.services.KeywordPlanCampaignService' - - - @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: - KeywordPlanCampaignServiceClient: 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_campaign_path(cls, customer, keyword_plan_campaign): - """Return a fully-qualified keyword_plan_campaign string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/keywordPlanCampaigns/{keyword_plan_campaign}', - customer=customer, - keyword_plan_campaign=keyword_plan_campaign, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.KeywordPlanCampaignServiceGrpcTransport, - Callable[[~.Credentials, type], ~.KeywordPlanCampaignServiceGrpcTransport]): 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_campaign_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_campaign_service_grpc_transport.KeywordPlanCampaignServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = keyword_plan_campaign_service_grpc_transport.KeywordPlanCampaignServiceGrpcTransport( - 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_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 Keyword Plan campaign in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.KeywordPlanCampaign` 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_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, - ) - - request = keyword_plan_campaign_service_pb2.GetKeywordPlanCampaignRequest( - 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, - 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 campaigns. Operation statuses are - returned. - - Args: - customer_id (str): The ID of the customer whose Keyword Plan campaigns are being modified. - operations (list[Union[dict, ~google.ads.googleads_v2.types.KeywordPlanCampaignOperation]]): 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_v2.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. - 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_v2.types.MutateKeywordPlanCampaignsResponse` 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_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, - ) - - request = keyword_plan_campaign_service_pb2.MutateKeywordPlanCampaignsRequest( - 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_campaigns'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/keyword_plan_idea_service_client.py b/google/ads/google_ads/v2/services/keyword_plan_idea_service_client.py deleted file mode 100644 index 270c7c825..000000000 --- a/google/ads/google_ads/v2/services/keyword_plan_idea_service_client.py +++ /dev/null @@ -1,478 +0,0 @@ -# -*- 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.v2.services KeywordPlanIdeaService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import keyword_plan_idea_service_client_config -from google.ads.google_ads.v2.services.transports import keyword_plan_idea_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class KeywordPlanIdeaServiceClient(object): - """Service to generate keyword ideas.""" - - 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.v2.services.KeywordPlanIdeaService' - - - @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: - KeywordPlanIdeaServiceClient: 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[~.KeywordPlanIdeaServiceGrpcTransport, - Callable[[~.Credentials, type], ~.KeywordPlanIdeaServiceGrpcTransport]): 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_idea_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_idea_service_grpc_transport.KeywordPlanIdeaServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = keyword_plan_idea_service_grpc_transport.KeywordPlanIdeaServiceGrpcTransport( - 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 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): - """ - Returns a list of keyword ideas. - - Args: - customer_id (str): The ID of the customer with the recommendation. - language (Union[dict, ~google.ads.googleads_v2.types.StringValue]): 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_v2.types.StringValue` - geo_target_constants (list[Union[dict, ~google.ads.googleads_v2.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_v2.types.StringValue` - keyword_plan_network (~google.ads.googleads_v2.types.KeywordPlanNetwork): Targeting network. - keyword_and_url_seed (Union[dict, ~google.ads.googleads_v2.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_v2.types.KeywordAndUrlSeed` - keyword_seed (Union[dict, ~google.ads.googleads_v2.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_v2.types.KeywordSeed` - url_seed (Union[dict, ~google.ads.googleads_v2.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_v2.types.UrlSeed` - 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_v2.types.GenerateKeywordIdeaResponse` 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_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, - ) - - # 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( - keyword_and_url_seed=keyword_and_url_seed, - keyword_seed=keyword_seed, - url_seed=url_seed, - ) - - request = keyword_plan_idea_service_pb2.GenerateKeywordIdeasRequest( - customer_id=customer_id, - language=language, - geo_target_constants=geo_target_constants, - keyword_plan_network=keyword_plan_network, - keyword_and_url_seed=keyword_and_url_seed, - keyword_seed=keyword_seed, - url_seed=url_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) - - return self._inner_api_calls['generate_keyword_ideas'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/keyword_plan_keyword_service_client.py b/google/ads/google_ads/v2/services/keyword_plan_keyword_service_client.py deleted file mode 100644 index 605562cc8..000000000 --- a/google/ads/google_ads/v2/services/keyword_plan_keyword_service_client.py +++ /dev/null @@ -1,519 +0,0 @@ -# -*- 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.v2.services KeywordPlanKeywordService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import keyword_plan_keyword_service_client_config -from google.ads.google_ads.v2.services.transports import keyword_plan_keyword_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class KeywordPlanKeywordServiceClient(object): - """Service to manage Keyword Plan ad group 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.v2.services.KeywordPlanKeywordService' - - - @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: - KeywordPlanKeywordServiceClient: 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_keyword_path(cls, customer, keyword_plan_keyword): - """Return a fully-qualified keyword_plan_keyword string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/keywordPlanKeywords/{keyword_plan_keyword}', - customer=customer, - keyword_plan_keyword=keyword_plan_keyword, - ) - - 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 - 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_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_keyword_service_grpc_transport.KeywordPlanKeywordServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = keyword_plan_keyword_service_grpc_transport.KeywordPlanKeywordServiceGrpcTransport( - 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_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 keyword in full detail. - - Args: - resource_name (str): 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_v2.types.KeywordPlanKeyword` 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_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, - ) - - request = keyword_plan_keyword_service_pb2.GetKeywordPlanKeywordRequest( - 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_keyword'](request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_keyword_plan_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 keywords. Operation statuses are - returned. - - Args: - customer_id (str): The ID of the customer whose Keyword Plan keywords are being modified. - operations (list[Union[dict, ~google.ads.googleads_v2.types.KeywordPlanKeywordOperation]]): The list of operations to perform on individual Keyword Plan keywords. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v2.types.KeywordPlanKeywordOperation` - 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_v2.types.MutateKeywordPlanKeywordsResponse` 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_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, - ) - - request = keyword_plan_keyword_service_pb2.MutateKeywordPlanKeywordsRequest( - 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_keywords'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/keyword_plan_keyword_service_client_config.py b/google/ads/google_ads/v2/services/keyword_plan_keyword_service_client_config.py deleted file mode 100644 index e62382f4a..000000000 --- a/google/ads/google_ads/v2/services/keyword_plan_keyword_service_client_config.py +++ /dev/null @@ -1,36 +0,0 @@ -config = { - "interfaces": { - "google.ads.googleads.v2.services.KeywordPlanKeywordService": { - "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": { - "GetKeywordPlanKeyword": { - "timeout_millis": 60000, - "retry_codes_name": "idempotent", - "retry_params_name": "default" - }, - "MutateKeywordPlanKeywords": { - "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", - "retry_params_name": "default" - } - } - } - } -} diff --git a/google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_client.py b/google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_client.py deleted file mode 100644 index 244ade4bb..000000000 --- a/google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_client.py +++ /dev/null @@ -1,523 +0,0 @@ -# -*- 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.v2.services KeywordPlanNegativeKeywordService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import keyword_plan_negative_keyword_service_client_config -from google.ads.google_ads.v2.services.transports import keyword_plan_negative_keyword_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class KeywordPlanNegativeKeywordServiceClient(object): - """Service to manage Keyword Plan 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.v2.services.KeywordPlanNegativeKeywordService' - - - @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: - KeywordPlanNegativeKeywordServiceClient: 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_negative_keyword_path(cls, customer, keyword_plan_negative_keyword): - """Return a fully-qualified keyword_plan_negative_keyword string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/keywordPlanNegativeKeywords/{keyword_plan_negative_keyword}', - customer=customer, - keyword_plan_negative_keyword=keyword_plan_negative_keyword, - ) - - 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 - 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_negative_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_negative_keyword_service_grpc_transport.KeywordPlanNegativeKeywordServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = keyword_plan_negative_keyword_service_grpc_transport.KeywordPlanNegativeKeywordServiceGrpcTransport( - 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_negative_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 plan in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.KeywordPlanNegativeKeyword` 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_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, - ) - - request = keyword_plan_negative_keyword_service_pb2.GetKeywordPlanNegativeKeywordRequest( - 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_negative_keyword'](request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_keyword_plan_negative_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 negative 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_v2.types.KeywordPlanNegativeKeywordOperation]]): The list of operations to perform on individual Keyword Plan negative - keywords. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v2.types.KeywordPlanNegativeKeywordOperation` - 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_v2.types.MutateKeywordPlanNegativeKeywordsResponse` 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_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, - ) - - request = keyword_plan_negative_keyword_service_pb2.MutateKeywordPlanNegativeKeywordsRequest( - 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_negative_keywords'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_client_config.py b/google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_client_config.py deleted file mode 100644 index 7e047f5cf..000000000 --- a/google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_client_config.py +++ /dev/null @@ -1,36 +0,0 @@ -config = { - "interfaces": { - "google.ads.googleads.v2.services.KeywordPlanNegativeKeywordService": { - "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": { - "GetKeywordPlanNegativeKeyword": { - "timeout_millis": 60000, - "retry_codes_name": "idempotent", - "retry_params_name": "default" - }, - "MutateKeywordPlanNegativeKeywords": { - "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", - "retry_params_name": "default" - } - } - } - } -} diff --git a/google/ads/google_ads/v2/services/keyword_plan_service_client.py b/google/ads/google_ads/v2/services/keyword_plan_service_client.py deleted file mode 100644 index d675c6b93..000000000 --- a/google/ads/google_ads/v2/services/keyword_plan_service_client.py +++ /dev/null @@ -1,636 +0,0 @@ -# -*- 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.v2.services KeywordPlanService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import keyword_plan_service_client_config -from google.ads.google_ads.v2.services.transports import keyword_plan_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class KeywordPlanServiceClient(object): - """Service to manage keyword plans.""" - - 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.v2.services.KeywordPlanService' - - - @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: - KeywordPlanServiceClient: 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_path(cls, customer, keyword_plan): - """Return a fully-qualified keyword_plan string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/keywordPlans/{keyword_plan}', - customer=customer, - keyword_plan=keyword_plan, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.KeywordPlanServiceGrpcTransport, - Callable[[~.Credentials, type], ~.KeywordPlanServiceGrpcTransport]): 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_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_service_grpc_transport.KeywordPlanServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = keyword_plan_service_grpc_transport.KeywordPlanServiceGrpcTransport( - 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( - 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. - 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_v2.types.KeywordPlan` 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' 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, - ) - - request = keyword_plan_service_pb2.GetKeywordPlanRequest( - 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_v2.types.KeywordPlanOperation]]): 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_v2.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. - 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_v2.types.MutateKeywordPlansResponse` 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_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, - ) - - request = keyword_plan_service_pb2.MutateKeywordPlansRequest( - 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_plans'](request, retry=retry, timeout=timeout, metadata=metadata) - - def generate_forecast_metrics( - 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 forecasts. - - Args: - keyword_plan (str): 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_v2.types.GenerateForecastMetricsResponse` 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_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, - ) - - request = keyword_plan_service_pb2.GenerateForecastMetricsRequest( - 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, - 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 historical metrics. - - Args: - keyword_plan (str): 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 - 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_v2.types.GenerateHistoricalMetricsResponse` 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_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, - ) - - request = keyword_plan_service_pb2.GenerateHistoricalMetricsRequest( - 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/v2/services/keyword_plan_service_client_config.py b/google/ads/google_ads/v2/services/keyword_plan_service_client_config.py deleted file mode 100644 index 8d25cd802..000000000 --- a/google/ads/google_ads/v2/services/keyword_plan_service_client_config.py +++ /dev/null @@ -1,46 +0,0 @@ -config = { - "interfaces": { - "google.ads.googleads.v2.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" - }, - "GenerateForecastMetrics": { - "timeout_millis": 600000, - "retry_codes_name": "idempotent", - "retry_params_name": "default" - }, - "GenerateHistoricalMetrics": { - "timeout_millis": 600000, - "retry_codes_name": "idempotent", - "retry_params_name": "default" - } - } - } - } -} diff --git a/google/ads/google_ads/v2/services/keyword_view_service_client.py b/google/ads/google_ads/v2/services/keyword_view_service_client.py deleted file mode 100644 index aeefc97be..000000000 --- a/google/ads/google_ads/v2/services/keyword_view_service_client.py +++ /dev/null @@ -1,456 +0,0 @@ -# -*- 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.v2.services KeywordViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import keyword_view_service_client_config -from google.ads.google_ads.v2.services.transports import keyword_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class KeywordViewServiceClient(object): - """Service to manage keyword 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.v2.services.KeywordViewService' - - - @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: - KeywordViewServiceClient: 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_view_path(cls, customer, keyword_view): - """Return a fully-qualified keyword_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/keywordViews/{keyword_view}', - customer=customer, - keyword_view=keyword_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.KeywordViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.KeywordViewServiceGrpcTransport]): 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_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=keyword_view_service_grpc_transport.KeywordViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = keyword_view_service_grpc_transport.KeywordViewServiceGrpcTransport( - 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_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. - 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_v2.types.KeywordView` 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_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, - ) - - request = keyword_view_service_pb2.GetKeywordViewRequest( - 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/v2/services/label_service_client.py b/google/ads/google_ads/v2/services/label_service_client.py deleted file mode 100644 index b70ff8442..000000000 --- a/google/ads/google_ads/v2/services/label_service_client.py +++ /dev/null @@ -1,530 +0,0 @@ -# -*- 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.v2.services LabelService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import label_service_client_config -from google.ads.google_ads.v2.services.transports import label_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class LabelServiceClient(object): - """Service to manage labels.""" - - 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.v2.services.LabelService' - - - @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: - LabelServiceClient: 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 label_path(cls, customer, label): - """Return a fully-qualified label string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/labels/{label}', - customer=customer, - label=label, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.LabelServiceGrpcTransport, - Callable[[~.Credentials, type], ~.LabelServiceGrpcTransport]): 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 = label_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=label_service_grpc_transport.LabelServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = label_service_grpc_transport.LabelServiceGrpcTransport( - 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_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. - 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_v2.types.Label` 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_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, - ) - - request = label_service_pb2.GetLabelRequest( - 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_v2.types.LabelOperation]]): 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_v2.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. - 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_v2.types.MutateLabelsResponse` 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_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, - ) - - request = label_service_pb2.MutateLabelsRequest( - 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_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/landing_page_view_service_client.py b/google/ads/google_ads/v2/services/landing_page_view_service_client.py deleted file mode 100644 index f603c0d12..000000000 --- a/google/ads/google_ads/v2/services/landing_page_view_service_client.py +++ /dev/null @@ -1,462 +0,0 @@ -# -*- 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.v2.services LandingPageViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import landing_page_view_service_client_config -from google.ads.google_ads.v2.services.transports import landing_page_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class LandingPageViewServiceClient(object): - """Service to fetch landing page 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.v2.services.LandingPageViewService' - - - @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: - LandingPageViewServiceClient: 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 landing_page_view_path(cls, customer, landing_page_view): - """Return a fully-qualified landing_page_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/landingPageViews/{landing_page_view}', - customer=customer, - landing_page_view=landing_page_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.LandingPageViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.LandingPageViewServiceGrpcTransport]): 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 = landing_page_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=landing_page_view_service_grpc_transport.LandingPageViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = landing_page_view_service_grpc_transport.LandingPageViewServiceGrpcTransport( - 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_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. - 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_v2.types.LandingPageView` 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_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, - ) - - request = landing_page_view_service_pb2.GetLandingPageViewRequest( - 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/v2/services/language_constant_service_client.py b/google/ads/google_ads/v2/services/language_constant_service_client.py deleted file mode 100644 index 56cb5a6e5..000000000 --- a/google/ads/google_ads/v2/services/language_constant_service_client.py +++ /dev/null @@ -1,464 +0,0 @@ -# -*- 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.v2.services LanguageConstantService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import language_constant_service_client_config -from google.ads.google_ads.v2.services.transports import language_constant_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class LanguageConstantServiceClient(object): - """Service to fetch language 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.v2.services.LanguageConstantService' - - - @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: - LanguageConstantServiceClient: 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 language_constant_path(cls, language_constant): - """Return a fully-qualified language_constant string.""" - return google.api_core.path_template.expand( - 'languageConstants/{language_constant}', - language_constant=language_constant, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.LanguageConstantServiceGrpcTransport, - Callable[[~.Credentials, type], ~.LanguageConstantServiceGrpcTransport]): 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 = language_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=language_constant_service_grpc_transport.LanguageConstantServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = language_constant_service_grpc_transport.LanguageConstantServiceGrpcTransport( - 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_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. - 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_v2.types.LanguageConstant` 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_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, - ) - - request = language_constant_service_pb2.GetLanguageConstantRequest( - 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/v2/services/location_view_service_client.py b/google/ads/google_ads/v2/services/location_view_service_client.py deleted file mode 100644 index cfa185113..000000000 --- a/google/ads/google_ads/v2/services/location_view_service_client.py +++ /dev/null @@ -1,468 +0,0 @@ -# -*- 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.v2.services LocationViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import location_view_service_client_config -from google.ads.google_ads.v2.services.transports import location_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class LocationViewServiceClient(object): - """Service to fetch 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.v2.services.LocationViewService' - - - @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: - LocationViewServiceClient: 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 location_view_path(cls, customer, location_view): - """Return a fully-qualified location_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/locationViews/{location_view}', - customer=customer, - location_view=location_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.LocationViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.LocationViewServiceGrpcTransport]): 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 = 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=location_view_service_grpc_transport.LocationViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = location_view_service_grpc_transport.LocationViewServiceGrpcTransport( - 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_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. - 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_v2.types.LocationView` 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_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, - ) - - request = location_view_service_pb2.GetLocationViewRequest( - 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/v2/services/managed_placement_view_service_client.py b/google/ads/google_ads/v2/services/managed_placement_view_service_client.py deleted file mode 100644 index bf6440e4a..000000000 --- a/google/ads/google_ads/v2/services/managed_placement_view_service_client.py +++ /dev/null @@ -1,471 +0,0 @@ -# -*- 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.v2.services ManagedPlacementViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import managed_placement_view_service_client_config -from google.ads.google_ads.v2.services.transports import managed_placement_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ManagedPlacementViewServiceClient(object): - """Service to manage Managed Placement 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.v2.services.ManagedPlacementViewService' - - - @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: - ManagedPlacementViewServiceClient: 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 managed_placement_view_path(cls, customer, managed_placement_view): - """Return a fully-qualified managed_placement_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/managedPlacementViews/{managed_placement_view}', - customer=customer, - managed_placement_view=managed_placement_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.ManagedPlacementViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ManagedPlacementViewServiceGrpcTransport]): 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 = managed_placement_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=managed_placement_view_service_grpc_transport.ManagedPlacementViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = managed_placement_view_service_grpc_transport.ManagedPlacementViewServiceGrpcTransport( - 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_managed_placement_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 Managed Placement view in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.ManagedPlacementView` 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_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, - ) - - request = managed_placement_view_service_pb2.GetManagedPlacementViewRequest( - 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/v2/services/media_file_service_client.py b/google/ads/google_ads/v2/services/media_file_service_client.py deleted file mode 100644 index 5e0b9a7ee..000000000 --- a/google/ads/google_ads/v2/services/media_file_service_client.py +++ /dev/null @@ -1,545 +0,0 @@ -# -*- 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.v2.services MediaFileService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import media_file_service_client_config -from google.ads.google_ads.v2.services.transports import media_file_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class MediaFileServiceClient(object): - """Service to manage media files.""" - - 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.v2.services.MediaFileService' - - - @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: - MediaFileServiceClient: 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 media_file_path(cls, customer, media_file): - """Return a fully-qualified media_file string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/mediaFiles/{media_file}', - customer=customer, - media_file=media_file, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.MediaFileServiceGrpcTransport, - Callable[[~.Credentials, type], ~.MediaFileServiceGrpcTransport]): 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 = media_file_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=media_file_service_grpc_transport.MediaFileServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = media_file_service_grpc_transport.MediaFileServiceGrpcTransport( - 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_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. - 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_v2.types.MediaFile` 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_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, - ) - - request = media_file_service_pb2.GetMediaFileRequest( - 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_v2.types.MediaFileOperation]]): 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_v2.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. - 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_v2.types.MutateMediaFilesResponse` 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_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, - ) - - request = media_file_service_pb2.MutateMediaFilesRequest( - 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_media_files'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/merchant_center_link_service_client.py b/google/ads/google_ads/v2/services/merchant_center_link_service_client.py deleted file mode 100644 index f31d3fdec..000000000 --- a/google/ads/google_ads/v2/services/merchant_center_link_service_client.py +++ /dev/null @@ -1,597 +0,0 @@ -# -*- 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.v2.services MerchantCenterLinkService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import merchant_center_link_service_client_config -from google.ads.google_ads.v2.services.transports import merchant_center_link_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class MerchantCenterLinkServiceClient(object): - """ - This service allows management of links between Google Ads and Google - Merchant Center. - """ - - 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.v2.services.MerchantCenterLinkService' - - - @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: - MerchantCenterLinkServiceClient: 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 merchant_center_link_path(cls, customer, merchant_center_link): - """Return a fully-qualified merchant_center_link string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/merchantCenterLinks/{merchant_center_link}', - customer=customer, - merchant_center_link=merchant_center_link, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.MerchantCenterLinkServiceGrpcTransport, - Callable[[~.Credentials, type], ~.MerchantCenterLinkServiceGrpcTransport]): 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 = merchant_center_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=merchant_center_link_service_grpc_transport.MerchantCenterLinkServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = merchant_center_link_service_grpc_transport.MerchantCenterLinkServiceGrpcTransport( - 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_merchant_center_links( - self, - customer_id, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - 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 - operation. - 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_v2.types.ListMerchantCenterLinksResponse` 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_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, - ) - - request = merchant_center_link_service_pb2.ListMerchantCenterLinksRequest( - 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, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Returns the Merchant Center link in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.MerchantCenterLink` 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_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, - ) - - request = merchant_center_link_service_pb2.GetMerchantCenterLinkRequest( - 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, - customer_id, - operation_, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - 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_v2.types.MerchantCenterLinkOperation]): 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_v2.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. - 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_v2.types.MutateMerchantCenterLinkResponse` 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_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, - ) - - request = merchant_center_link_service_pb2.MutateMerchantCenterLinkRequest( - 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) - - return self._inner_api_calls['mutate_merchant_center_link'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/mobile_app_category_constant_service_client.py b/google/ads/google_ads/v2/services/mobile_app_category_constant_service_client.py deleted file mode 100644 index 278feca8a..000000000 --- a/google/ads/google_ads/v2/services/mobile_app_category_constant_service_client.py +++ /dev/null @@ -1,479 +0,0 @@ -# -*- 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.v2.services MobileAppCategoryConstantService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import mobile_app_category_constant_service_client_config -from google.ads.google_ads.v2.services.transports import mobile_app_category_constant_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class MobileAppCategoryConstantServiceClient(object): - """Service to fetch mobile app category 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.v2.services.MobileAppCategoryConstantService' - - - @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: - MobileAppCategoryConstantServiceClient: 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 mobile_app_category_constant_path(cls, mobile_app_category_constant): - """Return a fully-qualified mobile_app_category_constant string.""" - return google.api_core.path_template.expand( - 'mobileAppCategoryConstants/{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): - """Constructor. - - Args: - transport (Union[~.MobileAppCategoryConstantServiceGrpcTransport, - Callable[[~.Credentials, type], ~.MobileAppCategoryConstantServiceGrpcTransport]): 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 = mobile_app_category_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=mobile_app_category_constant_service_grpc_transport.MobileAppCategoryConstantServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = mobile_app_category_constant_service_grpc_transport.MobileAppCategoryConstantServiceGrpcTransport( - 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_mobile_app_category_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 mobile app category constant. - - Args: - resource_name (str): 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. - 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_v2.types.MobileAppCategoryConstant` 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_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, - ) - - request = mobile_app_category_constant_service_pb2.GetMobileAppCategoryConstantRequest( - 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/v2/services/mobile_device_constant_service_client.py b/google/ads/google_ads/v2/services/mobile_device_constant_service_client.py deleted file mode 100644 index d1704456e..000000000 --- a/google/ads/google_ads/v2/services/mobile_device_constant_service_client.py +++ /dev/null @@ -1,482 +0,0 @@ -# -*- 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.v2.services MobileDeviceConstantService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import mobile_device_constant_service_client_config -from google.ads.google_ads.v2.services.transports import mobile_device_constant_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class MobileDeviceConstantServiceClient(object): - """Service to fetch mobile device 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.v2.services.MobileDeviceConstantService' - - - @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: - MobileDeviceConstantServiceClient: 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 mobile_device_constant_path(cls, mobile_device_constant): - """Return a fully-qualified mobile_device_constant string.""" - return google.api_core.path_template.expand( - 'mobileDeviceConstants/{mobile_device_constant}', - mobile_device_constant=mobile_device_constant, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.MobileDeviceConstantServiceGrpcTransport, - Callable[[~.Credentials, type], ~.MobileDeviceConstantServiceGrpcTransport]): 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 = mobile_device_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=mobile_device_constant_service_grpc_transport.MobileDeviceConstantServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = mobile_device_constant_service_grpc_transport.MobileDeviceConstantServiceGrpcTransport( - 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_mobile_device_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 mobile device constant in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.MobileDeviceConstant` 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_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, - ) - - request = mobile_device_constant_service_pb2.GetMobileDeviceConstantRequest( - 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/v2/services/mutate_job_service_client.py b/google/ads/google_ads/v2/services/mutate_job_service_client.py deleted file mode 100644 index 00d5161c0..000000000 --- a/google/ads/google_ads/v2/services/mutate_job_service_client.py +++ /dev/null @@ -1,761 +0,0 @@ -# -*- 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.v2.services MutateJobService API.""" - -import functools -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.page_iterator -import google.api_core.path_template -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import mutate_job_service_client_config -from google.ads.google_ads.v2.services.transports import mutate_job_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class MutateJobServiceClient(object): - """Service to manage mutate 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.v2.services.MutateJobService' - - - @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: - MutateJobServiceClient: 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 mutate_job_path(cls, customer, mutate_job): - """Return a fully-qualified mutate_job string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/mutateJobs/{mutate_job}', - customer=customer, - mutate_job=mutate_job, - ) - - 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 - 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 = mutate_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=mutate_job_service_grpc_transport.MutateJobServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = mutate_job_service_grpc_transport.MutateJobServiceGrpcTransport( - 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_mutate_job( - self, - customer_id, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Creates a mutate job. - - Args: - customer_id (str): The ID of the customer for which to create a mutate job. - 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_v2.types.CreateMutateJobResponse` 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_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, - ) - - request = mutate_job_service_pb2.CreateMutateJobRequest( - 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['create_mutate_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): - """ - Returns the mutate job. - - Args: - resource_name (str): The resource name of the MutateJob 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_v2.types.MutateJob` 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_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, - ) - - request = mutate_job_service_pb2.GetMutateJobRequest( - 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_mutate_job'](request, retry=retry, timeout=timeout, metadata=metadata) - - def list_mutate_job_results( - self, - resource_name, - page_size=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Returns the results of the mutate 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. - 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. - 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.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v2.types.MutateJobResult` 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 - 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_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, - ) - - request = mutate_job_service_pb2.ListMutateJobResultsRequest( - 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), - request=request, - items_field='results', - request_token_field='page_token', - response_token_field='next_page_token', - ) - 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): - """ - 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. - - Args: - resource_name (str): The resource name of the MutateJob 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_v2.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_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, - ) - - request = mutate_job_service_pb2.RunMutateJobRequest( - 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_mutate_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, - ) - - def add_mutate_job_operations( - self, - resource_name, - sequence_token, - mutate_operations, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): - """ - Add operations to the mutate job. - - Args: - resource_name (str): The resource name of the MutateJob. - sequence_token (str): 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 (list[Union[dict, ~google.ads.googleads_v2.types.MutateOperation]]): 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". - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v2.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. - 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_v2.types.AddMutateJobOperationsResponse` 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_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, - ) - - request = mutate_job_service_pb2.AddMutateJobOperationsRequest( - resource_name=resource_name, - sequence_token=sequence_token, - mutate_operations=mutate_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_mutate_job_operations'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/mutate_job_service_client_config.py b/google/ads/google_ads/v2/services/mutate_job_service_client_config.py deleted file mode 100644 index db48b1b28..000000000 --- a/google/ads/google_ads/v2/services/mutate_job_service_client_config.py +++ /dev/null @@ -1,51 +0,0 @@ -config = { - "interfaces": { - "google.ads.googleads.v2.services.MutateJobService": { - "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": { - "CreateMutateJob": { - "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", - "retry_params_name": "default" - }, - "GetMutateJob": { - "timeout_millis": 60000, - "retry_codes_name": "idempotent", - "retry_params_name": "default" - }, - "ListMutateJobResults": { - "timeout_millis": 60000, - "retry_codes_name": "idempotent", - "retry_params_name": "default" - }, - "RunMutateJob": { - "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", - "retry_params_name": "default" - }, - "AddMutateJobOperations": { - "timeout_millis": 60000, - "retry_codes_name": "non_idempotent", - "retry_params_name": "default" - } - } - } - } -} diff --git a/google/ads/google_ads/v2/services/operating_system_version_constant_service_client.py b/google/ads/google_ads/v2/services/operating_system_version_constant_service_client.py deleted file mode 100644 index f3dca22e8..000000000 --- a/google/ads/google_ads/v2/services/operating_system_version_constant_service_client.py +++ /dev/null @@ -1,488 +0,0 @@ -# -*- 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.v2.services OperatingSystemVersionConstantService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import operating_system_version_constant_service_client_config -from google.ads.google_ads.v2.services.transports import operating_system_version_constant_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class OperatingSystemVersionConstantServiceClient(object): - """Service to fetch Operating System Version 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.v2.services.OperatingSystemVersionConstantService' - - - @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: - OperatingSystemVersionConstantServiceClient: 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 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): - """Constructor. - - Args: - transport (Union[~.OperatingSystemVersionConstantServiceGrpcTransport, - Callable[[~.Credentials, type], ~.OperatingSystemVersionConstantServiceGrpcTransport]): 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 = operating_system_version_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=operating_system_version_constant_service_grpc_transport.OperatingSystemVersionConstantServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = operating_system_version_constant_service_grpc_transport.OperatingSystemVersionConstantServiceGrpcTransport( - 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_operating_system_version_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 OS version constant in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.OperatingSystemVersionConstant` 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_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, - ) - - request = operating_system_version_constant_service_pb2.GetOperatingSystemVersionConstantRequest( - 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/v2/services/paid_organic_search_term_view_service_client.py b/google/ads/google_ads/v2/services/paid_organic_search_term_view_service_client.py deleted file mode 100644 index 32e5bb610..000000000 --- a/google/ads/google_ads/v2/services/paid_organic_search_term_view_service_client.py +++ /dev/null @@ -1,492 +0,0 @@ -# -*- 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.v2.services PaidOrganicSearchTermViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import paid_organic_search_term_view_service_client_config -from google.ads.google_ads.v2.services.transports import paid_organic_search_term_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class PaidOrganicSearchTermViewServiceClient(object): - """Service to fetch paid organic search term 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.v2.services.PaidOrganicSearchTermViewService' - - - @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: - PaidOrganicSearchTermViewServiceClient: 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 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}', - customer=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): - """Constructor. - - Args: - transport (Union[~.PaidOrganicSearchTermViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.PaidOrganicSearchTermViewServiceGrpcTransport]): 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 = paid_organic_search_term_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=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.' - ) - self.transport = transport - else: - self.transport = paid_organic_search_term_view_service_grpc_transport.PaidOrganicSearchTermViewServiceGrpcTransport( - 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_paid_organic_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 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. - 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_v2.types.PaidOrganicSearchTermView` 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_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, - ) - - request = paid_organic_search_term_view_service_pb2.GetPaidOrganicSearchTermViewRequest( - 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/v2/services/parental_status_view_service_client.py b/google/ads/google_ads/v2/services/parental_status_view_service_client.py deleted file mode 100644 index ac648cc6d..000000000 --- a/google/ads/google_ads/v2/services/parental_status_view_service_client.py +++ /dev/null @@ -1,495 +0,0 @@ -# -*- 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.v2.services ParentalStatusViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import parental_status_view_service_client_config -from google.ads.google_ads.v2.services.transports import parental_status_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ParentalStatusViewServiceClient(object): - """Service to manage parental status 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.v2.services.ParentalStatusViewService' - - - @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: - ParentalStatusViewServiceClient: 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 parental_status_view_path(cls, customer, parental_status_view): - """Return a fully-qualified parental_status_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/parentalStatusViews/{parental_status_view}', - customer=customer, - parental_status_view=parental_status_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.ParentalStatusViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ParentalStatusViewServiceGrpcTransport]): 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 = parental_status_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=parental_status_view_service_grpc_transport.ParentalStatusViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = parental_status_view_service_grpc_transport.ParentalStatusViewServiceGrpcTransport( - 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_parental_status_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 parental status view in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.ParentalStatusView` 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_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, - ) - - request = parental_status_view_service_pb2.GetParentalStatusViewRequest( - 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/v2/services/payments_account_service_client.py b/google/ads/google_ads/v2/services/payments_account_service_client.py deleted file mode 100644 index 8af4f6e0e..000000000 --- a/google/ads/google_ads/v2/services/payments_account_service_client.py +++ /dev/null @@ -1,491 +0,0 @@ -# -*- 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.v2.services PaymentsAccountService 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 grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import payments_account_service_client_config -from google.ads.google_ads.v2.services.transports import payments_account_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class PaymentsAccountServiceClient(object): - """ - Service to provide payments accounts that can be used to set up consolidated - billing. - """ - - 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.v2.services.PaymentsAccountService' - - - @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: - PaymentsAccountServiceClient: 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[~.PaymentsAccountServiceGrpcTransport, - Callable[[~.Credentials, type], ~.PaymentsAccountServiceGrpcTransport]): 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 = payments_account_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=payments_account_service_grpc_transport.PaymentsAccountServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = payments_account_service_grpc_transport.PaymentsAccountServiceGrpcTransport( - 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_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 - 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. - 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_v2.types.ListPaymentsAccountsResponse` 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_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, - ) - - request = payments_account_service_pb2.ListPaymentsAccountsRequest( - 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/v2/services/product_bidding_category_constant_service_client.py b/google/ads/google_ads/v2/services/product_bidding_category_constant_service_client.py deleted file mode 100644 index c3be31300..000000000 --- a/google/ads/google_ads/v2/services/product_bidding_category_constant_service_client.py +++ /dev/null @@ -1,499 +0,0 @@ -# -*- 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.v2.services ProductBiddingCategoryConstantService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import product_bidding_category_constant_service_client_config -from google.ads.google_ads.v2.services.transports import product_bidding_category_constant_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ProductBiddingCategoryConstantServiceClient(object): - """Service to fetch Product Bidding Categories.""" - - 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.v2.services.ProductBiddingCategoryConstantService' - - - @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: - ProductBiddingCategoryConstantServiceClient: 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 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): - """Constructor. - - Args: - transport (Union[~.ProductBiddingCategoryConstantServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ProductBiddingCategoryConstantServiceGrpcTransport]): 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 = product_bidding_category_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=product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport( - 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_product_bidding_category_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 Product Bidding Category in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.ProductBiddingCategoryConstant` 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_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, - ) - - request = product_bidding_category_constant_service_pb2.GetProductBiddingCategoryConstantRequest( - 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/v2/services/product_group_view_service_client.py b/google/ads/google_ads/v2/services/product_group_view_service_client.py deleted file mode 100644 index 190e5213c..000000000 --- a/google/ads/google_ads/v2/services/product_group_view_service_client.py +++ /dev/null @@ -1,503 +0,0 @@ -# -*- 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.v2.services ProductGroupViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import product_group_view_service_client_config -from google.ads.google_ads.v2.services.transports import product_group_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ProductGroupViewServiceClient(object): - """Service to manage product group 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.v2.services.ProductGroupViewService' - - - @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: - ProductGroupViewServiceClient: 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 product_group_view_path(cls, customer, product_group_view): - """Return a fully-qualified product_group_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/productGroupViews/{product_group_view}', - customer=customer, - product_group_view=product_group_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.ProductGroupViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ProductGroupViewServiceGrpcTransport]): 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 = product_group_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=product_group_view_service_grpc_transport.ProductGroupViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = product_group_view_service_grpc_transport.ProductGroupViewServiceGrpcTransport( - 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_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. - 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_v2.types.ProductGroupView` 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_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, - ) - - request = product_group_view_service_pb2.GetProductGroupViewRequest( - 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/v2/services/reach_plan_service_client.py b/google/ads/google_ads/v2/services/reach_plan_service_client.py deleted file mode 100644 index 17af8f51e..000000000 --- a/google/ads/google_ads/v2/services/reach_plan_service_client.py +++ /dev/null @@ -1,729 +0,0 @@ -# -*- 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.v2.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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import reach_plan_service_client_config -from google.ads.google_ads.v2.services.transports import reach_plan_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_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.v2.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_v2.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_v2.types.StringValue]): 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_v2.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_v2.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): The ID of the customer. - plannable_location_id (Union[dict, ~google.ads.googleads_v2.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_v2.types.StringValue` - currency_code (Union[dict, ~google.ads.googleads_v2.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_v2.types.StringValue` - budget_micros (Union[dict, ~google.ads.googleads_v2.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_v2.types.Int64Value` - preferences (Union[dict, ~google.ads.googleads_v2.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_v2.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_v2.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, - 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): The ID of the customer. - currency_code (Union[dict, ~google.ads.googleads_v2.types.StringValue]): Required. 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_v2.types.StringValue` - campaign_duration (Union[dict, ~google.ads.googleads_v2.types.CampaignDuration]): Campaign duration. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v2.types.CampaignDuration` - cookie_frequency_cap (Union[dict, ~google.ads.googleads_v2.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. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v2.types.Int32Value` - min_effective_frequency (Union[dict, ~google.ads.googleads_v2.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_v2.types.Int32Value` - targeting (Union[dict, ~google.ads.googleads_v2.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. - - If no targeting dimensions are specified, then campaigns will target - everywhere and everyone. - - 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_v2.types.Targeting` - planned_products (list[Union[dict, ~google.ads.googleads_v2.types.PlannedProduct]]): The product to be planned. - - If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v2.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_v2.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, - 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/v2/services/recommendation_service_client.py b/google/ads/google_ads/v2/services/recommendation_service_client.py deleted file mode 100644 index 8bc62866e..000000000 --- a/google/ads/google_ads/v2/services/recommendation_service_client.py +++ /dev/null @@ -1,646 +0,0 @@ -# -*- 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.v2.services RecommendationService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import recommendation_service_client_config -from google.ads.google_ads.v2.services.transports import recommendation_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class RecommendationServiceClient(object): - """Service to manage recommendations.""" - - 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.v2.services.RecommendationService' - - - @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: - RecommendationServiceClient: 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 recommendation_path(cls, customer, recommendation): - """Return a fully-qualified recommendation string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/recommendations/{recommendation}', - customer=customer, - recommendation=recommendation, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.RecommendationServiceGrpcTransport, - Callable[[~.Credentials, type], ~.RecommendationServiceGrpcTransport]): 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 = recommendation_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=recommendation_service_grpc_transport.RecommendationServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = recommendation_service_grpc_transport.RecommendationServiceGrpcTransport( - 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_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. - 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_v2.types.Recommendation` 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_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, - ) - - request = recommendation_service_pb2.GetRecommendationRequest( - 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_v2.types.ApplyRecommendationOperation]]): 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_v2.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. - Default is false. - 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_v2.types.ApplyRecommendationResponse` 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 '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, - ) - - request = recommendation_service_pb2.ApplyRecommendationRequest( - customer_id=customer_id, - operations=operations, - partial_failure=partial_failure, - ) - 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_v2.types.DismissRecommendationOperation]]): 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_v2.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. - Default is false. - 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_v2.types.DismissRecommendationResponse` 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 '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, - ) - - request = recommendation_service_pb2.DismissRecommendationRequest( - customer_id=customer_id, - operations=operations, - partial_failure=partial_failure, - ) - 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/v2/services/remarketing_action_service_client.py b/google/ads/google_ads/v2/services/remarketing_action_service_client.py deleted file mode 100644 index 772f8aab8..000000000 --- a/google/ads/google_ads/v2/services/remarketing_action_service_client.py +++ /dev/null @@ -1,582 +0,0 @@ -# -*- 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.v2.services RemarketingActionService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import remarketing_action_service_client_config -from google.ads.google_ads.v2.services.transports import remarketing_action_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class RemarketingActionServiceClient(object): - """Service to manage remarketing actions.""" - - 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.v2.services.RemarketingActionService' - - - @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: - RemarketingActionServiceClient: 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 remarketing_action_path(cls, customer, remarketing_action): - """Return a fully-qualified remarketing_action string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/remarketingActions/{remarketing_action}', - customer=customer, - remarketing_action=remarketing_action, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.RemarketingActionServiceGrpcTransport, - Callable[[~.Credentials, type], ~.RemarketingActionServiceGrpcTransport]): 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 = remarketing_action_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=remarketing_action_service_grpc_transport.RemarketingActionServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = remarketing_action_service_grpc_transport.RemarketingActionServiceGrpcTransport( - 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_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. - 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_v2.types.RemarketingAction` 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_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, - ) - - request = remarketing_action_service_pb2.GetRemarketingActionRequest( - 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, - 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 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_v2.types.RemarketingActionOperation]]): 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_v2.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. - 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_v2.types.MutateRemarketingActionsResponse` 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_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, - ) - - request = remarketing_action_service_pb2.MutateRemarketingActionsRequest( - 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_remarketing_actions'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/search_term_view_service_client.py b/google/ads/google_ads/v2/services/search_term_view_service_client.py deleted file mode 100644 index 1b632bfaa..000000000 --- a/google/ads/google_ads/v2/services/search_term_view_service_client.py +++ /dev/null @@ -1,514 +0,0 @@ -# -*- 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.v2.services SearchTermViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import search_term_view_service_client_config -from google.ads.google_ads.v2.services.transports import search_term_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class SearchTermViewServiceClient(object): - """Service to manage search term 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.v2.services.SearchTermViewService' - - - @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: - SearchTermViewServiceClient: 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 search_term_view_path(cls, customer, search_term_view): - """Return a fully-qualified search_term_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/searchTermViews/{search_term_view}', - customer=customer, - search_term_view=search_term_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.SearchTermViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.SearchTermViewServiceGrpcTransport]): 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 = search_term_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=search_term_view_service_grpc_transport.SearchTermViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = search_term_view_service_grpc_transport.SearchTermViewServiceGrpcTransport( - 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_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. - 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_v2.types.SearchTermView` 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_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, - ) - - request = search_term_view_service_pb2.GetSearchTermViewRequest( - 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/v2/services/shared_criterion_service_client.py b/google/ads/google_ads/v2/services/shared_criterion_service_client.py deleted file mode 100644 index 0ded0f96e..000000000 --- a/google/ads/google_ads/v2/services/shared_criterion_service_client.py +++ /dev/null @@ -1,588 +0,0 @@ -# -*- 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.v2.services SharedCriterionService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import shared_criterion_service_client_config -from google.ads.google_ads.v2.services.transports import shared_criterion_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class SharedCriterionServiceClient(object): - """Service to manage shared criteria.""" - - 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.v2.services.SharedCriterionService' - - - @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: - SharedCriterionServiceClient: 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 shared_criteria_path(cls, customer, shared_criteria): - """Return a fully-qualified shared_criteria string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/sharedCriteria/{shared_criteria}', - customer=customer, - shared_criteria=shared_criteria, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.SharedCriterionServiceGrpcTransport, - Callable[[~.Credentials, type], ~.SharedCriterionServiceGrpcTransport]): 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 = shared_criterion_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=shared_criterion_service_grpc_transport.SharedCriterionServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = shared_criterion_service_grpc_transport.SharedCriterionServiceGrpcTransport( - 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_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. - 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_v2.types.SharedCriterion` 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_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, - ) - - request = shared_criterion_service_pb2.GetSharedCriterionRequest( - 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_v2.types.SharedCriterionOperation]]): 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_v2.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. - 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_v2.types.MutateSharedCriteriaResponse` 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_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, - ) - - request = shared_criterion_service_pb2.MutateSharedCriteriaRequest( - 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_shared_criteria'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/shared_set_service_client.py b/google/ads/google_ads/v2/services/shared_set_service_client.py deleted file mode 100644 index 4a26c2c4a..000000000 --- a/google/ads/google_ads/v2/services/shared_set_service_client.py +++ /dev/null @@ -1,591 +0,0 @@ -# -*- 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.v2.services SharedSetService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import shared_set_service_client_config -from google.ads.google_ads.v2.services.transports import shared_set_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class SharedSetServiceClient(object): - """Service to manage shared sets.""" - - 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.v2.services.SharedSetService' - - - @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: - SharedSetServiceClient: 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 shared_set_path(cls, customer, shared_set): - """Return a fully-qualified shared_set string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/sharedSets/{shared_set}', - customer=customer, - shared_set=shared_set, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.SharedSetServiceGrpcTransport, - Callable[[~.Credentials, type], ~.SharedSetServiceGrpcTransport]): 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 = shared_set_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=shared_set_service_grpc_transport.SharedSetServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = shared_set_service_grpc_transport.SharedSetServiceGrpcTransport( - 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_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. - 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_v2.types.SharedSet` 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_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, - ) - - request = shared_set_service_pb2.GetSharedSetRequest( - 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_v2.types.SharedSetOperation]]): 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_v2.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. - 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_v2.types.MutateSharedSetsResponse` 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_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, - ) - - request = shared_set_service_pb2.MutateSharedSetsRequest( - 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_shared_sets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/shopping_performance_view_service_client.py b/google/ads/google_ads/v2/services/shopping_performance_view_service_client.py deleted file mode 100644 index d7e1e22f8..000000000 --- a/google/ads/google_ads/v2/services/shopping_performance_view_service_client.py +++ /dev/null @@ -1,522 +0,0 @@ -# -*- 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.v2.services ShoppingPerformanceViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import shopping_performance_view_service_client_config -from google.ads.google_ads.v2.services.transports import shopping_performance_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import shopping_performance_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class ShoppingPerformanceViewServiceClient(object): - """Service to fetch Shopping performance 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.v2.services.ShoppingPerformanceViewService' - - - @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: - ShoppingPerformanceViewServiceClient: 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 shopping_performance_view_path(cls, customer): - """Return a fully-qualified shopping_performance_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/shoppingPerformanceView', - customer=customer, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.ShoppingPerformanceViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.ShoppingPerformanceViewServiceGrpcTransport]): 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 = shopping_performance_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=shopping_performance_view_service_grpc_transport.ShoppingPerformanceViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = shopping_performance_view_service_grpc_transport.ShoppingPerformanceViewServiceGrpcTransport( - 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_shopping_performance_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 Shopping performance view in full detail. - - Args: - resource_name (str): 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. - 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_v2.types.ShoppingPerformanceView` 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_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, - ) - - request = shopping_performance_view_service_pb2.GetShoppingPerformanceViewRequest( - 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/v2/services/topic_constant_service_client.py b/google/ads/google_ads/v2/services/topic_constant_service_client.py deleted file mode 100644 index 9b887c8cc..000000000 --- a/google/ads/google_ads/v2/services/topic_constant_service_client.py +++ /dev/null @@ -1,525 +0,0 @@ -# -*- 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.v2.services TopicConstantService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import topic_constant_service_client_config -from google.ads.google_ads.v2.services.transports import topic_constant_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import shopping_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import topic_constant_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class TopicConstantServiceClient(object): - """Service to fetch topic 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.v2.services.TopicConstantService' - - - @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: - TopicConstantServiceClient: 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 topic_constant_path(cls, topic_constant): - """Return a fully-qualified topic_constant string.""" - return google.api_core.path_template.expand( - 'topicConstants/{topic_constant}', - topic_constant=topic_constant, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.TopicConstantServiceGrpcTransport, - Callable[[~.Credentials, type], ~.TopicConstantServiceGrpcTransport]): 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 = topic_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=topic_constant_service_grpc_transport.TopicConstantServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = topic_constant_service_grpc_transport.TopicConstantServiceGrpcTransport( - 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_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. - 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_v2.types.TopicConstant` 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_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, - ) - - request = topic_constant_service_pb2.GetTopicConstantRequest( - 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/v2/services/topic_view_service_client.py b/google/ads/google_ads/v2/services/topic_view_service_client.py deleted file mode 100644 index 4955cd16f..000000000 --- a/google/ads/google_ads/v2/services/topic_view_service_client.py +++ /dev/null @@ -1,529 +0,0 @@ -# -*- 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.v2.services TopicViewService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import topic_view_service_client_config -from google.ads.google_ads.v2.services.transports import topic_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import shopping_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import topic_constant_pb2 -from google.ads.google_ads.v2.proto.resources import topic_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class TopicViewServiceClient(object): - """Service to manage topic 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.v2.services.TopicViewService' - - - @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: - TopicViewServiceClient: 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 topic_view_path(cls, customer, topic_view): - """Return a fully-qualified topic_view string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/topicViews/{topic_view}', - customer=customer, - topic_view=topic_view, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.TopicViewServiceGrpcTransport, - Callable[[~.Credentials, type], ~.TopicViewServiceGrpcTransport]): 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 = topic_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=topic_view_service_grpc_transport.TopicViewServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = topic_view_service_grpc_transport.TopicViewServiceGrpcTransport( - 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_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. - 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_v2.types.TopicView` 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_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, - ) - - request = topic_view_service_pb2.GetTopicViewRequest( - 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/v2/services/transports/keyword_plan_keyword_service_grpc_transport.py b/google/ads/google_ads/v2/services/transports/keyword_plan_keyword_service_grpc_transport.py deleted file mode 100644 index cbe259b69..000000000 --- a/google/ads/google_ads/v2/services/transports/keyword_plan_keyword_service_grpc_transport.py +++ /dev/null @@ -1,137 +0,0 @@ -# -*- 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.v2.proto.services import keyword_plan_keyword_service_pb2_grpc - - -class KeywordPlanKeywordServiceGrpcTransport(object): - """gRPC transport class providing stubs for - google.ads.googleads.v2.services KeywordPlanKeywordService 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_keyword_service_stub': keyword_plan_keyword_service_pb2_grpc.KeywordPlanKeywordServiceStub(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_keyword(self): - """Return the gRPC stub for :meth:`KeywordPlanKeywordServiceClient.get_keyword_plan_keyword`. - - Returns the requested Keyword Plan 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_keyword_service_stub'].GetKeywordPlanKeyword - - @property - def mutate_keyword_plan_keywords(self): - """Return the gRPC stub for :meth:`KeywordPlanKeywordServiceClient.mutate_keyword_plan_keywords`. - - Creates, updates, or removes Keyword Plan 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_keyword_service_stub'].MutateKeywordPlanKeywords \ No newline at end of file diff --git a/google/ads/google_ads/v2/services/transports/keyword_plan_negative_keyword_service_grpc_transport.py b/google/ads/google_ads/v2/services/transports/keyword_plan_negative_keyword_service_grpc_transport.py deleted file mode 100644 index 74403ab36..000000000 --- a/google/ads/google_ads/v2/services/transports/keyword_plan_negative_keyword_service_grpc_transport.py +++ /dev/null @@ -1,137 +0,0 @@ -# -*- 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.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc - - -class KeywordPlanNegativeKeywordServiceGrpcTransport(object): - """gRPC transport class providing stubs for - google.ads.googleads.v2.services KeywordPlanNegativeKeywordService 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_negative_keyword_service_stub': keyword_plan_negative_keyword_service_pb2_grpc.KeywordPlanNegativeKeywordServiceStub(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_negative_keyword(self): - """Return the gRPC stub for :meth:`KeywordPlanNegativeKeywordServiceClient.get_keyword_plan_negative_keyword`. - - Returns the requested plan 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_negative_keyword_service_stub'].GetKeywordPlanNegativeKeyword - - @property - def mutate_keyword_plan_negative_keywords(self): - """Return the gRPC stub for :meth:`KeywordPlanNegativeKeywordServiceClient.mutate_keyword_plan_negative_keywords`. - - Creates, updates, or removes Keyword Plan negative 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_negative_keyword_service_stub'].MutateKeywordPlanNegativeKeywords \ No newline at end of file diff --git a/google/ads/google_ads/v2/services/transports/mutate_job_service_grpc_transport.py b/google/ads/google_ads/v2/services/transports/mutate_job_service_grpc_transport.py deleted file mode 100644 index 6b2dfeb93..000000000 --- a/google/ads/google_ads/v2/services/transports/mutate_job_service_grpc_transport.py +++ /dev/null @@ -1,185 +0,0 @@ -# -*- 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.v2.proto.services import mutate_job_service_pb2_grpc - - -class MutateJobServiceGrpcTransport(object): - """gRPC transport class providing stubs for - google.ads.googleads.v2.services MutateJobService 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 = { - 'mutate_job_service_stub': mutate_job_service_pb2_grpc.MutateJobServiceStub(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_mutate_job(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.create_mutate_job`. - - Creates a mutate 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 - - @property - def get_mutate_job(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.get_mutate_job`. - - Returns the mutate 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 - - @property - def list_mutate_job_results(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.list_mutate_job_results`. - - Returns the results of the mutate job. The job must be done. - Supports standard list paging. - - Returns: - Callable: A callable which accepts the appropriate - deserialized request object and returns a - deserialized response object. - """ - return self._stubs['mutate_job_service_stub'].ListMutateJobResults - - @property - def run_mutate_job(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.run_mutate_job`. - - 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. - - 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 - - @property - def add_mutate_job_operations(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.add_mutate_job_operations`. - - Add operations to the mutate 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 \ No newline at end of file diff --git a/google/ads/google_ads/v2/services/user_interest_service_client.py b/google/ads/google_ads/v2/services/user_interest_service_client.py deleted file mode 100644 index 602bf0665..000000000 --- a/google/ads/google_ads/v2/services/user_interest_service_client.py +++ /dev/null @@ -1,532 +0,0 @@ -# -*- 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.v2.services UserInterestService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import user_interest_service_client_config -from google.ads.google_ads.v2.services.transports import user_interest_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import shopping_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import topic_constant_pb2 -from google.ads.google_ads.v2.proto.resources import topic_view_pb2 -from google.ads.google_ads.v2.proto.resources import user_interest_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import user_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import user_interest_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class UserInterestServiceClient(object): - """Service to fetch Google Ads User Interest.""" - - 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.v2.services.UserInterestService' - - - @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: - UserInterestServiceClient: 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_interest_path(cls, customer, user_interest): - """Return a fully-qualified user_interest string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/userInterests/{user_interest}', - customer=customer, - user_interest=user_interest, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.UserInterestServiceGrpcTransport, - Callable[[~.Credentials, type], ~.UserInterestServiceGrpcTransport]): 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_interest_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_interest_service_grpc_transport.UserInterestServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = user_interest_service_grpc_transport.UserInterestServiceGrpcTransport( - 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_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. - 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_v2.types.UserInterest` 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_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, - ) - - request = user_interest_service_pb2.GetUserInterestRequest( - 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/v2/services/user_list_service_client.py b/google/ads/google_ads/v2/services/user_list_service_client.py deleted file mode 100644 index d31e8e0b3..000000000 --- a/google/ads/google_ads/v2/services/user_list_service_client.py +++ /dev/null @@ -1,606 +0,0 @@ -# -*- 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.v2.services UserListService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import user_list_service_client_config -from google.ads.google_ads.v2.services.transports import user_list_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import shopping_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import topic_constant_pb2 -from google.ads.google_ads.v2.proto.resources import topic_view_pb2 -from google.ads.google_ads.v2.proto.resources import user_interest_pb2 -from google.ads.google_ads.v2.proto.resources import user_list_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import user_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import user_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import user_list_service_pb2 -from google.ads.google_ads.v2.proto.services import user_list_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class UserListServiceClient(object): - """Service to manage user lists.""" - - 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.v2.services.UserListService' - - - @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: - UserListServiceClient: 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_list_path(cls, customer, user_list): - """Return a fully-qualified user_list string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/userLists/{user_list}', - customer=customer, - user_list=user_list, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.UserListServiceGrpcTransport, - Callable[[~.Credentials, type], ~.UserListServiceGrpcTransport]): 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_list_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_list_service_grpc_transport.UserListServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = user_list_service_grpc_transport.UserListServiceGrpcTransport( - 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_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. - 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_v2.types.UserList` 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_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, - ) - - request = user_list_service_pb2.GetUserListRequest( - 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_v2.types.UserListOperation]]): 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_v2.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. - 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_v2.types.MutateUserListsResponse` 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_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, - ) - - request = user_list_service_pb2.MutateUserListsRequest( - 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_user_lists'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v2/services/user_location_view_service_client.py b/google/ads/google_ads/v2/services/user_location_view_service_client.py deleted file mode 100644 index f02581d33..000000000 --- a/google/ads/google_ads/v2/services/user_location_view_service_client.py +++ /dev/null @@ -1,538 +0,0 @@ -# -*- 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.v2.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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import user_location_view_service_client_config -from google.ads.google_ads.v2.services.transports import user_location_view_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import shopping_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import topic_constant_pb2 -from google.ads.google_ads.v2.proto.resources import topic_view_pb2 -from google.ads.google_ads.v2.proto.resources import user_interest_pb2 -from google.ads.google_ads.v2.proto.resources import user_list_pb2 -from google.ads.google_ads.v2.proto.resources import user_location_view_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import user_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import user_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import user_list_service_pb2 -from google.ads.google_ads.v2.proto.services import user_list_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import user_location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import user_location_view_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_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.v2.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): 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_v2.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/v2/services/video_service_client.py b/google/ads/google_ads/v2/services/video_service_client.py deleted file mode 100644 index 6a4ef2519..000000000 --- a/google/ads/google_ads/v2/services/video_service_client.py +++ /dev/null @@ -1,541 +0,0 @@ -# -*- 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.v2.services VideoService 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 -import grpc - -from google.ads.google_ads.v2.services import enums -from google.ads.google_ads.v2.services import video_service_client_config -from google.ads.google_ads.v2.services.transports import video_service_grpc_transport -from google.ads.google_ads.v2.proto.resources import account_budget_pb2 -from google.ads.google_ads.v2.proto.resources import account_budget_proposal_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_asset_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_feed_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_label_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import ad_group_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import ad_parameter_pb2 -from google.ads.google_ads.v2.proto.resources import ad_pb2 -from google.ads.google_ads.v2.proto.resources import ad_schedule_view_pb2 -from google.ads.google_ads.v2.proto.resources import age_range_view_pb2 -from google.ads.google_ads.v2.proto.resources import asset_pb2 -from google.ads.google_ads.v2.proto.resources import bidding_strategy_pb2 -from google.ads.google_ads.v2.proto.resources import billing_setup_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_audience_view_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_bid_modifier_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_budget_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_criterion_simulation_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_draft_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_experiment_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_feed_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_label_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_pb2 -from google.ads.google_ads.v2.proto.resources import campaign_shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import carrier_constant_pb2 -from google.ads.google_ads.v2.proto.resources import change_status_pb2 -from google.ads.google_ads.v2.proto.resources import click_view_pb2 -from google.ads.google_ads.v2.proto.resources import conversion_action_pb2 -from google.ads.google_ads.v2.proto.resources import custom_interest_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_client_pb2 -from google.ads.google_ads.v2.proto.resources import customer_extension_setting_pb2 -from google.ads.google_ads.v2.proto.resources import customer_feed_pb2 -from google.ads.google_ads.v2.proto.resources import customer_label_pb2 -from google.ads.google_ads.v2.proto.resources import customer_manager_link_pb2 -from google.ads.google_ads.v2.proto.resources import customer_negative_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import customer_pb2 -from google.ads.google_ads.v2.proto.resources import detail_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import display_keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import distance_view_pb2 -from google.ads.google_ads.v2.proto.resources import domain_category_pb2 -from google.ads.google_ads.v2.proto.resources import dynamic_search_ads_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import expanded_landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import extension_feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_pb2 -from google.ads.google_ads.v2.proto.resources import feed_item_target_pb2 -from google.ads.google_ads.v2.proto.resources import feed_mapping_pb2 -from google.ads.google_ads.v2.proto.resources import feed_pb2 -from google.ads.google_ads.v2.proto.resources import feed_placeholder_view_pb2 -from google.ads.google_ads.v2.proto.resources import gender_view_pb2 -from google.ads.google_ads.v2.proto.resources import geo_target_constant_pb2 -from google.ads.google_ads.v2.proto.resources import geographic_view_pb2 -from google.ads.google_ads.v2.proto.resources import google_ads_field_pb2 -from google.ads.google_ads.v2.proto.resources import group_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import hotel_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_ad_group_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_campaign_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_negative_keyword_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 -from google.ads.google_ads.v2.proto.resources import keyword_view_pb2 -from google.ads.google_ads.v2.proto.resources import label_pb2 -from google.ads.google_ads.v2.proto.resources import landing_page_view_pb2 -from google.ads.google_ads.v2.proto.resources import language_constant_pb2 -from google.ads.google_ads.v2.proto.resources import location_view_pb2 -from google.ads.google_ads.v2.proto.resources import managed_placement_view_pb2 -from google.ads.google_ads.v2.proto.resources import media_file_pb2 -from google.ads.google_ads.v2.proto.resources import merchant_center_link_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_app_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mobile_device_constant_pb2 -from google.ads.google_ads.v2.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v2.proto.resources import operating_system_version_constant_pb2 -from google.ads.google_ads.v2.proto.resources import paid_organic_search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import parental_status_view_pb2 -from google.ads.google_ads.v2.proto.resources import product_bidding_category_constant_pb2 -from google.ads.google_ads.v2.proto.resources import product_group_view_pb2 -from google.ads.google_ads.v2.proto.resources import recommendation_pb2 -from google.ads.google_ads.v2.proto.resources import remarketing_action_pb2 -from google.ads.google_ads.v2.proto.resources import search_term_view_pb2 -from google.ads.google_ads.v2.proto.resources import shared_criterion_pb2 -from google.ads.google_ads.v2.proto.resources import shared_set_pb2 -from google.ads.google_ads.v2.proto.resources import shopping_performance_view_pb2 -from google.ads.google_ads.v2.proto.resources import topic_constant_pb2 -from google.ads.google_ads.v2.proto.resources import topic_view_pb2 -from google.ads.google_ads.v2.proto.resources import user_interest_pb2 -from google.ads.google_ads.v2.proto.resources import user_list_pb2 -from google.ads.google_ads.v2.proto.resources import user_location_view_pb2 -from google.ads.google_ads.v2.proto.resources import video_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_proposal_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import account_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_asset_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_group_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_parameter_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_schedule_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import ad_service_pb2 -from google.ads.google_ads.v2.proto.services import ad_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2 -from google.ads.google_ads.v2.proto.services import age_range_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import asset_service_pb2 -from google.ads.google_ads.v2.proto.services import asset_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2 -from google.ads.google_ads.v2.proto.services import bidding_strategy_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2 -from google.ads.google_ads.v2.proto.services import billing_setup_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_audience_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_bid_modifier_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_budget_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_criterion_simulation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_draft_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_experiment_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import campaign_shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import carrier_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import change_status_service_pb2 -from google.ads.google_ads.v2.proto.services import change_status_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import click_view_service_pb2 -from google.ads.google_ads.v2.proto.services import click_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_adjustment_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2 -from google.ads.google_ads.v2.proto.services import conversion_upload_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import custom_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_client_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_extension_setting_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_manager_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_negative_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import customer_service_pb2 -from google.ads.google_ads.v2.proto.services import customer_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import detail_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import display_keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import distance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2 -from google.ads.google_ads.v2.proto.services import domain_category_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import expanded_landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import extension_feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_item_target_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_mapping_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_placeholder_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import feed_service_pb2 -from google.ads.google_ads.v2.proto.services import feed_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2 -from google.ads.google_ads.v2.proto.services import gender_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import geo_target_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import geographic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_field_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2 -from google.ads.google_ads.v2.proto.services import google_ads_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import group_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import hotel_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import invoice_service_pb2 -from google.ads.google_ads.v2.proto.services import invoice_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_ad_group_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_campaign_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_idea_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_negative_keyword_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2 -from google.ads.google_ads.v2.proto.services import keyword_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import label_service_pb2 -from google.ads.google_ads.v2.proto.services import label_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2 -from google.ads.google_ads.v2.proto.services import landing_page_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import language_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2 -from google.ads.google_ads.v2.proto.services import managed_placement_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import media_file_service_pb2 -from google.ads.google_ads.v2.proto.services import media_file_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2 -from google.ads.google_ads.v2.proto.services import merchant_center_link_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_app_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import mobile_device_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2 -from google.ads.google_ads.v2.proto.services import mutate_job_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import operating_system_version_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import paid_organic_search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2 -from google.ads.google_ads.v2.proto.services import parental_status_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2 -from google.ads.google_ads.v2.proto.services import payments_account_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import product_bidding_category_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2 -from google.ads.google_ads.v2.proto.services import product_group_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2 -from google.ads.google_ads.v2.proto.services import reach_plan_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2 -from google.ads.google_ads.v2.proto.services import recommendation_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2 -from google.ads.google_ads.v2.proto.services import remarketing_action_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2 -from google.ads.google_ads.v2.proto.services import search_term_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_criterion_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2 -from google.ads.google_ads.v2.proto.services import shared_set_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2 -from google.ads.google_ads.v2.proto.services import shopping_performance_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_constant_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2 -from google.ads.google_ads.v2.proto.services import topic_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import user_interest_service_pb2 -from google.ads.google_ads.v2.proto.services import user_interest_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import user_list_service_pb2 -from google.ads.google_ads.v2.proto.services import user_list_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import user_location_view_service_pb2 -from google.ads.google_ads.v2.proto.services import user_location_view_service_pb2_grpc -from google.ads.google_ads.v2.proto.services import video_service_pb2 -from google.ads.google_ads.v2.proto.services import video_service_pb2_grpc -from google.longrunning import operations_pb2 -from google.protobuf import empty_pb2 -from google.protobuf import wrappers_pb2 - - - -_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', -).version - - -class VideoServiceClient(object): - """Service to manage videos.""" - - 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.v2.services.VideoService' - - - @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: - VideoServiceClient: 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 video_path(cls, customer, video): - """Return a fully-qualified video string.""" - return google.api_core.path_template.expand( - 'customers/{customer}/videos/{video}', - customer=customer, - video=video, - ) - - def __init__(self, transport=None, channel=None, credentials=None, - client_config=None, client_info=None): - """Constructor. - - Args: - transport (Union[~.VideoServiceGrpcTransport, - Callable[[~.Credentials, type], ~.VideoServiceGrpcTransport]): 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 = video_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=video_service_grpc_transport.VideoServiceGrpcTransport, - ) - else: - if credentials: - raise ValueError( - 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.' - ) - self.transport = transport - else: - self.transport = video_service_grpc_transport.VideoServiceGrpcTransport( - 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_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. - 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_v2.types.Video` 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_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, - ) - - request = video_service_pb2.GetVideoRequest( - 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/v2/types.py b/google/ads/google_ads/v2/types.py deleted file mode 100644 index aa47ff682..000000000 --- a/google/ads/google_ads/v2/types.py +++ /dev/null @@ -1,1729 +0,0 @@ -# -*- 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 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.v2.proto.common', - ad_type_infos_pb2='google.ads.google_ads.v2.proto.common', - asset_types_pb2='google.ads.google_ads.v2.proto.common', - bidding_pb2='google.ads.google_ads.v2.proto.common', - click_location_pb2='google.ads.google_ads.v2.proto.common', - criteria_pb2='google.ads.google_ads.v2.proto.common', - criterion_category_availability_pb2='google.ads.google_ads.v2.proto.common', - custom_parameter_pb2='google.ads.google_ads.v2.proto.common', - dates_pb2='google.ads.google_ads.v2.proto.common', - explorer_auto_optimizer_setting_pb2='google.ads.google_ads.v2.proto.common', - extensions_pb2='google.ads.google_ads.v2.proto.common', - feed_common_pb2='google.ads.google_ads.v2.proto.common', - final_app_url_pb2='google.ads.google_ads.v2.proto.common', - frequency_cap_pb2='google.ads.google_ads.v2.proto.common', - keyword_plan_common_pb2='google.ads.google_ads.v2.proto.common', - matching_function_pb2='google.ads.google_ads.v2.proto.common', - metrics_pb2='google.ads.google_ads.v2.proto.common', - policy_pb2='google.ads.google_ads.v2.proto.common', - real_time_bidding_setting_pb2='google.ads.google_ads.v2.proto.common', - segments_pb2='google.ads.google_ads.v2.proto.common', - simulation_pb2='google.ads.google_ads.v2.proto.common', - tag_snippet_pb2='google.ads.google_ads.v2.proto.common', - targeting_setting_pb2='google.ads.google_ads.v2.proto.common', - text_label_pb2='google.ads.google_ads.v2.proto.common', - url_collection_pb2='google.ads.google_ads.v2.proto.common', - user_lists_pb2='google.ads.google_ads.v2.proto.common', - value_pb2='google.ads.google_ads.v2.proto.common', - access_reason_pb2='google.ads.google_ads.v2.proto.enums', - access_role_pb2='google.ads.google_ads.v2.proto.enums', - account_budget_proposal_status_pb2='google.ads.google_ads.v2.proto.enums', - account_budget_proposal_type_pb2='google.ads.google_ads.v2.proto.enums', - account_budget_status_pb2='google.ads.google_ads.v2.proto.enums', - ad_customizer_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - ad_group_ad_rotation_mode_pb2='google.ads.google_ads.v2.proto.enums', - ad_group_ad_status_pb2='google.ads.google_ads.v2.proto.enums', - ad_group_criterion_approval_status_pb2='google.ads.google_ads.v2.proto.enums', - ad_group_criterion_status_pb2='google.ads.google_ads.v2.proto.enums', - ad_group_status_pb2='google.ads.google_ads.v2.proto.enums', - ad_group_type_pb2='google.ads.google_ads.v2.proto.enums', - ad_network_type_pb2='google.ads.google_ads.v2.proto.enums', - ad_serving_optimization_status_pb2='google.ads.google_ads.v2.proto.enums', - ad_strength_pb2='google.ads.google_ads.v2.proto.enums', - ad_type_pb2='google.ads.google_ads.v2.proto.enums', - advertising_channel_sub_type_pb2='google.ads.google_ads.v2.proto.enums', - advertising_channel_type_pb2='google.ads.google_ads.v2.proto.enums', - affiliate_location_feed_relationship_type_pb2='google.ads.google_ads.v2.proto.enums', - affiliate_location_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - age_range_type_pb2='google.ads.google_ads.v2.proto.enums', - app_campaign_app_store_pb2='google.ads.google_ads.v2.proto.enums', - app_campaign_bidding_strategy_goal_type_pb2='google.ads.google_ads.v2.proto.enums', - app_payment_model_type_pb2='google.ads.google_ads.v2.proto.enums', - app_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - app_store_pb2='google.ads.google_ads.v2.proto.enums', - app_url_operating_system_type_pb2='google.ads.google_ads.v2.proto.enums', - asset_field_type_pb2='google.ads.google_ads.v2.proto.enums', - asset_performance_label_pb2='google.ads.google_ads.v2.proto.enums', - asset_type_pb2='google.ads.google_ads.v2.proto.enums', - attribution_model_pb2='google.ads.google_ads.v2.proto.enums', - bid_modifier_source_pb2='google.ads.google_ads.v2.proto.enums', - bidding_source_pb2='google.ads.google_ads.v2.proto.enums', - bidding_strategy_status_pb2='google.ads.google_ads.v2.proto.enums', - bidding_strategy_type_pb2='google.ads.google_ads.v2.proto.enums', - billing_setup_status_pb2='google.ads.google_ads.v2.proto.enums', - brand_safety_suitability_pb2='google.ads.google_ads.v2.proto.enums', - budget_delivery_method_pb2='google.ads.google_ads.v2.proto.enums', - budget_period_pb2='google.ads.google_ads.v2.proto.enums', - budget_status_pb2='google.ads.google_ads.v2.proto.enums', - budget_type_pb2='google.ads.google_ads.v2.proto.enums', - call_conversion_reporting_state_pb2='google.ads.google_ads.v2.proto.enums', - call_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - callout_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - campaign_criterion_status_pb2='google.ads.google_ads.v2.proto.enums', - campaign_draft_status_pb2='google.ads.google_ads.v2.proto.enums', - campaign_experiment_status_pb2='google.ads.google_ads.v2.proto.enums', - campaign_experiment_traffic_split_type_pb2='google.ads.google_ads.v2.proto.enums', - campaign_experiment_type_pb2='google.ads.google_ads.v2.proto.enums', - campaign_serving_status_pb2='google.ads.google_ads.v2.proto.enums', - campaign_shared_set_status_pb2='google.ads.google_ads.v2.proto.enums', - campaign_status_pb2='google.ads.google_ads.v2.proto.enums', - change_status_operation_pb2='google.ads.google_ads.v2.proto.enums', - change_status_resource_type_pb2='google.ads.google_ads.v2.proto.enums', - click_type_pb2='google.ads.google_ads.v2.proto.enums', - content_label_type_pb2='google.ads.google_ads.v2.proto.enums', - conversion_action_category_pb2='google.ads.google_ads.v2.proto.enums', - conversion_action_counting_type_pb2='google.ads.google_ads.v2.proto.enums', - conversion_action_status_pb2='google.ads.google_ads.v2.proto.enums', - conversion_action_type_pb2='google.ads.google_ads.v2.proto.enums', - conversion_adjustment_type_pb2='google.ads.google_ads.v2.proto.enums', - conversion_attribution_event_type_pb2='google.ads.google_ads.v2.proto.enums', - conversion_lag_bucket_pb2='google.ads.google_ads.v2.proto.enums', - conversion_or_adjustment_lag_bucket_pb2='google.ads.google_ads.v2.proto.enums', - criterion_category_channel_availability_mode_pb2='google.ads.google_ads.v2.proto.enums', - criterion_category_locale_availability_mode_pb2='google.ads.google_ads.v2.proto.enums', - criterion_system_serving_status_pb2='google.ads.google_ads.v2.proto.enums', - criterion_type_pb2='google.ads.google_ads.v2.proto.enums', - custom_interest_member_type_pb2='google.ads.google_ads.v2.proto.enums', - custom_interest_status_pb2='google.ads.google_ads.v2.proto.enums', - custom_interest_type_pb2='google.ads.google_ads.v2.proto.enums', - custom_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - customer_match_upload_key_type_pb2='google.ads.google_ads.v2.proto.enums', - customer_pay_per_conversion_eligibility_failure_reason_pb2='google.ads.google_ads.v2.proto.enums', - data_driven_model_status_pb2='google.ads.google_ads.v2.proto.enums', - day_of_week_pb2='google.ads.google_ads.v2.proto.enums', - device_pb2='google.ads.google_ads.v2.proto.enums', - display_ad_format_setting_pb2='google.ads.google_ads.v2.proto.enums', - display_upload_product_type_pb2='google.ads.google_ads.v2.proto.enums', - distance_bucket_pb2='google.ads.google_ads.v2.proto.enums', - dsa_page_feed_criterion_field_pb2='google.ads.google_ads.v2.proto.enums', - education_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - extension_setting_device_pb2='google.ads.google_ads.v2.proto.enums', - extension_type_pb2='google.ads.google_ads.v2.proto.enums', - external_conversion_source_pb2='google.ads.google_ads.v2.proto.enums', - feed_attribute_type_pb2='google.ads.google_ads.v2.proto.enums', - feed_item_quality_approval_status_pb2='google.ads.google_ads.v2.proto.enums', - feed_item_quality_disapproval_reason_pb2='google.ads.google_ads.v2.proto.enums', - feed_item_status_pb2='google.ads.google_ads.v2.proto.enums', - feed_item_target_device_pb2='google.ads.google_ads.v2.proto.enums', - feed_item_target_type_pb2='google.ads.google_ads.v2.proto.enums', - feed_item_validation_status_pb2='google.ads.google_ads.v2.proto.enums', - feed_link_status_pb2='google.ads.google_ads.v2.proto.enums', - feed_mapping_criterion_type_pb2='google.ads.google_ads.v2.proto.enums', - feed_mapping_status_pb2='google.ads.google_ads.v2.proto.enums', - feed_origin_pb2='google.ads.google_ads.v2.proto.enums', - feed_status_pb2='google.ads.google_ads.v2.proto.enums', - flight_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - frequency_cap_event_type_pb2='google.ads.google_ads.v2.proto.enums', - frequency_cap_level_pb2='google.ads.google_ads.v2.proto.enums', - frequency_cap_time_unit_pb2='google.ads.google_ads.v2.proto.enums', - gender_type_pb2='google.ads.google_ads.v2.proto.enums', - geo_target_constant_status_pb2='google.ads.google_ads.v2.proto.enums', - geo_targeting_restriction_pb2='google.ads.google_ads.v2.proto.enums', - geo_targeting_type_pb2='google.ads.google_ads.v2.proto.enums', - google_ads_field_category_pb2='google.ads.google_ads.v2.proto.enums', - google_ads_field_data_type_pb2='google.ads.google_ads.v2.proto.enums', - hotel_date_selection_type_pb2='google.ads.google_ads.v2.proto.enums', - hotel_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - hotel_price_bucket_pb2='google.ads.google_ads.v2.proto.enums', - hotel_rate_type_pb2='google.ads.google_ads.v2.proto.enums', - income_range_type_pb2='google.ads.google_ads.v2.proto.enums', - interaction_event_type_pb2='google.ads.google_ads.v2.proto.enums', - interaction_type_pb2='google.ads.google_ads.v2.proto.enums', - invoice_type_pb2='google.ads.google_ads.v2.proto.enums', - job_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - keyword_match_type_pb2='google.ads.google_ads.v2.proto.enums', - keyword_plan_competition_level_pb2='google.ads.google_ads.v2.proto.enums', - keyword_plan_forecast_interval_pb2='google.ads.google_ads.v2.proto.enums', - keyword_plan_network_pb2='google.ads.google_ads.v2.proto.enums', - label_status_pb2='google.ads.google_ads.v2.proto.enums', - legacy_app_install_ad_app_store_pb2='google.ads.google_ads.v2.proto.enums', - listing_custom_attribute_index_pb2='google.ads.google_ads.v2.proto.enums', - listing_group_type_pb2='google.ads.google_ads.v2.proto.enums', - local_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - location_extension_targeting_criterion_field_pb2='google.ads.google_ads.v2.proto.enums', - location_group_radius_units_pb2='google.ads.google_ads.v2.proto.enums', - location_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - manager_link_status_pb2='google.ads.google_ads.v2.proto.enums', - matching_function_context_type_pb2='google.ads.google_ads.v2.proto.enums', - matching_function_operator_pb2='google.ads.google_ads.v2.proto.enums', - media_type_pb2='google.ads.google_ads.v2.proto.enums', - merchant_center_link_status_pb2='google.ads.google_ads.v2.proto.enums', - message_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - mime_type_pb2='google.ads.google_ads.v2.proto.enums', - minute_of_hour_pb2='google.ads.google_ads.v2.proto.enums', - mobile_device_type_pb2='google.ads.google_ads.v2.proto.enums', - month_of_year_pb2='google.ads.google_ads.v2.proto.enums', - mutate_job_status_pb2='google.ads.google_ads.v2.proto.enums', - negative_geo_target_type_pb2='google.ads.google_ads.v2.proto.enums', - operating_system_version_operator_type_pb2='google.ads.google_ads.v2.proto.enums', - page_one_promoted_strategy_goal_pb2='google.ads.google_ads.v2.proto.enums', - parental_status_type_pb2='google.ads.google_ads.v2.proto.enums', - payment_mode_pb2='google.ads.google_ads.v2.proto.enums', - placeholder_type_pb2='google.ads.google_ads.v2.proto.enums', - placement_type_pb2='google.ads.google_ads.v2.proto.enums', - policy_approval_status_pb2='google.ads.google_ads.v2.proto.enums', - policy_review_status_pb2='google.ads.google_ads.v2.proto.enums', - policy_topic_entry_type_pb2='google.ads.google_ads.v2.proto.enums', - policy_topic_evidence_destination_mismatch_url_type_pb2='google.ads.google_ads.v2.proto.enums', - policy_topic_evidence_destination_not_working_device_pb2='google.ads.google_ads.v2.proto.enums', - policy_topic_evidence_destination_not_working_dns_error_type_pb2='google.ads.google_ads.v2.proto.enums', - positive_geo_target_type_pb2='google.ads.google_ads.v2.proto.enums', - preferred_content_type_pb2='google.ads.google_ads.v2.proto.enums', - price_extension_price_qualifier_pb2='google.ads.google_ads.v2.proto.enums', - price_extension_price_unit_pb2='google.ads.google_ads.v2.proto.enums', - price_extension_type_pb2='google.ads.google_ads.v2.proto.enums', - price_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - product_bidding_category_level_pb2='google.ads.google_ads.v2.proto.enums', - product_bidding_category_status_pb2='google.ads.google_ads.v2.proto.enums', - product_channel_exclusivity_pb2='google.ads.google_ads.v2.proto.enums', - product_channel_pb2='google.ads.google_ads.v2.proto.enums', - product_condition_pb2='google.ads.google_ads.v2.proto.enums', - product_type_level_pb2='google.ads.google_ads.v2.proto.enums', - promotion_extension_discount_modifier_pb2='google.ads.google_ads.v2.proto.enums', - promotion_extension_occasion_pb2='google.ads.google_ads.v2.proto.enums', - promotion_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - proximity_radius_units_pb2='google.ads.google_ads.v2.proto.enums', - quality_score_bucket_pb2='google.ads.google_ads.v2.proto.enums', - reach_plan_ad_length_pb2='google.ads.google_ads.v2.proto.enums', - reach_plan_age_range_pb2='google.ads.google_ads.v2.proto.enums', - real_estate_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - recommendation_type_pb2='google.ads.google_ads.v2.proto.enums', - search_engine_results_page_type_pb2='google.ads.google_ads.v2.proto.enums', - search_term_match_type_pb2='google.ads.google_ads.v2.proto.enums', - search_term_targeting_status_pb2='google.ads.google_ads.v2.proto.enums', - served_asset_field_type_pb2='google.ads.google_ads.v2.proto.enums', - shared_set_status_pb2='google.ads.google_ads.v2.proto.enums', - shared_set_type_pb2='google.ads.google_ads.v2.proto.enums', - simulation_modification_method_pb2='google.ads.google_ads.v2.proto.enums', - simulation_type_pb2='google.ads.google_ads.v2.proto.enums', - sitelink_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - slot_pb2='google.ads.google_ads.v2.proto.enums', - spending_limit_type_pb2='google.ads.google_ads.v2.proto.enums', - structured_snippet_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - system_managed_entity_source_pb2='google.ads.google_ads.v2.proto.enums', - target_cpa_opt_in_recommendation_goal_pb2='google.ads.google_ads.v2.proto.enums', - target_impression_share_location_pb2='google.ads.google_ads.v2.proto.enums', - targeting_dimension_pb2='google.ads.google_ads.v2.proto.enums', - time_type_pb2='google.ads.google_ads.v2.proto.enums', - tracking_code_page_format_pb2='google.ads.google_ads.v2.proto.enums', - tracking_code_type_pb2='google.ads.google_ads.v2.proto.enums', - travel_placeholder_field_pb2='google.ads.google_ads.v2.proto.enums', - user_interest_taxonomy_type_pb2='google.ads.google_ads.v2.proto.enums', - user_list_access_status_pb2='google.ads.google_ads.v2.proto.enums', - user_list_closing_reason_pb2='google.ads.google_ads.v2.proto.enums', - user_list_combined_rule_operator_pb2='google.ads.google_ads.v2.proto.enums', - user_list_crm_data_source_type_pb2='google.ads.google_ads.v2.proto.enums', - user_list_date_rule_item_operator_pb2='google.ads.google_ads.v2.proto.enums', - user_list_logical_rule_operator_pb2='google.ads.google_ads.v2.proto.enums', - user_list_membership_status_pb2='google.ads.google_ads.v2.proto.enums', - user_list_number_rule_item_operator_pb2='google.ads.google_ads.v2.proto.enums', - user_list_prepopulation_status_pb2='google.ads.google_ads.v2.proto.enums', - user_list_rule_type_pb2='google.ads.google_ads.v2.proto.enums', - user_list_size_range_pb2='google.ads.google_ads.v2.proto.enums', - user_list_string_rule_item_operator_pb2='google.ads.google_ads.v2.proto.enums', - user_list_type_pb2='google.ads.google_ads.v2.proto.enums', - vanity_pharma_display_url_mode_pb2='google.ads.google_ads.v2.proto.enums', - vanity_pharma_text_pb2='google.ads.google_ads.v2.proto.enums', - webpage_condition_operand_pb2='google.ads.google_ads.v2.proto.enums', - webpage_condition_operator_pb2='google.ads.google_ads.v2.proto.enums', - access_invitation_error_pb2='google.ads.google_ads.v2.proto.errors', - account_budget_proposal_error_pb2='google.ads.google_ads.v2.proto.errors', - ad_customizer_error_pb2='google.ads.google_ads.v2.proto.errors', - ad_error_pb2='google.ads.google_ads.v2.proto.errors', - ad_group_ad_error_pb2='google.ads.google_ads.v2.proto.errors', - ad_group_bid_modifier_error_pb2='google.ads.google_ads.v2.proto.errors', - ad_group_criterion_error_pb2='google.ads.google_ads.v2.proto.errors', - ad_group_error_pb2='google.ads.google_ads.v2.proto.errors', - ad_group_feed_error_pb2='google.ads.google_ads.v2.proto.errors', - ad_parameter_error_pb2='google.ads.google_ads.v2.proto.errors', - ad_sharing_error_pb2='google.ads.google_ads.v2.proto.errors', - adx_error_pb2='google.ads.google_ads.v2.proto.errors', - asset_error_pb2='google.ads.google_ads.v2.proto.errors', - authentication_error_pb2='google.ads.google_ads.v2.proto.errors', - authorization_error_pb2='google.ads.google_ads.v2.proto.errors', - bidding_error_pb2='google.ads.google_ads.v2.proto.errors', - bidding_strategy_error_pb2='google.ads.google_ads.v2.proto.errors', - billing_setup_error_pb2='google.ads.google_ads.v2.proto.errors', - campaign_budget_error_pb2='google.ads.google_ads.v2.proto.errors', - campaign_criterion_error_pb2='google.ads.google_ads.v2.proto.errors', - campaign_draft_error_pb2='google.ads.google_ads.v2.proto.errors', - campaign_error_pb2='google.ads.google_ads.v2.proto.errors', - campaign_experiment_error_pb2='google.ads.google_ads.v2.proto.errors', - campaign_feed_error_pb2='google.ads.google_ads.v2.proto.errors', - campaign_shared_set_error_pb2='google.ads.google_ads.v2.proto.errors', - change_status_error_pb2='google.ads.google_ads.v2.proto.errors', - collection_size_error_pb2='google.ads.google_ads.v2.proto.errors', - context_error_pb2='google.ads.google_ads.v2.proto.errors', - conversion_action_error_pb2='google.ads.google_ads.v2.proto.errors', - conversion_adjustment_upload_error_pb2='google.ads.google_ads.v2.proto.errors', - conversion_upload_error_pb2='google.ads.google_ads.v2.proto.errors', - country_code_error_pb2='google.ads.google_ads.v2.proto.errors', - criterion_error_pb2='google.ads.google_ads.v2.proto.errors', - currency_code_error_pb2='google.ads.google_ads.v2.proto.errors', - custom_interest_error_pb2='google.ads.google_ads.v2.proto.errors', - customer_client_link_error_pb2='google.ads.google_ads.v2.proto.errors', - customer_error_pb2='google.ads.google_ads.v2.proto.errors', - customer_feed_error_pb2='google.ads.google_ads.v2.proto.errors', - customer_manager_link_error_pb2='google.ads.google_ads.v2.proto.errors', - database_error_pb2='google.ads.google_ads.v2.proto.errors', - date_error_pb2='google.ads.google_ads.v2.proto.errors', - date_range_error_pb2='google.ads.google_ads.v2.proto.errors', - distinct_error_pb2='google.ads.google_ads.v2.proto.errors', - enum_error_pb2='google.ads.google_ads.v2.proto.errors', - errors_pb2='google.ads.google_ads.v2.proto.errors', - extension_feed_item_error_pb2='google.ads.google_ads.v2.proto.errors', - extension_setting_error_pb2='google.ads.google_ads.v2.proto.errors', - feed_attribute_reference_error_pb2='google.ads.google_ads.v2.proto.errors', - feed_error_pb2='google.ads.google_ads.v2.proto.errors', - feed_item_error_pb2='google.ads.google_ads.v2.proto.errors', - feed_item_target_error_pb2='google.ads.google_ads.v2.proto.errors', - feed_item_validation_error_pb2='google.ads.google_ads.v2.proto.errors', - feed_mapping_error_pb2='google.ads.google_ads.v2.proto.errors', - field_error_pb2='google.ads.google_ads.v2.proto.errors', - field_mask_error_pb2='google.ads.google_ads.v2.proto.errors', - function_error_pb2='google.ads.google_ads.v2.proto.errors', - function_parsing_error_pb2='google.ads.google_ads.v2.proto.errors', - geo_target_constant_suggestion_error_pb2='google.ads.google_ads.v2.proto.errors', - header_error_pb2='google.ads.google_ads.v2.proto.errors', - id_error_pb2='google.ads.google_ads.v2.proto.errors', - image_error_pb2='google.ads.google_ads.v2.proto.errors', - internal_error_pb2='google.ads.google_ads.v2.proto.errors', - invoice_error_pb2='google.ads.google_ads.v2.proto.errors', - keyword_plan_ad_group_error_pb2='google.ads.google_ads.v2.proto.errors', - keyword_plan_campaign_error_pb2='google.ads.google_ads.v2.proto.errors', - keyword_plan_error_pb2='google.ads.google_ads.v2.proto.errors', - keyword_plan_idea_error_pb2='google.ads.google_ads.v2.proto.errors', - keyword_plan_keyword_error_pb2='google.ads.google_ads.v2.proto.errors', - keyword_plan_negative_keyword_error_pb2='google.ads.google_ads.v2.proto.errors', - label_error_pb2='google.ads.google_ads.v2.proto.errors', - language_code_error_pb2='google.ads.google_ads.v2.proto.errors', - list_operation_error_pb2='google.ads.google_ads.v2.proto.errors', - manager_link_error_pb2='google.ads.google_ads.v2.proto.errors', - media_bundle_error_pb2='google.ads.google_ads.v2.proto.errors', - media_file_error_pb2='google.ads.google_ads.v2.proto.errors', - media_upload_error_pb2='google.ads.google_ads.v2.proto.errors', - multiplier_error_pb2='google.ads.google_ads.v2.proto.errors', - mutate_error_pb2='google.ads.google_ads.v2.proto.errors', - mutate_job_error_pb2='google.ads.google_ads.v2.proto.errors', - new_resource_creation_error_pb2='google.ads.google_ads.v2.proto.errors', - not_empty_error_pb2='google.ads.google_ads.v2.proto.errors', - not_whitelisted_error_pb2='google.ads.google_ads.v2.proto.errors', - null_error_pb2='google.ads.google_ads.v2.proto.errors', - operation_access_denied_error_pb2='google.ads.google_ads.v2.proto.errors', - operator_error_pb2='google.ads.google_ads.v2.proto.errors', - partial_failure_error_pb2='google.ads.google_ads.v2.proto.errors', - policy_finding_error_pb2='google.ads.google_ads.v2.proto.errors', - policy_validation_parameter_error_pb2='google.ads.google_ads.v2.proto.errors', - policy_violation_error_pb2='google.ads.google_ads.v2.proto.errors', - query_error_pb2='google.ads.google_ads.v2.proto.errors', - quota_error_pb2='google.ads.google_ads.v2.proto.errors', - range_error_pb2='google.ads.google_ads.v2.proto.errors', - reach_plan_error_pb2='google.ads.google_ads.v2.proto.errors', - recommendation_error_pb2='google.ads.google_ads.v2.proto.errors', - region_code_error_pb2='google.ads.google_ads.v2.proto.errors', - request_error_pb2='google.ads.google_ads.v2.proto.errors', - resource_access_denied_error_pb2='google.ads.google_ads.v2.proto.errors', - resource_count_limit_exceeded_error_pb2='google.ads.google_ads.v2.proto.errors', - setting_error_pb2='google.ads.google_ads.v2.proto.errors', - shared_criterion_error_pb2='google.ads.google_ads.v2.proto.errors', - shared_set_error_pb2='google.ads.google_ads.v2.proto.errors', - size_limit_error_pb2='google.ads.google_ads.v2.proto.errors', - string_format_error_pb2='google.ads.google_ads.v2.proto.errors', - string_length_error_pb2='google.ads.google_ads.v2.proto.errors', - url_field_error_pb2='google.ads.google_ads.v2.proto.errors', - user_list_error_pb2='google.ads.google_ads.v2.proto.errors', - youtube_video_registration_error_pb2='google.ads.google_ads.v2.proto.errors', - account_budget_pb2='google.ads.google_ads.v2.proto.resources', - account_budget_proposal_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_ad_asset_view_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_ad_label_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_ad_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_audience_view_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_bid_modifier_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_criterion_label_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_criterion_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_criterion_simulation_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_extension_setting_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_feed_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_label_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_pb2='google.ads.google_ads.v2.proto.resources', - ad_group_simulation_pb2='google.ads.google_ads.v2.proto.resources', - ad_parameter_pb2='google.ads.google_ads.v2.proto.resources', - ad_pb2='google.ads.google_ads.v2.proto.resources', - ad_schedule_view_pb2='google.ads.google_ads.v2.proto.resources', - age_range_view_pb2='google.ads.google_ads.v2.proto.resources', - asset_pb2='google.ads.google_ads.v2.proto.resources', - bidding_strategy_pb2='google.ads.google_ads.v2.proto.resources', - billing_setup_pb2='google.ads.google_ads.v2.proto.resources', - campaign_audience_view_pb2='google.ads.google_ads.v2.proto.resources', - campaign_bid_modifier_pb2='google.ads.google_ads.v2.proto.resources', - campaign_budget_pb2='google.ads.google_ads.v2.proto.resources', - campaign_criterion_pb2='google.ads.google_ads.v2.proto.resources', - campaign_criterion_simulation_pb2='google.ads.google_ads.v2.proto.resources', - campaign_draft_pb2='google.ads.google_ads.v2.proto.resources', - campaign_experiment_pb2='google.ads.google_ads.v2.proto.resources', - campaign_extension_setting_pb2='google.ads.google_ads.v2.proto.resources', - campaign_feed_pb2='google.ads.google_ads.v2.proto.resources', - campaign_label_pb2='google.ads.google_ads.v2.proto.resources', - campaign_pb2='google.ads.google_ads.v2.proto.resources', - campaign_shared_set_pb2='google.ads.google_ads.v2.proto.resources', - carrier_constant_pb2='google.ads.google_ads.v2.proto.resources', - change_status_pb2='google.ads.google_ads.v2.proto.resources', - click_view_pb2='google.ads.google_ads.v2.proto.resources', - conversion_action_pb2='google.ads.google_ads.v2.proto.resources', - custom_interest_pb2='google.ads.google_ads.v2.proto.resources', - customer_client_link_pb2='google.ads.google_ads.v2.proto.resources', - customer_client_pb2='google.ads.google_ads.v2.proto.resources', - customer_extension_setting_pb2='google.ads.google_ads.v2.proto.resources', - customer_feed_pb2='google.ads.google_ads.v2.proto.resources', - customer_label_pb2='google.ads.google_ads.v2.proto.resources', - customer_manager_link_pb2='google.ads.google_ads.v2.proto.resources', - customer_negative_criterion_pb2='google.ads.google_ads.v2.proto.resources', - customer_pb2='google.ads.google_ads.v2.proto.resources', - detail_placement_view_pb2='google.ads.google_ads.v2.proto.resources', - display_keyword_view_pb2='google.ads.google_ads.v2.proto.resources', - distance_view_pb2='google.ads.google_ads.v2.proto.resources', - domain_category_pb2='google.ads.google_ads.v2.proto.resources', - dynamic_search_ads_search_term_view_pb2='google.ads.google_ads.v2.proto.resources', - expanded_landing_page_view_pb2='google.ads.google_ads.v2.proto.resources', - extension_feed_item_pb2='google.ads.google_ads.v2.proto.resources', - feed_item_pb2='google.ads.google_ads.v2.proto.resources', - feed_item_target_pb2='google.ads.google_ads.v2.proto.resources', - feed_mapping_pb2='google.ads.google_ads.v2.proto.resources', - feed_pb2='google.ads.google_ads.v2.proto.resources', - feed_placeholder_view_pb2='google.ads.google_ads.v2.proto.resources', - gender_view_pb2='google.ads.google_ads.v2.proto.resources', - geo_target_constant_pb2='google.ads.google_ads.v2.proto.resources', - geographic_view_pb2='google.ads.google_ads.v2.proto.resources', - google_ads_field_pb2='google.ads.google_ads.v2.proto.resources', - group_placement_view_pb2='google.ads.google_ads.v2.proto.resources', - hotel_group_view_pb2='google.ads.google_ads.v2.proto.resources', - hotel_performance_view_pb2='google.ads.google_ads.v2.proto.resources', - invoice_pb2='google.ads.google_ads.v2.proto.resources', - keyword_plan_ad_group_pb2='google.ads.google_ads.v2.proto.resources', - keyword_plan_campaign_pb2='google.ads.google_ads.v2.proto.resources', - keyword_plan_keyword_pb2='google.ads.google_ads.v2.proto.resources', - keyword_plan_negative_keyword_pb2='google.ads.google_ads.v2.proto.resources', - keyword_plan_pb2='google.ads.google_ads.v2.proto.resources', - keyword_view_pb2='google.ads.google_ads.v2.proto.resources', - label_pb2='google.ads.google_ads.v2.proto.resources', - landing_page_view_pb2='google.ads.google_ads.v2.proto.resources', - language_constant_pb2='google.ads.google_ads.v2.proto.resources', - location_view_pb2='google.ads.google_ads.v2.proto.resources', - managed_placement_view_pb2='google.ads.google_ads.v2.proto.resources', - media_file_pb2='google.ads.google_ads.v2.proto.resources', - merchant_center_link_pb2='google.ads.google_ads.v2.proto.resources', - mobile_app_category_constant_pb2='google.ads.google_ads.v2.proto.resources', - mobile_device_constant_pb2='google.ads.google_ads.v2.proto.resources', - mutate_job_pb2='google.ads.google_ads.v2.proto.resources', - operating_system_version_constant_pb2='google.ads.google_ads.v2.proto.resources', - paid_organic_search_term_view_pb2='google.ads.google_ads.v2.proto.resources', - parental_status_view_pb2='google.ads.google_ads.v2.proto.resources', - payments_account_pb2='google.ads.google_ads.v2.proto.resources', - product_bidding_category_constant_pb2='google.ads.google_ads.v2.proto.resources', - product_group_view_pb2='google.ads.google_ads.v2.proto.resources', - recommendation_pb2='google.ads.google_ads.v2.proto.resources', - remarketing_action_pb2='google.ads.google_ads.v2.proto.resources', - search_term_view_pb2='google.ads.google_ads.v2.proto.resources', - shared_criterion_pb2='google.ads.google_ads.v2.proto.resources', - shared_set_pb2='google.ads.google_ads.v2.proto.resources', - shopping_performance_view_pb2='google.ads.google_ads.v2.proto.resources', - topic_constant_pb2='google.ads.google_ads.v2.proto.resources', - topic_view_pb2='google.ads.google_ads.v2.proto.resources', - user_interest_pb2='google.ads.google_ads.v2.proto.resources', - user_list_pb2='google.ads.google_ads.v2.proto.resources', - user_location_view_pb2='google.ads.google_ads.v2.proto.resources', - video_pb2='google.ads.google_ads.v2.proto.resources', - account_budget_proposal_service_pb2='google.ads.google_ads.v2.proto.services', - account_budget_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_ad_asset_view_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_ad_label_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_ad_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_audience_view_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_bid_modifier_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_criterion_label_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_criterion_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_criterion_simulation_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_extension_setting_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_feed_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_label_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_service_pb2='google.ads.google_ads.v2.proto.services', - ad_group_simulation_service_pb2='google.ads.google_ads.v2.proto.services', - ad_parameter_service_pb2='google.ads.google_ads.v2.proto.services', - ad_schedule_view_service_pb2='google.ads.google_ads.v2.proto.services', - ad_service_pb2='google.ads.google_ads.v2.proto.services', - age_range_view_service_pb2='google.ads.google_ads.v2.proto.services', - asset_service_pb2='google.ads.google_ads.v2.proto.services', - bidding_strategy_service_pb2='google.ads.google_ads.v2.proto.services', - billing_setup_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_audience_view_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_bid_modifier_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_budget_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_criterion_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_criterion_simulation_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_draft_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_experiment_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_extension_setting_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_feed_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_label_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_service_pb2='google.ads.google_ads.v2.proto.services', - campaign_shared_set_service_pb2='google.ads.google_ads.v2.proto.services', - carrier_constant_service_pb2='google.ads.google_ads.v2.proto.services', - change_status_service_pb2='google.ads.google_ads.v2.proto.services', - click_view_service_pb2='google.ads.google_ads.v2.proto.services', - conversion_action_service_pb2='google.ads.google_ads.v2.proto.services', - conversion_adjustment_upload_service_pb2='google.ads.google_ads.v2.proto.services', - conversion_upload_service_pb2='google.ads.google_ads.v2.proto.services', - custom_interest_service_pb2='google.ads.google_ads.v2.proto.services', - customer_client_link_service_pb2='google.ads.google_ads.v2.proto.services', - customer_client_service_pb2='google.ads.google_ads.v2.proto.services', - customer_extension_setting_service_pb2='google.ads.google_ads.v2.proto.services', - customer_feed_service_pb2='google.ads.google_ads.v2.proto.services', - customer_label_service_pb2='google.ads.google_ads.v2.proto.services', - customer_manager_link_service_pb2='google.ads.google_ads.v2.proto.services', - customer_negative_criterion_service_pb2='google.ads.google_ads.v2.proto.services', - customer_service_pb2='google.ads.google_ads.v2.proto.services', - detail_placement_view_service_pb2='google.ads.google_ads.v2.proto.services', - display_keyword_view_service_pb2='google.ads.google_ads.v2.proto.services', - distance_view_service_pb2='google.ads.google_ads.v2.proto.services', - domain_category_service_pb2='google.ads.google_ads.v2.proto.services', - dynamic_search_ads_search_term_view_service_pb2='google.ads.google_ads.v2.proto.services', - expanded_landing_page_view_service_pb2='google.ads.google_ads.v2.proto.services', - extension_feed_item_service_pb2='google.ads.google_ads.v2.proto.services', - feed_item_service_pb2='google.ads.google_ads.v2.proto.services', - feed_item_target_service_pb2='google.ads.google_ads.v2.proto.services', - feed_mapping_service_pb2='google.ads.google_ads.v2.proto.services', - feed_placeholder_view_service_pb2='google.ads.google_ads.v2.proto.services', - feed_service_pb2='google.ads.google_ads.v2.proto.services', - gender_view_service_pb2='google.ads.google_ads.v2.proto.services', - geo_target_constant_service_pb2='google.ads.google_ads.v2.proto.services', - geographic_view_service_pb2='google.ads.google_ads.v2.proto.services', - google_ads_field_service_pb2='google.ads.google_ads.v2.proto.services', - google_ads_service_pb2='google.ads.google_ads.v2.proto.services', - group_placement_view_service_pb2='google.ads.google_ads.v2.proto.services', - hotel_group_view_service_pb2='google.ads.google_ads.v2.proto.services', - hotel_performance_view_service_pb2='google.ads.google_ads.v2.proto.services', - invoice_service_pb2='google.ads.google_ads.v2.proto.services', - keyword_plan_ad_group_service_pb2='google.ads.google_ads.v2.proto.services', - keyword_plan_campaign_service_pb2='google.ads.google_ads.v2.proto.services', - keyword_plan_idea_service_pb2='google.ads.google_ads.v2.proto.services', - keyword_plan_keyword_service_pb2='google.ads.google_ads.v2.proto.services', - keyword_plan_negative_keyword_service_pb2='google.ads.google_ads.v2.proto.services', - keyword_plan_service_pb2='google.ads.google_ads.v2.proto.services', - keyword_view_service_pb2='google.ads.google_ads.v2.proto.services', - label_service_pb2='google.ads.google_ads.v2.proto.services', - landing_page_view_service_pb2='google.ads.google_ads.v2.proto.services', - language_constant_service_pb2='google.ads.google_ads.v2.proto.services', - location_view_service_pb2='google.ads.google_ads.v2.proto.services', - managed_placement_view_service_pb2='google.ads.google_ads.v2.proto.services', - media_file_service_pb2='google.ads.google_ads.v2.proto.services', - merchant_center_link_service_pb2='google.ads.google_ads.v2.proto.services', - mobile_app_category_constant_service_pb2='google.ads.google_ads.v2.proto.services', - mobile_device_constant_service_pb2='google.ads.google_ads.v2.proto.services', - mutate_job_service_pb2='google.ads.google_ads.v2.proto.services', - operating_system_version_constant_service_pb2='google.ads.google_ads.v2.proto.services', - paid_organic_search_term_view_service_pb2='google.ads.google_ads.v2.proto.services', - parental_status_view_service_pb2='google.ads.google_ads.v2.proto.services', - payments_account_service_pb2='google.ads.google_ads.v2.proto.services', - product_bidding_category_constant_service_pb2='google.ads.google_ads.v2.proto.services', - product_group_view_service_pb2='google.ads.google_ads.v2.proto.services', - reach_plan_service_pb2='google.ads.google_ads.v2.proto.services', - recommendation_service_pb2='google.ads.google_ads.v2.proto.services', - remarketing_action_service_pb2='google.ads.google_ads.v2.proto.services', - search_term_view_service_pb2='google.ads.google_ads.v2.proto.services', - shared_criterion_service_pb2='google.ads.google_ads.v2.proto.services', - shared_set_service_pb2='google.ads.google_ads.v2.proto.services', - shopping_performance_view_service_pb2='google.ads.google_ads.v2.proto.services', - topic_constant_service_pb2='google.ads.google_ads.v2.proto.services', - topic_view_service_pb2='google.ads.google_ads.v2.proto.services', - user_interest_service_pb2='google.ads.google_ads.v2.proto.services', - user_list_service_pb2='google.ads.google_ads.v2.proto.services', - user_location_view_service_pb2='google.ads.google_ads.v2.proto.services', - video_service_pb2='google.ads.google_ads.v2.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.v2.proto.errors.access_invitation_error_pb2', - AccessReasonEnum='google.ads.google_ads.v2.proto.enums.access_reason_pb2', - AccessRoleEnum='google.ads.google_ads.v2.proto.enums.access_role_pb2', - AccountBudget='google.ads.google_ads.v2.proto.resources.account_budget_pb2', - AccountBudgetProposal='google.ads.google_ads.v2.proto.resources.account_budget_proposal_pb2', - AccountBudgetProposalErrorEnum='google.ads.google_ads.v2.proto.errors.account_budget_proposal_error_pb2', - AccountBudgetProposalOperation='google.ads.google_ads.v2.proto.services.account_budget_proposal_service_pb2', - AccountBudgetProposalStatusEnum='google.ads.google_ads.v2.proto.enums.account_budget_proposal_status_pb2', - AccountBudgetProposalTypeEnum='google.ads.google_ads.v2.proto.enums.account_budget_proposal_type_pb2', - AccountBudgetStatusEnum='google.ads.google_ads.v2.proto.enums.account_budget_status_pb2', - Ad='google.ads.google_ads.v2.proto.resources.ad_pb2', - AdCustomizerErrorEnum='google.ads.google_ads.v2.proto.errors.ad_customizer_error_pb2', - AdCustomizerPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.ad_customizer_placeholder_field_pb2', - AdErrorEnum='google.ads.google_ads.v2.proto.errors.ad_error_pb2', - AdGroup='google.ads.google_ads.v2.proto.resources.ad_group_pb2', - AdGroupAd='google.ads.google_ads.v2.proto.resources.ad_group_ad_pb2', - AdGroupAdAssetPolicySummary='google.ads.google_ads.v2.proto.resources.ad_group_ad_asset_view_pb2', - AdGroupAdAssetView='google.ads.google_ads.v2.proto.resources.ad_group_ad_asset_view_pb2', - AdGroupAdErrorEnum='google.ads.google_ads.v2.proto.errors.ad_group_ad_error_pb2', - AdGroupAdLabel='google.ads.google_ads.v2.proto.resources.ad_group_ad_label_pb2', - AdGroupAdLabelOperation='google.ads.google_ads.v2.proto.services.ad_group_ad_label_service_pb2', - AdGroupAdOperation='google.ads.google_ads.v2.proto.services.ad_group_ad_service_pb2', - AdGroupAdPolicySummary='google.ads.google_ads.v2.proto.resources.ad_group_ad_pb2', - AdGroupAdRotationModeEnum='google.ads.google_ads.v2.proto.enums.ad_group_ad_rotation_mode_pb2', - AdGroupAdStatusEnum='google.ads.google_ads.v2.proto.enums.ad_group_ad_status_pb2', - AdGroupAudienceView='google.ads.google_ads.v2.proto.resources.ad_group_audience_view_pb2', - AdGroupBidModifier='google.ads.google_ads.v2.proto.resources.ad_group_bid_modifier_pb2', - AdGroupBidModifierErrorEnum='google.ads.google_ads.v2.proto.errors.ad_group_bid_modifier_error_pb2', - AdGroupBidModifierOperation='google.ads.google_ads.v2.proto.services.ad_group_bid_modifier_service_pb2', - AdGroupCriterion='google.ads.google_ads.v2.proto.resources.ad_group_criterion_pb2', - AdGroupCriterionApprovalStatusEnum='google.ads.google_ads.v2.proto.enums.ad_group_criterion_approval_status_pb2', - AdGroupCriterionErrorEnum='google.ads.google_ads.v2.proto.errors.ad_group_criterion_error_pb2', - AdGroupCriterionLabel='google.ads.google_ads.v2.proto.resources.ad_group_criterion_label_pb2', - AdGroupCriterionLabelOperation='google.ads.google_ads.v2.proto.services.ad_group_criterion_label_service_pb2', - AdGroupCriterionOperation='google.ads.google_ads.v2.proto.services.ad_group_criterion_service_pb2', - AdGroupCriterionSimulation='google.ads.google_ads.v2.proto.resources.ad_group_criterion_simulation_pb2', - AdGroupCriterionStatusEnum='google.ads.google_ads.v2.proto.enums.ad_group_criterion_status_pb2', - AdGroupErrorEnum='google.ads.google_ads.v2.proto.errors.ad_group_error_pb2', - AdGroupExtensionSetting='google.ads.google_ads.v2.proto.resources.ad_group_extension_setting_pb2', - AdGroupExtensionSettingOperation='google.ads.google_ads.v2.proto.services.ad_group_extension_setting_service_pb2', - AdGroupFeed='google.ads.google_ads.v2.proto.resources.ad_group_feed_pb2', - AdGroupFeedErrorEnum='google.ads.google_ads.v2.proto.errors.ad_group_feed_error_pb2', - AdGroupFeedOperation='google.ads.google_ads.v2.proto.services.ad_group_feed_service_pb2', - AdGroupLabel='google.ads.google_ads.v2.proto.resources.ad_group_label_pb2', - AdGroupLabelOperation='google.ads.google_ads.v2.proto.services.ad_group_label_service_pb2', - AdGroupOperation='google.ads.google_ads.v2.proto.services.ad_group_service_pb2', - AdGroupSimulation='google.ads.google_ads.v2.proto.resources.ad_group_simulation_pb2', - AdGroupStatusEnum='google.ads.google_ads.v2.proto.enums.ad_group_status_pb2', - AdGroupTypeEnum='google.ads.google_ads.v2.proto.enums.ad_group_type_pb2', - AdImageAsset='google.ads.google_ads.v2.proto.common.ad_asset_pb2', - AdMediaBundleAsset='google.ads.google_ads.v2.proto.common.ad_asset_pb2', - AdNetworkTypeEnum='google.ads.google_ads.v2.proto.enums.ad_network_type_pb2', - AdOperation='google.ads.google_ads.v2.proto.services.ad_service_pb2', - AdParameter='google.ads.google_ads.v2.proto.resources.ad_parameter_pb2', - AdParameterErrorEnum='google.ads.google_ads.v2.proto.errors.ad_parameter_error_pb2', - AdParameterOperation='google.ads.google_ads.v2.proto.services.ad_parameter_service_pb2', - AdScheduleInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - AdScheduleView='google.ads.google_ads.v2.proto.resources.ad_schedule_view_pb2', - AdServingOptimizationStatusEnum='google.ads.google_ads.v2.proto.enums.ad_serving_optimization_status_pb2', - AdSharingErrorEnum='google.ads.google_ads.v2.proto.errors.ad_sharing_error_pb2', - AdStrengthEnum='google.ads.google_ads.v2.proto.enums.ad_strength_pb2', - AdTextAsset='google.ads.google_ads.v2.proto.common.ad_asset_pb2', - AdTypeEnum='google.ads.google_ads.v2.proto.enums.ad_type_pb2', - AdVideoAsset='google.ads.google_ads.v2.proto.common.ad_asset_pb2', - AddMutateJobOperationsRequest='google.ads.google_ads.v2.proto.services.mutate_job_service_pb2', - AddMutateJobOperationsResponse='google.ads.google_ads.v2.proto.services.mutate_job_service_pb2', - AddressInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - AdvertisingChannelSubTypeEnum='google.ads.google_ads.v2.proto.enums.advertising_channel_sub_type_pb2', - AdvertisingChannelTypeEnum='google.ads.google_ads.v2.proto.enums.advertising_channel_type_pb2', - AdxErrorEnum='google.ads.google_ads.v2.proto.errors.adx_error_pb2', - AffiliateLocationFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - AffiliateLocationFeedRelationshipTypeEnum='google.ads.google_ads.v2.proto.enums.affiliate_location_feed_relationship_type_pb2', - AffiliateLocationPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.affiliate_location_placeholder_field_pb2', - AgeRangeInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - AgeRangeTypeEnum='google.ads.google_ads.v2.proto.enums.age_range_type_pb2', - AgeRangeView='google.ads.google_ads.v2.proto.resources.age_range_view_pb2', - AppAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - AppCampaignAppStoreEnum='google.ads.google_ads.v2.proto.enums.app_campaign_app_store_pb2', - AppCampaignBiddingStrategyGoalTypeEnum='google.ads.google_ads.v2.proto.enums.app_campaign_bidding_strategy_goal_type_pb2', - AppEngagementAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - AppFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - AppPaymentModelInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - AppPaymentModelTypeEnum='google.ads.google_ads.v2.proto.enums.app_payment_model_type_pb2', - AppPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.app_placeholder_field_pb2', - AppStoreEnum='google.ads.google_ads.v2.proto.enums.app_store_pb2', - AppUrlOperatingSystemTypeEnum='google.ads.google_ads.v2.proto.enums.app_url_operating_system_type_pb2', - ApplyRecommendationOperation='google.ads.google_ads.v2.proto.services.recommendation_service_pb2', - ApplyRecommendationRequest='google.ads.google_ads.v2.proto.services.recommendation_service_pb2', - ApplyRecommendationResponse='google.ads.google_ads.v2.proto.services.recommendation_service_pb2', - ApplyRecommendationResult='google.ads.google_ads.v2.proto.services.recommendation_service_pb2', - Asset='google.ads.google_ads.v2.proto.resources.asset_pb2', - AssetErrorEnum='google.ads.google_ads.v2.proto.errors.asset_error_pb2', - AssetFieldTypeEnum='google.ads.google_ads.v2.proto.enums.asset_field_type_pb2', - AssetOperation='google.ads.google_ads.v2.proto.services.asset_service_pb2', - AssetPerformanceLabelEnum='google.ads.google_ads.v2.proto.enums.asset_performance_label_pb2', - AssetTypeEnum='google.ads.google_ads.v2.proto.enums.asset_type_pb2', - AttributeFieldMapping='google.ads.google_ads.v2.proto.resources.feed_mapping_pb2', - AttributionModelEnum='google.ads.google_ads.v2.proto.enums.attribution_model_pb2', - AuthenticationErrorEnum='google.ads.google_ads.v2.proto.errors.authentication_error_pb2', - AuthorizationErrorEnum='google.ads.google_ads.v2.proto.errors.authorization_error_pb2', - BasicUserListInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - BidModifierSimulationPoint='google.ads.google_ads.v2.proto.common.simulation_pb2', - BidModifierSimulationPointList='google.ads.google_ads.v2.proto.common.simulation_pb2', - BidModifierSourceEnum='google.ads.google_ads.v2.proto.enums.bid_modifier_source_pb2', - BiddingErrorEnum='google.ads.google_ads.v2.proto.errors.bidding_error_pb2', - BiddingSourceEnum='google.ads.google_ads.v2.proto.enums.bidding_source_pb2', - BiddingStrategy='google.ads.google_ads.v2.proto.resources.bidding_strategy_pb2', - BiddingStrategyErrorEnum='google.ads.google_ads.v2.proto.errors.bidding_strategy_error_pb2', - BiddingStrategyOperation='google.ads.google_ads.v2.proto.services.bidding_strategy_service_pb2', - BiddingStrategyStatusEnum='google.ads.google_ads.v2.proto.enums.bidding_strategy_status_pb2', - BiddingStrategyTypeEnum='google.ads.google_ads.v2.proto.enums.bidding_strategy_type_pb2', - BillingSetup='google.ads.google_ads.v2.proto.resources.billing_setup_pb2', - BillingSetupErrorEnum='google.ads.google_ads.v2.proto.errors.billing_setup_error_pb2', - BillingSetupOperation='google.ads.google_ads.v2.proto.services.billing_setup_service_pb2', - BillingSetupStatusEnum='google.ads.google_ads.v2.proto.enums.billing_setup_status_pb2', - BrandSafetySuitabilityEnum='google.ads.google_ads.v2.proto.enums.brand_safety_suitability_pb2', - BudgetDeliveryMethodEnum='google.ads.google_ads.v2.proto.enums.budget_delivery_method_pb2', - BudgetPeriodEnum='google.ads.google_ads.v2.proto.enums.budget_period_pb2', - BudgetStatusEnum='google.ads.google_ads.v2.proto.enums.budget_status_pb2', - BudgetTypeEnum='google.ads.google_ads.v2.proto.enums.budget_type_pb2', - CallConversion='google.ads.google_ads.v2.proto.services.conversion_upload_service_pb2', - CallConversionReportingStateEnum='google.ads.google_ads.v2.proto.enums.call_conversion_reporting_state_pb2', - CallConversionResult='google.ads.google_ads.v2.proto.services.conversion_upload_service_pb2', - CallFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - CallOnlyAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - CallPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.call_placeholder_field_pb2', - CallReportingSetting='google.ads.google_ads.v2.proto.resources.customer_pb2', - CalloutFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - CalloutPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.callout_placeholder_field_pb2', - Campaign='google.ads.google_ads.v2.proto.resources.campaign_pb2', - CampaignAudienceView='google.ads.google_ads.v2.proto.resources.campaign_audience_view_pb2', - CampaignBidModifier='google.ads.google_ads.v2.proto.resources.campaign_bid_modifier_pb2', - CampaignBidModifierOperation='google.ads.google_ads.v2.proto.services.campaign_bid_modifier_service_pb2', - CampaignBudget='google.ads.google_ads.v2.proto.resources.campaign_budget_pb2', - CampaignBudgetErrorEnum='google.ads.google_ads.v2.proto.errors.campaign_budget_error_pb2', - CampaignBudgetOperation='google.ads.google_ads.v2.proto.services.campaign_budget_service_pb2', - CampaignCriterion='google.ads.google_ads.v2.proto.resources.campaign_criterion_pb2', - CampaignCriterionErrorEnum='google.ads.google_ads.v2.proto.errors.campaign_criterion_error_pb2', - CampaignCriterionOperation='google.ads.google_ads.v2.proto.services.campaign_criterion_service_pb2', - CampaignCriterionSimulation='google.ads.google_ads.v2.proto.resources.campaign_criterion_simulation_pb2', - CampaignCriterionStatusEnum='google.ads.google_ads.v2.proto.enums.campaign_criterion_status_pb2', - CampaignDraft='google.ads.google_ads.v2.proto.resources.campaign_draft_pb2', - CampaignDraftErrorEnum='google.ads.google_ads.v2.proto.errors.campaign_draft_error_pb2', - CampaignDraftOperation='google.ads.google_ads.v2.proto.services.campaign_draft_service_pb2', - CampaignDraftStatusEnum='google.ads.google_ads.v2.proto.enums.campaign_draft_status_pb2', - CampaignDuration='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - CampaignErrorEnum='google.ads.google_ads.v2.proto.errors.campaign_error_pb2', - CampaignExperiment='google.ads.google_ads.v2.proto.resources.campaign_experiment_pb2', - CampaignExperimentErrorEnum='google.ads.google_ads.v2.proto.errors.campaign_experiment_error_pb2', - CampaignExperimentOperation='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - CampaignExperimentStatusEnum='google.ads.google_ads.v2.proto.enums.campaign_experiment_status_pb2', - CampaignExperimentTrafficSplitTypeEnum='google.ads.google_ads.v2.proto.enums.campaign_experiment_traffic_split_type_pb2', - CampaignExperimentTypeEnum='google.ads.google_ads.v2.proto.enums.campaign_experiment_type_pb2', - CampaignExtensionSetting='google.ads.google_ads.v2.proto.resources.campaign_extension_setting_pb2', - CampaignExtensionSettingOperation='google.ads.google_ads.v2.proto.services.campaign_extension_setting_service_pb2', - CampaignFeed='google.ads.google_ads.v2.proto.resources.campaign_feed_pb2', - CampaignFeedErrorEnum='google.ads.google_ads.v2.proto.errors.campaign_feed_error_pb2', - CampaignFeedOperation='google.ads.google_ads.v2.proto.services.campaign_feed_service_pb2', - CampaignLabel='google.ads.google_ads.v2.proto.resources.campaign_label_pb2', - CampaignLabelOperation='google.ads.google_ads.v2.proto.services.campaign_label_service_pb2', - CampaignOperation='google.ads.google_ads.v2.proto.services.campaign_service_pb2', - CampaignServingStatusEnum='google.ads.google_ads.v2.proto.enums.campaign_serving_status_pb2', - CampaignSharedSet='google.ads.google_ads.v2.proto.resources.campaign_shared_set_pb2', - CampaignSharedSetErrorEnum='google.ads.google_ads.v2.proto.errors.campaign_shared_set_error_pb2', - CampaignSharedSetOperation='google.ads.google_ads.v2.proto.services.campaign_shared_set_service_pb2', - CampaignSharedSetStatusEnum='google.ads.google_ads.v2.proto.enums.campaign_shared_set_status_pb2', - CampaignStatusEnum='google.ads.google_ads.v2.proto.enums.campaign_status_pb2', - CarrierConstant='google.ads.google_ads.v2.proto.resources.carrier_constant_pb2', - CarrierInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ChangeStatus='google.ads.google_ads.v2.proto.resources.change_status_pb2', - ChangeStatusErrorEnum='google.ads.google_ads.v2.proto.errors.change_status_error_pb2', - ChangeStatusOperationEnum='google.ads.google_ads.v2.proto.enums.change_status_operation_pb2', - ChangeStatusResourceTypeEnum='google.ads.google_ads.v2.proto.enums.change_status_resource_type_pb2', - ClickConversion='google.ads.google_ads.v2.proto.services.conversion_upload_service_pb2', - ClickConversionResult='google.ads.google_ads.v2.proto.services.conversion_upload_service_pb2', - ClickLocation='google.ads.google_ads.v2.proto.common.click_location_pb2', - ClickTypeEnum='google.ads.google_ads.v2.proto.enums.click_type_pb2', - ClickView='google.ads.google_ads.v2.proto.resources.click_view_pb2', - CollectionSizeErrorEnum='google.ads.google_ads.v2.proto.errors.collection_size_error_pb2', - CombinedRuleUserListInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - Commission='google.ads.google_ads.v2.proto.common.bidding_pb2', - ContentLabelInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ContentLabelTypeEnum='google.ads.google_ads.v2.proto.enums.content_label_type_pb2', - ContextErrorEnum='google.ads.google_ads.v2.proto.errors.context_error_pb2', - ConversionAction='google.ads.google_ads.v2.proto.resources.conversion_action_pb2', - ConversionActionCategoryEnum='google.ads.google_ads.v2.proto.enums.conversion_action_category_pb2', - ConversionActionCountingTypeEnum='google.ads.google_ads.v2.proto.enums.conversion_action_counting_type_pb2', - ConversionActionErrorEnum='google.ads.google_ads.v2.proto.errors.conversion_action_error_pb2', - ConversionActionOperation='google.ads.google_ads.v2.proto.services.conversion_action_service_pb2', - ConversionActionStatusEnum='google.ads.google_ads.v2.proto.enums.conversion_action_status_pb2', - ConversionActionTypeEnum='google.ads.google_ads.v2.proto.enums.conversion_action_type_pb2', - ConversionAdjustment='google.ads.google_ads.v2.proto.services.conversion_adjustment_upload_service_pb2', - ConversionAdjustmentResult='google.ads.google_ads.v2.proto.services.conversion_adjustment_upload_service_pb2', - ConversionAdjustmentTypeEnum='google.ads.google_ads.v2.proto.enums.conversion_adjustment_type_pb2', - ConversionAdjustmentUploadErrorEnum='google.ads.google_ads.v2.proto.errors.conversion_adjustment_upload_error_pb2', - ConversionAttributionEventTypeEnum='google.ads.google_ads.v2.proto.enums.conversion_attribution_event_type_pb2', - ConversionLagBucketEnum='google.ads.google_ads.v2.proto.enums.conversion_lag_bucket_pb2', - ConversionOrAdjustmentLagBucketEnum='google.ads.google_ads.v2.proto.enums.conversion_or_adjustment_lag_bucket_pb2', - ConversionTrackingSetting='google.ads.google_ads.v2.proto.resources.customer_pb2', - ConversionUploadErrorEnum='google.ads.google_ads.v2.proto.errors.conversion_upload_error_pb2', - CountryCodeErrorEnum='google.ads.google_ads.v2.proto.errors.country_code_error_pb2', - CpcBidSimulationPoint='google.ads.google_ads.v2.proto.common.simulation_pb2', - CpcBidSimulationPointList='google.ads.google_ads.v2.proto.common.simulation_pb2', - CpvBidSimulationPoint='google.ads.google_ads.v2.proto.common.simulation_pb2', - CpvBidSimulationPointList='google.ads.google_ads.v2.proto.common.simulation_pb2', - CreateCampaignExperimentMetadata='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - CreateCampaignExperimentRequest='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - CreateCustomerClientRequest='google.ads.google_ads.v2.proto.services.customer_service_pb2', - CreateCustomerClientResponse='google.ads.google_ads.v2.proto.services.customer_service_pb2', - CreateMutateJobRequest='google.ads.google_ads.v2.proto.services.mutate_job_service_pb2', - CreateMutateJobResponse='google.ads.google_ads.v2.proto.services.mutate_job_service_pb2', - CriterionCategoryAvailability='google.ads.google_ads.v2.proto.common.criterion_category_availability_pb2', - CriterionCategoryChannelAvailability='google.ads.google_ads.v2.proto.common.criterion_category_availability_pb2', - CriterionCategoryChannelAvailabilityModeEnum='google.ads.google_ads.v2.proto.enums.criterion_category_channel_availability_mode_pb2', - CriterionCategoryLocaleAvailability='google.ads.google_ads.v2.proto.common.criterion_category_availability_pb2', - CriterionCategoryLocaleAvailabilityModeEnum='google.ads.google_ads.v2.proto.enums.criterion_category_locale_availability_mode_pb2', - CriterionErrorEnum='google.ads.google_ads.v2.proto.errors.criterion_error_pb2', - CriterionSystemServingStatusEnum='google.ads.google_ads.v2.proto.enums.criterion_system_serving_status_pb2', - CriterionTypeEnum='google.ads.google_ads.v2.proto.enums.criterion_type_pb2', - CrmBasedUserListInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - CurrencyCodeErrorEnum='google.ads.google_ads.v2.proto.errors.currency_code_error_pb2', - CustomAffinityInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - CustomIntentInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - CustomInterest='google.ads.google_ads.v2.proto.resources.custom_interest_pb2', - CustomInterestErrorEnum='google.ads.google_ads.v2.proto.errors.custom_interest_error_pb2', - CustomInterestMember='google.ads.google_ads.v2.proto.resources.custom_interest_pb2', - CustomInterestMemberTypeEnum='google.ads.google_ads.v2.proto.enums.custom_interest_member_type_pb2', - CustomInterestOperation='google.ads.google_ads.v2.proto.services.custom_interest_service_pb2', - CustomInterestStatusEnum='google.ads.google_ads.v2.proto.enums.custom_interest_status_pb2', - CustomInterestTypeEnum='google.ads.google_ads.v2.proto.enums.custom_interest_type_pb2', - CustomParameter='google.ads.google_ads.v2.proto.common.custom_parameter_pb2', - CustomPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.custom_placeholder_field_pb2', - Customer='google.ads.google_ads.v2.proto.resources.customer_pb2', - CustomerClient='google.ads.google_ads.v2.proto.resources.customer_client_pb2', - CustomerClientLink='google.ads.google_ads.v2.proto.resources.customer_client_link_pb2', - CustomerClientLinkErrorEnum='google.ads.google_ads.v2.proto.errors.customer_client_link_error_pb2', - CustomerClientLinkOperation='google.ads.google_ads.v2.proto.services.customer_client_link_service_pb2', - CustomerErrorEnum='google.ads.google_ads.v2.proto.errors.customer_error_pb2', - CustomerExtensionSetting='google.ads.google_ads.v2.proto.resources.customer_extension_setting_pb2', - CustomerExtensionSettingOperation='google.ads.google_ads.v2.proto.services.customer_extension_setting_service_pb2', - CustomerFeed='google.ads.google_ads.v2.proto.resources.customer_feed_pb2', - CustomerFeedErrorEnum='google.ads.google_ads.v2.proto.errors.customer_feed_error_pb2', - CustomerFeedOperation='google.ads.google_ads.v2.proto.services.customer_feed_service_pb2', - CustomerLabel='google.ads.google_ads.v2.proto.resources.customer_label_pb2', - CustomerLabelOperation='google.ads.google_ads.v2.proto.services.customer_label_service_pb2', - CustomerManagerLink='google.ads.google_ads.v2.proto.resources.customer_manager_link_pb2', - CustomerManagerLinkErrorEnum='google.ads.google_ads.v2.proto.errors.customer_manager_link_error_pb2', - CustomerManagerLinkOperation='google.ads.google_ads.v2.proto.services.customer_manager_link_service_pb2', - CustomerMatchUploadKeyTypeEnum='google.ads.google_ads.v2.proto.enums.customer_match_upload_key_type_pb2', - CustomerNegativeCriterion='google.ads.google_ads.v2.proto.resources.customer_negative_criterion_pb2', - CustomerNegativeCriterionOperation='google.ads.google_ads.v2.proto.services.customer_negative_criterion_service_pb2', - CustomerOperation='google.ads.google_ads.v2.proto.services.customer_service_pb2', - CustomerPayPerConversionEligibilityFailureReasonEnum='google.ads.google_ads.v2.proto.enums.customer_pay_per_conversion_eligibility_failure_reason_pb2', - DataDrivenModelStatusEnum='google.ads.google_ads.v2.proto.enums.data_driven_model_status_pb2', - DatabaseErrorEnum='google.ads.google_ads.v2.proto.errors.database_error_pb2', - DateErrorEnum='google.ads.google_ads.v2.proto.errors.date_error_pb2', - DateRange='google.ads.google_ads.v2.proto.common.dates_pb2', - DateRangeErrorEnum='google.ads.google_ads.v2.proto.errors.date_range_error_pb2', - DateSpecificRuleUserListInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - DayOfWeekEnum='google.ads.google_ads.v2.proto.enums.day_of_week_pb2', - DetailPlacementView='google.ads.google_ads.v2.proto.resources.detail_placement_view_pb2', - DeviceEnum='google.ads.google_ads.v2.proto.enums.device_pb2', - DeviceInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - DismissRecommendationRequest='google.ads.google_ads.v2.proto.services.recommendation_service_pb2', - DismissRecommendationResponse='google.ads.google_ads.v2.proto.services.recommendation_service_pb2', - DisplayAdFormatSettingEnum='google.ads.google_ads.v2.proto.enums.display_ad_format_setting_pb2', - DisplayCallToAction='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - DisplayKeywordView='google.ads.google_ads.v2.proto.resources.display_keyword_view_pb2', - DisplayUploadAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - DisplayUploadProductTypeEnum='google.ads.google_ads.v2.proto.enums.display_upload_product_type_pb2', - DistanceBucketEnum='google.ads.google_ads.v2.proto.enums.distance_bucket_pb2', - DistanceView='google.ads.google_ads.v2.proto.resources.distance_view_pb2', - DistinctErrorEnum='google.ads.google_ads.v2.proto.errors.distinct_error_pb2', - DomainCategory='google.ads.google_ads.v2.proto.resources.domain_category_pb2', - DsaPageFeedCriterionFieldEnum='google.ads.google_ads.v2.proto.enums.dsa_page_feed_criterion_field_pb2', - DynamicSearchAdsSearchTermView='google.ads.google_ads.v2.proto.resources.dynamic_search_ads_search_term_view_pb2', - EducationPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.education_placeholder_field_pb2', - EndCampaignExperimentRequest='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - EnhancedCpc='google.ads.google_ads.v2.proto.common.bidding_pb2', - EnumErrorEnum='google.ads.google_ads.v2.proto.errors.enum_error_pb2', - ErrorCode='google.ads.google_ads.v2.proto.errors.errors_pb2', - ErrorDetails='google.ads.google_ads.v2.proto.errors.errors_pb2', - ErrorLocation='google.ads.google_ads.v2.proto.errors.errors_pb2', - ExpandedDynamicSearchAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - ExpandedLandingPageView='google.ads.google_ads.v2.proto.resources.expanded_landing_page_view_pb2', - ExpandedTextAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - ExplorerAutoOptimizerSetting='google.ads.google_ads.v2.proto.common.explorer_auto_optimizer_setting_pb2', - ExpressionRuleUserListInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - ExtensionFeedItem='google.ads.google_ads.v2.proto.resources.extension_feed_item_pb2', - ExtensionFeedItemErrorEnum='google.ads.google_ads.v2.proto.errors.extension_feed_item_error_pb2', - ExtensionFeedItemOperation='google.ads.google_ads.v2.proto.services.extension_feed_item_service_pb2', - ExtensionSettingDeviceEnum='google.ads.google_ads.v2.proto.enums.extension_setting_device_pb2', - ExtensionSettingErrorEnum='google.ads.google_ads.v2.proto.errors.extension_setting_error_pb2', - ExtensionTypeEnum='google.ads.google_ads.v2.proto.enums.extension_type_pb2', - ExternalAttributionData='google.ads.google_ads.v2.proto.services.conversion_upload_service_pb2', - ExternalConversionSourceEnum='google.ads.google_ads.v2.proto.enums.external_conversion_source_pb2', - Feed='google.ads.google_ads.v2.proto.resources.feed_pb2', - FeedAttribute='google.ads.google_ads.v2.proto.resources.feed_pb2', - FeedAttributeOperation='google.ads.google_ads.v2.proto.resources.feed_pb2', - FeedAttributeReferenceErrorEnum='google.ads.google_ads.v2.proto.errors.feed_attribute_reference_error_pb2', - FeedAttributeTypeEnum='google.ads.google_ads.v2.proto.enums.feed_attribute_type_pb2', - FeedErrorEnum='google.ads.google_ads.v2.proto.errors.feed_error_pb2', - FeedItem='google.ads.google_ads.v2.proto.resources.feed_item_pb2', - FeedItemAttributeValue='google.ads.google_ads.v2.proto.resources.feed_item_pb2', - FeedItemErrorEnum='google.ads.google_ads.v2.proto.errors.feed_item_error_pb2', - FeedItemOperation='google.ads.google_ads.v2.proto.services.feed_item_service_pb2', - FeedItemPlaceholderPolicyInfo='google.ads.google_ads.v2.proto.resources.feed_item_pb2', - FeedItemQualityApprovalStatusEnum='google.ads.google_ads.v2.proto.enums.feed_item_quality_approval_status_pb2', - FeedItemQualityDisapprovalReasonEnum='google.ads.google_ads.v2.proto.enums.feed_item_quality_disapproval_reason_pb2', - FeedItemStatusEnum='google.ads.google_ads.v2.proto.enums.feed_item_status_pb2', - FeedItemTarget='google.ads.google_ads.v2.proto.resources.feed_item_target_pb2', - FeedItemTargetDeviceEnum='google.ads.google_ads.v2.proto.enums.feed_item_target_device_pb2', - FeedItemTargetErrorEnum='google.ads.google_ads.v2.proto.errors.feed_item_target_error_pb2', - FeedItemTargetOperation='google.ads.google_ads.v2.proto.services.feed_item_target_service_pb2', - FeedItemTargetTypeEnum='google.ads.google_ads.v2.proto.enums.feed_item_target_type_pb2', - FeedItemValidationError='google.ads.google_ads.v2.proto.resources.feed_item_pb2', - FeedItemValidationErrorEnum='google.ads.google_ads.v2.proto.errors.feed_item_validation_error_pb2', - FeedItemValidationStatusEnum='google.ads.google_ads.v2.proto.enums.feed_item_validation_status_pb2', - FeedLinkStatusEnum='google.ads.google_ads.v2.proto.enums.feed_link_status_pb2', - FeedMapping='google.ads.google_ads.v2.proto.resources.feed_mapping_pb2', - FeedMappingCriterionTypeEnum='google.ads.google_ads.v2.proto.enums.feed_mapping_criterion_type_pb2', - FeedMappingErrorEnum='google.ads.google_ads.v2.proto.errors.feed_mapping_error_pb2', - FeedMappingOperation='google.ads.google_ads.v2.proto.services.feed_mapping_service_pb2', - FeedMappingStatusEnum='google.ads.google_ads.v2.proto.enums.feed_mapping_status_pb2', - FeedOperation='google.ads.google_ads.v2.proto.services.feed_service_pb2', - FeedOriginEnum='google.ads.google_ads.v2.proto.enums.feed_origin_pb2', - FeedPlaceholderView='google.ads.google_ads.v2.proto.resources.feed_placeholder_view_pb2', - FeedStatusEnum='google.ads.google_ads.v2.proto.enums.feed_status_pb2', - FieldErrorEnum='google.ads.google_ads.v2.proto.errors.field_error_pb2', - FieldMaskErrorEnum='google.ads.google_ads.v2.proto.errors.field_mask_error_pb2', - FinalAppUrl='google.ads.google_ads.v2.proto.common.final_app_url_pb2', - FlightPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.flight_placeholder_field_pb2', - Forecast='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - ForecastMetrics='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - FrequencyCapEntry='google.ads.google_ads.v2.proto.common.frequency_cap_pb2', - FrequencyCapEventTypeEnum='google.ads.google_ads.v2.proto.enums.frequency_cap_event_type_pb2', - FrequencyCapKey='google.ads.google_ads.v2.proto.common.frequency_cap_pb2', - FrequencyCapLevelEnum='google.ads.google_ads.v2.proto.enums.frequency_cap_level_pb2', - FrequencyCapTimeUnitEnum='google.ads.google_ads.v2.proto.enums.frequency_cap_time_unit_pb2', - FunctionErrorEnum='google.ads.google_ads.v2.proto.errors.function_error_pb2', - FunctionParsingErrorEnum='google.ads.google_ads.v2.proto.errors.function_parsing_error_pb2', - GclidDateTimePair='google.ads.google_ads.v2.proto.services.conversion_adjustment_upload_service_pb2', - GenderInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - GenderTypeEnum='google.ads.google_ads.v2.proto.enums.gender_type_pb2', - GenderView='google.ads.google_ads.v2.proto.resources.gender_view_pb2', - GenerateForecastMetricsRequest='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - GenerateForecastMetricsResponse='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - GenerateHistoricalMetricsRequest='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - GenerateHistoricalMetricsResponse='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - GenerateKeywordIdeaResponse='google.ads.google_ads.v2.proto.services.keyword_plan_idea_service_pb2', - GenerateKeywordIdeaResult='google.ads.google_ads.v2.proto.services.keyword_plan_idea_service_pb2', - GenerateKeywordIdeasRequest='google.ads.google_ads.v2.proto.services.keyword_plan_idea_service_pb2', - GenerateProductMixIdeasRequest='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - GenerateProductMixIdeasResponse='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - GenerateReachForecastRequest='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - GenerateReachForecastResponse='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - GeoPointInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - GeoTargetConstant='google.ads.google_ads.v2.proto.resources.geo_target_constant_pb2', - GeoTargetConstantStatusEnum='google.ads.google_ads.v2.proto.enums.geo_target_constant_status_pb2', - GeoTargetConstantSuggestion='google.ads.google_ads.v2.proto.services.geo_target_constant_service_pb2', - GeoTargetConstantSuggestionErrorEnum='google.ads.google_ads.v2.proto.errors.geo_target_constant_suggestion_error_pb2', - GeoTargetingRestrictionEnum='google.ads.google_ads.v2.proto.enums.geo_targeting_restriction_pb2', - GeoTargetingTypeEnum='google.ads.google_ads.v2.proto.enums.geo_targeting_type_pb2', - GeographicView='google.ads.google_ads.v2.proto.resources.geographic_view_pb2', - GetAccountBudgetProposalRequest='google.ads.google_ads.v2.proto.services.account_budget_proposal_service_pb2', - GetAccountBudgetRequest='google.ads.google_ads.v2.proto.services.account_budget_service_pb2', - GetAdGroupAdAssetViewRequest='google.ads.google_ads.v2.proto.services.ad_group_ad_asset_view_service_pb2', - GetAdGroupAdLabelRequest='google.ads.google_ads.v2.proto.services.ad_group_ad_label_service_pb2', - GetAdGroupAdRequest='google.ads.google_ads.v2.proto.services.ad_group_ad_service_pb2', - GetAdGroupAudienceViewRequest='google.ads.google_ads.v2.proto.services.ad_group_audience_view_service_pb2', - GetAdGroupBidModifierRequest='google.ads.google_ads.v2.proto.services.ad_group_bid_modifier_service_pb2', - GetAdGroupCriterionLabelRequest='google.ads.google_ads.v2.proto.services.ad_group_criterion_label_service_pb2', - GetAdGroupCriterionRequest='google.ads.google_ads.v2.proto.services.ad_group_criterion_service_pb2', - GetAdGroupCriterionSimulationRequest='google.ads.google_ads.v2.proto.services.ad_group_criterion_simulation_service_pb2', - GetAdGroupExtensionSettingRequest='google.ads.google_ads.v2.proto.services.ad_group_extension_setting_service_pb2', - GetAdGroupFeedRequest='google.ads.google_ads.v2.proto.services.ad_group_feed_service_pb2', - GetAdGroupLabelRequest='google.ads.google_ads.v2.proto.services.ad_group_label_service_pb2', - GetAdGroupRequest='google.ads.google_ads.v2.proto.services.ad_group_service_pb2', - GetAdGroupSimulationRequest='google.ads.google_ads.v2.proto.services.ad_group_simulation_service_pb2', - GetAdParameterRequest='google.ads.google_ads.v2.proto.services.ad_parameter_service_pb2', - GetAdRequest='google.ads.google_ads.v2.proto.services.ad_service_pb2', - GetAdScheduleViewRequest='google.ads.google_ads.v2.proto.services.ad_schedule_view_service_pb2', - GetAgeRangeViewRequest='google.ads.google_ads.v2.proto.services.age_range_view_service_pb2', - GetAssetRequest='google.ads.google_ads.v2.proto.services.asset_service_pb2', - GetBiddingStrategyRequest='google.ads.google_ads.v2.proto.services.bidding_strategy_service_pb2', - GetBillingSetupRequest='google.ads.google_ads.v2.proto.services.billing_setup_service_pb2', - GetCampaignAudienceViewRequest='google.ads.google_ads.v2.proto.services.campaign_audience_view_service_pb2', - GetCampaignBidModifierRequest='google.ads.google_ads.v2.proto.services.campaign_bid_modifier_service_pb2', - GetCampaignBudgetRequest='google.ads.google_ads.v2.proto.services.campaign_budget_service_pb2', - GetCampaignCriterionRequest='google.ads.google_ads.v2.proto.services.campaign_criterion_service_pb2', - GetCampaignCriterionSimulationRequest='google.ads.google_ads.v2.proto.services.campaign_criterion_simulation_service_pb2', - GetCampaignDraftRequest='google.ads.google_ads.v2.proto.services.campaign_draft_service_pb2', - GetCampaignExperimentRequest='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - GetCampaignExtensionSettingRequest='google.ads.google_ads.v2.proto.services.campaign_extension_setting_service_pb2', - GetCampaignFeedRequest='google.ads.google_ads.v2.proto.services.campaign_feed_service_pb2', - GetCampaignLabelRequest='google.ads.google_ads.v2.proto.services.campaign_label_service_pb2', - GetCampaignRequest='google.ads.google_ads.v2.proto.services.campaign_service_pb2', - GetCampaignSharedSetRequest='google.ads.google_ads.v2.proto.services.campaign_shared_set_service_pb2', - GetCarrierConstantRequest='google.ads.google_ads.v2.proto.services.carrier_constant_service_pb2', - GetChangeStatusRequest='google.ads.google_ads.v2.proto.services.change_status_service_pb2', - GetClickViewRequest='google.ads.google_ads.v2.proto.services.click_view_service_pb2', - GetConversionActionRequest='google.ads.google_ads.v2.proto.services.conversion_action_service_pb2', - GetCustomInterestRequest='google.ads.google_ads.v2.proto.services.custom_interest_service_pb2', - GetCustomerClientLinkRequest='google.ads.google_ads.v2.proto.services.customer_client_link_service_pb2', - GetCustomerClientRequest='google.ads.google_ads.v2.proto.services.customer_client_service_pb2', - GetCustomerExtensionSettingRequest='google.ads.google_ads.v2.proto.services.customer_extension_setting_service_pb2', - GetCustomerFeedRequest='google.ads.google_ads.v2.proto.services.customer_feed_service_pb2', - GetCustomerLabelRequest='google.ads.google_ads.v2.proto.services.customer_label_service_pb2', - GetCustomerManagerLinkRequest='google.ads.google_ads.v2.proto.services.customer_manager_link_service_pb2', - GetCustomerNegativeCriterionRequest='google.ads.google_ads.v2.proto.services.customer_negative_criterion_service_pb2', - GetCustomerRequest='google.ads.google_ads.v2.proto.services.customer_service_pb2', - GetDetailPlacementViewRequest='google.ads.google_ads.v2.proto.services.detail_placement_view_service_pb2', - GetDisplayKeywordViewRequest='google.ads.google_ads.v2.proto.services.display_keyword_view_service_pb2', - GetDistanceViewRequest='google.ads.google_ads.v2.proto.services.distance_view_service_pb2', - GetDomainCategoryRequest='google.ads.google_ads.v2.proto.services.domain_category_service_pb2', - GetDynamicSearchAdsSearchTermViewRequest='google.ads.google_ads.v2.proto.services.dynamic_search_ads_search_term_view_service_pb2', - GetExpandedLandingPageViewRequest='google.ads.google_ads.v2.proto.services.expanded_landing_page_view_service_pb2', - GetExtensionFeedItemRequest='google.ads.google_ads.v2.proto.services.extension_feed_item_service_pb2', - GetFeedItemRequest='google.ads.google_ads.v2.proto.services.feed_item_service_pb2', - GetFeedItemTargetRequest='google.ads.google_ads.v2.proto.services.feed_item_target_service_pb2', - GetFeedMappingRequest='google.ads.google_ads.v2.proto.services.feed_mapping_service_pb2', - GetFeedPlaceholderViewRequest='google.ads.google_ads.v2.proto.services.feed_placeholder_view_service_pb2', - GetFeedRequest='google.ads.google_ads.v2.proto.services.feed_service_pb2', - GetGenderViewRequest='google.ads.google_ads.v2.proto.services.gender_view_service_pb2', - GetGeoTargetConstantRequest='google.ads.google_ads.v2.proto.services.geo_target_constant_service_pb2', - GetGeographicViewRequest='google.ads.google_ads.v2.proto.services.geographic_view_service_pb2', - GetGoogleAdsFieldRequest='google.ads.google_ads.v2.proto.services.google_ads_field_service_pb2', - GetGroupPlacementViewRequest='google.ads.google_ads.v2.proto.services.group_placement_view_service_pb2', - GetHotelGroupViewRequest='google.ads.google_ads.v2.proto.services.hotel_group_view_service_pb2', - GetHotelPerformanceViewRequest='google.ads.google_ads.v2.proto.services.hotel_performance_view_service_pb2', - GetKeywordPlanAdGroupRequest='google.ads.google_ads.v2.proto.services.keyword_plan_ad_group_service_pb2', - GetKeywordPlanCampaignRequest='google.ads.google_ads.v2.proto.services.keyword_plan_campaign_service_pb2', - GetKeywordPlanKeywordRequest='google.ads.google_ads.v2.proto.services.keyword_plan_keyword_service_pb2', - GetKeywordPlanNegativeKeywordRequest='google.ads.google_ads.v2.proto.services.keyword_plan_negative_keyword_service_pb2', - GetKeywordPlanRequest='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - GetKeywordViewRequest='google.ads.google_ads.v2.proto.services.keyword_view_service_pb2', - GetLabelRequest='google.ads.google_ads.v2.proto.services.label_service_pb2', - GetLandingPageViewRequest='google.ads.google_ads.v2.proto.services.landing_page_view_service_pb2', - GetLanguageConstantRequest='google.ads.google_ads.v2.proto.services.language_constant_service_pb2', - GetLocationViewRequest='google.ads.google_ads.v2.proto.services.location_view_service_pb2', - GetManagedPlacementViewRequest='google.ads.google_ads.v2.proto.services.managed_placement_view_service_pb2', - GetMediaFileRequest='google.ads.google_ads.v2.proto.services.media_file_service_pb2', - GetMerchantCenterLinkRequest='google.ads.google_ads.v2.proto.services.merchant_center_link_service_pb2', - GetMobileAppCategoryConstantRequest='google.ads.google_ads.v2.proto.services.mobile_app_category_constant_service_pb2', - GetMobileDeviceConstantRequest='google.ads.google_ads.v2.proto.services.mobile_device_constant_service_pb2', - GetMutateJobRequest='google.ads.google_ads.v2.proto.services.mutate_job_service_pb2', - GetOperatingSystemVersionConstantRequest='google.ads.google_ads.v2.proto.services.operating_system_version_constant_service_pb2', - GetPaidOrganicSearchTermViewRequest='google.ads.google_ads.v2.proto.services.paid_organic_search_term_view_service_pb2', - GetParentalStatusViewRequest='google.ads.google_ads.v2.proto.services.parental_status_view_service_pb2', - GetProductBiddingCategoryConstantRequest='google.ads.google_ads.v2.proto.services.product_bidding_category_constant_service_pb2', - GetProductGroupViewRequest='google.ads.google_ads.v2.proto.services.product_group_view_service_pb2', - GetRecommendationRequest='google.ads.google_ads.v2.proto.services.recommendation_service_pb2', - GetRemarketingActionRequest='google.ads.google_ads.v2.proto.services.remarketing_action_service_pb2', - GetSearchTermViewRequest='google.ads.google_ads.v2.proto.services.search_term_view_service_pb2', - GetSharedCriterionRequest='google.ads.google_ads.v2.proto.services.shared_criterion_service_pb2', - GetSharedSetRequest='google.ads.google_ads.v2.proto.services.shared_set_service_pb2', - GetShoppingPerformanceViewRequest='google.ads.google_ads.v2.proto.services.shopping_performance_view_service_pb2', - GetTopicConstantRequest='google.ads.google_ads.v2.proto.services.topic_constant_service_pb2', - GetTopicViewRequest='google.ads.google_ads.v2.proto.services.topic_view_service_pb2', - GetUserInterestRequest='google.ads.google_ads.v2.proto.services.user_interest_service_pb2', - GetUserListRequest='google.ads.google_ads.v2.proto.services.user_list_service_pb2', - GetUserLocationViewRequest='google.ads.google_ads.v2.proto.services.user_location_view_service_pb2', - GetVideoRequest='google.ads.google_ads.v2.proto.services.video_service_pb2', - GmailAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - GmailTeaser='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - GoogleAdsError='google.ads.google_ads.v2.proto.errors.errors_pb2', - GoogleAdsFailure='google.ads.google_ads.v2.proto.errors.errors_pb2', - GoogleAdsField='google.ads.google_ads.v2.proto.resources.google_ads_field_pb2', - GoogleAdsFieldCategoryEnum='google.ads.google_ads.v2.proto.enums.google_ads_field_category_pb2', - GoogleAdsFieldDataTypeEnum='google.ads.google_ads.v2.proto.enums.google_ads_field_data_type_pb2', - GoogleAdsRow='google.ads.google_ads.v2.proto.services.google_ads_service_pb2', - GraduateCampaignExperimentRequest='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - GraduateCampaignExperimentResponse='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - GroupPlacementView='google.ads.google_ads.v2.proto.resources.group_placement_view_pb2', - HeaderErrorEnum='google.ads.google_ads.v2.proto.errors.header_error_pb2', - HotelAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - HotelAdvanceBookingWindowInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - HotelCalloutFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - HotelCheckInDayInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - HotelCityInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - HotelClassInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - HotelCountryRegionInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - HotelDateSelectionTypeEnum='google.ads.google_ads.v2.proto.enums.hotel_date_selection_type_pb2', - HotelDateSelectionTypeInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - HotelGroupView='google.ads.google_ads.v2.proto.resources.hotel_group_view_pb2', - HotelIdInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - HotelLengthOfStayInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - HotelPerformanceView='google.ads.google_ads.v2.proto.resources.hotel_performance_view_pb2', - HotelPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.hotel_placeholder_field_pb2', - HotelPriceBucketEnum='google.ads.google_ads.v2.proto.enums.hotel_price_bucket_pb2', - HotelRateTypeEnum='google.ads.google_ads.v2.proto.enums.hotel_rate_type_pb2', - HotelStateInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - IdErrorEnum='google.ads.google_ads.v2.proto.errors.id_error_pb2', - ImageAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - ImageAsset='google.ads.google_ads.v2.proto.common.asset_types_pb2', - ImageDimension='google.ads.google_ads.v2.proto.common.asset_types_pb2', - ImageErrorEnum='google.ads.google_ads.v2.proto.errors.image_error_pb2', - IncomeRangeInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - IncomeRangeTypeEnum='google.ads.google_ads.v2.proto.enums.income_range_type_pb2', - InteractionEventTypeEnum='google.ads.google_ads.v2.proto.enums.interaction_event_type_pb2', - InteractionTypeEnum='google.ads.google_ads.v2.proto.enums.interaction_type_pb2', - InteractionTypeInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - InternalErrorEnum='google.ads.google_ads.v2.proto.errors.internal_error_pb2', - Invoice='google.ads.google_ads.v2.proto.resources.invoice_pb2', - InvoiceErrorEnum='google.ads.google_ads.v2.proto.errors.invoice_error_pb2', - InvoiceTypeEnum='google.ads.google_ads.v2.proto.enums.invoice_type_pb2', - IpBlockInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - JobPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.job_placeholder_field_pb2', - Keyword='google.ads.google_ads.v2.proto.common.segments_pb2', - KeywordAndUrlSeed='google.ads.google_ads.v2.proto.services.keyword_plan_idea_service_pb2', - KeywordInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - KeywordMatchTypeEnum='google.ads.google_ads.v2.proto.enums.keyword_match_type_pb2', - KeywordPlan='google.ads.google_ads.v2.proto.resources.keyword_plan_pb2', - KeywordPlanAdGroup='google.ads.google_ads.v2.proto.resources.keyword_plan_ad_group_pb2', - KeywordPlanAdGroupErrorEnum='google.ads.google_ads.v2.proto.errors.keyword_plan_ad_group_error_pb2', - KeywordPlanAdGroupForecast='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - KeywordPlanAdGroupOperation='google.ads.google_ads.v2.proto.services.keyword_plan_ad_group_service_pb2', - KeywordPlanCampaign='google.ads.google_ads.v2.proto.resources.keyword_plan_campaign_pb2', - KeywordPlanCampaignErrorEnum='google.ads.google_ads.v2.proto.errors.keyword_plan_campaign_error_pb2', - KeywordPlanCampaignForecast='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - KeywordPlanCampaignOperation='google.ads.google_ads.v2.proto.services.keyword_plan_campaign_service_pb2', - KeywordPlanCompetitionLevelEnum='google.ads.google_ads.v2.proto.enums.keyword_plan_competition_level_pb2', - KeywordPlanErrorEnum='google.ads.google_ads.v2.proto.errors.keyword_plan_error_pb2', - KeywordPlanForecastIntervalEnum='google.ads.google_ads.v2.proto.enums.keyword_plan_forecast_interval_pb2', - KeywordPlanForecastPeriod='google.ads.google_ads.v2.proto.resources.keyword_plan_pb2', - KeywordPlanGeoTarget='google.ads.google_ads.v2.proto.resources.keyword_plan_campaign_pb2', - KeywordPlanHistoricalMetrics='google.ads.google_ads.v2.proto.common.keyword_plan_common_pb2', - KeywordPlanIdeaErrorEnum='google.ads.google_ads.v2.proto.errors.keyword_plan_idea_error_pb2', - KeywordPlanKeyword='google.ads.google_ads.v2.proto.resources.keyword_plan_keyword_pb2', - KeywordPlanKeywordErrorEnum='google.ads.google_ads.v2.proto.errors.keyword_plan_keyword_error_pb2', - KeywordPlanKeywordForecast='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - KeywordPlanKeywordHistoricalMetrics='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - KeywordPlanKeywordOperation='google.ads.google_ads.v2.proto.services.keyword_plan_keyword_service_pb2', - KeywordPlanNegativeKeyword='google.ads.google_ads.v2.proto.resources.keyword_plan_negative_keyword_pb2', - KeywordPlanNegativeKeywordErrorEnum='google.ads.google_ads.v2.proto.errors.keyword_plan_negative_keyword_error_pb2', - KeywordPlanNegativeKeywordOperation='google.ads.google_ads.v2.proto.services.keyword_plan_negative_keyword_service_pb2', - KeywordPlanNetworkEnum='google.ads.google_ads.v2.proto.enums.keyword_plan_network_pb2', - KeywordPlanOperation='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - KeywordSeed='google.ads.google_ads.v2.proto.services.keyword_plan_idea_service_pb2', - KeywordView='google.ads.google_ads.v2.proto.resources.keyword_view_pb2', - Label='google.ads.google_ads.v2.proto.resources.label_pb2', - LabelErrorEnum='google.ads.google_ads.v2.proto.errors.label_error_pb2', - LabelOperation='google.ads.google_ads.v2.proto.services.label_service_pb2', - LabelStatusEnum='google.ads.google_ads.v2.proto.enums.label_status_pb2', - LandingPageView='google.ads.google_ads.v2.proto.resources.landing_page_view_pb2', - LanguageCodeErrorEnum='google.ads.google_ads.v2.proto.errors.language_code_error_pb2', - LanguageConstant='google.ads.google_ads.v2.proto.resources.language_constant_pb2', - LanguageInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - LegacyAppInstallAdAppStoreEnum='google.ads.google_ads.v2.proto.enums.legacy_app_install_ad_app_store_pb2', - LegacyAppInstallAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - LegacyResponsiveDisplayAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - ListAccessibleCustomersRequest='google.ads.google_ads.v2.proto.services.customer_service_pb2', - ListAccessibleCustomersResponse='google.ads.google_ads.v2.proto.services.customer_service_pb2', - ListCampaignDraftAsyncErrorsRequest='google.ads.google_ads.v2.proto.services.campaign_draft_service_pb2', - ListCampaignDraftAsyncErrorsResponse='google.ads.google_ads.v2.proto.services.campaign_draft_service_pb2', - ListCampaignExperimentAsyncErrorsRequest='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - ListCampaignExperimentAsyncErrorsResponse='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - ListInvoicesRequest='google.ads.google_ads.v2.proto.services.invoice_service_pb2', - ListInvoicesResponse='google.ads.google_ads.v2.proto.services.invoice_service_pb2', - ListMerchantCenterLinksRequest='google.ads.google_ads.v2.proto.services.merchant_center_link_service_pb2', - ListMerchantCenterLinksResponse='google.ads.google_ads.v2.proto.services.merchant_center_link_service_pb2', - ListMutateJobResultsRequest='google.ads.google_ads.v2.proto.services.mutate_job_service_pb2', - ListMutateJobResultsResponse='google.ads.google_ads.v2.proto.services.mutate_job_service_pb2', - ListOperationErrorEnum='google.ads.google_ads.v2.proto.errors.list_operation_error_pb2', - ListPaymentsAccountsRequest='google.ads.google_ads.v2.proto.services.payments_account_service_pb2', - ListPaymentsAccountsResponse='google.ads.google_ads.v2.proto.services.payments_account_service_pb2', - ListPlannableLocationsRequest='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - ListPlannableLocationsResponse='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - ListPlannableProductsRequest='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - ListPlannableProductsResponse='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - ListingBrandInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ListingCustomAttributeIndexEnum='google.ads.google_ads.v2.proto.enums.listing_custom_attribute_index_pb2', - ListingCustomAttributeInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ListingDimensionInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ListingGroupInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ListingGroupTypeEnum='google.ads.google_ads.v2.proto.enums.listing_group_type_pb2', - ListingScopeInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - LocalPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.local_placeholder_field_pb2', - LocationExtensionTargetingCriterionFieldEnum='google.ads.google_ads.v2.proto.enums.location_extension_targeting_criterion_field_pb2', - LocationFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - LocationGroupInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - LocationGroupRadiusUnitsEnum='google.ads.google_ads.v2.proto.enums.location_group_radius_units_pb2', - LocationInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - LocationPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.location_placeholder_field_pb2', - LocationView='google.ads.google_ads.v2.proto.resources.location_view_pb2', - LogicalUserListInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - LogicalUserListOperandInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - ManagedPlacementView='google.ads.google_ads.v2.proto.resources.managed_placement_view_pb2', - ManagerLinkErrorEnum='google.ads.google_ads.v2.proto.errors.manager_link_error_pb2', - ManagerLinkStatusEnum='google.ads.google_ads.v2.proto.enums.manager_link_status_pb2', - ManualCpc='google.ads.google_ads.v2.proto.common.bidding_pb2', - ManualCpm='google.ads.google_ads.v2.proto.common.bidding_pb2', - ManualCpv='google.ads.google_ads.v2.proto.common.bidding_pb2', - MatchingFunction='google.ads.google_ads.v2.proto.common.matching_function_pb2', - MatchingFunctionContextTypeEnum='google.ads.google_ads.v2.proto.enums.matching_function_context_type_pb2', - MatchingFunctionOperatorEnum='google.ads.google_ads.v2.proto.enums.matching_function_operator_pb2', - MaximizeConversionValue='google.ads.google_ads.v2.proto.common.bidding_pb2', - MaximizeConversions='google.ads.google_ads.v2.proto.common.bidding_pb2', - MediaAudio='google.ads.google_ads.v2.proto.resources.media_file_pb2', - MediaBundle='google.ads.google_ads.v2.proto.resources.media_file_pb2', - MediaBundleAsset='google.ads.google_ads.v2.proto.common.asset_types_pb2', - MediaBundleErrorEnum='google.ads.google_ads.v2.proto.errors.media_bundle_error_pb2', - MediaFile='google.ads.google_ads.v2.proto.resources.media_file_pb2', - MediaFileErrorEnum='google.ads.google_ads.v2.proto.errors.media_file_error_pb2', - MediaFileOperation='google.ads.google_ads.v2.proto.services.media_file_service_pb2', - MediaImage='google.ads.google_ads.v2.proto.resources.media_file_pb2', - MediaTypeEnum='google.ads.google_ads.v2.proto.enums.media_type_pb2', - MediaUploadErrorEnum='google.ads.google_ads.v2.proto.errors.media_upload_error_pb2', - MediaVideo='google.ads.google_ads.v2.proto.resources.media_file_pb2', - MerchantCenterLink='google.ads.google_ads.v2.proto.resources.merchant_center_link_pb2', - MerchantCenterLinkOperation='google.ads.google_ads.v2.proto.services.merchant_center_link_service_pb2', - MerchantCenterLinkStatusEnum='google.ads.google_ads.v2.proto.enums.merchant_center_link_status_pb2', - MessagePlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.message_placeholder_field_pb2', - Metrics='google.ads.google_ads.v2.proto.common.metrics_pb2', - MimeTypeEnum='google.ads.google_ads.v2.proto.enums.mime_type_pb2', - MinuteOfHourEnum='google.ads.google_ads.v2.proto.enums.minute_of_hour_pb2', - MobileAppCategoryConstant='google.ads.google_ads.v2.proto.resources.mobile_app_category_constant_pb2', - MobileAppCategoryInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - MobileApplicationInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - MobileDeviceConstant='google.ads.google_ads.v2.proto.resources.mobile_device_constant_pb2', - MobileDeviceInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - MobileDeviceTypeEnum='google.ads.google_ads.v2.proto.enums.mobile_device_type_pb2', - Money='google.ads.google_ads.v2.proto.common.feed_common_pb2', - MonthOfYearEnum='google.ads.google_ads.v2.proto.enums.month_of_year_pb2', - MultiplierErrorEnum='google.ads.google_ads.v2.proto.errors.multiplier_error_pb2', - MutateAccountBudgetProposalRequest='google.ads.google_ads.v2.proto.services.account_budget_proposal_service_pb2', - MutateAccountBudgetProposalResponse='google.ads.google_ads.v2.proto.services.account_budget_proposal_service_pb2', - MutateAccountBudgetProposalResult='google.ads.google_ads.v2.proto.services.account_budget_proposal_service_pb2', - MutateAdGroupAdLabelResult='google.ads.google_ads.v2.proto.services.ad_group_ad_label_service_pb2', - MutateAdGroupAdLabelsRequest='google.ads.google_ads.v2.proto.services.ad_group_ad_label_service_pb2', - MutateAdGroupAdLabelsResponse='google.ads.google_ads.v2.proto.services.ad_group_ad_label_service_pb2', - MutateAdGroupAdResult='google.ads.google_ads.v2.proto.services.ad_group_ad_service_pb2', - MutateAdGroupAdsRequest='google.ads.google_ads.v2.proto.services.ad_group_ad_service_pb2', - MutateAdGroupAdsResponse='google.ads.google_ads.v2.proto.services.ad_group_ad_service_pb2', - MutateAdGroupBidModifierResult='google.ads.google_ads.v2.proto.services.ad_group_bid_modifier_service_pb2', - MutateAdGroupBidModifiersRequest='google.ads.google_ads.v2.proto.services.ad_group_bid_modifier_service_pb2', - MutateAdGroupBidModifiersResponse='google.ads.google_ads.v2.proto.services.ad_group_bid_modifier_service_pb2', - MutateAdGroupCriteriaRequest='google.ads.google_ads.v2.proto.services.ad_group_criterion_service_pb2', - MutateAdGroupCriteriaResponse='google.ads.google_ads.v2.proto.services.ad_group_criterion_service_pb2', - MutateAdGroupCriterionLabelResult='google.ads.google_ads.v2.proto.services.ad_group_criterion_label_service_pb2', - MutateAdGroupCriterionLabelsRequest='google.ads.google_ads.v2.proto.services.ad_group_criterion_label_service_pb2', - MutateAdGroupCriterionLabelsResponse='google.ads.google_ads.v2.proto.services.ad_group_criterion_label_service_pb2', - MutateAdGroupCriterionResult='google.ads.google_ads.v2.proto.services.ad_group_criterion_service_pb2', - MutateAdGroupExtensionSettingResult='google.ads.google_ads.v2.proto.services.ad_group_extension_setting_service_pb2', - MutateAdGroupExtensionSettingsRequest='google.ads.google_ads.v2.proto.services.ad_group_extension_setting_service_pb2', - MutateAdGroupExtensionSettingsResponse='google.ads.google_ads.v2.proto.services.ad_group_extension_setting_service_pb2', - MutateAdGroupFeedResult='google.ads.google_ads.v2.proto.services.ad_group_feed_service_pb2', - MutateAdGroupFeedsRequest='google.ads.google_ads.v2.proto.services.ad_group_feed_service_pb2', - MutateAdGroupFeedsResponse='google.ads.google_ads.v2.proto.services.ad_group_feed_service_pb2', - MutateAdGroupLabelResult='google.ads.google_ads.v2.proto.services.ad_group_label_service_pb2', - MutateAdGroupLabelsRequest='google.ads.google_ads.v2.proto.services.ad_group_label_service_pb2', - MutateAdGroupLabelsResponse='google.ads.google_ads.v2.proto.services.ad_group_label_service_pb2', - MutateAdGroupResult='google.ads.google_ads.v2.proto.services.ad_group_service_pb2', - MutateAdGroupsRequest='google.ads.google_ads.v2.proto.services.ad_group_service_pb2', - MutateAdGroupsResponse='google.ads.google_ads.v2.proto.services.ad_group_service_pb2', - MutateAdParameterResult='google.ads.google_ads.v2.proto.services.ad_parameter_service_pb2', - MutateAdParametersRequest='google.ads.google_ads.v2.proto.services.ad_parameter_service_pb2', - MutateAdParametersResponse='google.ads.google_ads.v2.proto.services.ad_parameter_service_pb2', - MutateAdResult='google.ads.google_ads.v2.proto.services.ad_service_pb2', - MutateAdsRequest='google.ads.google_ads.v2.proto.services.ad_service_pb2', - MutateAdsResponse='google.ads.google_ads.v2.proto.services.ad_service_pb2', - MutateAssetResult='google.ads.google_ads.v2.proto.services.asset_service_pb2', - MutateAssetsRequest='google.ads.google_ads.v2.proto.services.asset_service_pb2', - MutateAssetsResponse='google.ads.google_ads.v2.proto.services.asset_service_pb2', - MutateBiddingStrategiesRequest='google.ads.google_ads.v2.proto.services.bidding_strategy_service_pb2', - MutateBiddingStrategiesResponse='google.ads.google_ads.v2.proto.services.bidding_strategy_service_pb2', - MutateBiddingStrategyResult='google.ads.google_ads.v2.proto.services.bidding_strategy_service_pb2', - MutateBillingSetupRequest='google.ads.google_ads.v2.proto.services.billing_setup_service_pb2', - MutateBillingSetupResponse='google.ads.google_ads.v2.proto.services.billing_setup_service_pb2', - MutateBillingSetupResult='google.ads.google_ads.v2.proto.services.billing_setup_service_pb2', - MutateCampaignBidModifierResult='google.ads.google_ads.v2.proto.services.campaign_bid_modifier_service_pb2', - MutateCampaignBidModifiersRequest='google.ads.google_ads.v2.proto.services.campaign_bid_modifier_service_pb2', - MutateCampaignBidModifiersResponse='google.ads.google_ads.v2.proto.services.campaign_bid_modifier_service_pb2', - MutateCampaignBudgetResult='google.ads.google_ads.v2.proto.services.campaign_budget_service_pb2', - MutateCampaignBudgetsRequest='google.ads.google_ads.v2.proto.services.campaign_budget_service_pb2', - MutateCampaignBudgetsResponse='google.ads.google_ads.v2.proto.services.campaign_budget_service_pb2', - MutateCampaignCriteriaRequest='google.ads.google_ads.v2.proto.services.campaign_criterion_service_pb2', - MutateCampaignCriteriaResponse='google.ads.google_ads.v2.proto.services.campaign_criterion_service_pb2', - MutateCampaignCriterionResult='google.ads.google_ads.v2.proto.services.campaign_criterion_service_pb2', - MutateCampaignDraftResult='google.ads.google_ads.v2.proto.services.campaign_draft_service_pb2', - MutateCampaignDraftsRequest='google.ads.google_ads.v2.proto.services.campaign_draft_service_pb2', - MutateCampaignDraftsResponse='google.ads.google_ads.v2.proto.services.campaign_draft_service_pb2', - MutateCampaignExperimentResult='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - MutateCampaignExperimentsRequest='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - MutateCampaignExperimentsResponse='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - MutateCampaignExtensionSettingResult='google.ads.google_ads.v2.proto.services.campaign_extension_setting_service_pb2', - MutateCampaignExtensionSettingsRequest='google.ads.google_ads.v2.proto.services.campaign_extension_setting_service_pb2', - MutateCampaignExtensionSettingsResponse='google.ads.google_ads.v2.proto.services.campaign_extension_setting_service_pb2', - MutateCampaignFeedResult='google.ads.google_ads.v2.proto.services.campaign_feed_service_pb2', - MutateCampaignFeedsRequest='google.ads.google_ads.v2.proto.services.campaign_feed_service_pb2', - MutateCampaignFeedsResponse='google.ads.google_ads.v2.proto.services.campaign_feed_service_pb2', - MutateCampaignLabelResult='google.ads.google_ads.v2.proto.services.campaign_label_service_pb2', - MutateCampaignLabelsRequest='google.ads.google_ads.v2.proto.services.campaign_label_service_pb2', - MutateCampaignLabelsResponse='google.ads.google_ads.v2.proto.services.campaign_label_service_pb2', - MutateCampaignResult='google.ads.google_ads.v2.proto.services.campaign_service_pb2', - MutateCampaignSharedSetResult='google.ads.google_ads.v2.proto.services.campaign_shared_set_service_pb2', - MutateCampaignSharedSetsRequest='google.ads.google_ads.v2.proto.services.campaign_shared_set_service_pb2', - MutateCampaignSharedSetsResponse='google.ads.google_ads.v2.proto.services.campaign_shared_set_service_pb2', - MutateCampaignsRequest='google.ads.google_ads.v2.proto.services.campaign_service_pb2', - MutateCampaignsResponse='google.ads.google_ads.v2.proto.services.campaign_service_pb2', - MutateConversionActionResult='google.ads.google_ads.v2.proto.services.conversion_action_service_pb2', - MutateConversionActionsRequest='google.ads.google_ads.v2.proto.services.conversion_action_service_pb2', - MutateConversionActionsResponse='google.ads.google_ads.v2.proto.services.conversion_action_service_pb2', - MutateCustomInterestResult='google.ads.google_ads.v2.proto.services.custom_interest_service_pb2', - MutateCustomInterestsRequest='google.ads.google_ads.v2.proto.services.custom_interest_service_pb2', - MutateCustomInterestsResponse='google.ads.google_ads.v2.proto.services.custom_interest_service_pb2', - MutateCustomerClientLinkRequest='google.ads.google_ads.v2.proto.services.customer_client_link_service_pb2', - MutateCustomerClientLinkResponse='google.ads.google_ads.v2.proto.services.customer_client_link_service_pb2', - MutateCustomerClientLinkResult='google.ads.google_ads.v2.proto.services.customer_client_link_service_pb2', - MutateCustomerExtensionSettingResult='google.ads.google_ads.v2.proto.services.customer_extension_setting_service_pb2', - MutateCustomerExtensionSettingsRequest='google.ads.google_ads.v2.proto.services.customer_extension_setting_service_pb2', - MutateCustomerExtensionSettingsResponse='google.ads.google_ads.v2.proto.services.customer_extension_setting_service_pb2', - MutateCustomerFeedResult='google.ads.google_ads.v2.proto.services.customer_feed_service_pb2', - MutateCustomerFeedsRequest='google.ads.google_ads.v2.proto.services.customer_feed_service_pb2', - MutateCustomerFeedsResponse='google.ads.google_ads.v2.proto.services.customer_feed_service_pb2', - MutateCustomerLabelResult='google.ads.google_ads.v2.proto.services.customer_label_service_pb2', - MutateCustomerLabelsRequest='google.ads.google_ads.v2.proto.services.customer_label_service_pb2', - MutateCustomerLabelsResponse='google.ads.google_ads.v2.proto.services.customer_label_service_pb2', - MutateCustomerManagerLinkRequest='google.ads.google_ads.v2.proto.services.customer_manager_link_service_pb2', - MutateCustomerManagerLinkResponse='google.ads.google_ads.v2.proto.services.customer_manager_link_service_pb2', - MutateCustomerManagerLinkResult='google.ads.google_ads.v2.proto.services.customer_manager_link_service_pb2', - MutateCustomerNegativeCriteriaRequest='google.ads.google_ads.v2.proto.services.customer_negative_criterion_service_pb2', - MutateCustomerNegativeCriteriaResponse='google.ads.google_ads.v2.proto.services.customer_negative_criterion_service_pb2', - MutateCustomerNegativeCriteriaResult='google.ads.google_ads.v2.proto.services.customer_negative_criterion_service_pb2', - MutateCustomerRequest='google.ads.google_ads.v2.proto.services.customer_service_pb2', - MutateCustomerResponse='google.ads.google_ads.v2.proto.services.customer_service_pb2', - MutateCustomerResult='google.ads.google_ads.v2.proto.services.customer_service_pb2', - MutateErrorEnum='google.ads.google_ads.v2.proto.errors.mutate_error_pb2', - MutateExtensionFeedItemResult='google.ads.google_ads.v2.proto.services.extension_feed_item_service_pb2', - MutateExtensionFeedItemsRequest='google.ads.google_ads.v2.proto.services.extension_feed_item_service_pb2', - MutateExtensionFeedItemsResponse='google.ads.google_ads.v2.proto.services.extension_feed_item_service_pb2', - MutateFeedItemResult='google.ads.google_ads.v2.proto.services.feed_item_service_pb2', - MutateFeedItemTargetResult='google.ads.google_ads.v2.proto.services.feed_item_target_service_pb2', - MutateFeedItemTargetsRequest='google.ads.google_ads.v2.proto.services.feed_item_target_service_pb2', - MutateFeedItemTargetsResponse='google.ads.google_ads.v2.proto.services.feed_item_target_service_pb2', - MutateFeedItemsRequest='google.ads.google_ads.v2.proto.services.feed_item_service_pb2', - MutateFeedItemsResponse='google.ads.google_ads.v2.proto.services.feed_item_service_pb2', - MutateFeedMappingResult='google.ads.google_ads.v2.proto.services.feed_mapping_service_pb2', - MutateFeedMappingsRequest='google.ads.google_ads.v2.proto.services.feed_mapping_service_pb2', - MutateFeedMappingsResponse='google.ads.google_ads.v2.proto.services.feed_mapping_service_pb2', - MutateFeedResult='google.ads.google_ads.v2.proto.services.feed_service_pb2', - MutateFeedsRequest='google.ads.google_ads.v2.proto.services.feed_service_pb2', - MutateFeedsResponse='google.ads.google_ads.v2.proto.services.feed_service_pb2', - MutateGoogleAdsRequest='google.ads.google_ads.v2.proto.services.google_ads_service_pb2', - MutateGoogleAdsResponse='google.ads.google_ads.v2.proto.services.google_ads_service_pb2', - MutateJob='google.ads.google_ads.v2.proto.resources.mutate_job_pb2', - MutateJobErrorEnum='google.ads.google_ads.v2.proto.errors.mutate_job_error_pb2', - MutateJobResult='google.ads.google_ads.v2.proto.services.mutate_job_service_pb2', - MutateJobStatusEnum='google.ads.google_ads.v2.proto.enums.mutate_job_status_pb2', - MutateKeywordPlanAdGroupResult='google.ads.google_ads.v2.proto.services.keyword_plan_ad_group_service_pb2', - MutateKeywordPlanAdGroupsRequest='google.ads.google_ads.v2.proto.services.keyword_plan_ad_group_service_pb2', - MutateKeywordPlanAdGroupsResponse='google.ads.google_ads.v2.proto.services.keyword_plan_ad_group_service_pb2', - MutateKeywordPlanCampaignResult='google.ads.google_ads.v2.proto.services.keyword_plan_campaign_service_pb2', - MutateKeywordPlanCampaignsRequest='google.ads.google_ads.v2.proto.services.keyword_plan_campaign_service_pb2', - MutateKeywordPlanCampaignsResponse='google.ads.google_ads.v2.proto.services.keyword_plan_campaign_service_pb2', - MutateKeywordPlanKeywordResult='google.ads.google_ads.v2.proto.services.keyword_plan_keyword_service_pb2', - MutateKeywordPlanKeywordsRequest='google.ads.google_ads.v2.proto.services.keyword_plan_keyword_service_pb2', - MutateKeywordPlanKeywordsResponse='google.ads.google_ads.v2.proto.services.keyword_plan_keyword_service_pb2', - MutateKeywordPlanNegativeKeywordResult='google.ads.google_ads.v2.proto.services.keyword_plan_negative_keyword_service_pb2', - MutateKeywordPlanNegativeKeywordsRequest='google.ads.google_ads.v2.proto.services.keyword_plan_negative_keyword_service_pb2', - MutateKeywordPlanNegativeKeywordsResponse='google.ads.google_ads.v2.proto.services.keyword_plan_negative_keyword_service_pb2', - MutateKeywordPlansRequest='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - MutateKeywordPlansResponse='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - MutateKeywordPlansResult='google.ads.google_ads.v2.proto.services.keyword_plan_service_pb2', - MutateLabelResult='google.ads.google_ads.v2.proto.services.label_service_pb2', - MutateLabelsRequest='google.ads.google_ads.v2.proto.services.label_service_pb2', - MutateLabelsResponse='google.ads.google_ads.v2.proto.services.label_service_pb2', - MutateMediaFileResult='google.ads.google_ads.v2.proto.services.media_file_service_pb2', - MutateMediaFilesRequest='google.ads.google_ads.v2.proto.services.media_file_service_pb2', - MutateMediaFilesResponse='google.ads.google_ads.v2.proto.services.media_file_service_pb2', - MutateMerchantCenterLinkRequest='google.ads.google_ads.v2.proto.services.merchant_center_link_service_pb2', - MutateMerchantCenterLinkResponse='google.ads.google_ads.v2.proto.services.merchant_center_link_service_pb2', - MutateMerchantCenterLinkResult='google.ads.google_ads.v2.proto.services.merchant_center_link_service_pb2', - MutateOperation='google.ads.google_ads.v2.proto.services.google_ads_service_pb2', - MutateOperationResponse='google.ads.google_ads.v2.proto.services.google_ads_service_pb2', - MutateRemarketingActionResult='google.ads.google_ads.v2.proto.services.remarketing_action_service_pb2', - MutateRemarketingActionsRequest='google.ads.google_ads.v2.proto.services.remarketing_action_service_pb2', - MutateRemarketingActionsResponse='google.ads.google_ads.v2.proto.services.remarketing_action_service_pb2', - MutateSharedCriteriaRequest='google.ads.google_ads.v2.proto.services.shared_criterion_service_pb2', - MutateSharedCriteriaResponse='google.ads.google_ads.v2.proto.services.shared_criterion_service_pb2', - MutateSharedCriterionResult='google.ads.google_ads.v2.proto.services.shared_criterion_service_pb2', - MutateSharedSetResult='google.ads.google_ads.v2.proto.services.shared_set_service_pb2', - MutateSharedSetsRequest='google.ads.google_ads.v2.proto.services.shared_set_service_pb2', - MutateSharedSetsResponse='google.ads.google_ads.v2.proto.services.shared_set_service_pb2', - MutateUserListResult='google.ads.google_ads.v2.proto.services.user_list_service_pb2', - MutateUserListsRequest='google.ads.google_ads.v2.proto.services.user_list_service_pb2', - MutateUserListsResponse='google.ads.google_ads.v2.proto.services.user_list_service_pb2', - NegativeGeoTargetTypeEnum='google.ads.google_ads.v2.proto.enums.negative_geo_target_type_pb2', - NewResourceCreationErrorEnum='google.ads.google_ads.v2.proto.errors.new_resource_creation_error_pb2', - NotEmptyErrorEnum='google.ads.google_ads.v2.proto.errors.not_empty_error_pb2', - NotWhitelistedErrorEnum='google.ads.google_ads.v2.proto.errors.not_whitelisted_error_pb2', - NullErrorEnum='google.ads.google_ads.v2.proto.errors.null_error_pb2', - OnTargetAudienceMetrics='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - Operand='google.ads.google_ads.v2.proto.common.matching_function_pb2', - OperatingSystemVersionConstant='google.ads.google_ads.v2.proto.resources.operating_system_version_constant_pb2', - OperatingSystemVersionInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - OperatingSystemVersionOperatorTypeEnum='google.ads.google_ads.v2.proto.enums.operating_system_version_operator_type_pb2', - OperationAccessDeniedErrorEnum='google.ads.google_ads.v2.proto.errors.operation_access_denied_error_pb2', - OperatorErrorEnum='google.ads.google_ads.v2.proto.errors.operator_error_pb2', - PageOnePromoted='google.ads.google_ads.v2.proto.common.bidding_pb2', - PageOnePromotedStrategyGoalEnum='google.ads.google_ads.v2.proto.enums.page_one_promoted_strategy_goal_pb2', - PaidOrganicSearchTermView='google.ads.google_ads.v2.proto.resources.paid_organic_search_term_view_pb2', - ParentalStatusInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ParentalStatusTypeEnum='google.ads.google_ads.v2.proto.enums.parental_status_type_pb2', - ParentalStatusView='google.ads.google_ads.v2.proto.resources.parental_status_view_pb2', - PartialFailureErrorEnum='google.ads.google_ads.v2.proto.errors.partial_failure_error_pb2', - PaymentModeEnum='google.ads.google_ads.v2.proto.enums.payment_mode_pb2', - PaymentsAccount='google.ads.google_ads.v2.proto.resources.payments_account_pb2', - PercentCpc='google.ads.google_ads.v2.proto.common.bidding_pb2', - PlaceholderTypeEnum='google.ads.google_ads.v2.proto.enums.placeholder_type_pb2', - PlacementInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - PlacementTypeEnum='google.ads.google_ads.v2.proto.enums.placement_type_pb2', - PlannableLocation='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - PlannableTargeting='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - PlannedProduct='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - PolicyApprovalStatusEnum='google.ads.google_ads.v2.proto.enums.policy_approval_status_pb2', - PolicyFindingDetails='google.ads.google_ads.v2.proto.errors.errors_pb2', - PolicyFindingErrorEnum='google.ads.google_ads.v2.proto.errors.policy_finding_error_pb2', - PolicyReviewStatusEnum='google.ads.google_ads.v2.proto.enums.policy_review_status_pb2', - PolicyTopicConstraint='google.ads.google_ads.v2.proto.common.policy_pb2', - PolicyTopicEntry='google.ads.google_ads.v2.proto.common.policy_pb2', - PolicyTopicEntryTypeEnum='google.ads.google_ads.v2.proto.enums.policy_topic_entry_type_pb2', - PolicyTopicEvidence='google.ads.google_ads.v2.proto.common.policy_pb2', - PolicyTopicEvidenceDestinationMismatchUrlTypeEnum='google.ads.google_ads.v2.proto.enums.policy_topic_evidence_destination_mismatch_url_type_pb2', - PolicyTopicEvidenceDestinationNotWorkingDeviceEnum='google.ads.google_ads.v2.proto.enums.policy_topic_evidence_destination_not_working_device_pb2', - PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum='google.ads.google_ads.v2.proto.enums.policy_topic_evidence_destination_not_working_dns_error_type_pb2', - PolicyValidationParameter='google.ads.google_ads.v2.proto.common.policy_pb2', - PolicyValidationParameterErrorEnum='google.ads.google_ads.v2.proto.errors.policy_validation_parameter_error_pb2', - PolicyViolationDetails='google.ads.google_ads.v2.proto.errors.errors_pb2', - PolicyViolationErrorEnum='google.ads.google_ads.v2.proto.errors.policy_violation_error_pb2', - PolicyViolationKey='google.ads.google_ads.v2.proto.common.policy_pb2', - PositiveGeoTargetTypeEnum='google.ads.google_ads.v2.proto.enums.positive_geo_target_type_pb2', - Preferences='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - PreferredContentInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - PreferredContentTypeEnum='google.ads.google_ads.v2.proto.enums.preferred_content_type_pb2', - PriceExtensionPriceQualifierEnum='google.ads.google_ads.v2.proto.enums.price_extension_price_qualifier_pb2', - PriceExtensionPriceUnitEnum='google.ads.google_ads.v2.proto.enums.price_extension_price_unit_pb2', - PriceExtensionTypeEnum='google.ads.google_ads.v2.proto.enums.price_extension_type_pb2', - PriceFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - PriceOffer='google.ads.google_ads.v2.proto.common.extensions_pb2', - PricePlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.price_placeholder_field_pb2', - ProductAllocation='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - ProductBiddingCategoryConstant='google.ads.google_ads.v2.proto.resources.product_bidding_category_constant_pb2', - ProductBiddingCategoryInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ProductBiddingCategoryLevelEnum='google.ads.google_ads.v2.proto.enums.product_bidding_category_level_pb2', - ProductBiddingCategoryStatusEnum='google.ads.google_ads.v2.proto.enums.product_bidding_category_status_pb2', - ProductChannelEnum='google.ads.google_ads.v2.proto.enums.product_channel_pb2', - ProductChannelExclusivityEnum='google.ads.google_ads.v2.proto.enums.product_channel_exclusivity_pb2', - ProductChannelExclusivityInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ProductChannelInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ProductConditionEnum='google.ads.google_ads.v2.proto.enums.product_condition_pb2', - ProductConditionInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ProductGroupView='google.ads.google_ads.v2.proto.resources.product_group_view_pb2', - ProductImage='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - ProductItemIdInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ProductMetadata='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - ProductTypeInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ProductTypeLevelEnum='google.ads.google_ads.v2.proto.enums.product_type_level_pb2', - ProductVideo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - PromoteCampaignDraftRequest='google.ads.google_ads.v2.proto.services.campaign_draft_service_pb2', - PromoteCampaignExperimentRequest='google.ads.google_ads.v2.proto.services.campaign_experiment_service_pb2', - PromotionExtensionDiscountModifierEnum='google.ads.google_ads.v2.proto.enums.promotion_extension_discount_modifier_pb2', - PromotionExtensionOccasionEnum='google.ads.google_ads.v2.proto.enums.promotion_extension_occasion_pb2', - PromotionFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - PromotionPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.promotion_placeholder_field_pb2', - ProximityInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - ProximityRadiusUnitsEnum='google.ads.google_ads.v2.proto.enums.proximity_radius_units_pb2', - QualityScoreBucketEnum='google.ads.google_ads.v2.proto.enums.quality_score_bucket_pb2', - QueryErrorEnum='google.ads.google_ads.v2.proto.errors.query_error_pb2', - QuotaErrorEnum='google.ads.google_ads.v2.proto.errors.quota_error_pb2', - RangeErrorEnum='google.ads.google_ads.v2.proto.errors.range_error_pb2', - ReachCurve='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - ReachForecast='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - ReachPlanAdLengthEnum='google.ads.google_ads.v2.proto.enums.reach_plan_ad_length_pb2', - ReachPlanAgeRangeEnum='google.ads.google_ads.v2.proto.enums.reach_plan_age_range_pb2', - ReachPlanErrorEnum='google.ads.google_ads.v2.proto.errors.reach_plan_error_pb2', - RealEstatePlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.real_estate_placeholder_field_pb2', - RealTimeBiddingSetting='google.ads.google_ads.v2.proto.common.real_time_bidding_setting_pb2', - Recommendation='google.ads.google_ads.v2.proto.resources.recommendation_pb2', - RecommendationErrorEnum='google.ads.google_ads.v2.proto.errors.recommendation_error_pb2', - RecommendationTypeEnum='google.ads.google_ads.v2.proto.enums.recommendation_type_pb2', - RegionCodeErrorEnum='google.ads.google_ads.v2.proto.errors.region_code_error_pb2', - RemarketingAction='google.ads.google_ads.v2.proto.resources.remarketing_action_pb2', - RemarketingActionOperation='google.ads.google_ads.v2.proto.services.remarketing_action_service_pb2', - RemarketingSetting='google.ads.google_ads.v2.proto.resources.customer_pb2', - RequestErrorEnum='google.ads.google_ads.v2.proto.errors.request_error_pb2', - ResourceAccessDeniedErrorEnum='google.ads.google_ads.v2.proto.errors.resource_access_denied_error_pb2', - ResourceCountLimitExceededErrorEnum='google.ads.google_ads.v2.proto.errors.resource_count_limit_exceeded_error_pb2', - ResponsiveDisplayAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - ResponsiveSearchAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - RestatementValue='google.ads.google_ads.v2.proto.services.conversion_adjustment_upload_service_pb2', - RuleBasedUserListInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - RunMutateJobRequest='google.ads.google_ads.v2.proto.services.mutate_job_service_pb2', - SearchEngineResultsPageTypeEnum='google.ads.google_ads.v2.proto.enums.search_engine_results_page_type_pb2', - SearchGoogleAdsFieldsRequest='google.ads.google_ads.v2.proto.services.google_ads_field_service_pb2', - SearchGoogleAdsFieldsResponse='google.ads.google_ads.v2.proto.services.google_ads_field_service_pb2', - SearchGoogleAdsRequest='google.ads.google_ads.v2.proto.services.google_ads_service_pb2', - SearchGoogleAdsResponse='google.ads.google_ads.v2.proto.services.google_ads_service_pb2', - SearchTermMatchTypeEnum='google.ads.google_ads.v2.proto.enums.search_term_match_type_pb2', - SearchTermTargetingStatusEnum='google.ads.google_ads.v2.proto.enums.search_term_targeting_status_pb2', - SearchTermView='google.ads.google_ads.v2.proto.resources.search_term_view_pb2', - Segments='google.ads.google_ads.v2.proto.common.segments_pb2', - ServedAssetFieldTypeEnum='google.ads.google_ads.v2.proto.enums.served_asset_field_type_pb2', - SettingErrorEnum='google.ads.google_ads.v2.proto.errors.setting_error_pb2', - SharedCriterion='google.ads.google_ads.v2.proto.resources.shared_criterion_pb2', - SharedCriterionErrorEnum='google.ads.google_ads.v2.proto.errors.shared_criterion_error_pb2', - SharedCriterionOperation='google.ads.google_ads.v2.proto.services.shared_criterion_service_pb2', - SharedSet='google.ads.google_ads.v2.proto.resources.shared_set_pb2', - SharedSetErrorEnum='google.ads.google_ads.v2.proto.errors.shared_set_error_pb2', - SharedSetOperation='google.ads.google_ads.v2.proto.services.shared_set_service_pb2', - SharedSetStatusEnum='google.ads.google_ads.v2.proto.enums.shared_set_status_pb2', - SharedSetTypeEnum='google.ads.google_ads.v2.proto.enums.shared_set_type_pb2', - ShoppingComparisonListingAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - ShoppingPerformanceView='google.ads.google_ads.v2.proto.resources.shopping_performance_view_pb2', - ShoppingProductAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - ShoppingSmartAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - SimilarUserListInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - SimulationModificationMethodEnum='google.ads.google_ads.v2.proto.enums.simulation_modification_method_pb2', - SimulationTypeEnum='google.ads.google_ads.v2.proto.enums.simulation_type_pb2', - SitelinkFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - SitelinkPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.sitelink_placeholder_field_pb2', - SizeLimitErrorEnum='google.ads.google_ads.v2.proto.errors.size_limit_error_pb2', - SlotEnum='google.ads.google_ads.v2.proto.enums.slot_pb2', - SpendingLimitTypeEnum='google.ads.google_ads.v2.proto.enums.spending_limit_type_pb2', - StringFormatErrorEnum='google.ads.google_ads.v2.proto.errors.string_format_error_pb2', - StringLengthErrorEnum='google.ads.google_ads.v2.proto.errors.string_length_error_pb2', - StructuredSnippetFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - StructuredSnippetPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.structured_snippet_placeholder_field_pb2', - SuggestGeoTargetConstantsRequest='google.ads.google_ads.v2.proto.services.geo_target_constant_service_pb2', - SuggestGeoTargetConstantsResponse='google.ads.google_ads.v2.proto.services.geo_target_constant_service_pb2', - SystemManagedResourceSourceEnum='google.ads.google_ads.v2.proto.enums.system_managed_entity_source_pb2', - TagSnippet='google.ads.google_ads.v2.proto.common.tag_snippet_pb2', - TargetCpa='google.ads.google_ads.v2.proto.common.bidding_pb2', - TargetCpaOptInRecommendationGoalEnum='google.ads.google_ads.v2.proto.enums.target_cpa_opt_in_recommendation_goal_pb2', - TargetCpaSimulationPoint='google.ads.google_ads.v2.proto.common.simulation_pb2', - TargetCpaSimulationPointList='google.ads.google_ads.v2.proto.common.simulation_pb2', - TargetCpm='google.ads.google_ads.v2.proto.common.bidding_pb2', - TargetImpressionShare='google.ads.google_ads.v2.proto.common.bidding_pb2', - TargetImpressionShareLocationEnum='google.ads.google_ads.v2.proto.enums.target_impression_share_location_pb2', - TargetOutrankShare='google.ads.google_ads.v2.proto.common.bidding_pb2', - TargetRestriction='google.ads.google_ads.v2.proto.common.targeting_setting_pb2', - TargetRoas='google.ads.google_ads.v2.proto.common.bidding_pb2', - TargetSpend='google.ads.google_ads.v2.proto.common.bidding_pb2', - Targeting='google.ads.google_ads.v2.proto.services.reach_plan_service_pb2', - TargetingDimensionEnum='google.ads.google_ads.v2.proto.enums.targeting_dimension_pb2', - TargetingSetting='google.ads.google_ads.v2.proto.common.targeting_setting_pb2', - TextAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - TextAsset='google.ads.google_ads.v2.proto.common.asset_types_pb2', - TextLabel='google.ads.google_ads.v2.proto.common.text_label_pb2', - TextMessageFeedItem='google.ads.google_ads.v2.proto.common.extensions_pb2', - TimeTypeEnum='google.ads.google_ads.v2.proto.enums.time_type_pb2', - TopicConstant='google.ads.google_ads.v2.proto.resources.topic_constant_pb2', - TopicInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - TopicView='google.ads.google_ads.v2.proto.resources.topic_view_pb2', - TrackingCodePageFormatEnum='google.ads.google_ads.v2.proto.enums.tracking_code_page_format_pb2', - TrackingCodeTypeEnum='google.ads.google_ads.v2.proto.enums.tracking_code_type_pb2', - TravelPlaceholderFieldEnum='google.ads.google_ads.v2.proto.enums.travel_placeholder_field_pb2', - UnknownListingDimensionInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - UploadCallConversionsRequest='google.ads.google_ads.v2.proto.services.conversion_upload_service_pb2', - UploadCallConversionsResponse='google.ads.google_ads.v2.proto.services.conversion_upload_service_pb2', - UploadClickConversionsRequest='google.ads.google_ads.v2.proto.services.conversion_upload_service_pb2', - UploadClickConversionsResponse='google.ads.google_ads.v2.proto.services.conversion_upload_service_pb2', - UploadConversionAdjustmentsRequest='google.ads.google_ads.v2.proto.services.conversion_adjustment_upload_service_pb2', - UploadConversionAdjustmentsResponse='google.ads.google_ads.v2.proto.services.conversion_adjustment_upload_service_pb2', - UrlCollection='google.ads.google_ads.v2.proto.common.url_collection_pb2', - UrlFieldErrorEnum='google.ads.google_ads.v2.proto.errors.url_field_error_pb2', - UrlSeed='google.ads.google_ads.v2.proto.services.keyword_plan_idea_service_pb2', - UserInterest='google.ads.google_ads.v2.proto.resources.user_interest_pb2', - UserInterestInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - UserInterestTaxonomyTypeEnum='google.ads.google_ads.v2.proto.enums.user_interest_taxonomy_type_pb2', - UserList='google.ads.google_ads.v2.proto.resources.user_list_pb2', - UserListAccessStatusEnum='google.ads.google_ads.v2.proto.enums.user_list_access_status_pb2', - UserListActionInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - UserListClosingReasonEnum='google.ads.google_ads.v2.proto.enums.user_list_closing_reason_pb2', - UserListCombinedRuleOperatorEnum='google.ads.google_ads.v2.proto.enums.user_list_combined_rule_operator_pb2', - UserListCrmDataSourceTypeEnum='google.ads.google_ads.v2.proto.enums.user_list_crm_data_source_type_pb2', - UserListDateRuleItemInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - UserListDateRuleItemOperatorEnum='google.ads.google_ads.v2.proto.enums.user_list_date_rule_item_operator_pb2', - UserListErrorEnum='google.ads.google_ads.v2.proto.errors.user_list_error_pb2', - UserListInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - UserListLogicalRuleInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - UserListLogicalRuleOperatorEnum='google.ads.google_ads.v2.proto.enums.user_list_logical_rule_operator_pb2', - UserListMembershipStatusEnum='google.ads.google_ads.v2.proto.enums.user_list_membership_status_pb2', - UserListNumberRuleItemInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - UserListNumberRuleItemOperatorEnum='google.ads.google_ads.v2.proto.enums.user_list_number_rule_item_operator_pb2', - UserListOperation='google.ads.google_ads.v2.proto.services.user_list_service_pb2', - UserListPrepopulationStatusEnum='google.ads.google_ads.v2.proto.enums.user_list_prepopulation_status_pb2', - UserListRuleInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - UserListRuleItemGroupInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - UserListRuleItemInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - UserListRuleTypeEnum='google.ads.google_ads.v2.proto.enums.user_list_rule_type_pb2', - UserListSizeRangeEnum='google.ads.google_ads.v2.proto.enums.user_list_size_range_pb2', - UserListStringRuleItemInfo='google.ads.google_ads.v2.proto.common.user_lists_pb2', - UserListStringRuleItemOperatorEnum='google.ads.google_ads.v2.proto.enums.user_list_string_rule_item_operator_pb2', - UserListTypeEnum='google.ads.google_ads.v2.proto.enums.user_list_type_pb2', - UserLocationView='google.ads.google_ads.v2.proto.resources.user_location_view_pb2', - Value='google.ads.google_ads.v2.proto.common.value_pb2', - VanityPharmaDisplayUrlModeEnum='google.ads.google_ads.v2.proto.enums.vanity_pharma_display_url_mode_pb2', - VanityPharmaTextEnum='google.ads.google_ads.v2.proto.enums.vanity_pharma_text_pb2', - Video='google.ads.google_ads.v2.proto.resources.video_pb2', - VideoAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - VideoBumperInStreamAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - VideoNonSkippableInStreamAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - VideoOutstreamAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - VideoTrueViewInStreamAdInfo='google.ads.google_ads.v2.proto.common.ad_type_infos_pb2', - WebpageConditionInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - WebpageConditionOperandEnum='google.ads.google_ads.v2.proto.enums.webpage_condition_operand_pb2', - WebpageConditionOperatorEnum='google.ads.google_ads.v2.proto.enums.webpage_condition_operator_pb2', - WebpageInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - YouTubeChannelInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - YouTubeVideoInfo='google.ads.google_ads.v2.proto.common.criteria_pb2', - YoutubeVideoAsset='google.ads.google_ads.v2.proto.common.asset_types_pb2', - YoutubeVideoRegistrationErrorEnum='google.ads.google_ads.v2.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/google/ads/google_ads/v6/__init__.py b/google/ads/google_ads/v6/__init__.py new file mode 100644 index 000000000..a376b3b24 --- /dev/null +++ b/google/ads/google_ads/v6/__init__.py @@ -0,0 +1,308 @@ +# 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 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( + account_budget_proposal_service_client='google.ads.google_ads.v6.services', + account_budget_service_client='google.ads.google_ads.v6.services', + account_link_service_client='google.ads.google_ads.v6.services', + ad_group_ad_asset_view_service_client='google.ads.google_ads.v6.services', + ad_group_ad_label_service_client='google.ads.google_ads.v6.services', + ad_group_ad_service_client='google.ads.google_ads.v6.services', + ad_group_audience_view_service_client='google.ads.google_ads.v6.services', + ad_group_bid_modifier_service_client='google.ads.google_ads.v6.services', + ad_group_criterion_label_service_client='google.ads.google_ads.v6.services', + ad_group_criterion_service_client='google.ads.google_ads.v6.services', + ad_group_criterion_simulation_service_client='google.ads.google_ads.v6.services', + ad_group_extension_setting_service_client='google.ads.google_ads.v6.services', + ad_group_feed_service_client='google.ads.google_ads.v6.services', + ad_group_label_service_client='google.ads.google_ads.v6.services', + ad_group_service_client='google.ads.google_ads.v6.services', + ad_group_simulation_service_client='google.ads.google_ads.v6.services', + ad_parameter_service_client='google.ads.google_ads.v6.services', + ad_schedule_view_service_client='google.ads.google_ads.v6.services', + ad_service_client='google.ads.google_ads.v6.services', + age_range_view_service_client='google.ads.google_ads.v6.services', + asset_service_client='google.ads.google_ads.v6.services', + batch_job_service_client='google.ads.google_ads.v6.services', + bidding_strategy_service_client='google.ads.google_ads.v6.services', + billing_setup_service_client='google.ads.google_ads.v6.services', + campaign_asset_service_client='google.ads.google_ads.v6.services', + campaign_audience_view_service_client='google.ads.google_ads.v6.services', + campaign_bid_modifier_service_client='google.ads.google_ads.v6.services', + campaign_budget_service_client='google.ads.google_ads.v6.services', + campaign_criterion_service_client='google.ads.google_ads.v6.services', + campaign_criterion_simulation_service_client='google.ads.google_ads.v6.services', + campaign_draft_service_client='google.ads.google_ads.v6.services', + campaign_experiment_service_client='google.ads.google_ads.v6.services', + campaign_extension_setting_service_client='google.ads.google_ads.v6.services', + campaign_feed_service_client='google.ads.google_ads.v6.services', + campaign_label_service_client='google.ads.google_ads.v6.services', + campaign_service_client='google.ads.google_ads.v6.services', + campaign_shared_set_service_client='google.ads.google_ads.v6.services', + carrier_constant_service_client='google.ads.google_ads.v6.services', + change_status_service_client='google.ads.google_ads.v6.services', + click_view_service_client='google.ads.google_ads.v6.services', + combined_audience_service_client='google.ads.google_ads.v6.services', + conversion_action_service_client='google.ads.google_ads.v6.services', + conversion_adjustment_upload_service_client='google.ads.google_ads.v6.services', + conversion_upload_service_client='google.ads.google_ads.v6.services', + currency_constant_service_client='google.ads.google_ads.v6.services', + custom_audience_service_client='google.ads.google_ads.v6.services', + custom_interest_service_client='google.ads.google_ads.v6.services', + customer_client_link_service_client='google.ads.google_ads.v6.services', + customer_client_service_client='google.ads.google_ads.v6.services', + customer_extension_setting_service_client='google.ads.google_ads.v6.services', + customer_feed_service_client='google.ads.google_ads.v6.services', + customer_label_service_client='google.ads.google_ads.v6.services', + customer_manager_link_service_client='google.ads.google_ads.v6.services', + customer_negative_criterion_service_client='google.ads.google_ads.v6.services', + customer_service_client='google.ads.google_ads.v6.services', + customer_user_access_service_client='google.ads.google_ads.v6.services', + detail_placement_view_service_client='google.ads.google_ads.v6.services', + display_keyword_view_service_client='google.ads.google_ads.v6.services', + distance_view_service_client='google.ads.google_ads.v6.services', + domain_category_service_client='google.ads.google_ads.v6.services', + dynamic_search_ads_search_term_view_service_client='google.ads.google_ads.v6.services', + expanded_landing_page_view_service_client='google.ads.google_ads.v6.services', + extension_feed_item_service_client='google.ads.google_ads.v6.services', + feed_item_service_client='google.ads.google_ads.v6.services', + feed_item_set_link_service_client='google.ads.google_ads.v6.services', + feed_item_set_service_client='google.ads.google_ads.v6.services', + feed_item_target_service_client='google.ads.google_ads.v6.services', + feed_mapping_service_client='google.ads.google_ads.v6.services', + feed_placeholder_view_service_client='google.ads.google_ads.v6.services', + feed_service_client='google.ads.google_ads.v6.services', + gender_view_service_client='google.ads.google_ads.v6.services', + geo_target_constant_service_client='google.ads.google_ads.v6.services', + geographic_view_service_client='google.ads.google_ads.v6.services', + google_ads_field_service_client='google.ads.google_ads.v6.services', + google_ads_service_client='google.ads.google_ads.v6.services', + group_placement_view_service_client='google.ads.google_ads.v6.services', + hotel_group_view_service_client='google.ads.google_ads.v6.services', + hotel_performance_view_service_client='google.ads.google_ads.v6.services', + income_range_view_service_client='google.ads.google_ads.v6.services', + invoice_service_client='google.ads.google_ads.v6.services', + keyword_plan_ad_group_keyword_service_client='google.ads.google_ads.v6.services', + keyword_plan_ad_group_service_client='google.ads.google_ads.v6.services', + keyword_plan_campaign_keyword_service_client='google.ads.google_ads.v6.services', + keyword_plan_campaign_service_client='google.ads.google_ads.v6.services', + keyword_plan_idea_service_client='google.ads.google_ads.v6.services', + keyword_plan_service_client='google.ads.google_ads.v6.services', + keyword_view_service_client='google.ads.google_ads.v6.services', + label_service_client='google.ads.google_ads.v6.services', + landing_page_view_service_client='google.ads.google_ads.v6.services', + language_constant_service_client='google.ads.google_ads.v6.services', + location_view_service_client='google.ads.google_ads.v6.services', + managed_placement_view_service_client='google.ads.google_ads.v6.services', + media_file_service_client='google.ads.google_ads.v6.services', + merchant_center_link_service_client='google.ads.google_ads.v6.services', + mobile_app_category_constant_service_client='google.ads.google_ads.v6.services', + mobile_device_constant_service_client='google.ads.google_ads.v6.services', + offline_user_data_job_service_client='google.ads.google_ads.v6.services', + operating_system_version_constant_service_client='google.ads.google_ads.v6.services', + paid_organic_search_term_view_service_client='google.ads.google_ads.v6.services', + parental_status_view_service_client='google.ads.google_ads.v6.services', + payments_account_service_client='google.ads.google_ads.v6.services', + product_bidding_category_constant_service_client='google.ads.google_ads.v6.services', + product_group_view_service_client='google.ads.google_ads.v6.services', + reach_plan_service_client='google.ads.google_ads.v6.services', + recommendation_service_client='google.ads.google_ads.v6.services', + remarketing_action_service_client='google.ads.google_ads.v6.services', + search_term_view_service_client='google.ads.google_ads.v6.services', + shared_criterion_service_client='google.ads.google_ads.v6.services', + shared_set_service_client='google.ads.google_ads.v6.services', + shopping_performance_view_service_client='google.ads.google_ads.v6.services', + third_party_app_analytics_link_service_client='google.ads.google_ads.v6.services', + topic_constant_service_client='google.ads.google_ads.v6.services', + topic_view_service_client='google.ads.google_ads.v6.services', + user_data_service_client='google.ads.google_ads.v6.services', + user_interest_service_client='google.ads.google_ads.v6.services', + user_list_service_client='google.ads.google_ads.v6.services', + user_location_view_service_client='google.ads.google_ads.v6.services', + video_service_client='google.ads.google_ads.v6.services', + account_budget_proposal_service_grpc_transport='google.ads.google_ads.v6.services.transports', + account_budget_service_grpc_transport='google.ads.google_ads.v6.services.transports', + account_link_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_ad_asset_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_ad_label_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_ad_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_audience_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_bid_modifier_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_criterion_label_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_criterion_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_criterion_simulation_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_extension_setting_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_feed_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_label_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_group_simulation_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_parameter_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_schedule_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + ad_service_grpc_transport='google.ads.google_ads.v6.services.transports', + age_range_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + asset_service_grpc_transport='google.ads.google_ads.v6.services.transports', + batch_job_service_grpc_transport='google.ads.google_ads.v6.services.transports', + bidding_strategy_service_grpc_transport='google.ads.google_ads.v6.services.transports', + billing_setup_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_asset_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_audience_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_bid_modifier_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_budget_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_criterion_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_criterion_simulation_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_draft_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_experiment_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_extension_setting_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_feed_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_label_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_service_grpc_transport='google.ads.google_ads.v6.services.transports', + campaign_shared_set_service_grpc_transport='google.ads.google_ads.v6.services.transports', + carrier_constant_service_grpc_transport='google.ads.google_ads.v6.services.transports', + change_status_service_grpc_transport='google.ads.google_ads.v6.services.transports', + click_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + combined_audience_service_grpc_transport='google.ads.google_ads.v6.services.transports', + conversion_action_service_grpc_transport='google.ads.google_ads.v6.services.transports', + conversion_adjustment_upload_service_grpc_transport='google.ads.google_ads.v6.services.transports', + conversion_upload_service_grpc_transport='google.ads.google_ads.v6.services.transports', + currency_constant_service_grpc_transport='google.ads.google_ads.v6.services.transports', + custom_audience_service_grpc_transport='google.ads.google_ads.v6.services.transports', + custom_interest_service_grpc_transport='google.ads.google_ads.v6.services.transports', + customer_client_link_service_grpc_transport='google.ads.google_ads.v6.services.transports', + customer_client_service_grpc_transport='google.ads.google_ads.v6.services.transports', + customer_extension_setting_service_grpc_transport='google.ads.google_ads.v6.services.transports', + customer_feed_service_grpc_transport='google.ads.google_ads.v6.services.transports', + customer_label_service_grpc_transport='google.ads.google_ads.v6.services.transports', + customer_manager_link_service_grpc_transport='google.ads.google_ads.v6.services.transports', + customer_negative_criterion_service_grpc_transport='google.ads.google_ads.v6.services.transports', + customer_service_grpc_transport='google.ads.google_ads.v6.services.transports', + customer_user_access_service_grpc_transport='google.ads.google_ads.v6.services.transports', + detail_placement_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + display_keyword_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + distance_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + domain_category_service_grpc_transport='google.ads.google_ads.v6.services.transports', + dynamic_search_ads_search_term_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + expanded_landing_page_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + extension_feed_item_service_grpc_transport='google.ads.google_ads.v6.services.transports', + feed_item_service_grpc_transport='google.ads.google_ads.v6.services.transports', + feed_item_set_link_service_grpc_transport='google.ads.google_ads.v6.services.transports', + feed_item_set_service_grpc_transport='google.ads.google_ads.v6.services.transports', + feed_item_target_service_grpc_transport='google.ads.google_ads.v6.services.transports', + feed_mapping_service_grpc_transport='google.ads.google_ads.v6.services.transports', + feed_placeholder_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + feed_service_grpc_transport='google.ads.google_ads.v6.services.transports', + gender_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + geo_target_constant_service_grpc_transport='google.ads.google_ads.v6.services.transports', + geographic_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + google_ads_field_service_grpc_transport='google.ads.google_ads.v6.services.transports', + google_ads_service_grpc_transport='google.ads.google_ads.v6.services.transports', + group_placement_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + hotel_group_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + hotel_performance_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + income_range_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + invoice_service_grpc_transport='google.ads.google_ads.v6.services.transports', + keyword_plan_ad_group_keyword_service_grpc_transport='google.ads.google_ads.v6.services.transports', + keyword_plan_ad_group_service_grpc_transport='google.ads.google_ads.v6.services.transports', + keyword_plan_campaign_keyword_service_grpc_transport='google.ads.google_ads.v6.services.transports', + keyword_plan_campaign_service_grpc_transport='google.ads.google_ads.v6.services.transports', + keyword_plan_idea_service_grpc_transport='google.ads.google_ads.v6.services.transports', + keyword_plan_service_grpc_transport='google.ads.google_ads.v6.services.transports', + keyword_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + label_service_grpc_transport='google.ads.google_ads.v6.services.transports', + landing_page_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + language_constant_service_grpc_transport='google.ads.google_ads.v6.services.transports', + location_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + managed_placement_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + media_file_service_grpc_transport='google.ads.google_ads.v6.services.transports', + merchant_center_link_service_grpc_transport='google.ads.google_ads.v6.services.transports', + mobile_app_category_constant_service_grpc_transport='google.ads.google_ads.v6.services.transports', + mobile_device_constant_service_grpc_transport='google.ads.google_ads.v6.services.transports', + offline_user_data_job_service_grpc_transport='google.ads.google_ads.v6.services.transports', + operating_system_version_constant_service_grpc_transport='google.ads.google_ads.v6.services.transports', + paid_organic_search_term_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + parental_status_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + payments_account_service_grpc_transport='google.ads.google_ads.v6.services.transports', + product_bidding_category_constant_service_grpc_transport='google.ads.google_ads.v6.services.transports', + product_group_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + reach_plan_service_grpc_transport='google.ads.google_ads.v6.services.transports', + recommendation_service_grpc_transport='google.ads.google_ads.v6.services.transports', + remarketing_action_service_grpc_transport='google.ads.google_ads.v6.services.transports', + search_term_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + shared_criterion_service_grpc_transport='google.ads.google_ads.v6.services.transports', + shared_set_service_grpc_transport='google.ads.google_ads.v6.services.transports', + shopping_performance_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + third_party_app_analytics_link_service_grpc_transport='google.ads.google_ads.v6.services.transports', + topic_constant_service_grpc_transport='google.ads.google_ads.v6.services.transports', + topic_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + user_data_service_grpc_transport='google.ads.google_ads.v6.services.transports', + user_interest_service_grpc_transport='google.ads.google_ads.v6.services.transports', + user_list_service_grpc_transport='google.ads.google_ads.v6.services.transports', + user_location_view_service_grpc_transport='google.ads.google_ads.v6.services.transports', + video_service_grpc_transport='google.ads.google_ads.v6.services.transports', +) + + +# 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 _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.v6.services.enums' + module = importlib.import_module(path) + globals()[name] = module + return module + elif name == 'types': + path = 'google.ads.google_ads.v6.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/v2/proto/__init__.py b/google/ads/google_ads/v6/proto/__init__.py similarity index 100% rename from google/ads/google_ads/v2/proto/__init__.py rename to google/ads/google_ads/v6/proto/__init__.py diff --git a/google/ads/google_ads/v2/proto/common/__init__.py b/google/ads/google_ads/v6/proto/common/__init__.py similarity index 100% rename from google/ads/google_ads/v2/proto/common/__init__.py rename to google/ads/google_ads/v6/proto/common/__init__.py diff --git a/google/ads/google_ads/v6/proto/common/ad_asset_pb2.py b/google/ads/google_ads/v6/proto/common/ad_asset_pb2.py new file mode 100644 index 000000000..fa298df8e --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/ad_asset_pb2.py @@ -0,0 +1,290 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/ad_asset.proto + +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.v6.proto.common import asset_policy_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__policy__pb2 +from google.ads.google_ads.v6.proto.enums import asset_performance_label_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_asset__performance__label__pb2 +from google.ads.google_ads.v6.proto.enums import served_asset_field_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_served__asset__field__type__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/ad_asset.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\014AdAssetProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n3google/ads/googleads_v6/proto/common/ad_asset.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x37google/ads/googleads_v6/proto/common/asset_policy.proto\x1a\x41google/ads/googleads_v6/proto/enums/asset_performance_label.proto\x1a\x41google/ads/googleads_v6/proto/enums/served_asset_field_type.proto\x1a\x1cgoogle/api/annotations.proto\"\xd1\x02\n\x0b\x41\x64TextAsset\x12\x11\n\x04text\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x62\n\x0cpinned_field\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v6.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType\x12o\n\x17\x61sset_performance_label\x18\x05 \x01(\x0e\x32N.google.ads.googleads.v6.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel\x12Q\n\x13policy_summary_info\x18\x06 \x01(\x0b\x32\x34.google.ads.googleads.v6.common.AdAssetPolicySummaryB\x07\n\x05_text\",\n\x0c\x41\x64ImageAsset\x12\x12\n\x05\x61sset\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_asset\",\n\x0c\x41\x64VideoAsset\x12\x12\n\x05\x61sset\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_asset\"2\n\x12\x41\x64MediaBundleAsset\x12\x12\n\x05\x61sset\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_assetB\xe7\x01\n\"com.google.ads.googleads.v6.commonB\x0c\x41\x64\x41ssetProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_asset__performance__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_served__asset__field__type__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADTEXTASSET = _descriptor.Descriptor( + name='AdTextAsset', + full_name='google.ads.googleads.v6.common.AdTextAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='text', full_name='google.ads.googleads.v6.common.AdTextAsset.text', index=0, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='pinned_field', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='asset_performance_label', full_name='google.ads.googleads.v6.common.AdTextAsset.asset_performance_label', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='policy_summary_info', full_name='google.ads.googleads.v6.common.AdTextAsset.policy_summary_info', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_text', full_name='google.ads.googleads.v6.common.AdTextAsset._text', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=309, + serialized_end=646, +) + + +_ADIMAGEASSET = _descriptor.Descriptor( + name='AdImageAsset', + full_name='google.ads.googleads.v6.common.AdImageAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='asset', full_name='google.ads.googleads.v6.common.AdImageAsset.asset', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_asset', full_name='google.ads.googleads.v6.common.AdImageAsset._asset', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=648, + serialized_end=692, +) + + +_ADVIDEOASSET = _descriptor.Descriptor( + name='AdVideoAsset', + full_name='google.ads.googleads.v6.common.AdVideoAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='asset', full_name='google.ads.googleads.v6.common.AdVideoAsset.asset', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_asset', full_name='google.ads.googleads.v6.common.AdVideoAsset._asset', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=694, + serialized_end=738, +) + + +_ADMEDIABUNDLEASSET = _descriptor.Descriptor( + name='AdMediaBundleAsset', + full_name='google.ads.googleads.v6.common.AdMediaBundleAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='asset', full_name='google.ads.googleads.v6.common.AdMediaBundleAsset.asset', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_asset', full_name='google.ads.googleads.v6.common.AdMediaBundleAsset._asset', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=740, + serialized_end=790, +) + +_ADTEXTASSET.fields_by_name['pinned_field'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_served__asset__field__type__pb2._SERVEDASSETFIELDTYPEENUM_SERVEDASSETFIELDTYPE +_ADTEXTASSET.fields_by_name['asset_performance_label'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_asset__performance__label__pb2._ASSETPERFORMANCELABELENUM_ASSETPERFORMANCELABEL +_ADTEXTASSET.fields_by_name['policy_summary_info'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__policy__pb2._ADASSETPOLICYSUMMARY +_ADTEXTASSET.oneofs_by_name['_text'].fields.append( + _ADTEXTASSET.fields_by_name['text']) +_ADTEXTASSET.fields_by_name['text'].containing_oneof = _ADTEXTASSET.oneofs_by_name['_text'] +_ADIMAGEASSET.oneofs_by_name['_asset'].fields.append( + _ADIMAGEASSET.fields_by_name['asset']) +_ADIMAGEASSET.fields_by_name['asset'].containing_oneof = _ADIMAGEASSET.oneofs_by_name['_asset'] +_ADVIDEOASSET.oneofs_by_name['_asset'].fields.append( + _ADVIDEOASSET.fields_by_name['asset']) +_ADVIDEOASSET.fields_by_name['asset'].containing_oneof = _ADVIDEOASSET.oneofs_by_name['_asset'] +_ADMEDIABUNDLEASSET.oneofs_by_name['_asset'].fields.append( + _ADMEDIABUNDLEASSET.fields_by_name['asset']) +_ADMEDIABUNDLEASSET.fields_by_name['asset'].containing_oneof = _ADMEDIABUNDLEASSET.oneofs_by_name['_asset'] +DESCRIPTOR.message_types_by_name['AdTextAsset'] = _ADTEXTASSET +DESCRIPTOR.message_types_by_name['AdImageAsset'] = _ADIMAGEASSET +DESCRIPTOR.message_types_by_name['AdVideoAsset'] = _ADVIDEOASSET +DESCRIPTOR.message_types_by_name['AdMediaBundleAsset'] = _ADMEDIABUNDLEASSET +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdTextAsset = _reflection.GeneratedProtocolMessageType('AdTextAsset', (_message.Message,), { + 'DESCRIPTOR' : _ADTEXTASSET, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_asset_pb2' + , + '__doc__': """A text asset used inside an ad. + + Attributes: + text: + Asset text. + pinned_field: + The pinned field of the asset. This restricts the asset to + only serve within this field. Multiple assets can be pinned to + the same field. An asset that is unpinned or pinned to a + different field will not serve in a field where some other + asset has been pinned. + asset_performance_label: + The performance label of this text asset. + policy_summary_info: + The policy summary of this text asset. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AdTextAsset) + }) +_sym_db.RegisterMessage(AdTextAsset) + +AdImageAsset = _reflection.GeneratedProtocolMessageType('AdImageAsset', (_message.Message,), { + 'DESCRIPTOR' : _ADIMAGEASSET, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_asset_pb2' + , + '__doc__': """An image asset used inside an ad. + + Attributes: + asset: + The Asset resource name of this image. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AdImageAsset) + }) +_sym_db.RegisterMessage(AdImageAsset) + +AdVideoAsset = _reflection.GeneratedProtocolMessageType('AdVideoAsset', (_message.Message,), { + 'DESCRIPTOR' : _ADVIDEOASSET, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_asset_pb2' + , + '__doc__': """A video asset used inside an ad. + + Attributes: + asset: + The Asset resource name of this video. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AdVideoAsset) + }) +_sym_db.RegisterMessage(AdVideoAsset) + +AdMediaBundleAsset = _reflection.GeneratedProtocolMessageType('AdMediaBundleAsset', (_message.Message,), { + 'DESCRIPTOR' : _ADMEDIABUNDLEASSET, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_asset_pb2' + , + '__doc__': """A media bundle asset used inside an ad. + + Attributes: + asset: + The Asset resource name of this media bundle. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AdMediaBundleAsset) + }) +_sym_db.RegisterMessage(AdMediaBundleAsset) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/ad_asset_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/ad_asset_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/ad_asset_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/ad_type_infos_pb2.py b/google/ads/google_ads/v6/proto/common/ad_type_infos_pb2.py new file mode 100644 index 000000000..f8b8e2bc5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/ad_type_infos_pb2.py @@ -0,0 +1,3352 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/ad_type_infos.proto + +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.v6.proto.common import ad_asset_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2 +from google.ads.google_ads.v6.proto.enums import call_conversion_reporting_state_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2 +from google.ads.google_ads.v6.proto.enums import display_ad_format_setting_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_display__ad__format__setting__pb2 +from google.ads.google_ads.v6.proto.enums import display_upload_product_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_display__upload__product__type__pb2 +from google.ads.google_ads.v6.proto.enums import legacy_app_install_ad_app_store_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2 +from google.ads.google_ads.v6.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_mime__type__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/ad_type_infos.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\020AdTypeInfosProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/common/ad_type_infos.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x33google/ads/googleads_v6/proto/common/ad_asset.proto\x1aIgoogle/ads/googleads_v6/proto/enums/call_conversion_reporting_state.proto\x1a\x43google/ads/googleads_v6/proto/enums/display_ad_format_setting.proto\x1a\x45google/ads/googleads_v6/proto/enums/display_upload_product_type.proto\x1aIgoogle/ads/googleads_v6/proto/enums/legacy_app_install_ad_app_store.proto\x1a\x33google/ads/googleads_v6/proto/enums/mime_type.proto\x1a\x1cgoogle/api/annotations.proto\"\x88\x01\n\nTextAdInfo\x12\x15\n\x08headline\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x64\x65scription1\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0c\x64\x65scription2\x18\x06 \x01(\tH\x02\x88\x01\x01\x42\x0b\n\t_headlineB\x0f\n\r_description1B\x0f\n\r_description2\"\xb6\x02\n\x12\x45xpandedTextAdInfo\x12\x1b\n\x0eheadline_part1\x18\x08 \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x0eheadline_part2\x18\t \x01(\tH\x01\x88\x01\x01\x12\x1b\n\x0eheadline_part3\x18\n \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0b \x01(\tH\x03\x88\x01\x01\x12\x19\n\x0c\x64\x65scription2\x18\x0c \x01(\tH\x04\x88\x01\x01\x12\x12\n\x05path1\x18\r \x01(\tH\x05\x88\x01\x01\x12\x12\n\x05path2\x18\x0e \x01(\tH\x06\x88\x01\x01\x42\x11\n\x0f_headline_part1B\x11\n\x0f_headline_part2B\x11\n\x0f_headline_part3B\x0e\n\x0c_descriptionB\x0f\n\r_description2B\x08\n\x06_path1B\x08\n\x06_path2\"\xaf\x05\n\x0e\x43\x61llOnlyAdInfo\x12\x19\n\x0c\x63ountry_code\x18\r \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cphone_number\x18\x0e \x01(\tH\x01\x88\x01\x01\x12\x1a\n\rbusiness_name\x18\x0f \x01(\tH\x02\x88\x01\x01\x12\x16\n\theadline1\x18\x10 \x01(\tH\x03\x88\x01\x01\x12\x16\n\theadline2\x18\x11 \x01(\tH\x04\x88\x01\x01\x12\x19\n\x0c\x64\x65scription1\x18\x12 \x01(\tH\x05\x88\x01\x01\x12\x19\n\x0c\x64\x65scription2\x18\x13 \x01(\tH\x06\x88\x01\x01\x12\x19\n\x0c\x63\x61ll_tracked\x18\x14 \x01(\x08H\x07\x88\x01\x01\x12$\n\x17\x64isable_call_conversion\x18\x15 \x01(\x08H\x08\x88\x01\x01\x12*\n\x1dphone_number_verification_url\x18\x16 \x01(\tH\t\x88\x01\x01\x12\x1e\n\x11\x63onversion_action\x18\x17 \x01(\tH\n\x88\x01\x01\x12\x80\x01\n\x1a\x63onversion_reporting_state\x18\n \x01(\x0e\x32\\.google.ads.googleads.v6.enums.CallConversionReportingStateEnum.CallConversionReportingStateB\x0f\n\r_country_codeB\x0f\n\r_phone_numberB\x10\n\x0e_business_nameB\x0c\n\n_headline1B\x0c\n\n_headline2B\x0f\n\r_description1B\x0f\n\r_description2B\x0f\n\r_call_trackedB\x1a\n\x18_disable_call_conversionB \n\x1e_phone_number_verification_urlB\x14\n\x12_conversion_action\"s\n\x1b\x45xpandedDynamicSearchAdInfo\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x64\x65scription2\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x0f\n\r_description2\"\r\n\x0bHotelAdInfo\"\x15\n\x13ShoppingSmartAdInfo\"\x17\n\x15ShoppingProductAdInfo\"E\n\x1fShoppingComparisonListingAdInfo\x12\x15\n\x08headline\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_headline\"\xa7\x04\n\x0bGmailAdInfo\x12;\n\x06teaser\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v6.common.GmailTeaser\x12\x19\n\x0cheader_image\x18\n \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0fmarketing_image\x18\x0b \x01(\tH\x01\x88\x01\x01\x12%\n\x18marketing_image_headline\x18\x0c \x01(\tH\x02\x88\x01\x01\x12(\n\x1bmarketing_image_description\x18\r \x01(\tH\x03\x88\x01\x01\x12\x63\n&marketing_image_display_call_to_action\x18\x06 \x01(\x0b\x32\x33.google.ads.googleads.v6.common.DisplayCallToAction\x12\x44\n\x0eproduct_images\x18\x07 \x03(\x0b\x32,.google.ads.googleads.v6.common.ProductImage\x12\x44\n\x0eproduct_videos\x18\x08 \x03(\x0b\x32,.google.ads.googleads.v6.common.ProductVideoB\x0f\n\r_header_imageB\x12\n\x10_marketing_imageB\x1b\n\x19_marketing_image_headlineB\x1e\n\x1c_marketing_image_description\"\xb1\x01\n\x0bGmailTeaser\x12\x15\n\x08headline\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x1a\n\rbusiness_name\x18\x07 \x01(\tH\x02\x88\x01\x01\x12\x17\n\nlogo_image\x18\x08 \x01(\tH\x03\x88\x01\x01\x42\x0b\n\t_headlineB\x0e\n\x0c_descriptionB\x10\n\x0e_business_nameB\r\n\x0b_logo_image\"\x8f\x01\n\x13\x44isplayCallToAction\x12\x11\n\x04text\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x17\n\ntext_color\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x1e\n\x11url_collection_id\x18\x07 \x01(\tH\x02\x88\x01\x01\x42\x07\n\x05_textB\r\n\x0b_text_colorB\x14\n\x12_url_collection_id\"\xbb\x01\n\x0cProductImage\x12\x1a\n\rproduct_image\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x01\x88\x01\x01\x12S\n\x16\x64isplay_call_to_action\x18\x03 \x01(\x0b\x32\x33.google.ads.googleads.v6.common.DisplayCallToActionB\x10\n\x0e_product_imageB\x0e\n\x0c_description\"<\n\x0cProductVideo\x12\x1a\n\rproduct_video\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x10\n\x0e_product_video\"\xed\x03\n\x0bImageAdInfo\x12\x18\n\x0bpixel_width\x18\x0f \x01(\x03H\x01\x88\x01\x01\x12\x19\n\x0cpixel_height\x18\x10 \x01(\x03H\x02\x88\x01\x01\x12\x16\n\timage_url\x18\x11 \x01(\tH\x03\x88\x01\x01\x12 \n\x13preview_pixel_width\x18\x12 \x01(\x03H\x04\x88\x01\x01\x12!\n\x14preview_pixel_height\x18\x13 \x01(\x03H\x05\x88\x01\x01\x12\x1e\n\x11preview_image_url\x18\x14 \x01(\tH\x06\x88\x01\x01\x12G\n\tmime_type\x18\n \x01(\x0e\x32\x34.google.ads.googleads.v6.enums.MimeTypeEnum.MimeType\x12\x11\n\x04name\x18\x15 \x01(\tH\x07\x88\x01\x01\x12\x14\n\nmedia_file\x18\x0c \x01(\tH\x00\x12\x0e\n\x04\x64\x61ta\x18\r \x01(\x0cH\x00\x12\"\n\x18\x61\x64_id_to_copy_image_from\x18\x0e \x01(\x03H\x00\x42\x07\n\x05imageB\x0e\n\x0c_pixel_widthB\x0f\n\r_pixel_heightB\x0c\n\n_image_urlB\x16\n\x14_preview_pixel_widthB\x17\n\x15_preview_pixel_heightB\x14\n\x12_preview_image_urlB\x07\n\x05_name\"O\n\x19VideoBumperInStreamAdInfo\x12\x1d\n\x10\x63ompanion_banner\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_companion_banner\"U\n\x1fVideoNonSkippableInStreamAdInfo\x12\x1d\n\x10\x63ompanion_banner\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_companion_banner\"\xbd\x01\n\x1bVideoTrueViewInStreamAdInfo\x12 \n\x13\x61\x63tion_button_label\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0f\x61\x63tion_headline\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x1d\n\x10\x63ompanion_banner\x18\x06 \x01(\tH\x02\x88\x01\x01\x42\x16\n\x14_action_button_labelB\x12\n\x10_action_headlineB\x13\n\x11_companion_banner\"d\n\x14VideoOutstreamAdInfo\x12\x15\n\x08headline\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0b\n\t_headlineB\x0e\n\x0c_description\"\x9a\x01\n\x1cVideoTrueViewDiscoveryAdInfo\x12\x15\n\x08headline\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x64\x65scription1\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0c\x64\x65scription2\x18\x06 \x01(\tH\x02\x88\x01\x01\x42\x0b\n\t_headlineB\x0f\n\r_description1B\x0f\n\r_description2\"\xd7\x03\n\x0bVideoAdInfo\x12\x17\n\nmedia_file\x18\x07 \x01(\tH\x01\x88\x01\x01\x12P\n\tin_stream\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v6.common.VideoTrueViewInStreamAdInfoH\x00\x12K\n\x06\x62umper\x18\x03 \x01(\x0b\x32\x39.google.ads.googleads.v6.common.VideoBumperInStreamAdInfoH\x00\x12J\n\nout_stream\x18\x04 \x01(\x0b\x32\x34.google.ads.googleads.v6.common.VideoOutstreamAdInfoH\x00\x12X\n\rnon_skippable\x18\x05 \x01(\x0b\x32?.google.ads.googleads.v6.common.VideoNonSkippableInStreamAdInfoH\x00\x12Q\n\tdiscovery\x18\x06 \x01(\x0b\x32<.google.ads.googleads.v6.common.VideoTrueViewDiscoveryAdInfoH\x00\x42\x08\n\x06\x66ormatB\r\n\x0b_media_file\"\xac\x03\n\x15VideoResponsiveAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x43\n\x0elong_headlines\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x03 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x44\n\x0f\x63\x61ll_to_actions\x18\x04 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12<\n\x06videos\x18\x05 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdVideoAsset\x12G\n\x11\x63ompanion_banners\x18\x06 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdImageAsset\"\xd7\x01\n\x16ResponsiveSearchAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x12\n\x05path1\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05path2\x18\x06 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_path1B\x08\n\x06_path2\"\xad\x06\n\x1dLegacyResponsiveDisplayAdInfo\x12\x1b\n\x0eshort_headline\x18\x10 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rlong_headline\x18\x11 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x12 \x01(\tH\x02\x88\x01\x01\x12\x1a\n\rbusiness_name\x18\x13 \x01(\tH\x03\x88\x01\x01\x12!\n\x14\x61llow_flexible_color\x18\x14 \x01(\x08H\x04\x88\x01\x01\x12\x19\n\x0c\x61\x63\x63\x65nt_color\x18\x15 \x01(\tH\x05\x88\x01\x01\x12\x17\n\nmain_color\x18\x16 \x01(\tH\x06\x88\x01\x01\x12 \n\x13\x63\x61ll_to_action_text\x18\x17 \x01(\tH\x07\x88\x01\x01\x12\x17\n\nlogo_image\x18\x18 \x01(\tH\x08\x88\x01\x01\x12\x1e\n\x11square_logo_image\x18\x19 \x01(\tH\t\x88\x01\x01\x12\x1c\n\x0fmarketing_image\x18\x1a \x01(\tH\n\x88\x01\x01\x12#\n\x16square_marketing_image\x18\x1b \x01(\tH\x0b\x88\x01\x01\x12h\n\x0e\x66ormat_setting\x18\r \x01(\x0e\x32P.google.ads.googleads.v6.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting\x12\x19\n\x0cprice_prefix\x18\x1c \x01(\tH\x0c\x88\x01\x01\x12\x17\n\npromo_text\x18\x1d \x01(\tH\r\x88\x01\x01\x42\x11\n\x0f_short_headlineB\x10\n\x0e_long_headlineB\x0e\n\x0c_descriptionB\x10\n\x0e_business_nameB\x17\n\x15_allow_flexible_colorB\x0f\n\r_accent_colorB\r\n\x0b_main_colorB\x16\n\x14_call_to_action_textB\r\n\x0b_logo_imageB\x14\n\x12_square_logo_imageB\x12\n\x10_marketing_imageB\x19\n\x17_square_marketing_imageB\x0f\n\r_price_prefixB\r\n\x0b_promo_text\"\xab\x03\n\tAppAdInfo\x12\x46\n\x11mandatory_ad_text\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12>\n\theadlines\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x03 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12<\n\x06images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdImageAsset\x12\x44\n\x0eyoutube_videos\x18\x05 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdVideoAsset\x12O\n\x13html5_media_bundles\x18\x06 \x03(\x0b\x32\x32.google.ads.googleads.v6.common.AdMediaBundleAsset\"\x94\x02\n\x13\x41ppEngagementAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12<\n\x06images\x18\x03 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdImageAsset\x12<\n\x06videos\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdVideoAsset\"\xa1\x02\n\x16LegacyAppInstallAdInfo\x12\x13\n\x06\x61pp_id\x18\x06 \x01(\tH\x00\x88\x01\x01\x12k\n\tapp_store\x18\x02 \x01(\x0e\x32X.google.ads.googleads.v6.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore\x12\x15\n\x08headline\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0c\x64\x65scription1\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0c\x64\x65scription2\x18\t \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_app_idB\x0b\n\t_headlineB\x0f\n\r_description1B\x0f\n\r_description2\"\xd6\x08\n\x17ResponsiveDisplayAdInfo\x12\x46\n\x10marketing_images\x18\x01 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdImageAsset\x12M\n\x17square_marketing_images\x18\x02 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdImageAsset\x12\x41\n\x0blogo_images\x18\x03 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdImageAsset\x12H\n\x12square_logo_images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdImageAsset\x12>\n\theadlines\x18\x05 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x42\n\rlong_headline\x18\x06 \x01(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x07 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x44\n\x0eyoutube_videos\x18\x08 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdVideoAsset\x12\x1a\n\rbusiness_name\x18\x11 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nmain_color\x18\x12 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0c\x61\x63\x63\x65nt_color\x18\x13 \x01(\tH\x02\x88\x01\x01\x12!\n\x14\x61llow_flexible_color\x18\x14 \x01(\x08H\x03\x88\x01\x01\x12 \n\x13\x63\x61ll_to_action_text\x18\x15 \x01(\tH\x04\x88\x01\x01\x12\x19\n\x0cprice_prefix\x18\x16 \x01(\tH\x05\x88\x01\x01\x12\x17\n\npromo_text\x18\x17 \x01(\tH\x06\x88\x01\x01\x12h\n\x0e\x66ormat_setting\x18\x10 \x01(\x0e\x32P.google.ads.googleads.v6.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting\x12T\n\x0c\x63ontrol_spec\x18\x18 \x01(\x0b\x32>.google.ads.googleads.v6.common.ResponsiveDisplayAdControlSpecB\x10\n\x0e_business_nameB\r\n\x0b_main_colorB\x0f\n\r_accent_colorB\x17\n\x15_allow_flexible_colorB\x16\n\x14_call_to_action_textB\x0f\n\r_price_prefixB\r\n\x0b_promo_text\"\xdb\x03\n\x0bLocalAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x44\n\x0f\x63\x61ll_to_actions\x18\x03 \x03(\x0b\x32+.google.ads.googleads.v6.common.AdTextAsset\x12\x46\n\x10marketing_images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdImageAsset\x12\x41\n\x0blogo_images\x18\x05 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdImageAsset\x12<\n\x06videos\x18\x06 \x03(\x0b\x32,.google.ads.googleads.v6.common.AdVideoAsset\x12\x12\n\x05path1\x18\t \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05path2\x18\n \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_path1B\x08\n\x06_path2\"\xeb\x01\n\x13\x44isplayUploadAdInfo\x12y\n\x1b\x64isplay_upload_product_type\x18\x01 \x01(\x0e\x32T.google.ads.googleads.v6.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType\x12J\n\x0cmedia_bundle\x18\x02 \x01(\x0b\x32\x32.google.ads.googleads.v6.common.AdMediaBundleAssetH\x00\x42\r\n\x0bmedia_asset\"a\n\x1eResponsiveDisplayAdControlSpec\x12!\n\x19\x65nable_asset_enhancements\x18\x01 \x01(\x08\x12\x1c\n\x14\x65nable_autogen_video\x18\x02 \x01(\x08\x42\xeb\x01\n\"com.google.ads.googleads.v6.commonB\x10\x41\x64TypeInfosProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_display__ad__format__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_display__upload__product__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_mime__type__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_TEXTADINFO = _descriptor.Descriptor( + name='TextAdInfo', + full_name='google.ads.googleads.v6.common.TextAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headline', full_name='google.ads.googleads.v6.common.TextAdInfo.headline', index=0, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description1', full_name='google.ads.googleads.v6.common.TextAdInfo.description1', index=1, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description2', full_name='google.ads.googleads.v6.common.TextAdInfo.description2', index=2, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_headline', full_name='google.ads.googleads.v6.common.TextAdInfo._headline', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description1', full_name='google.ads.googleads.v6.common.TextAdInfo._description1', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description2', full_name='google.ads.googleads.v6.common.TextAdInfo._description2', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=519, + serialized_end=655, +) + + +_EXPANDEDTEXTADINFO = _descriptor.Descriptor( + name='ExpandedTextAdInfo', + full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headline_part1', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo.headline_part1', index=0, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='headline_part2', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo.headline_part2', index=1, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='headline_part3', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo.headline_part3', index=2, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo.description', index=3, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description2', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo.description2', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path1', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo.path1', index=5, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path2', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo.path2', index=6, + number=14, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_headline_part1', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo._headline_part1', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_headline_part2', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo._headline_part2', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_headline_part3', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo._headline_part3', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo._description', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description2', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo._description2', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_path1', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo._path1', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_path2', full_name='google.ads.googleads.v6.common.ExpandedTextAdInfo._path2', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=658, + serialized_end=968, +) + + +_CALLONLYADINFO = _descriptor.Descriptor( + name='CallOnlyAdInfo', + full_name='google.ads.googleads.v6.common.CallOnlyAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.country_code', index=0, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='phone_number', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.phone_number', index=1, + number=14, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='business_name', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.business_name', index=2, + number=15, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='headline1', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.headline1', index=3, + number=16, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='headline2', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.headline2', index=4, + number=17, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description1', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.description1', index=5, + number=18, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description2', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.description2', index=6, + number=19, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_tracked', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.call_tracked', index=7, + number=20, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='disable_call_conversion', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.disable_call_conversion', index=8, + number=21, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='phone_number_verification_url', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.phone_number_verification_url', index=9, + number=22, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_action', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo.conversion_action', index=10, + number=23, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_reporting_state', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_country_code', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._country_code', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_phone_number', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._phone_number', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_business_name', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._business_name', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_headline1', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._headline1', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_headline2', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._headline2', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description1', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._description1', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description2', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._description2', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_call_tracked', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._call_tracked', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_disable_call_conversion', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._disable_call_conversion', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_phone_number_verification_url', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._phone_number_verification_url', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversion_action', full_name='google.ads.googleads.v6.common.CallOnlyAdInfo._conversion_action', + index=10, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=971, + serialized_end=1658, +) + + +_EXPANDEDDYNAMICSEARCHADINFO = _descriptor.Descriptor( + name='ExpandedDynamicSearchAdInfo', + full_name='google.ads.googleads.v6.common.ExpandedDynamicSearchAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v6.common.ExpandedDynamicSearchAdInfo.description', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description2', full_name='google.ads.googleads.v6.common.ExpandedDynamicSearchAdInfo.description2', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_description', full_name='google.ads.googleads.v6.common.ExpandedDynamicSearchAdInfo._description', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description2', full_name='google.ads.googleads.v6.common.ExpandedDynamicSearchAdInfo._description2', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1660, + serialized_end=1775, +) + + +_HOTELADINFO = _descriptor.Descriptor( + name='HotelAdInfo', + full_name='google.ads.googleads.v6.common.HotelAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1777, + serialized_end=1790, +) + + +_SHOPPINGSMARTADINFO = _descriptor.Descriptor( + name='ShoppingSmartAdInfo', + full_name='google.ads.googleads.v6.common.ShoppingSmartAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1792, + serialized_end=1813, +) + + +_SHOPPINGPRODUCTADINFO = _descriptor.Descriptor( + name='ShoppingProductAdInfo', + full_name='google.ads.googleads.v6.common.ShoppingProductAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1815, + serialized_end=1838, +) + + +_SHOPPINGCOMPARISONLISTINGADINFO = _descriptor.Descriptor( + name='ShoppingComparisonListingAdInfo', + full_name='google.ads.googleads.v6.common.ShoppingComparisonListingAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headline', full_name='google.ads.googleads.v6.common.ShoppingComparisonListingAdInfo.headline', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_headline', full_name='google.ads.googleads.v6.common.ShoppingComparisonListingAdInfo._headline', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1840, + serialized_end=1909, +) + + +_GMAILADINFO = _descriptor.Descriptor( + name='GmailAdInfo', + full_name='google.ads.googleads.v6.common.GmailAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='teaser', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header_image', full_name='google.ads.googleads.v6.common.GmailAdInfo.header_image', index=1, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='marketing_image', full_name='google.ads.googleads.v6.common.GmailAdInfo.marketing_image', index=2, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='marketing_image_headline', full_name='google.ads.googleads.v6.common.GmailAdInfo.marketing_image_headline', index=3, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='marketing_image_description', full_name='google.ads.googleads.v6.common.GmailAdInfo.marketing_image_description', index=4, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='marketing_image_display_call_to_action', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_images', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_videos', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_header_image', full_name='google.ads.googleads.v6.common.GmailAdInfo._header_image', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_marketing_image', full_name='google.ads.googleads.v6.common.GmailAdInfo._marketing_image', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_marketing_image_headline', full_name='google.ads.googleads.v6.common.GmailAdInfo._marketing_image_headline', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_marketing_image_description', full_name='google.ads.googleads.v6.common.GmailAdInfo._marketing_image_description', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1912, + serialized_end=2463, +) + + +_GMAILTEASER = _descriptor.Descriptor( + name='GmailTeaser', + full_name='google.ads.googleads.v6.common.GmailTeaser', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headline', full_name='google.ads.googleads.v6.common.GmailTeaser.headline', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v6.common.GmailTeaser.description', index=1, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='business_name', full_name='google.ads.googleads.v6.common.GmailTeaser.business_name', index=2, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='logo_image', full_name='google.ads.googleads.v6.common.GmailTeaser.logo_image', index=3, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_headline', full_name='google.ads.googleads.v6.common.GmailTeaser._headline', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description', full_name='google.ads.googleads.v6.common.GmailTeaser._description', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_business_name', full_name='google.ads.googleads.v6.common.GmailTeaser._business_name', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_logo_image', full_name='google.ads.googleads.v6.common.GmailTeaser._logo_image', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2466, + serialized_end=2643, +) + + +_DISPLAYCALLTOACTION = _descriptor.Descriptor( + name='DisplayCallToAction', + full_name='google.ads.googleads.v6.common.DisplayCallToAction', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='text', full_name='google.ads.googleads.v6.common.DisplayCallToAction.text', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='text_color', full_name='google.ads.googleads.v6.common.DisplayCallToAction.text_color', index=1, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_collection_id', full_name='google.ads.googleads.v6.common.DisplayCallToAction.url_collection_id', index=2, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_text', full_name='google.ads.googleads.v6.common.DisplayCallToAction._text', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_text_color', full_name='google.ads.googleads.v6.common.DisplayCallToAction._text_color', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_url_collection_id', full_name='google.ads.googleads.v6.common.DisplayCallToAction._url_collection_id', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2646, + serialized_end=2789, +) + + +_PRODUCTIMAGE = _descriptor.Descriptor( + name='ProductImage', + full_name='google.ads.googleads.v6.common.ProductImage', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='product_image', full_name='google.ads.googleads.v6.common.ProductImage.product_image', index=0, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v6.common.ProductImage.description', index=1, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='display_call_to_action', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_product_image', full_name='google.ads.googleads.v6.common.ProductImage._product_image', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description', full_name='google.ads.googleads.v6.common.ProductImage._description', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2792, + serialized_end=2979, +) + + +_PRODUCTVIDEO = _descriptor.Descriptor( + name='ProductVideo', + full_name='google.ads.googleads.v6.common.ProductVideo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='product_video', full_name='google.ads.googleads.v6.common.ProductVideo.product_video', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_product_video', full_name='google.ads.googleads.v6.common.ProductVideo._product_video', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2981, + serialized_end=3041, +) + + +_IMAGEADINFO = _descriptor.Descriptor( + name='ImageAdInfo', + full_name='google.ads.googleads.v6.common.ImageAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='pixel_width', full_name='google.ads.googleads.v6.common.ImageAdInfo.pixel_width', index=0, + number=15, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='pixel_height', full_name='google.ads.googleads.v6.common.ImageAdInfo.pixel_height', index=1, + number=16, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='image_url', full_name='google.ads.googleads.v6.common.ImageAdInfo.image_url', index=2, + number=17, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='preview_pixel_width', full_name='google.ads.googleads.v6.common.ImageAdInfo.preview_pixel_width', index=3, + number=18, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='preview_pixel_height', full_name='google.ads.googleads.v6.common.ImageAdInfo.preview_pixel_height', index=4, + number=19, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='preview_image_url', full_name='google.ads.googleads.v6.common.ImageAdInfo.preview_image_url', index=5, + number=20, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mime_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.common.ImageAdInfo.name', index=7, + number=21, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='media_file', full_name='google.ads.googleads.v6.common.ImageAdInfo.media_file', index=8, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='data', full_name='google.ads.googleads.v6.common.ImageAdInfo.data', index=9, + number=13, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_id_to_copy_image_from', full_name='google.ads.googleads.v6.common.ImageAdInfo.ad_id_to_copy_image_from', index=10, + number=14, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='image', full_name='google.ads.googleads.v6.common.ImageAdInfo.image', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_pixel_width', full_name='google.ads.googleads.v6.common.ImageAdInfo._pixel_width', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_pixel_height', full_name='google.ads.googleads.v6.common.ImageAdInfo._pixel_height', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_image_url', full_name='google.ads.googleads.v6.common.ImageAdInfo._image_url', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_preview_pixel_width', full_name='google.ads.googleads.v6.common.ImageAdInfo._preview_pixel_width', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_preview_pixel_height', full_name='google.ads.googleads.v6.common.ImageAdInfo._preview_pixel_height', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_preview_image_url', full_name='google.ads.googleads.v6.common.ImageAdInfo._preview_image_url', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.common.ImageAdInfo._name', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3044, + serialized_end=3537, +) + + +_VIDEOBUMPERINSTREAMADINFO = _descriptor.Descriptor( + name='VideoBumperInStreamAdInfo', + full_name='google.ads.googleads.v6.common.VideoBumperInStreamAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='companion_banner', full_name='google.ads.googleads.v6.common.VideoBumperInStreamAdInfo.companion_banner', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_companion_banner', full_name='google.ads.googleads.v6.common.VideoBumperInStreamAdInfo._companion_banner', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3539, + serialized_end=3618, +) + + +_VIDEONONSKIPPABLEINSTREAMADINFO = _descriptor.Descriptor( + name='VideoNonSkippableInStreamAdInfo', + full_name='google.ads.googleads.v6.common.VideoNonSkippableInStreamAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='companion_banner', full_name='google.ads.googleads.v6.common.VideoNonSkippableInStreamAdInfo.companion_banner', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_companion_banner', full_name='google.ads.googleads.v6.common.VideoNonSkippableInStreamAdInfo._companion_banner', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3620, + serialized_end=3705, +) + + +_VIDEOTRUEVIEWINSTREAMADINFO = _descriptor.Descriptor( + name='VideoTrueViewInStreamAdInfo', + full_name='google.ads.googleads.v6.common.VideoTrueViewInStreamAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='action_button_label', full_name='google.ads.googleads.v6.common.VideoTrueViewInStreamAdInfo.action_button_label', index=0, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='action_headline', full_name='google.ads.googleads.v6.common.VideoTrueViewInStreamAdInfo.action_headline', index=1, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='companion_banner', full_name='google.ads.googleads.v6.common.VideoTrueViewInStreamAdInfo.companion_banner', index=2, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_action_button_label', full_name='google.ads.googleads.v6.common.VideoTrueViewInStreamAdInfo._action_button_label', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_action_headline', full_name='google.ads.googleads.v6.common.VideoTrueViewInStreamAdInfo._action_headline', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_companion_banner', full_name='google.ads.googleads.v6.common.VideoTrueViewInStreamAdInfo._companion_banner', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3708, + serialized_end=3897, +) + + +_VIDEOOUTSTREAMADINFO = _descriptor.Descriptor( + name='VideoOutstreamAdInfo', + full_name='google.ads.googleads.v6.common.VideoOutstreamAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headline', full_name='google.ads.googleads.v6.common.VideoOutstreamAdInfo.headline', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v6.common.VideoOutstreamAdInfo.description', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_headline', full_name='google.ads.googleads.v6.common.VideoOutstreamAdInfo._headline', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description', full_name='google.ads.googleads.v6.common.VideoOutstreamAdInfo._description', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3899, + serialized_end=3999, +) + + +_VIDEOTRUEVIEWDISCOVERYADINFO = _descriptor.Descriptor( + name='VideoTrueViewDiscoveryAdInfo', + full_name='google.ads.googleads.v6.common.VideoTrueViewDiscoveryAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headline', full_name='google.ads.googleads.v6.common.VideoTrueViewDiscoveryAdInfo.headline', index=0, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description1', full_name='google.ads.googleads.v6.common.VideoTrueViewDiscoveryAdInfo.description1', index=1, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description2', full_name='google.ads.googleads.v6.common.VideoTrueViewDiscoveryAdInfo.description2', index=2, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_headline', full_name='google.ads.googleads.v6.common.VideoTrueViewDiscoveryAdInfo._headline', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description1', full_name='google.ads.googleads.v6.common.VideoTrueViewDiscoveryAdInfo._description1', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description2', full_name='google.ads.googleads.v6.common.VideoTrueViewDiscoveryAdInfo._description2', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4002, + serialized_end=4156, +) + + +_VIDEOADINFO = _descriptor.Descriptor( + name='VideoAdInfo', + full_name='google.ads.googleads.v6.common.VideoAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='media_file', full_name='google.ads.googleads.v6.common.VideoAdInfo.media_file', index=0, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='in_stream', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bumper', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='out_stream', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='non_skippable', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='discovery', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='format', full_name='google.ads.googleads.v6.common.VideoAdInfo.format', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_media_file', full_name='google.ads.googleads.v6.common.VideoAdInfo._media_file', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4159, + serialized_end=4630, +) + + +_VIDEORESPONSIVEADINFO = _descriptor.Descriptor( + name='VideoResponsiveAdInfo', + full_name='google.ads.googleads.v6.common.VideoResponsiveAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headlines', full_name='google.ads.googleads.v6.common.VideoResponsiveAdInfo.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='long_headlines', full_name='google.ads.googleads.v6.common.VideoResponsiveAdInfo.long_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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='descriptions', full_name='google.ads.googleads.v6.common.VideoResponsiveAdInfo.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_to_actions', full_name='google.ads.googleads.v6.common.VideoResponsiveAdInfo.call_to_actions', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='videos', full_name='google.ads.googleads.v6.common.VideoResponsiveAdInfo.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='companion_banners', full_name='google.ads.googleads.v6.common.VideoResponsiveAdInfo.companion_banners', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4633, + serialized_end=5061, +) + + +_RESPONSIVESEARCHADINFO = _descriptor.Descriptor( + name='ResponsiveSearchAdInfo', + full_name='google.ads.googleads.v6.common.ResponsiveSearchAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headlines', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='descriptions', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path1', full_name='google.ads.googleads.v6.common.ResponsiveSearchAdInfo.path1', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path2', full_name='google.ads.googleads.v6.common.ResponsiveSearchAdInfo.path2', index=3, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_path1', full_name='google.ads.googleads.v6.common.ResponsiveSearchAdInfo._path1', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_path2', full_name='google.ads.googleads.v6.common.ResponsiveSearchAdInfo._path2', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=5064, + serialized_end=5279, +) + + +_LEGACYRESPONSIVEDISPLAYADINFO = _descriptor.Descriptor( + name='LegacyResponsiveDisplayAdInfo', + full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='short_headline', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.short_headline', index=0, + number=16, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='long_headline', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.long_headline', index=1, + number=17, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.description', index=2, + number=18, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='business_name', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.business_name', index=3, + number=19, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='allow_flexible_color', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.allow_flexible_color', index=4, + number=20, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='accent_color', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.accent_color', index=5, + number=21, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='main_color', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.main_color', index=6, + number=22, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_to_action_text', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.call_to_action_text', index=7, + number=23, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='logo_image', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.logo_image', index=8, + number=24, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='square_logo_image', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.square_logo_image', index=9, + number=25, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='marketing_image', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.marketing_image', index=10, + number=26, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='square_marketing_image', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.square_marketing_image', index=11, + number=27, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='format_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='price_prefix', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.price_prefix', index=13, + number=28, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='promo_text', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo.promo_text', index=14, + number=29, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_short_headline', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._short_headline', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_long_headline', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._long_headline', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._description', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_business_name', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._business_name', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_allow_flexible_color', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._allow_flexible_color', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_accent_color', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._accent_color', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_main_color', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._main_color', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_call_to_action_text', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._call_to_action_text', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_logo_image', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._logo_image', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_square_logo_image', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._square_logo_image', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_marketing_image', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._marketing_image', + index=10, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_square_marketing_image', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._square_marketing_image', + index=11, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_price_prefix', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._price_prefix', + index=12, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_promo_text', full_name='google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo._promo_text', + index=13, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=5282, + serialized_end=6095, +) + + +_APPADINFO = _descriptor.Descriptor( + name='AppAdInfo', + full_name='google.ads.googleads.v6.common.AppAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='mandatory_ad_text', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='headlines', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='descriptions', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='images', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='youtube_videos', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='html5_media_bundles', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6098, + serialized_end=6525, +) + + +_APPENGAGEMENTADINFO = _descriptor.Descriptor( + name='AppEngagementAdInfo', + full_name='google.ads.googleads.v6.common.AppEngagementAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headlines', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='descriptions', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='images', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='videos', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6528, + serialized_end=6804, +) + + +_LEGACYAPPINSTALLADINFO = _descriptor.Descriptor( + name='LegacyAppInstallAdInfo', + full_name='google.ads.googleads.v6.common.LegacyAppInstallAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='app_id', full_name='google.ads.googleads.v6.common.LegacyAppInstallAdInfo.app_id', index=0, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_store', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='headline', full_name='google.ads.googleads.v6.common.LegacyAppInstallAdInfo.headline', index=2, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description1', full_name='google.ads.googleads.v6.common.LegacyAppInstallAdInfo.description1', index=3, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description2', full_name='google.ads.googleads.v6.common.LegacyAppInstallAdInfo.description2', index=4, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_app_id', full_name='google.ads.googleads.v6.common.LegacyAppInstallAdInfo._app_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_headline', full_name='google.ads.googleads.v6.common.LegacyAppInstallAdInfo._headline', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description1', full_name='google.ads.googleads.v6.common.LegacyAppInstallAdInfo._description1', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description2', full_name='google.ads.googleads.v6.common.LegacyAppInstallAdInfo._description2', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=6807, + serialized_end=7096, +) + + +_RESPONSIVEDISPLAYADINFO = _descriptor.Descriptor( + name='ResponsiveDisplayAdInfo', + full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='marketing_images', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='square_marketing_images', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='logo_images', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='square_logo_images', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='headlines', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='long_headline', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='descriptions', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='youtube_videos', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='business_name', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo.business_name', index=8, + number=17, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='main_color', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo.main_color', index=9, + number=18, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='accent_color', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo.accent_color', index=10, + number=19, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='allow_flexible_color', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo.allow_flexible_color', index=11, + number=20, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_to_action_text', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo.call_to_action_text', index=12, + number=21, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='price_prefix', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo.price_prefix', index=13, + number=22, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='promo_text', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo.promo_text', index=14, + number=23, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='format_setting', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='control_spec', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo.control_spec', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_business_name', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo._business_name', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_main_color', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo._main_color', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_accent_color', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo._accent_color', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_allow_flexible_color', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo._allow_flexible_color', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_call_to_action_text', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo._call_to_action_text', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_price_prefix', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo._price_prefix', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_promo_text', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdInfo._promo_text', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7099, + serialized_end=8209, +) + + +_LOCALADINFO = _descriptor.Descriptor( + name='LocalAdInfo', + full_name='google.ads.googleads.v6.common.LocalAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='headlines', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='descriptions', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_to_actions', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='marketing_images', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='logo_images', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='videos', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path1', full_name='google.ads.googleads.v6.common.LocalAdInfo.path1', index=6, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path2', full_name='google.ads.googleads.v6.common.LocalAdInfo.path2', index=7, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_path1', full_name='google.ads.googleads.v6.common.LocalAdInfo._path1', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_path2', full_name='google.ads.googleads.v6.common.LocalAdInfo._path2', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=8212, + serialized_end=8687, +) + + +_DISPLAYUPLOADADINFO = _descriptor.Descriptor( + name='DisplayUploadAdInfo', + full_name='google.ads.googleads.v6.common.DisplayUploadAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='display_upload_product_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='media_bundle', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='media_asset', full_name='google.ads.googleads.v6.common.DisplayUploadAdInfo.media_asset', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=8690, + serialized_end=8925, +) + + +_RESPONSIVEDISPLAYADCONTROLSPEC = _descriptor.Descriptor( + name='ResponsiveDisplayAdControlSpec', + full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdControlSpec', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='enable_asset_enhancements', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdControlSpec.enable_asset_enhancements', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='enable_autogen_video', full_name='google.ads.googleads.v6.common.ResponsiveDisplayAdControlSpec.enable_autogen_video', index=1, + 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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8927, + serialized_end=9024, +) + +_TEXTADINFO.oneofs_by_name['_headline'].fields.append( + _TEXTADINFO.fields_by_name['headline']) +_TEXTADINFO.fields_by_name['headline'].containing_oneof = _TEXTADINFO.oneofs_by_name['_headline'] +_TEXTADINFO.oneofs_by_name['_description1'].fields.append( + _TEXTADINFO.fields_by_name['description1']) +_TEXTADINFO.fields_by_name['description1'].containing_oneof = _TEXTADINFO.oneofs_by_name['_description1'] +_TEXTADINFO.oneofs_by_name['_description2'].fields.append( + _TEXTADINFO.fields_by_name['description2']) +_TEXTADINFO.fields_by_name['description2'].containing_oneof = _TEXTADINFO.oneofs_by_name['_description2'] +_EXPANDEDTEXTADINFO.oneofs_by_name['_headline_part1'].fields.append( + _EXPANDEDTEXTADINFO.fields_by_name['headline_part1']) +_EXPANDEDTEXTADINFO.fields_by_name['headline_part1'].containing_oneof = _EXPANDEDTEXTADINFO.oneofs_by_name['_headline_part1'] +_EXPANDEDTEXTADINFO.oneofs_by_name['_headline_part2'].fields.append( + _EXPANDEDTEXTADINFO.fields_by_name['headline_part2']) +_EXPANDEDTEXTADINFO.fields_by_name['headline_part2'].containing_oneof = _EXPANDEDTEXTADINFO.oneofs_by_name['_headline_part2'] +_EXPANDEDTEXTADINFO.oneofs_by_name['_headline_part3'].fields.append( + _EXPANDEDTEXTADINFO.fields_by_name['headline_part3']) +_EXPANDEDTEXTADINFO.fields_by_name['headline_part3'].containing_oneof = _EXPANDEDTEXTADINFO.oneofs_by_name['_headline_part3'] +_EXPANDEDTEXTADINFO.oneofs_by_name['_description'].fields.append( + _EXPANDEDTEXTADINFO.fields_by_name['description']) +_EXPANDEDTEXTADINFO.fields_by_name['description'].containing_oneof = _EXPANDEDTEXTADINFO.oneofs_by_name['_description'] +_EXPANDEDTEXTADINFO.oneofs_by_name['_description2'].fields.append( + _EXPANDEDTEXTADINFO.fields_by_name['description2']) +_EXPANDEDTEXTADINFO.fields_by_name['description2'].containing_oneof = _EXPANDEDTEXTADINFO.oneofs_by_name['_description2'] +_EXPANDEDTEXTADINFO.oneofs_by_name['_path1'].fields.append( + _EXPANDEDTEXTADINFO.fields_by_name['path1']) +_EXPANDEDTEXTADINFO.fields_by_name['path1'].containing_oneof = _EXPANDEDTEXTADINFO.oneofs_by_name['_path1'] +_EXPANDEDTEXTADINFO.oneofs_by_name['_path2'].fields.append( + _EXPANDEDTEXTADINFO.fields_by_name['path2']) +_EXPANDEDTEXTADINFO.fields_by_name['path2'].containing_oneof = _EXPANDEDTEXTADINFO.oneofs_by_name['_path2'] +_CALLONLYADINFO.fields_by_name['conversion_reporting_state'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2._CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE +_CALLONLYADINFO.oneofs_by_name['_country_code'].fields.append( + _CALLONLYADINFO.fields_by_name['country_code']) +_CALLONLYADINFO.fields_by_name['country_code'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_country_code'] +_CALLONLYADINFO.oneofs_by_name['_phone_number'].fields.append( + _CALLONLYADINFO.fields_by_name['phone_number']) +_CALLONLYADINFO.fields_by_name['phone_number'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_phone_number'] +_CALLONLYADINFO.oneofs_by_name['_business_name'].fields.append( + _CALLONLYADINFO.fields_by_name['business_name']) +_CALLONLYADINFO.fields_by_name['business_name'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_business_name'] +_CALLONLYADINFO.oneofs_by_name['_headline1'].fields.append( + _CALLONLYADINFO.fields_by_name['headline1']) +_CALLONLYADINFO.fields_by_name['headline1'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_headline1'] +_CALLONLYADINFO.oneofs_by_name['_headline2'].fields.append( + _CALLONLYADINFO.fields_by_name['headline2']) +_CALLONLYADINFO.fields_by_name['headline2'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_headline2'] +_CALLONLYADINFO.oneofs_by_name['_description1'].fields.append( + _CALLONLYADINFO.fields_by_name['description1']) +_CALLONLYADINFO.fields_by_name['description1'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_description1'] +_CALLONLYADINFO.oneofs_by_name['_description2'].fields.append( + _CALLONLYADINFO.fields_by_name['description2']) +_CALLONLYADINFO.fields_by_name['description2'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_description2'] +_CALLONLYADINFO.oneofs_by_name['_call_tracked'].fields.append( + _CALLONLYADINFO.fields_by_name['call_tracked']) +_CALLONLYADINFO.fields_by_name['call_tracked'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_call_tracked'] +_CALLONLYADINFO.oneofs_by_name['_disable_call_conversion'].fields.append( + _CALLONLYADINFO.fields_by_name['disable_call_conversion']) +_CALLONLYADINFO.fields_by_name['disable_call_conversion'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_disable_call_conversion'] +_CALLONLYADINFO.oneofs_by_name['_phone_number_verification_url'].fields.append( + _CALLONLYADINFO.fields_by_name['phone_number_verification_url']) +_CALLONLYADINFO.fields_by_name['phone_number_verification_url'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_phone_number_verification_url'] +_CALLONLYADINFO.oneofs_by_name['_conversion_action'].fields.append( + _CALLONLYADINFO.fields_by_name['conversion_action']) +_CALLONLYADINFO.fields_by_name['conversion_action'].containing_oneof = _CALLONLYADINFO.oneofs_by_name['_conversion_action'] +_EXPANDEDDYNAMICSEARCHADINFO.oneofs_by_name['_description'].fields.append( + _EXPANDEDDYNAMICSEARCHADINFO.fields_by_name['description']) +_EXPANDEDDYNAMICSEARCHADINFO.fields_by_name['description'].containing_oneof = _EXPANDEDDYNAMICSEARCHADINFO.oneofs_by_name['_description'] +_EXPANDEDDYNAMICSEARCHADINFO.oneofs_by_name['_description2'].fields.append( + _EXPANDEDDYNAMICSEARCHADINFO.fields_by_name['description2']) +_EXPANDEDDYNAMICSEARCHADINFO.fields_by_name['description2'].containing_oneof = _EXPANDEDDYNAMICSEARCHADINFO.oneofs_by_name['_description2'] +_SHOPPINGCOMPARISONLISTINGADINFO.oneofs_by_name['_headline'].fields.append( + _SHOPPINGCOMPARISONLISTINGADINFO.fields_by_name['headline']) +_SHOPPINGCOMPARISONLISTINGADINFO.fields_by_name['headline'].containing_oneof = _SHOPPINGCOMPARISONLISTINGADINFO.oneofs_by_name['_headline'] +_GMAILADINFO.fields_by_name['teaser'].message_type = _GMAILTEASER +_GMAILADINFO.fields_by_name['marketing_image_display_call_to_action'].message_type = _DISPLAYCALLTOACTION +_GMAILADINFO.fields_by_name['product_images'].message_type = _PRODUCTIMAGE +_GMAILADINFO.fields_by_name['product_videos'].message_type = _PRODUCTVIDEO +_GMAILADINFO.oneofs_by_name['_header_image'].fields.append( + _GMAILADINFO.fields_by_name['header_image']) +_GMAILADINFO.fields_by_name['header_image'].containing_oneof = _GMAILADINFO.oneofs_by_name['_header_image'] +_GMAILADINFO.oneofs_by_name['_marketing_image'].fields.append( + _GMAILADINFO.fields_by_name['marketing_image']) +_GMAILADINFO.fields_by_name['marketing_image'].containing_oneof = _GMAILADINFO.oneofs_by_name['_marketing_image'] +_GMAILADINFO.oneofs_by_name['_marketing_image_headline'].fields.append( + _GMAILADINFO.fields_by_name['marketing_image_headline']) +_GMAILADINFO.fields_by_name['marketing_image_headline'].containing_oneof = _GMAILADINFO.oneofs_by_name['_marketing_image_headline'] +_GMAILADINFO.oneofs_by_name['_marketing_image_description'].fields.append( + _GMAILADINFO.fields_by_name['marketing_image_description']) +_GMAILADINFO.fields_by_name['marketing_image_description'].containing_oneof = _GMAILADINFO.oneofs_by_name['_marketing_image_description'] +_GMAILTEASER.oneofs_by_name['_headline'].fields.append( + _GMAILTEASER.fields_by_name['headline']) +_GMAILTEASER.fields_by_name['headline'].containing_oneof = _GMAILTEASER.oneofs_by_name['_headline'] +_GMAILTEASER.oneofs_by_name['_description'].fields.append( + _GMAILTEASER.fields_by_name['description']) +_GMAILTEASER.fields_by_name['description'].containing_oneof = _GMAILTEASER.oneofs_by_name['_description'] +_GMAILTEASER.oneofs_by_name['_business_name'].fields.append( + _GMAILTEASER.fields_by_name['business_name']) +_GMAILTEASER.fields_by_name['business_name'].containing_oneof = _GMAILTEASER.oneofs_by_name['_business_name'] +_GMAILTEASER.oneofs_by_name['_logo_image'].fields.append( + _GMAILTEASER.fields_by_name['logo_image']) +_GMAILTEASER.fields_by_name['logo_image'].containing_oneof = _GMAILTEASER.oneofs_by_name['_logo_image'] +_DISPLAYCALLTOACTION.oneofs_by_name['_text'].fields.append( + _DISPLAYCALLTOACTION.fields_by_name['text']) +_DISPLAYCALLTOACTION.fields_by_name['text'].containing_oneof = _DISPLAYCALLTOACTION.oneofs_by_name['_text'] +_DISPLAYCALLTOACTION.oneofs_by_name['_text_color'].fields.append( + _DISPLAYCALLTOACTION.fields_by_name['text_color']) +_DISPLAYCALLTOACTION.fields_by_name['text_color'].containing_oneof = _DISPLAYCALLTOACTION.oneofs_by_name['_text_color'] +_DISPLAYCALLTOACTION.oneofs_by_name['_url_collection_id'].fields.append( + _DISPLAYCALLTOACTION.fields_by_name['url_collection_id']) +_DISPLAYCALLTOACTION.fields_by_name['url_collection_id'].containing_oneof = _DISPLAYCALLTOACTION.oneofs_by_name['_url_collection_id'] +_PRODUCTIMAGE.fields_by_name['display_call_to_action'].message_type = _DISPLAYCALLTOACTION +_PRODUCTIMAGE.oneofs_by_name['_product_image'].fields.append( + _PRODUCTIMAGE.fields_by_name['product_image']) +_PRODUCTIMAGE.fields_by_name['product_image'].containing_oneof = _PRODUCTIMAGE.oneofs_by_name['_product_image'] +_PRODUCTIMAGE.oneofs_by_name['_description'].fields.append( + _PRODUCTIMAGE.fields_by_name['description']) +_PRODUCTIMAGE.fields_by_name['description'].containing_oneof = _PRODUCTIMAGE.oneofs_by_name['_description'] +_PRODUCTVIDEO.oneofs_by_name['_product_video'].fields.append( + _PRODUCTVIDEO.fields_by_name['product_video']) +_PRODUCTVIDEO.fields_by_name['product_video'].containing_oneof = _PRODUCTVIDEO.oneofs_by_name['_product_video'] +_IMAGEADINFO.fields_by_name['mime_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_mime__type__pb2._MIMETYPEENUM_MIMETYPE +_IMAGEADINFO.oneofs_by_name['image'].fields.append( + _IMAGEADINFO.fields_by_name['media_file']) +_IMAGEADINFO.fields_by_name['media_file'].containing_oneof = _IMAGEADINFO.oneofs_by_name['image'] +_IMAGEADINFO.oneofs_by_name['image'].fields.append( + _IMAGEADINFO.fields_by_name['data']) +_IMAGEADINFO.fields_by_name['data'].containing_oneof = _IMAGEADINFO.oneofs_by_name['image'] +_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'] +_IMAGEADINFO.oneofs_by_name['_pixel_width'].fields.append( + _IMAGEADINFO.fields_by_name['pixel_width']) +_IMAGEADINFO.fields_by_name['pixel_width'].containing_oneof = _IMAGEADINFO.oneofs_by_name['_pixel_width'] +_IMAGEADINFO.oneofs_by_name['_pixel_height'].fields.append( + _IMAGEADINFO.fields_by_name['pixel_height']) +_IMAGEADINFO.fields_by_name['pixel_height'].containing_oneof = _IMAGEADINFO.oneofs_by_name['_pixel_height'] +_IMAGEADINFO.oneofs_by_name['_image_url'].fields.append( + _IMAGEADINFO.fields_by_name['image_url']) +_IMAGEADINFO.fields_by_name['image_url'].containing_oneof = _IMAGEADINFO.oneofs_by_name['_image_url'] +_IMAGEADINFO.oneofs_by_name['_preview_pixel_width'].fields.append( + _IMAGEADINFO.fields_by_name['preview_pixel_width']) +_IMAGEADINFO.fields_by_name['preview_pixel_width'].containing_oneof = _IMAGEADINFO.oneofs_by_name['_preview_pixel_width'] +_IMAGEADINFO.oneofs_by_name['_preview_pixel_height'].fields.append( + _IMAGEADINFO.fields_by_name['preview_pixel_height']) +_IMAGEADINFO.fields_by_name['preview_pixel_height'].containing_oneof = _IMAGEADINFO.oneofs_by_name['_preview_pixel_height'] +_IMAGEADINFO.oneofs_by_name['_preview_image_url'].fields.append( + _IMAGEADINFO.fields_by_name['preview_image_url']) +_IMAGEADINFO.fields_by_name['preview_image_url'].containing_oneof = _IMAGEADINFO.oneofs_by_name['_preview_image_url'] +_IMAGEADINFO.oneofs_by_name['_name'].fields.append( + _IMAGEADINFO.fields_by_name['name']) +_IMAGEADINFO.fields_by_name['name'].containing_oneof = _IMAGEADINFO.oneofs_by_name['_name'] +_VIDEOBUMPERINSTREAMADINFO.oneofs_by_name['_companion_banner'].fields.append( + _VIDEOBUMPERINSTREAMADINFO.fields_by_name['companion_banner']) +_VIDEOBUMPERINSTREAMADINFO.fields_by_name['companion_banner'].containing_oneof = _VIDEOBUMPERINSTREAMADINFO.oneofs_by_name['_companion_banner'] +_VIDEONONSKIPPABLEINSTREAMADINFO.oneofs_by_name['_companion_banner'].fields.append( + _VIDEONONSKIPPABLEINSTREAMADINFO.fields_by_name['companion_banner']) +_VIDEONONSKIPPABLEINSTREAMADINFO.fields_by_name['companion_banner'].containing_oneof = _VIDEONONSKIPPABLEINSTREAMADINFO.oneofs_by_name['_companion_banner'] +_VIDEOTRUEVIEWINSTREAMADINFO.oneofs_by_name['_action_button_label'].fields.append( + _VIDEOTRUEVIEWINSTREAMADINFO.fields_by_name['action_button_label']) +_VIDEOTRUEVIEWINSTREAMADINFO.fields_by_name['action_button_label'].containing_oneof = _VIDEOTRUEVIEWINSTREAMADINFO.oneofs_by_name['_action_button_label'] +_VIDEOTRUEVIEWINSTREAMADINFO.oneofs_by_name['_action_headline'].fields.append( + _VIDEOTRUEVIEWINSTREAMADINFO.fields_by_name['action_headline']) +_VIDEOTRUEVIEWINSTREAMADINFO.fields_by_name['action_headline'].containing_oneof = _VIDEOTRUEVIEWINSTREAMADINFO.oneofs_by_name['_action_headline'] +_VIDEOTRUEVIEWINSTREAMADINFO.oneofs_by_name['_companion_banner'].fields.append( + _VIDEOTRUEVIEWINSTREAMADINFO.fields_by_name['companion_banner']) +_VIDEOTRUEVIEWINSTREAMADINFO.fields_by_name['companion_banner'].containing_oneof = _VIDEOTRUEVIEWINSTREAMADINFO.oneofs_by_name['_companion_banner'] +_VIDEOOUTSTREAMADINFO.oneofs_by_name['_headline'].fields.append( + _VIDEOOUTSTREAMADINFO.fields_by_name['headline']) +_VIDEOOUTSTREAMADINFO.fields_by_name['headline'].containing_oneof = _VIDEOOUTSTREAMADINFO.oneofs_by_name['_headline'] +_VIDEOOUTSTREAMADINFO.oneofs_by_name['_description'].fields.append( + _VIDEOOUTSTREAMADINFO.fields_by_name['description']) +_VIDEOOUTSTREAMADINFO.fields_by_name['description'].containing_oneof = _VIDEOOUTSTREAMADINFO.oneofs_by_name['_description'] +_VIDEOTRUEVIEWDISCOVERYADINFO.oneofs_by_name['_headline'].fields.append( + _VIDEOTRUEVIEWDISCOVERYADINFO.fields_by_name['headline']) +_VIDEOTRUEVIEWDISCOVERYADINFO.fields_by_name['headline'].containing_oneof = _VIDEOTRUEVIEWDISCOVERYADINFO.oneofs_by_name['_headline'] +_VIDEOTRUEVIEWDISCOVERYADINFO.oneofs_by_name['_description1'].fields.append( + _VIDEOTRUEVIEWDISCOVERYADINFO.fields_by_name['description1']) +_VIDEOTRUEVIEWDISCOVERYADINFO.fields_by_name['description1'].containing_oneof = _VIDEOTRUEVIEWDISCOVERYADINFO.oneofs_by_name['_description1'] +_VIDEOTRUEVIEWDISCOVERYADINFO.oneofs_by_name['_description2'].fields.append( + _VIDEOTRUEVIEWDISCOVERYADINFO.fields_by_name['description2']) +_VIDEOTRUEVIEWDISCOVERYADINFO.fields_by_name['description2'].containing_oneof = _VIDEOTRUEVIEWDISCOVERYADINFO.oneofs_by_name['_description2'] +_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'] +_VIDEOADINFO.oneofs_by_name['format'].fields.append( + _VIDEOADINFO.fields_by_name['bumper']) +_VIDEOADINFO.fields_by_name['bumper'].containing_oneof = _VIDEOADINFO.oneofs_by_name['format'] +_VIDEOADINFO.oneofs_by_name['format'].fields.append( + _VIDEOADINFO.fields_by_name['out_stream']) +_VIDEOADINFO.fields_by_name['out_stream'].containing_oneof = _VIDEOADINFO.oneofs_by_name['format'] +_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'] +_VIDEOADINFO.oneofs_by_name['format'].fields.append( + _VIDEOADINFO.fields_by_name['discovery']) +_VIDEOADINFO.fields_by_name['discovery'].containing_oneof = _VIDEOADINFO.oneofs_by_name['format'] +_VIDEOADINFO.oneofs_by_name['_media_file'].fields.append( + _VIDEOADINFO.fields_by_name['media_file']) +_VIDEOADINFO.fields_by_name['media_file'].containing_oneof = _VIDEOADINFO.oneofs_by_name['_media_file'] +_VIDEORESPONSIVEADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_VIDEORESPONSIVEADINFO.fields_by_name['long_headlines'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_VIDEORESPONSIVEADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_VIDEORESPONSIVEADINFO.fields_by_name['call_to_actions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_VIDEORESPONSIVEADINFO.fields_by_name['videos'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET +_VIDEORESPONSIVEADINFO.fields_by_name['companion_banners'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_RESPONSIVESEARCHADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_RESPONSIVESEARCHADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_RESPONSIVESEARCHADINFO.oneofs_by_name['_path1'].fields.append( + _RESPONSIVESEARCHADINFO.fields_by_name['path1']) +_RESPONSIVESEARCHADINFO.fields_by_name['path1'].containing_oneof = _RESPONSIVESEARCHADINFO.oneofs_by_name['_path1'] +_RESPONSIVESEARCHADINFO.oneofs_by_name['_path2'].fields.append( + _RESPONSIVESEARCHADINFO.fields_by_name['path2']) +_RESPONSIVESEARCHADINFO.fields_by_name['path2'].containing_oneof = _RESPONSIVESEARCHADINFO.oneofs_by_name['_path2'] +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['format_setting'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_display__ad__format__setting__pb2._DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_short_headline'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['short_headline']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['short_headline'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_short_headline'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_long_headline'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['long_headline']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['long_headline'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_long_headline'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_description'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['description']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['description'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_description'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_business_name'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['business_name']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['business_name'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_business_name'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_allow_flexible_color'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['allow_flexible_color']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['allow_flexible_color'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_allow_flexible_color'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_accent_color'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['accent_color']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['accent_color'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_accent_color'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_main_color'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['main_color']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['main_color'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_main_color'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_call_to_action_text'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['call_to_action_text']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['call_to_action_text'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_call_to_action_text'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_logo_image'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['logo_image']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['logo_image'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_logo_image'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_square_logo_image'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['square_logo_image']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['square_logo_image'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_square_logo_image'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_marketing_image'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['marketing_image']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['marketing_image'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_marketing_image'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_square_marketing_image'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['square_marketing_image']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['square_marketing_image'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_square_marketing_image'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_price_prefix'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['price_prefix']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['price_prefix'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_price_prefix'] +_LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_promo_text'].fields.append( + _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['promo_text']) +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['promo_text'].containing_oneof = _LEGACYRESPONSIVEDISPLAYADINFO.oneofs_by_name['_promo_text'] +_APPADINFO.fields_by_name['mandatory_ad_text'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPADINFO.fields_by_name['images'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_APPADINFO.fields_by_name['youtube_videos'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET +_APPADINFO.fields_by_name['html5_media_bundles'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADMEDIABUNDLEASSET +_APPENGAGEMENTADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPENGAGEMENTADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPENGAGEMENTADINFO.fields_by_name['images'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_APPENGAGEMENTADINFO.fields_by_name['videos'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET +_LEGACYAPPINSTALLADINFO.fields_by_name['app_store'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2._LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE +_LEGACYAPPINSTALLADINFO.oneofs_by_name['_app_id'].fields.append( + _LEGACYAPPINSTALLADINFO.fields_by_name['app_id']) +_LEGACYAPPINSTALLADINFO.fields_by_name['app_id'].containing_oneof = _LEGACYAPPINSTALLADINFO.oneofs_by_name['_app_id'] +_LEGACYAPPINSTALLADINFO.oneofs_by_name['_headline'].fields.append( + _LEGACYAPPINSTALLADINFO.fields_by_name['headline']) +_LEGACYAPPINSTALLADINFO.fields_by_name['headline'].containing_oneof = _LEGACYAPPINSTALLADINFO.oneofs_by_name['_headline'] +_LEGACYAPPINSTALLADINFO.oneofs_by_name['_description1'].fields.append( + _LEGACYAPPINSTALLADINFO.fields_by_name['description1']) +_LEGACYAPPINSTALLADINFO.fields_by_name['description1'].containing_oneof = _LEGACYAPPINSTALLADINFO.oneofs_by_name['_description1'] +_LEGACYAPPINSTALLADINFO.oneofs_by_name['_description2'].fields.append( + _LEGACYAPPINSTALLADINFO.fields_by_name['description2']) +_LEGACYAPPINSTALLADINFO.fields_by_name['description2'].containing_oneof = _LEGACYAPPINSTALLADINFO.oneofs_by_name['_description2'] +_RESPONSIVEDISPLAYADINFO.fields_by_name['marketing_images'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['square_marketing_images'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['logo_images'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['square_logo_images'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['long_headline'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['youtube_videos'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['format_setting'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_display__ad__format__setting__pb2._DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING +_RESPONSIVEDISPLAYADINFO.fields_by_name['control_spec'].message_type = _RESPONSIVEDISPLAYADCONTROLSPEC +_RESPONSIVEDISPLAYADINFO.oneofs_by_name['_business_name'].fields.append( + _RESPONSIVEDISPLAYADINFO.fields_by_name['business_name']) +_RESPONSIVEDISPLAYADINFO.fields_by_name['business_name'].containing_oneof = _RESPONSIVEDISPLAYADINFO.oneofs_by_name['_business_name'] +_RESPONSIVEDISPLAYADINFO.oneofs_by_name['_main_color'].fields.append( + _RESPONSIVEDISPLAYADINFO.fields_by_name['main_color']) +_RESPONSIVEDISPLAYADINFO.fields_by_name['main_color'].containing_oneof = _RESPONSIVEDISPLAYADINFO.oneofs_by_name['_main_color'] +_RESPONSIVEDISPLAYADINFO.oneofs_by_name['_accent_color'].fields.append( + _RESPONSIVEDISPLAYADINFO.fields_by_name['accent_color']) +_RESPONSIVEDISPLAYADINFO.fields_by_name['accent_color'].containing_oneof = _RESPONSIVEDISPLAYADINFO.oneofs_by_name['_accent_color'] +_RESPONSIVEDISPLAYADINFO.oneofs_by_name['_allow_flexible_color'].fields.append( + _RESPONSIVEDISPLAYADINFO.fields_by_name['allow_flexible_color']) +_RESPONSIVEDISPLAYADINFO.fields_by_name['allow_flexible_color'].containing_oneof = _RESPONSIVEDISPLAYADINFO.oneofs_by_name['_allow_flexible_color'] +_RESPONSIVEDISPLAYADINFO.oneofs_by_name['_call_to_action_text'].fields.append( + _RESPONSIVEDISPLAYADINFO.fields_by_name['call_to_action_text']) +_RESPONSIVEDISPLAYADINFO.fields_by_name['call_to_action_text'].containing_oneof = _RESPONSIVEDISPLAYADINFO.oneofs_by_name['_call_to_action_text'] +_RESPONSIVEDISPLAYADINFO.oneofs_by_name['_price_prefix'].fields.append( + _RESPONSIVEDISPLAYADINFO.fields_by_name['price_prefix']) +_RESPONSIVEDISPLAYADINFO.fields_by_name['price_prefix'].containing_oneof = _RESPONSIVEDISPLAYADINFO.oneofs_by_name['_price_prefix'] +_RESPONSIVEDISPLAYADINFO.oneofs_by_name['_promo_text'].fields.append( + _RESPONSIVEDISPLAYADINFO.fields_by_name['promo_text']) +_RESPONSIVEDISPLAYADINFO.fields_by_name['promo_text'].containing_oneof = _RESPONSIVEDISPLAYADINFO.oneofs_by_name['_promo_text'] +_LOCALADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_LOCALADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_LOCALADINFO.fields_by_name['call_to_actions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_LOCALADINFO.fields_by_name['marketing_images'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_LOCALADINFO.fields_by_name['logo_images'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_LOCALADINFO.fields_by_name['videos'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET +_LOCALADINFO.oneofs_by_name['_path1'].fields.append( + _LOCALADINFO.fields_by_name['path1']) +_LOCALADINFO.fields_by_name['path1'].containing_oneof = _LOCALADINFO.oneofs_by_name['_path1'] +_LOCALADINFO.oneofs_by_name['_path2'].fields.append( + _LOCALADINFO.fields_by_name['path2']) +_LOCALADINFO.fields_by_name['path2'].containing_oneof = _LOCALADINFO.oneofs_by_name['_path2'] +_DISPLAYUPLOADADINFO.fields_by_name['display_upload_product_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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'] +DESCRIPTOR.message_types_by_name['TextAdInfo'] = _TEXTADINFO +DESCRIPTOR.message_types_by_name['ExpandedTextAdInfo'] = _EXPANDEDTEXTADINFO +DESCRIPTOR.message_types_by_name['CallOnlyAdInfo'] = _CALLONLYADINFO +DESCRIPTOR.message_types_by_name['ExpandedDynamicSearchAdInfo'] = _EXPANDEDDYNAMICSEARCHADINFO +DESCRIPTOR.message_types_by_name['HotelAdInfo'] = _HOTELADINFO +DESCRIPTOR.message_types_by_name['ShoppingSmartAdInfo'] = _SHOPPINGSMARTADINFO +DESCRIPTOR.message_types_by_name['ShoppingProductAdInfo'] = _SHOPPINGPRODUCTADINFO +DESCRIPTOR.message_types_by_name['ShoppingComparisonListingAdInfo'] = _SHOPPINGCOMPARISONLISTINGADINFO +DESCRIPTOR.message_types_by_name['GmailAdInfo'] = _GMAILADINFO +DESCRIPTOR.message_types_by_name['GmailTeaser'] = _GMAILTEASER +DESCRIPTOR.message_types_by_name['DisplayCallToAction'] = _DISPLAYCALLTOACTION +DESCRIPTOR.message_types_by_name['ProductImage'] = _PRODUCTIMAGE +DESCRIPTOR.message_types_by_name['ProductVideo'] = _PRODUCTVIDEO +DESCRIPTOR.message_types_by_name['ImageAdInfo'] = _IMAGEADINFO +DESCRIPTOR.message_types_by_name['VideoBumperInStreamAdInfo'] = _VIDEOBUMPERINSTREAMADINFO +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['VideoResponsiveAdInfo'] = _VIDEORESPONSIVEADINFO +DESCRIPTOR.message_types_by_name['ResponsiveSearchAdInfo'] = _RESPONSIVESEARCHADINFO +DESCRIPTOR.message_types_by_name['LegacyResponsiveDisplayAdInfo'] = _LEGACYRESPONSIVEDISPLAYADINFO +DESCRIPTOR.message_types_by_name['AppAdInfo'] = _APPADINFO +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 +DESCRIPTOR.message_types_by_name['ResponsiveDisplayAdControlSpec'] = _RESPONSIVEDISPLAYADCONTROLSPEC +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +TextAdInfo = _reflection.GeneratedProtocolMessageType('TextAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _TEXTADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A text ad. + + Attributes: + headline: + The headline of the ad. + description1: + The first line of the ad's description. + description2: + The second line of the ad's description. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.TextAdInfo) + }) +_sym_db.RegisterMessage(TextAdInfo) + +ExpandedTextAdInfo = _reflection.GeneratedProtocolMessageType('ExpandedTextAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _EXPANDEDTEXTADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """An expanded text ad. + + Attributes: + headline_part1: + The first part of the ad's headline. + headline_part2: + The second part of the ad's headline. + headline_part3: + The third part of the ad's headline. + description: + The description of the ad. + description2: + The second description of the ad. + path1: + The text that can appear alongside the ad's displayed URL. + path2: + Additional text that can appear alongside the ad's displayed + URL. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ExpandedTextAdInfo) + }) +_sym_db.RegisterMessage(ExpandedTextAdInfo) + +CallOnlyAdInfo = _reflection.GeneratedProtocolMessageType('CallOnlyAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _CALLONLYADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A call-only ad. + + Attributes: + country_code: + The country code in the ad. + phone_number: + The phone number in the ad. + business_name: + The business name in the ad. + headline1: + First headline in the ad. + headline2: + Second headline in the ad. + description1: + The first line of the ad's description. + description2: + The second line of the ad's description. + call_tracked: + Whether to enable call tracking for the creative. Enabling + call tracking also enables call conversions. + disable_call_conversion: + Whether to disable call conversion for the creative. If set to + ``true``, disables call conversions even when ``call_tracked`` + is ``true``. If ``call_tracked`` is ``false``, this field is + ignored. + phone_number_verification_url: + The URL to be used for phone number verification. + conversion_action: + The conversion action to attribute a call conversion to. If + not set a default conversion action is used. This field only + has effect if call\_tracked is set to true. Otherwise this + field is ignored. + conversion_reporting_state: + The call conversion behavior of this call only ad. It can use + its own call conversion setting, inherit the account level + setting, or be disabled. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CallOnlyAdInfo) + }) +_sym_db.RegisterMessage(CallOnlyAdInfo) + +ExpandedDynamicSearchAdInfo = _reflection.GeneratedProtocolMessageType('ExpandedDynamicSearchAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _EXPANDEDDYNAMICSEARCHADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """An expanded dynamic search ad. + + Attributes: + description: + The description of the ad. + description2: + The second description of the ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ExpandedDynamicSearchAdInfo) + }) +_sym_db.RegisterMessage(ExpandedDynamicSearchAdInfo) + +HotelAdInfo = _reflection.GeneratedProtocolMessageType('HotelAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A hotel ad.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelAdInfo) + }) +_sym_db.RegisterMessage(HotelAdInfo) + +ShoppingSmartAdInfo = _reflection.GeneratedProtocolMessageType('ShoppingSmartAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _SHOPPINGSMARTADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A Smart Shopping ad.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ShoppingSmartAdInfo) + }) +_sym_db.RegisterMessage(ShoppingSmartAdInfo) + +ShoppingProductAdInfo = _reflection.GeneratedProtocolMessageType('ShoppingProductAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _SHOPPINGPRODUCTADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A standard Shopping ad.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ShoppingProductAdInfo) + }) +_sym_db.RegisterMessage(ShoppingProductAdInfo) + +ShoppingComparisonListingAdInfo = _reflection.GeneratedProtocolMessageType('ShoppingComparisonListingAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _SHOPPINGCOMPARISONLISTINGADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A Shopping Comparison Listing ad. + + Attributes: + headline: + Headline of the ad. This field is required. Allowed length is + between 25 and 45 characters. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ShoppingComparisonListingAdInfo) + }) +_sym_db.RegisterMessage(ShoppingComparisonListingAdInfo) + +GmailAdInfo = _reflection.GeneratedProtocolMessageType('GmailAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _GMAILADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A Gmail ad. + + Attributes: + teaser: + The Gmail teaser. + header_image: + The MediaFile resource name of the header image. Valid image + types are GIF, JPEG and PNG. The minimum size is 300x100 + pixels and the aspect ratio must be between 3:1 and 5:1 + (+-1%). + marketing_image: + The MediaFile resource name of the marketing image. Valid + image types are GIF, JPEG and PNG. The image must either be + landscape with a minimum size of 600x314 pixels and aspect + ratio of 600:314 (+-1%) or square with a minimum size of + 300x300 pixels and aspect ratio of 1:1 (+-1%) + marketing_image_headline: + Headline of the marketing image. + marketing_image_description: + Description of the marketing image. + marketing_image_display_call_to_action: + Display-call-to-action of the marketing image. + product_images: + Product images. Up to 15 images are supported. + product_videos: + 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.v6.common.GmailAdInfo) + }) +_sym_db.RegisterMessage(GmailAdInfo) + +GmailTeaser = _reflection.GeneratedProtocolMessageType('GmailTeaser', (_message.Message,), { + 'DESCRIPTOR' : _GMAILTEASER, + '__module__' : 'google.ads.googleads_v6.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). + + Attributes: + headline: + Headline of the teaser. + description: + Description of the teaser. + business_name: + Business name of the advertiser. + logo_image: + The MediaFile resource name of the logo image. Valid image + 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.v6.common.GmailTeaser) + }) +_sym_db.RegisterMessage(GmailTeaser) + +DisplayCallToAction = _reflection.GeneratedProtocolMessageType('DisplayCallToAction', (_message.Message,), { + 'DESCRIPTOR' : _DISPLAYCALLTOACTION, + '__module__' : 'google.ads.googleads_v6.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 phone call. + + Attributes: + text: + Text for the display-call-to-action. + text_color: + Text color for the display-call-to-action in hexadecimal, e.g. + #ffffff for white. + url_collection_id: + 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.v6.common.DisplayCallToAction) + }) +_sym_db.RegisterMessage(DisplayCallToAction) + +ProductImage = _reflection.GeneratedProtocolMessageType('ProductImage', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTIMAGE, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """Product image specific data. + + Attributes: + product_image: + The MediaFile resource name of the product image. Valid image + types are GIF, JPEG and PNG. The minimum size is 300x300 + pixels and the aspect ratio must be 1:1 (+-1%). + description: + Description of the product. + display_call_to_action: + Display-call-to-action of the product image. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ProductImage) + }) +_sym_db.RegisterMessage(ProductImage) + +ProductVideo = _reflection.GeneratedProtocolMessageType('ProductVideo', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTVIDEO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """Product video specific data. + + Attributes: + product_video: + The MediaFile resource name of a video which must be hosted on + YouTube. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ProductVideo) + }) +_sym_db.RegisterMessage(ProductVideo) + +ImageAdInfo = _reflection.GeneratedProtocolMessageType('ImageAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _IMAGEADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """An image ad. + + Attributes: + pixel_width: + Width in pixels of the full size image. + pixel_height: + Height in pixels of the full size image. + image_url: + URL of the full size image. + preview_pixel_width: + Width in pixels of the preview size image. + preview_pixel_height: + Height in pixels of the preview size image. + preview_image_url: + URL of the preview size image. + mime_type: + The mime type of the image. + name: + The name of the image. If the image was created from a + MediaFile, this is the MediaFile's name. If the image was + created from bytes, this is empty. + image: + The image to create the ImageAd from. This can be specified in + one of two ways. 1. An existing MediaFile resource. 2. The raw + image data as bytes. + media_file: + The MediaFile resource to use for the image. + data: + Raw image data as bytes. + ad_id_to_copy_image_from: + An ad ID to copy the image from. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ImageAdInfo) + }) +_sym_db.RegisterMessage(ImageAdInfo) + +VideoBumperInStreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoBumperInStreamAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _VIDEOBUMPERINSTREAMADINFO, + '__module__' : 'google.ads.googleads_v6.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.v6.common.VideoBumperInStreamAdInfo) + }) +_sym_db.RegisterMessage(VideoBumperInStreamAdInfo) + +VideoNonSkippableInStreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoNonSkippableInStreamAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _VIDEONONSKIPPABLEINSTREAMADINFO, + '__module__' : 'google.ads.googleads_v6.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.v6.common.VideoNonSkippableInStreamAdInfo) + }) +_sym_db.RegisterMessage(VideoNonSkippableInStreamAdInfo) + +VideoTrueViewInStreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoTrueViewInStreamAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _VIDEOTRUEVIEWINSTREAMADINFO, + '__module__' : 'google.ads.googleads_v6.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 + seconds into the video). + + Attributes: + action_button_label: + Label on the CTA (call-to-action) button taking the user to + the video ad's final URL. Required for TrueView for action + campaigns, optional otherwise. + action_headline: + Additional text displayed with the CTA (call-to-action) button + to give context and encourage clicking on the button. + companion_banner: + The MediaFile resource name of the companion banner used with + the ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.VideoTrueViewInStreamAdInfo) + }) +_sym_db.RegisterMessage(VideoTrueViewInStreamAdInfo) + +VideoOutstreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoOutstreamAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _VIDEOOUTSTREAMADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """Representation of video out-stream ad format (ad shown alongside a + feed with automatic playback, without sound). + + Attributes: + headline: + The headline of the ad. + description: + The description line. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.VideoOutstreamAdInfo) + }) +_sym_db.RegisterMessage(VideoOutstreamAdInfo) + +VideoTrueViewDiscoveryAdInfo = _reflection.GeneratedProtocolMessageType('VideoTrueViewDiscoveryAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _VIDEOTRUEVIEWDISCOVERYADINFO, + '__module__' : 'google.ads.googleads_v6.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.v6.common.VideoTrueViewDiscoveryAdInfo) + }) +_sym_db.RegisterMessage(VideoTrueViewDiscoveryAdInfo) + +VideoAdInfo = _reflection.GeneratedProtocolMessageType('VideoAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _VIDEOADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A video ad. + + Attributes: + media_file: + The MediaFile resource to use for the video. + format: + Format-specific schema for the different video formats. + in_stream: + Video TrueView in-stream ad format. + bumper: + Video bumper in-stream ad format. + out_stream: + 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.v6.common.VideoAdInfo) + }) +_sym_db.RegisterMessage(VideoAdInfo) + +VideoResponsiveAdInfo = _reflection.GeneratedProtocolMessageType('VideoResponsiveAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _VIDEORESPONSIVEADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A video responsive ad. + + Attributes: + headlines: + List of text assets used for the short headline, e.g. the + "Call To Action" banner. Currently, only a single value for + the short headline is supported. + long_headlines: + List of text assets used for the long headline. Currently, + only a single value for the long headline is supported. + descriptions: + List of text assets used for the description. Currently, only + a single value for the description is supported. + call_to_actions: + List of text assets used for the button, e.g. the "Call To + Action" button. Currently, only a single value for the button + is supported. + videos: + List of YouTube video assets used for the ad. Currently, only + a single value for the YouTube video asset is supported. + companion_banners: + List of image assets used for the companion banner. Currently, + only a single value for the companion banner asset is + supported. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.VideoResponsiveAdInfo) + }) +_sym_db.RegisterMessage(VideoResponsiveAdInfo) + +ResponsiveSearchAdInfo = _reflection.GeneratedProtocolMessageType('ResponsiveSearchAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _RESPONSIVESEARCHADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A responsive search ad. Responsive search ads let you create an ad + that adapts to show more text, and more relevant messages, to your + customers. Enter multiple headlines and descriptions when creating a + responsive search ad, and over time, Google Ads will automatically + test different combinations and learn which combinations perform best. + By adapting your ad's content to more closely match potential + customers' search terms, responsive search ads may improve your + campaign's performance. More information at + https://support.google.com/google-ads/answer/7684791 + + Attributes: + headlines: + List of text assets for headlines. When the ad serves the + headlines will be selected from this list. + descriptions: + List of text assets for descriptions. When the ad serves the + descriptions will be selected from this list. + path1: + First part of text that may appear appended to the url + displayed in the ad. + path2: + Second part of 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.v6.common.ResponsiveSearchAdInfo) + }) +_sym_db.RegisterMessage(ResponsiveSearchAdInfo) + +LegacyResponsiveDisplayAdInfo = _reflection.GeneratedProtocolMessageType('LegacyResponsiveDisplayAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _LEGACYRESPONSIVEDISPLAYADINFO, + '__module__' : 'google.ads.googleads_v6.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. + + Attributes: + short_headline: + The short version of the ad's headline. + long_headline: + The long version of the ad's headline. + description: + The description of the ad. + business_name: + The business name in the ad. + allow_flexible_color: + Advertiser's consent to allow flexible color. When true, the + ad may be served with different color if necessary. When + false, the ad will be served with the specified colors or a + neutral color. The default value is true. Must be true if + main\_color and accent\_color are not set. + accent_color: + The accent color of the ad in hexadecimal, e.g. #ffffff for + white. If one of main\_color and accent\_color is set, the + other is required as well. + main_color: + The main color of the ad in hexadecimal, e.g. #ffffff for + white. If one of main\_color and accent\_color is set, the + other is required as well. + call_to_action_text: + The call-to-action text for the ad. + logo_image: + The MediaFile resource name of the logo image used in the ad. + square_logo_image: + The MediaFile resource name of the square logo image used in + the ad. + marketing_image: + The MediaFile resource name of the marketing image used in the + ad. + square_marketing_image: + The MediaFile resource name of the square marketing image used + in the ad. + format_setting: + Specifies which format the ad will be served in. Default is + ALL\_FORMATS. + price_prefix: + Prefix before price. E.g. 'as low as'. + promo_text: + Promotion text used for dyanmic formats of responsive ads. For + example 'Free two-day shipping'. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfo) + }) +_sym_db.RegisterMessage(LegacyResponsiveDisplayAdInfo) + +AppAdInfo = _reflection.GeneratedProtocolMessageType('AppAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _APPADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """An app ad. + + Attributes: + mandatory_ad_text: + Mandatory ad text. + headlines: + List of text assets for headlines. When the ad serves the + headlines will be selected from this list. + descriptions: + List of text assets for descriptions. When the ad serves the + descriptions will be selected from this list. + images: + List of image assets that may be displayed with the ad. + youtube_videos: + List of YouTube video assets that may be displayed with the + ad. + html5_media_bundles: + List of media bundle assets that may be used with the ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AppAdInfo) + }) +_sym_db.RegisterMessage(AppAdInfo) + +AppEngagementAdInfo = _reflection.GeneratedProtocolMessageType('AppEngagementAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _APPENGAGEMENTADINFO, + '__module__' : 'google.ads.googleads_v6.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. They allow you to send users to a specific part of your app + where they can find what they're looking for easier and faster. + + Attributes: + headlines: + List of text assets for headlines. When the ad serves the + headlines will be selected from this list. + descriptions: + List of text assets for descriptions. When the ad serves the + descriptions will be selected from this list. + images: + List of image assets that may be displayed with the ad. + videos: + List of video assets that may be displayed with the ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AppEngagementAdInfo) + }) +_sym_db.RegisterMessage(AppEngagementAdInfo) + +LegacyAppInstallAdInfo = _reflection.GeneratedProtocolMessageType('LegacyAppInstallAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _LEGACYAPPINSTALLADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A legacy app install ad that only can be used by a few select + customers. + + Attributes: + app_id: + The id of the mobile app. + app_store: + The app store the mobile app is available in. + headline: + The headline of the ad. + description1: + The first description line of the ad. + description2: + The second description line of the ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LegacyAppInstallAdInfo) + }) +_sym_db.RegisterMessage(LegacyAppInstallAdInfo) + +ResponsiveDisplayAdInfo = _reflection.GeneratedProtocolMessageType('ResponsiveDisplayAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _RESPONSIVEDISPLAYADINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """A responsive display ad. + + Attributes: + marketing_images: + Marketing images to be used in the ad. Valid image types are + GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect + ratio must be 1.91:1 (+-1%). At least one marketing\_image is + required. Combined with square\_marketing\_images the maximum + is 15. + square_marketing_images: + Square marketing images to be used in the ad. Valid image + types are GIF, JPEG, and PNG. The minimum size is 300x300 and + the aspect ratio must be 1:1 (+-1%). At least one square + marketing\_image is required. Combined with marketing\_images + the maximum is 15. + logo_images: + Logo images to be used in the ad. Valid image types are GIF, + JPEG, and PNG. The minimum size is 512x128 and the aspect + ratio must be 4:1 (+-1%). Combined with square\_logo\_images + the maximum is 5. + square_logo_images: + Square logo images to be used in the ad. Valid image types are + GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect + ratio must be 1:1 (+-1%). Combined with square\_logo\_images + the maximum is 5. + headlines: + Short format headlines for the ad. The maximum length is 30 + characters. At least 1 and max 5 headlines can be specified. + long_headline: + A required long format headline. The maximum length is 90 + characters. + descriptions: + 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 videos for the ad. A maximum of 5 videos can + be specified. + business_name: + The advertiser/brand name. Maximum display width is 25. + main_color: + The main color of the ad in hexadecimal, e.g. #ffffff for + white. If one of main\_color and accent\_color is set, the + other is required as well. + accent_color: + The accent color of the ad in hexadecimal, e.g. #ffffff for + white. If one of main\_color and accent\_color is set, the + other is required as well. + allow_flexible_color: + Advertiser's consent to allow flexible color. When true, the + ad may be served with different color if necessary. When + false, the ad will be served with the specified colors or a + neutral color. The default value is true. Must be true if + main\_color and accent\_color are not set. + call_to_action_text: + The call-to-action text for the ad. Maximum display width is + 30. + price_prefix: + Prefix before price. E.g. 'as low as'. + promo_text: + Promotion text used for dyanmic formats of responsive ads. For + example 'Free two-day shipping'. + format_setting: + Specifies which format the ad will be served in. Default is + ALL\_FORMATS. + control_spec: + Specification for various creative controls. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ResponsiveDisplayAdInfo) + }) +_sym_db.RegisterMessage(ResponsiveDisplayAdInfo) + +LocalAdInfo = _reflection.GeneratedProtocolMessageType('LocalAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _LOCALADINFO, + '__module__' : 'google.ads.googleads_v6.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.v6.common.LocalAdInfo) + }) +_sym_db.RegisterMessage(LocalAdInfo) + +DisplayUploadAdInfo = _reflection.GeneratedProtocolMessageType('DisplayUploadAdInfo', (_message.Message,), { + 'DESCRIPTOR' : _DISPLAYUPLOADADINFO, + '__module__' : 'google.ads.googleads_v6.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 + data need to be included with the ad. + + Attributes: + display_upload_product_type: + The product type of this ad. See comments on the enum for + details. + media_asset: + The asset data that makes up the ad. + media_bundle: + A media bundle asset to be used in the ad. For information + about the media bundle for HTML5\_UPLOAD\_AD see + https://support.google.com/google-ads/answer/1722096 Media + bundles that are part of dynamic product types use a special + format that needs to be created through the Google Web + Designer. See + https://support.google.com/webdesigner/answer/7543898 for more + information. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.DisplayUploadAdInfo) + }) +_sym_db.RegisterMessage(DisplayUploadAdInfo) + +ResponsiveDisplayAdControlSpec = _reflection.GeneratedProtocolMessageType('ResponsiveDisplayAdControlSpec', (_message.Message,), { + 'DESCRIPTOR' : _RESPONSIVEDISPLAYADCONTROLSPEC, + '__module__' : 'google.ads.googleads_v6.proto.common.ad_type_infos_pb2' + , + '__doc__': """Specification for various creative controls for a responsive display + ad. + + Attributes: + enable_asset_enhancements: + Whether the advertiser has opted into the asset enhancements + feature. + enable_autogen_video: + Whether the advertiser has opted into auto-gen video feature. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ResponsiveDisplayAdControlSpec) + }) +_sym_db.RegisterMessage(ResponsiveDisplayAdControlSpec) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/ad_type_infos_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/ad_type_infos_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/ad_type_infos_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/asset_policy_pb2.py b/google/ads/google_ads/v6/proto/common/asset_policy_pb2.py new file mode 100644 index 000000000..990893c56 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/asset_policy_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/asset_policy.proto + +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.v6.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2 +from google.ads.google_ads.v6.proto.enums import policy_approval_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__approval__status__pb2 +from google.ads.google_ads.v6.proto.enums import policy_review_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__review__status__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/asset_policy.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\020AssetPolicyProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n7google/ads/googleads_v6/proto/common/asset_policy.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x31google/ads/googleads_v6/proto/common/policy.proto\x1a@google/ads/googleads_v6/proto/enums/policy_approval_status.proto\x1a>google/ads/googleads_v6/proto/enums/policy_review_status.proto\x1a\x1cgoogle/api/annotations.proto\"\xae\x02\n\x14\x41\x64\x41ssetPolicySummary\x12N\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v6.common.PolicyTopicEntry\x12_\n\rreview_status\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v6.enums.PolicyReviewStatusEnum.PolicyReviewStatus\x12\x65\n\x0f\x61pproval_status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v6.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\xeb\x01\n\"com.google.ads.googleads.v6.commonB\x10\x41ssetPolicyProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__review__status__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADASSETPOLICYSUMMARY = _descriptor.Descriptor( + name='AdAssetPolicySummary', + full_name='google.ads.googleads.v6.common.AdAssetPolicySummary', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='policy_topic_entries', full_name='google.ads.googleads.v6.common.AdAssetPolicySummary.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='review_status', full_name='google.ads.googleads.v6.common.AdAssetPolicySummary.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='approval_status', full_name='google.ads.googleads.v6.common.AdAssetPolicySummary.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=303, + serialized_end=605, +) + +_ADASSETPOLICYSUMMARY.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY +_ADASSETPOLICYSUMMARY.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS +_ADASSETPOLICYSUMMARY.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__approval__status__pb2._POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS +DESCRIPTOR.message_types_by_name['AdAssetPolicySummary'] = _ADASSETPOLICYSUMMARY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdAssetPolicySummary = _reflection.GeneratedProtocolMessageType('AdAssetPolicySummary', (_message.Message,), { + 'DESCRIPTOR' : _ADASSETPOLICYSUMMARY, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_policy_pb2' + , + '__doc__': """Contains policy information for an asset inside an ad. + + Attributes: + policy_topic_entries: + The list of policy findings for this asset. + review_status: + Where in the review process this asset. + approval_status: + The overall approval status of this asset, which is calculated + based on the status of its individual policy topic entries. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AdAssetPolicySummary) + }) +_sym_db.RegisterMessage(AdAssetPolicySummary) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/asset_policy_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/asset_policy_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/asset_policy_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/asset_types_pb2.py b/google/ads/google_ads/v6/proto/common/asset_types_pb2.py new file mode 100644 index 000000000..f522be960 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/asset_types_pb2.py @@ -0,0 +1,919 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/asset_types.proto + +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.v6.proto.enums import lead_form_call_to_action_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__call__to__action__type__pb2 +from google.ads.google_ads.v6.proto.enums import lead_form_desired_intent_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__desired__intent__pb2 +from google.ads.google_ads.v6.proto.enums import lead_form_field_user_input_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__field__user__input__type__pb2 +from google.ads.google_ads.v6.proto.enums import lead_form_post_submit_call_to_action_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__post__submit__call__to__action__type__pb2 +from google.ads.google_ads.v6.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v6_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 annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/asset_types.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\017AssetTypesProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/common/asset_types.proto\x12\x1egoogle.ads.googleads.v6.common\x1aGgoogle/ads/googleads_v6/proto/enums/lead_form_call_to_action_type.proto\x1a\x42google/ads/googleads_v6/proto/enums/lead_form_desired_intent.proto\x1aIgoogle/ads/googleads_v6/proto/enums/lead_form_field_user_input_type.proto\x1aSgoogle/ads/googleads_v6/proto/enums/lead_form_post_submit_call_to_action_type.proto\x1a\x33google/ads/googleads_v6/proto/enums/mime_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/api/annotations.proto\"G\n\x11YoutubeVideoAsset\x12\x1d\n\x10youtube_video_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_youtube_video_id\".\n\x10MediaBundleAsset\x12\x11\n\x04\x64\x61ta\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x07\n\x05_data\"\xda\x01\n\nImageAsset\x12\x11\n\x04\x64\x61ta\x18\x05 \x01(\x0cH\x00\x88\x01\x01\x12\x16\n\tfile_size\x18\x06 \x01(\x03H\x01\x88\x01\x01\x12G\n\tmime_type\x18\x03 \x01(\x0e\x32\x34.google.ads.googleads.v6.enums.MimeTypeEnum.MimeType\x12\x41\n\tfull_size\x18\x04 \x01(\x0b\x32..google.ads.googleads.v6.common.ImageDimensionB\x07\n\x05_dataB\x0c\n\n_file_size\"\x84\x01\n\x0eImageDimension\x12\x1a\n\rheight_pixels\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12\x19\n\x0cwidth_pixels\x18\x05 \x01(\x03H\x01\x88\x01\x01\x12\x10\n\x03url\x18\x06 \x01(\tH\x02\x88\x01\x01\x42\x10\n\x0e_height_pixelsB\x0f\n\r_width_pixelsB\x06\n\x04_url\"\'\n\tTextAsset\x12\x11\n\x04text\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x07\n\x05_text\"\x9f\x07\n\rLeadFormAsset\x12\x1a\n\rbusiness_name\x18\n \x01(\tB\x03\xe0\x41\x02\x12v\n\x13\x63\x61ll_to_action_type\x18\x11 \x01(\x0e\x32T.google.ads.googleads.v6.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionTypeB\x03\xe0\x41\x02\x12\'\n\x1a\x63\x61ll_to_action_description\x18\x12 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08headline\x18\x0c \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12privacy_policy_url\x18\x0e \x01(\tB\x03\xe0\x41\x02\x12!\n\x14post_submit_headline\x18\x0f \x01(\tH\x00\x88\x01\x01\x12$\n\x17post_submit_description\x18\x10 \x01(\tH\x01\x88\x01\x01\x12=\n\x06\x66ields\x18\x08 \x03(\x0b\x32-.google.ads.googleads.v6.common.LeadFormField\x12P\n\x10\x64\x65livery_methods\x18\t \x03(\x0b\x32\x36.google.ads.googleads.v6.common.LeadFormDeliveryMethod\x12\x91\x01\n\x1fpost_submit_call_to_action_type\x18\x13 \x01(\x0e\x32h.google.ads.googleads.v6.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType\x12#\n\x16\x62\x61\x63kground_image_asset\x18\x14 \x01(\tH\x02\x88\x01\x01\x12\x66\n\x0e\x64\x65sired_intent\x18\x15 \x01(\x0e\x32N.google.ads.googleads.v6.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent\x12\x1e\n\x11\x63ustom_disclosure\x18\x16 \x01(\tH\x03\x88\x01\x01\x42\x17\n\x15_post_submit_headlineB\x1a\n\x18_post_submit_descriptionB\x19\n\x17_background_image_assetB\x14\n\x12_custom_disclosure\"\xe6\x01\n\rLeadFormField\x12l\n\ninput_type\x18\x01 \x01(\x0e\x32X.google.ads.googleads.v6.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType\x12\\\n\x15single_choice_answers\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v6.common.LeadFormSingleChoiceAnswersH\x00\x42\t\n\x07\x61nswers\".\n\x1bLeadFormSingleChoiceAnswers\x12\x0f\n\x07\x61nswers\x18\x01 \x03(\t\"p\n\x16LeadFormDeliveryMethod\x12\x42\n\x07webhook\x18\x01 \x01(\x0b\x32/.google.ads.googleads.v6.common.WebhookDeliveryH\x00\x42\x12\n\x10\x64\x65livery_details\"\xbf\x01\n\x0fWebhookDelivery\x12#\n\x16\x61\x64vertiser_webhook_url\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rgoogle_secret\x18\x05 \x01(\tH\x01\x88\x01\x01\x12#\n\x16payload_schema_version\x18\x06 \x01(\x03H\x02\x88\x01\x01\x42\x19\n\x17_advertiser_webhook_urlB\x10\n\x0e_google_secretB\x19\n\x17_payload_schema_version\"\x13\n\x11\x42ookOnGoogleAssetB\xea\x01\n\"com.google.ads.googleads.v6.commonB\x0f\x41ssetTypesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__call__to__action__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__desired__intent__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__field__user__input__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__post__submit__call__to__action__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_mime__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_YOUTUBEVIDEOASSET = _descriptor.Descriptor( + name='YoutubeVideoAsset', + full_name='google.ads.googleads.v6.common.YoutubeVideoAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='youtube_video_id', full_name='google.ads.googleads.v6.common.YoutubeVideoAsset.youtube_video_id', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_youtube_video_id', full_name='google.ads.googleads.v6.common.YoutubeVideoAsset._youtube_video_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=507, + serialized_end=578, +) + + +_MEDIABUNDLEASSET = _descriptor.Descriptor( + name='MediaBundleAsset', + full_name='google.ads.googleads.v6.common.MediaBundleAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='data', full_name='google.ads.googleads.v6.common.MediaBundleAsset.data', index=0, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_data', full_name='google.ads.googleads.v6.common.MediaBundleAsset._data', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=580, + serialized_end=626, +) + + +_IMAGEASSET = _descriptor.Descriptor( + name='ImageAsset', + full_name='google.ads.googleads.v6.common.ImageAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='data', full_name='google.ads.googleads.v6.common.ImageAsset.data', index=0, + number=5, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=b"", + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='file_size', full_name='google.ads.googleads.v6.common.ImageAsset.file_size', index=1, + number=6, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mime_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='full_size', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_data', full_name='google.ads.googleads.v6.common.ImageAsset._data', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_file_size', full_name='google.ads.googleads.v6.common.ImageAsset._file_size', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=629, + serialized_end=847, +) + + +_IMAGEDIMENSION = _descriptor.Descriptor( + name='ImageDimension', + full_name='google.ads.googleads.v6.common.ImageDimension', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='height_pixels', full_name='google.ads.googleads.v6.common.ImageDimension.height_pixels', index=0, + number=4, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='width_pixels', full_name='google.ads.googleads.v6.common.ImageDimension.width_pixels', index=1, + number=5, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url', full_name='google.ads.googleads.v6.common.ImageDimension.url', index=2, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_height_pixels', full_name='google.ads.googleads.v6.common.ImageDimension._height_pixels', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_width_pixels', full_name='google.ads.googleads.v6.common.ImageDimension._width_pixels', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_url', full_name='google.ads.googleads.v6.common.ImageDimension._url', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=850, + serialized_end=982, +) + + +_TEXTASSET = _descriptor.Descriptor( + name='TextAsset', + full_name='google.ads.googleads.v6.common.TextAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='text', full_name='google.ads.googleads.v6.common.TextAsset.text', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_text', full_name='google.ads.googleads.v6.common.TextAsset._text', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=984, + serialized_end=1023, +) + + +_LEADFORMASSET = _descriptor.Descriptor( + name='LeadFormAsset', + full_name='google.ads.googleads.v6.common.LeadFormAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='business_name', full_name='google.ads.googleads.v6.common.LeadFormAsset.business_name', index=0, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_to_action_type', full_name='google.ads.googleads.v6.common.LeadFormAsset.call_to_action_type', index=1, + 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\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_to_action_description', full_name='google.ads.googleads.v6.common.LeadFormAsset.call_to_action_description', index=2, + number=18, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='headline', full_name='google.ads.googleads.v6.common.LeadFormAsset.headline', index=3, + 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=b'\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v6.common.LeadFormAsset.description', index=4, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='privacy_policy_url', full_name='google.ads.googleads.v6.common.LeadFormAsset.privacy_policy_url', index=5, + number=14, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='post_submit_headline', full_name='google.ads.googleads.v6.common.LeadFormAsset.post_submit_headline', index=6, + number=15, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='post_submit_description', full_name='google.ads.googleads.v6.common.LeadFormAsset.post_submit_description', index=7, + number=16, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='fields', full_name='google.ads.googleads.v6.common.LeadFormAsset.fields', index=8, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='delivery_methods', full_name='google.ads.googleads.v6.common.LeadFormAsset.delivery_methods', index=9, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='post_submit_call_to_action_type', full_name='google.ads.googleads.v6.common.LeadFormAsset.post_submit_call_to_action_type', index=10, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='background_image_asset', full_name='google.ads.googleads.v6.common.LeadFormAsset.background_image_asset', index=11, + number=20, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='desired_intent', full_name='google.ads.googleads.v6.common.LeadFormAsset.desired_intent', index=12, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='custom_disclosure', full_name='google.ads.googleads.v6.common.LeadFormAsset.custom_disclosure', index=13, + number=22, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_post_submit_headline', full_name='google.ads.googleads.v6.common.LeadFormAsset._post_submit_headline', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_post_submit_description', full_name='google.ads.googleads.v6.common.LeadFormAsset._post_submit_description', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_background_image_asset', full_name='google.ads.googleads.v6.common.LeadFormAsset._background_image_asset', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_custom_disclosure', full_name='google.ads.googleads.v6.common.LeadFormAsset._custom_disclosure', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1026, + serialized_end=1953, +) + + +_LEADFORMFIELD = _descriptor.Descriptor( + name='LeadFormField', + full_name='google.ads.googleads.v6.common.LeadFormField', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='input_type', full_name='google.ads.googleads.v6.common.LeadFormField.input_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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='single_choice_answers', full_name='google.ads.googleads.v6.common.LeadFormField.single_choice_answers', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='answers', full_name='google.ads.googleads.v6.common.LeadFormField.answers', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1956, + serialized_end=2186, +) + + +_LEADFORMSINGLECHOICEANSWERS = _descriptor.Descriptor( + name='LeadFormSingleChoiceAnswers', + full_name='google.ads.googleads.v6.common.LeadFormSingleChoiceAnswers', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='answers', full_name='google.ads.googleads.v6.common.LeadFormSingleChoiceAnswers.answers', 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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2188, + serialized_end=2234, +) + + +_LEADFORMDELIVERYMETHOD = _descriptor.Descriptor( + name='LeadFormDeliveryMethod', + full_name='google.ads.googleads.v6.common.LeadFormDeliveryMethod', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='webhook', full_name='google.ads.googleads.v6.common.LeadFormDeliveryMethod.webhook', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='delivery_details', full_name='google.ads.googleads.v6.common.LeadFormDeliveryMethod.delivery_details', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2236, + serialized_end=2348, +) + + +_WEBHOOKDELIVERY = _descriptor.Descriptor( + name='WebhookDelivery', + full_name='google.ads.googleads.v6.common.WebhookDelivery', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='advertiser_webhook_url', full_name='google.ads.googleads.v6.common.WebhookDelivery.advertiser_webhook_url', index=0, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='google_secret', full_name='google.ads.googleads.v6.common.WebhookDelivery.google_secret', index=1, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='payload_schema_version', full_name='google.ads.googleads.v6.common.WebhookDelivery.payload_schema_version', index=2, + number=6, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_advertiser_webhook_url', full_name='google.ads.googleads.v6.common.WebhookDelivery._advertiser_webhook_url', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_google_secret', full_name='google.ads.googleads.v6.common.WebhookDelivery._google_secret', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_payload_schema_version', full_name='google.ads.googleads.v6.common.WebhookDelivery._payload_schema_version', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2351, + serialized_end=2542, +) + + +_BOOKONGOOGLEASSET = _descriptor.Descriptor( + name='BookOnGoogleAsset', + full_name='google.ads.googleads.v6.common.BookOnGoogleAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2544, + serialized_end=2563, +) + +_YOUTUBEVIDEOASSET.oneofs_by_name['_youtube_video_id'].fields.append( + _YOUTUBEVIDEOASSET.fields_by_name['youtube_video_id']) +_YOUTUBEVIDEOASSET.fields_by_name['youtube_video_id'].containing_oneof = _YOUTUBEVIDEOASSET.oneofs_by_name['_youtube_video_id'] +_MEDIABUNDLEASSET.oneofs_by_name['_data'].fields.append( + _MEDIABUNDLEASSET.fields_by_name['data']) +_MEDIABUNDLEASSET.fields_by_name['data'].containing_oneof = _MEDIABUNDLEASSET.oneofs_by_name['_data'] +_IMAGEASSET.fields_by_name['mime_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_mime__type__pb2._MIMETYPEENUM_MIMETYPE +_IMAGEASSET.fields_by_name['full_size'].message_type = _IMAGEDIMENSION +_IMAGEASSET.oneofs_by_name['_data'].fields.append( + _IMAGEASSET.fields_by_name['data']) +_IMAGEASSET.fields_by_name['data'].containing_oneof = _IMAGEASSET.oneofs_by_name['_data'] +_IMAGEASSET.oneofs_by_name['_file_size'].fields.append( + _IMAGEASSET.fields_by_name['file_size']) +_IMAGEASSET.fields_by_name['file_size'].containing_oneof = _IMAGEASSET.oneofs_by_name['_file_size'] +_IMAGEDIMENSION.oneofs_by_name['_height_pixels'].fields.append( + _IMAGEDIMENSION.fields_by_name['height_pixels']) +_IMAGEDIMENSION.fields_by_name['height_pixels'].containing_oneof = _IMAGEDIMENSION.oneofs_by_name['_height_pixels'] +_IMAGEDIMENSION.oneofs_by_name['_width_pixels'].fields.append( + _IMAGEDIMENSION.fields_by_name['width_pixels']) +_IMAGEDIMENSION.fields_by_name['width_pixels'].containing_oneof = _IMAGEDIMENSION.oneofs_by_name['_width_pixels'] +_IMAGEDIMENSION.oneofs_by_name['_url'].fields.append( + _IMAGEDIMENSION.fields_by_name['url']) +_IMAGEDIMENSION.fields_by_name['url'].containing_oneof = _IMAGEDIMENSION.oneofs_by_name['_url'] +_TEXTASSET.oneofs_by_name['_text'].fields.append( + _TEXTASSET.fields_by_name['text']) +_TEXTASSET.fields_by_name['text'].containing_oneof = _TEXTASSET.oneofs_by_name['_text'] +_LEADFORMASSET.fields_by_name['call_to_action_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__call__to__action__type__pb2._LEADFORMCALLTOACTIONTYPEENUM_LEADFORMCALLTOACTIONTYPE +_LEADFORMASSET.fields_by_name['fields'].message_type = _LEADFORMFIELD +_LEADFORMASSET.fields_by_name['delivery_methods'].message_type = _LEADFORMDELIVERYMETHOD +_LEADFORMASSET.fields_by_name['post_submit_call_to_action_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__post__submit__call__to__action__type__pb2._LEADFORMPOSTSUBMITCALLTOACTIONTYPEENUM_LEADFORMPOSTSUBMITCALLTOACTIONTYPE +_LEADFORMASSET.fields_by_name['desired_intent'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__desired__intent__pb2._LEADFORMDESIREDINTENTENUM_LEADFORMDESIREDINTENT +_LEADFORMASSET.oneofs_by_name['_post_submit_headline'].fields.append( + _LEADFORMASSET.fields_by_name['post_submit_headline']) +_LEADFORMASSET.fields_by_name['post_submit_headline'].containing_oneof = _LEADFORMASSET.oneofs_by_name['_post_submit_headline'] +_LEADFORMASSET.oneofs_by_name['_post_submit_description'].fields.append( + _LEADFORMASSET.fields_by_name['post_submit_description']) +_LEADFORMASSET.fields_by_name['post_submit_description'].containing_oneof = _LEADFORMASSET.oneofs_by_name['_post_submit_description'] +_LEADFORMASSET.oneofs_by_name['_background_image_asset'].fields.append( + _LEADFORMASSET.fields_by_name['background_image_asset']) +_LEADFORMASSET.fields_by_name['background_image_asset'].containing_oneof = _LEADFORMASSET.oneofs_by_name['_background_image_asset'] +_LEADFORMASSET.oneofs_by_name['_custom_disclosure'].fields.append( + _LEADFORMASSET.fields_by_name['custom_disclosure']) +_LEADFORMASSET.fields_by_name['custom_disclosure'].containing_oneof = _LEADFORMASSET.oneofs_by_name['_custom_disclosure'] +_LEADFORMFIELD.fields_by_name['input_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_lead__form__field__user__input__type__pb2._LEADFORMFIELDUSERINPUTTYPEENUM_LEADFORMFIELDUSERINPUTTYPE +_LEADFORMFIELD.fields_by_name['single_choice_answers'].message_type = _LEADFORMSINGLECHOICEANSWERS +_LEADFORMFIELD.oneofs_by_name['answers'].fields.append( + _LEADFORMFIELD.fields_by_name['single_choice_answers']) +_LEADFORMFIELD.fields_by_name['single_choice_answers'].containing_oneof = _LEADFORMFIELD.oneofs_by_name['answers'] +_LEADFORMDELIVERYMETHOD.fields_by_name['webhook'].message_type = _WEBHOOKDELIVERY +_LEADFORMDELIVERYMETHOD.oneofs_by_name['delivery_details'].fields.append( + _LEADFORMDELIVERYMETHOD.fields_by_name['webhook']) +_LEADFORMDELIVERYMETHOD.fields_by_name['webhook'].containing_oneof = _LEADFORMDELIVERYMETHOD.oneofs_by_name['delivery_details'] +_WEBHOOKDELIVERY.oneofs_by_name['_advertiser_webhook_url'].fields.append( + _WEBHOOKDELIVERY.fields_by_name['advertiser_webhook_url']) +_WEBHOOKDELIVERY.fields_by_name['advertiser_webhook_url'].containing_oneof = _WEBHOOKDELIVERY.oneofs_by_name['_advertiser_webhook_url'] +_WEBHOOKDELIVERY.oneofs_by_name['_google_secret'].fields.append( + _WEBHOOKDELIVERY.fields_by_name['google_secret']) +_WEBHOOKDELIVERY.fields_by_name['google_secret'].containing_oneof = _WEBHOOKDELIVERY.oneofs_by_name['_google_secret'] +_WEBHOOKDELIVERY.oneofs_by_name['_payload_schema_version'].fields.append( + _WEBHOOKDELIVERY.fields_by_name['payload_schema_version']) +_WEBHOOKDELIVERY.fields_by_name['payload_schema_version'].containing_oneof = _WEBHOOKDELIVERY.oneofs_by_name['_payload_schema_version'] +DESCRIPTOR.message_types_by_name['YoutubeVideoAsset'] = _YOUTUBEVIDEOASSET +DESCRIPTOR.message_types_by_name['MediaBundleAsset'] = _MEDIABUNDLEASSET +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['LeadFormAsset'] = _LEADFORMASSET +DESCRIPTOR.message_types_by_name['LeadFormField'] = _LEADFORMFIELD +DESCRIPTOR.message_types_by_name['LeadFormSingleChoiceAnswers'] = _LEADFORMSINGLECHOICEANSWERS +DESCRIPTOR.message_types_by_name['LeadFormDeliveryMethod'] = _LEADFORMDELIVERYMETHOD +DESCRIPTOR.message_types_by_name['WebhookDelivery'] = _WEBHOOKDELIVERY +DESCRIPTOR.message_types_by_name['BookOnGoogleAsset'] = _BOOKONGOOGLEASSET +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +YoutubeVideoAsset = _reflection.GeneratedProtocolMessageType('YoutubeVideoAsset', (_message.Message,), { + 'DESCRIPTOR' : _YOUTUBEVIDEOASSET, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """A YouTube asset. + + Attributes: + youtube_video_id: + YouTube video id. This is the 11 character string value used + in the YouTube video URL. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.YoutubeVideoAsset) + }) +_sym_db.RegisterMessage(YoutubeVideoAsset) + +MediaBundleAsset = _reflection.GeneratedProtocolMessageType('MediaBundleAsset', (_message.Message,), { + 'DESCRIPTOR' : _MEDIABUNDLEASSET, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """A MediaBundle asset. + + Attributes: + data: + Media bundle (ZIP file) asset data. The format of the uploaded + ZIP file depends on the ad field where it will be used. For + more information on the format, see the documentation of the + ad field where you plan on using the MediaBundleAsset. This + field is mutate only. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.MediaBundleAsset) + }) +_sym_db.RegisterMessage(MediaBundleAsset) + +ImageAsset = _reflection.GeneratedProtocolMessageType('ImageAsset', (_message.Message,), { + 'DESCRIPTOR' : _IMAGEASSET, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """An Image asset. + + Attributes: + data: + The raw bytes data of an image. This field is mutate only. + file_size: + File size of the image asset in bytes. + mime_type: + MIME type of the image asset. + full_size: + Metadata for this image at its original size. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ImageAsset) + }) +_sym_db.RegisterMessage(ImageAsset) + +ImageDimension = _reflection.GeneratedProtocolMessageType('ImageDimension', (_message.Message,), { + 'DESCRIPTOR' : _IMAGEDIMENSION, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """Metadata for an image at a certain size, either original or resized. + + Attributes: + height_pixels: + Height of the image. + width_pixels: + Width of the image. + url: + A URL that returns the image with this height and width. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ImageDimension) + }) +_sym_db.RegisterMessage(ImageDimension) + +TextAsset = _reflection.GeneratedProtocolMessageType('TextAsset', (_message.Message,), { + 'DESCRIPTOR' : _TEXTASSET, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """A Text asset. + + Attributes: + text: + Text content of the text asset. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.TextAsset) + }) +_sym_db.RegisterMessage(TextAsset) + +LeadFormAsset = _reflection.GeneratedProtocolMessageType('LeadFormAsset', (_message.Message,), { + 'DESCRIPTOR' : _LEADFORMASSET, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """A Lead Form asset. + + Attributes: + business_name: + Required. The name of the business being advertised. + call_to_action_type: + Required. Pre-defined display text that encourages user to + expand the form. + call_to_action_description: + Required. Text giving a clear value proposition of what users + expect once they expand the form. + headline: + Required. Headline of the expanded form to describe what the + form is asking for or facilitating. + description: + Required. Detailed description of the expanded form to + describe what the form is asking for or facilitating. + privacy_policy_url: + Required. Link to a page describing the policy on how the + collected data is handled by the advertiser/business. + post_submit_headline: + Headline of text shown after form submission that describes + how the advertiser will follow up with the user. + post_submit_description: + Detailed description shown after form submission that + describes how the advertiser will follow up with the user. + fields: + Ordered list of input fields. + delivery_methods: + Configured methods for collected lead data to be delivered to + advertiser. + post_submit_call_to_action_type: + Pre-defined display text that encourages user action after the + form is submitted. + background_image_asset: + Asset resource name of the background image. The minimum size + is 600x314 and the aspect ratio must be 1.91:1 (+-1%). + desired_intent: + Desired intent for the lead form, e.g. more volume or higher + intent. + custom_disclosure: + Custom disclosure shown along with Google disclaimer on the + lead form. Accessible to allowed customers only. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LeadFormAsset) + }) +_sym_db.RegisterMessage(LeadFormAsset) + +LeadFormField = _reflection.GeneratedProtocolMessageType('LeadFormField', (_message.Message,), { + 'DESCRIPTOR' : _LEADFORMFIELD, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """One input field instance within a form. + + Attributes: + input_type: + Describes the input type, which may be a predefined type such + as "full name" or a pre-vetted question like "Do you own a + car?". + answers: + Defines answer configuration that this form field accepts. If + oneof is not set, this is a free-text answer. + single_choice_answers: + Answer configuration for a single choice question. Can be set + only for pre-vetted question fields. Minimum of 2 answers + required and maximum of 12 allowed. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LeadFormField) + }) +_sym_db.RegisterMessage(LeadFormField) + +LeadFormSingleChoiceAnswers = _reflection.GeneratedProtocolMessageType('LeadFormSingleChoiceAnswers', (_message.Message,), { + 'DESCRIPTOR' : _LEADFORMSINGLECHOICEANSWERS, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """Defines possible answers for a single choice question, usually + presented as a single-choice drop-down list. + + Attributes: + answers: + List of choices for a single question field. The order of + entries defines UI order. Minimum of 2 answers required and + maximum of 12 allowed. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LeadFormSingleChoiceAnswers) + }) +_sym_db.RegisterMessage(LeadFormSingleChoiceAnswers) + +LeadFormDeliveryMethod = _reflection.GeneratedProtocolMessageType('LeadFormDeliveryMethod', (_message.Message,), { + 'DESCRIPTOR' : _LEADFORMDELIVERYMETHOD, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """A configuration of how leads are delivered to the advertiser. + + Attributes: + delivery_details: + Various subtypes of delivery. + webhook: + Webhook method of delivery. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LeadFormDeliveryMethod) + }) +_sym_db.RegisterMessage(LeadFormDeliveryMethod) + +WebhookDelivery = _reflection.GeneratedProtocolMessageType('WebhookDelivery', (_message.Message,), { + 'DESCRIPTOR' : _WEBHOOKDELIVERY, + '__module__' : 'google.ads.googleads_v6.proto.common.asset_types_pb2' + , + '__doc__': """Google notifies the advertiser of leads by making HTTP calls to an + endpoint they specify. The requests contain JSON matching a schema + that Google publishes as part of form ads documentation. + + Attributes: + advertiser_webhook_url: + Webhook url specified by advertiser to send the lead. + google_secret: + Anti-spoofing secret set by the advertiser as part of the + webhook payload. + payload_schema_version: + The schema version that this delivery instance will use. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.WebhookDelivery) + }) +_sym_db.RegisterMessage(WebhookDelivery) + +BookOnGoogleAsset = _reflection.GeneratedProtocolMessageType('BookOnGoogleAsset', (_message.Message,), { + 'DESCRIPTOR' : _BOOKONGOOGLEASSET, + '__module__' : 'google.ads.googleads_v6.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.v6.common.BookOnGoogleAsset) + }) +_sym_db.RegisterMessage(BookOnGoogleAsset) + + +DESCRIPTOR._options = None +_LEADFORMASSET.fields_by_name['business_name']._options = None +_LEADFORMASSET.fields_by_name['call_to_action_type']._options = None +_LEADFORMASSET.fields_by_name['call_to_action_description']._options = None +_LEADFORMASSET.fields_by_name['headline']._options = None +_LEADFORMASSET.fields_by_name['description']._options = None +_LEADFORMASSET.fields_by_name['privacy_policy_url']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/asset_types_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/asset_types_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/asset_types_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/bidding_pb2.py b/google/ads/google_ads/v6/proto/common/bidding_pb2.py new file mode 100644 index 000000000..783025a05 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/bidding_pb2.py @@ -0,0 +1,842 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/bidding.proto + +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.v6.proto.enums import target_impression_share_location_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_target__impression__share__location__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/bidding.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\014BiddingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n2google/ads/googleads_v6/proto/common/bidding.proto\x12\x1egoogle.ads.googleads.v6.common\x1aJgoogle/ads/googleads_v6/proto/enums/target_impression_share_location.proto\x1a\x1cgoogle/api/annotations.proto\"L\n\nCommission\x12#\n\x16\x63ommission_rate_micros\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x19\n\x17_commission_rate_micros\"\r\n\x0b\x45nhancedCpc\"G\n\tManualCpc\x12!\n\x14\x65nhanced_cpc_enabled\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\x17\n\x15_enhanced_cpc_enabled\"\x0b\n\tManualCpm\"\x0b\n\tManualCpv\")\n\x13MaximizeConversions\x12\x12\n\ntarget_cpa\x18\x01 \x01(\x03\"C\n\x17MaximizeConversionValue\x12\x18\n\x0btarget_roas\x18\x02 \x01(\x01H\x00\x88\x01\x01\x42\x0e\n\x0c_target_roas\"\xbd\x01\n\tTargetCpa\x12\x1e\n\x11target_cpa_micros\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12#\n\x16\x63pc_bid_ceiling_micros\x18\x05 \x01(\x03H\x01\x88\x01\x01\x12!\n\x14\x63pc_bid_floor_micros\x18\x06 \x01(\x03H\x02\x88\x01\x01\x42\x14\n\x12_target_cpa_microsB\x19\n\x17_cpc_bid_ceiling_microsB\x17\n\x15_cpc_bid_floor_micros\"\x0b\n\tTargetCpm\"\x8d\x02\n\x15TargetImpressionShare\x12p\n\x08location\x18\x01 \x01(\x0e\x32^.google.ads.googleads.v6.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation\x12%\n\x18location_fraction_micros\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12#\n\x16\x63pc_bid_ceiling_micros\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x1b\n\x19_location_fraction_microsB\x19\n\x17_cpc_bid_ceiling_micros\"\xb2\x01\n\nTargetRoas\x12\x18\n\x0btarget_roas\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12#\n\x16\x63pc_bid_ceiling_micros\x18\x05 \x01(\x03H\x01\x88\x01\x01\x12!\n\x14\x63pc_bid_floor_micros\x18\x06 \x01(\x03H\x02\x88\x01\x01\x42\x0e\n\x0c_target_roasB\x19\n\x17_cpc_bid_ceiling_microsB\x17\n\x15_cpc_bid_floor_micros\"\x8b\x01\n\x0bTargetSpend\x12$\n\x13target_spend_micros\x18\x03 \x01(\x03\x42\x02\x18\x01H\x00\x88\x01\x01\x12#\n\x16\x63pc_bid_ceiling_micros\x18\x04 \x01(\x03H\x01\x88\x01\x01\x42\x16\n\x14_target_spend_microsB\x19\n\x17_cpc_bid_ceiling_micros\"\x88\x01\n\nPercentCpc\x12#\n\x16\x63pc_bid_ceiling_micros\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12!\n\x14\x65nhanced_cpc_enabled\x18\x04 \x01(\x08H\x01\x88\x01\x01\x42\x19\n\x17_cpc_bid_ceiling_microsB\x17\n\x15_enhanced_cpc_enabledB\xe7\x01\n\"com.google.ads.googleads.v6.commonB\x0c\x42iddingProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_target__impression__share__location__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_COMMISSION = _descriptor.Descriptor( + name='Commission', + full_name='google.ads.googleads.v6.common.Commission', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='commission_rate_micros', full_name='google.ads.googleads.v6.common.Commission.commission_rate_micros', index=0, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_commission_rate_micros', full_name='google.ads.googleads.v6.common.Commission._commission_rate_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=192, + serialized_end=268, +) + + +_ENHANCEDCPC = _descriptor.Descriptor( + name='EnhancedCpc', + full_name='google.ads.googleads.v6.common.EnhancedCpc', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=270, + serialized_end=283, +) + + +_MANUALCPC = _descriptor.Descriptor( + name='ManualCpc', + full_name='google.ads.googleads.v6.common.ManualCpc', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='enhanced_cpc_enabled', full_name='google.ads.googleads.v6.common.ManualCpc.enhanced_cpc_enabled', index=0, + 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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_enhanced_cpc_enabled', full_name='google.ads.googleads.v6.common.ManualCpc._enhanced_cpc_enabled', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=285, + serialized_end=356, +) + + +_MANUALCPM = _descriptor.Descriptor( + name='ManualCpm', + full_name='google.ads.googleads.v6.common.ManualCpm', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=358, + serialized_end=369, +) + + +_MANUALCPV = _descriptor.Descriptor( + name='ManualCpv', + full_name='google.ads.googleads.v6.common.ManualCpv', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=371, + serialized_end=382, +) + + +_MAXIMIZECONVERSIONS = _descriptor.Descriptor( + name='MaximizeConversions', + full_name='google.ads.googleads.v6.common.MaximizeConversions', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_cpa', full_name='google.ads.googleads.v6.common.MaximizeConversions.target_cpa', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=384, + serialized_end=425, +) + + +_MAXIMIZECONVERSIONVALUE = _descriptor.Descriptor( + name='MaximizeConversionValue', + full_name='google.ads.googleads.v6.common.MaximizeConversionValue', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_roas', full_name='google.ads.googleads.v6.common.MaximizeConversionValue.target_roas', index=0, + number=2, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_target_roas', full_name='google.ads.googleads.v6.common.MaximizeConversionValue._target_roas', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=427, + serialized_end=494, +) + + +_TARGETCPA = _descriptor.Descriptor( + name='TargetCpa', + full_name='google.ads.googleads.v6.common.TargetCpa', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_cpa_micros', full_name='google.ads.googleads.v6.common.TargetCpa.target_cpa_micros', index=0, + number=4, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.TargetCpa.cpc_bid_ceiling_micros', index=1, + number=5, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_floor_micros', full_name='google.ads.googleads.v6.common.TargetCpa.cpc_bid_floor_micros', index=2, + number=6, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_target_cpa_micros', full_name='google.ads.googleads.v6.common.TargetCpa._target_cpa_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.TargetCpa._cpc_bid_ceiling_micros', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpc_bid_floor_micros', full_name='google.ads.googleads.v6.common.TargetCpa._cpc_bid_floor_micros', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=497, + serialized_end=686, +) + + +_TARGETCPM = _descriptor.Descriptor( + name='TargetCpm', + full_name='google.ads.googleads.v6.common.TargetCpm', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=688, + serialized_end=699, +) + + +_TARGETIMPRESSIONSHARE = _descriptor.Descriptor( + name='TargetImpressionShare', + full_name='google.ads.googleads.v6.common.TargetImpressionShare', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='location', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='location_fraction_micros', full_name='google.ads.googleads.v6.common.TargetImpressionShare.location_fraction_micros', index=1, + number=4, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.TargetImpressionShare.cpc_bid_ceiling_micros', index=2, + number=5, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_location_fraction_micros', full_name='google.ads.googleads.v6.common.TargetImpressionShare._location_fraction_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.TargetImpressionShare._cpc_bid_ceiling_micros', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=702, + serialized_end=971, +) + + +_TARGETROAS = _descriptor.Descriptor( + name='TargetRoas', + full_name='google.ads.googleads.v6.common.TargetRoas', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_roas', full_name='google.ads.googleads.v6.common.TargetRoas.target_roas', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.TargetRoas.cpc_bid_ceiling_micros', index=1, + number=5, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_floor_micros', full_name='google.ads.googleads.v6.common.TargetRoas.cpc_bid_floor_micros', index=2, + number=6, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_target_roas', full_name='google.ads.googleads.v6.common.TargetRoas._target_roas', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.TargetRoas._cpc_bid_ceiling_micros', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpc_bid_floor_micros', full_name='google.ads.googleads.v6.common.TargetRoas._cpc_bid_floor_micros', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=974, + serialized_end=1152, +) + + +_TARGETSPEND = _descriptor.Descriptor( + name='TargetSpend', + full_name='google.ads.googleads.v6.common.TargetSpend', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_spend_micros', full_name='google.ads.googleads.v6.common.TargetSpend.target_spend_micros', index=0, + 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.TargetSpend.cpc_bid_ceiling_micros', index=1, + number=4, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_target_spend_micros', full_name='google.ads.googleads.v6.common.TargetSpend._target_spend_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.TargetSpend._cpc_bid_ceiling_micros', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1155, + serialized_end=1294, +) + + +_PERCENTCPC = _descriptor.Descriptor( + name='PercentCpc', + full_name='google.ads.googleads.v6.common.PercentCpc', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.PercentCpc.cpc_bid_ceiling_micros', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='enhanced_cpc_enabled', full_name='google.ads.googleads.v6.common.PercentCpc.enhanced_cpc_enabled', index=1, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_cpc_bid_ceiling_micros', full_name='google.ads.googleads.v6.common.PercentCpc._cpc_bid_ceiling_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_enhanced_cpc_enabled', full_name='google.ads.googleads.v6.common.PercentCpc._enhanced_cpc_enabled', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1297, + serialized_end=1433, +) + +_COMMISSION.oneofs_by_name['_commission_rate_micros'].fields.append( + _COMMISSION.fields_by_name['commission_rate_micros']) +_COMMISSION.fields_by_name['commission_rate_micros'].containing_oneof = _COMMISSION.oneofs_by_name['_commission_rate_micros'] +_MANUALCPC.oneofs_by_name['_enhanced_cpc_enabled'].fields.append( + _MANUALCPC.fields_by_name['enhanced_cpc_enabled']) +_MANUALCPC.fields_by_name['enhanced_cpc_enabled'].containing_oneof = _MANUALCPC.oneofs_by_name['_enhanced_cpc_enabled'] +_MAXIMIZECONVERSIONVALUE.oneofs_by_name['_target_roas'].fields.append( + _MAXIMIZECONVERSIONVALUE.fields_by_name['target_roas']) +_MAXIMIZECONVERSIONVALUE.fields_by_name['target_roas'].containing_oneof = _MAXIMIZECONVERSIONVALUE.oneofs_by_name['_target_roas'] +_TARGETCPA.oneofs_by_name['_target_cpa_micros'].fields.append( + _TARGETCPA.fields_by_name['target_cpa_micros']) +_TARGETCPA.fields_by_name['target_cpa_micros'].containing_oneof = _TARGETCPA.oneofs_by_name['_target_cpa_micros'] +_TARGETCPA.oneofs_by_name['_cpc_bid_ceiling_micros'].fields.append( + _TARGETCPA.fields_by_name['cpc_bid_ceiling_micros']) +_TARGETCPA.fields_by_name['cpc_bid_ceiling_micros'].containing_oneof = _TARGETCPA.oneofs_by_name['_cpc_bid_ceiling_micros'] +_TARGETCPA.oneofs_by_name['_cpc_bid_floor_micros'].fields.append( + _TARGETCPA.fields_by_name['cpc_bid_floor_micros']) +_TARGETCPA.fields_by_name['cpc_bid_floor_micros'].containing_oneof = _TARGETCPA.oneofs_by_name['_cpc_bid_floor_micros'] +_TARGETIMPRESSIONSHARE.fields_by_name['location'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_target__impression__share__location__pb2._TARGETIMPRESSIONSHARELOCATIONENUM_TARGETIMPRESSIONSHARELOCATION +_TARGETIMPRESSIONSHARE.oneofs_by_name['_location_fraction_micros'].fields.append( + _TARGETIMPRESSIONSHARE.fields_by_name['location_fraction_micros']) +_TARGETIMPRESSIONSHARE.fields_by_name['location_fraction_micros'].containing_oneof = _TARGETIMPRESSIONSHARE.oneofs_by_name['_location_fraction_micros'] +_TARGETIMPRESSIONSHARE.oneofs_by_name['_cpc_bid_ceiling_micros'].fields.append( + _TARGETIMPRESSIONSHARE.fields_by_name['cpc_bid_ceiling_micros']) +_TARGETIMPRESSIONSHARE.fields_by_name['cpc_bid_ceiling_micros'].containing_oneof = _TARGETIMPRESSIONSHARE.oneofs_by_name['_cpc_bid_ceiling_micros'] +_TARGETROAS.oneofs_by_name['_target_roas'].fields.append( + _TARGETROAS.fields_by_name['target_roas']) +_TARGETROAS.fields_by_name['target_roas'].containing_oneof = _TARGETROAS.oneofs_by_name['_target_roas'] +_TARGETROAS.oneofs_by_name['_cpc_bid_ceiling_micros'].fields.append( + _TARGETROAS.fields_by_name['cpc_bid_ceiling_micros']) +_TARGETROAS.fields_by_name['cpc_bid_ceiling_micros'].containing_oneof = _TARGETROAS.oneofs_by_name['_cpc_bid_ceiling_micros'] +_TARGETROAS.oneofs_by_name['_cpc_bid_floor_micros'].fields.append( + _TARGETROAS.fields_by_name['cpc_bid_floor_micros']) +_TARGETROAS.fields_by_name['cpc_bid_floor_micros'].containing_oneof = _TARGETROAS.oneofs_by_name['_cpc_bid_floor_micros'] +_TARGETSPEND.oneofs_by_name['_target_spend_micros'].fields.append( + _TARGETSPEND.fields_by_name['target_spend_micros']) +_TARGETSPEND.fields_by_name['target_spend_micros'].containing_oneof = _TARGETSPEND.oneofs_by_name['_target_spend_micros'] +_TARGETSPEND.oneofs_by_name['_cpc_bid_ceiling_micros'].fields.append( + _TARGETSPEND.fields_by_name['cpc_bid_ceiling_micros']) +_TARGETSPEND.fields_by_name['cpc_bid_ceiling_micros'].containing_oneof = _TARGETSPEND.oneofs_by_name['_cpc_bid_ceiling_micros'] +_PERCENTCPC.oneofs_by_name['_cpc_bid_ceiling_micros'].fields.append( + _PERCENTCPC.fields_by_name['cpc_bid_ceiling_micros']) +_PERCENTCPC.fields_by_name['cpc_bid_ceiling_micros'].containing_oneof = _PERCENTCPC.oneofs_by_name['_cpc_bid_ceiling_micros'] +_PERCENTCPC.oneofs_by_name['_enhanced_cpc_enabled'].fields.append( + _PERCENTCPC.fields_by_name['enhanced_cpc_enabled']) +_PERCENTCPC.fields_by_name['enhanced_cpc_enabled'].containing_oneof = _PERCENTCPC.oneofs_by_name['_enhanced_cpc_enabled'] +DESCRIPTOR.message_types_by_name['Commission'] = _COMMISSION +DESCRIPTOR.message_types_by_name['EnhancedCpc'] = _ENHANCEDCPC +DESCRIPTOR.message_types_by_name['ManualCpc'] = _MANUALCPC +DESCRIPTOR.message_types_by_name['ManualCpm'] = _MANUALCPM +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['TargetCpa'] = _TARGETCPA +DESCRIPTOR.message_types_by_name['TargetCpm'] = _TARGETCPM +DESCRIPTOR.message_types_by_name['TargetImpressionShare'] = _TARGETIMPRESSIONSHARE +DESCRIPTOR.message_types_by_name['TargetRoas'] = _TARGETROAS +DESCRIPTOR.message_types_by_name['TargetSpend'] = _TARGETSPEND +DESCRIPTOR.message_types_by_name['PercentCpc'] = _PERCENTCPC +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Commission = _reflection.GeneratedProtocolMessageType('Commission', (_message.Message,), { + 'DESCRIPTOR' : _COMMISSION, + '__module__' : 'google.ads.googleads_v6.proto.common.bidding_pb2' + , + '__doc__': """Commission is an automatic bidding strategy in which the advertiser + pays a certain portion of the conversion value. + + Attributes: + commission_rate_micros: + Commission rate defines the portion of the conversion value + that the advertiser will be billed. A commission rate of x + should be passed into this field as (x \* 1,000,000). For + example, 106,000 represents a commission rate of 0.106 + (10.6%). + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Commission) + }) +_sym_db.RegisterMessage(Commission) + +EnhancedCpc = _reflection.GeneratedProtocolMessageType('EnhancedCpc', (_message.Message,), { + 'DESCRIPTOR' : _ENHANCEDCPC, + '__module__' : 'google.ads.googleads_v6.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.v6.common.EnhancedCpc) + }) +_sym_db.RegisterMessage(EnhancedCpc) + +ManualCpc = _reflection.GeneratedProtocolMessageType('ManualCpc', (_message.Message,), { + 'DESCRIPTOR' : _MANUALCPC, + '__module__' : 'google.ads.googleads_v6.proto.common.bidding_pb2' + , + '__doc__': """Manual click-based bidding where user pays per click. + + Attributes: + enhanced_cpc_enabled: + Whether bids are to be enhanced based on conversion optimizer + data. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ManualCpc) + }) +_sym_db.RegisterMessage(ManualCpc) + +ManualCpm = _reflection.GeneratedProtocolMessageType('ManualCpm', (_message.Message,), { + 'DESCRIPTOR' : _MANUALCPM, + '__module__' : 'google.ads.googleads_v6.proto.common.bidding_pb2' + , + '__doc__': """Manual impression-based bidding where user pays per thousand + impressions.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ManualCpm) + }) +_sym_db.RegisterMessage(ManualCpm) + +ManualCpv = _reflection.GeneratedProtocolMessageType('ManualCpv', (_message.Message,), { + 'DESCRIPTOR' : _MANUALCPV, + '__module__' : 'google.ads.googleads_v6.proto.common.bidding_pb2' + , + '__doc__': """View based bidding where user pays per video view.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ManualCpv) + }) +_sym_db.RegisterMessage(ManualCpv) + +MaximizeConversions = _reflection.GeneratedProtocolMessageType('MaximizeConversions', (_message.Message,), { + 'DESCRIPTOR' : _MAXIMIZECONVERSIONS, + '__module__' : 'google.ads.googleads_v6.proto.common.bidding_pb2' + , + '__doc__': """An automated bidding strategy to help get the most conversions for + your campaigns while spending your budget. + + Attributes: + target_cpa: + The target cost per acquisition (CPA) option. This is the + average amount that you would like to spend per acquisition. + This field is read-only. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.MaximizeConversions) + }) +_sym_db.RegisterMessage(MaximizeConversions) + +MaximizeConversionValue = _reflection.GeneratedProtocolMessageType('MaximizeConversionValue', (_message.Message,), { + 'DESCRIPTOR' : _MAXIMIZECONVERSIONVALUE, + '__module__' : 'google.ads.googleads_v6.proto.common.bidding_pb2' + , + '__doc__': """An automated bidding strategy to help get the most conversion value + for your campaigns while spending your budget. + + Attributes: + target_roas: + The target return on ad spend (ROAS) option. If set, the bid + strategy will maximize revenue while averaging the target + return on ad spend. If the target ROAS is high, the bid + strategy may not be able to spend the full budget. If the + 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.v6.common.MaximizeConversionValue) + }) +_sym_db.RegisterMessage(MaximizeConversionValue) + +TargetCpa = _reflection.GeneratedProtocolMessageType('TargetCpa', (_message.Message,), { + 'DESCRIPTOR' : _TARGETCPA, + '__module__' : 'google.ads.googleads_v6.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. + + Attributes: + target_cpa_micros: + Average CPA target. This target should be greater than or + equal to minimum billable unit based on the currency for the + account. + 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. + cpc_bid_floor_micros: + 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.v6.common.TargetCpa) + }) +_sym_db.RegisterMessage(TargetCpa) + +TargetCpm = _reflection.GeneratedProtocolMessageType('TargetCpm', (_message.Message,), { + 'DESCRIPTOR' : _TARGETCPM, + '__module__' : 'google.ads.googleads_v6.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.v6.common.TargetCpm) + }) +_sym_db.RegisterMessage(TargetCpm) + +TargetImpressionShare = _reflection.GeneratedProtocolMessageType('TargetImpressionShare', (_message.Message,), { + 'DESCRIPTOR' : _TARGETIMPRESSIONSHARE, + '__module__' : 'google.ads.googleads_v6.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). + + Attributes: + location: + The targeted location on the search results page. + location_fraction_micros: + The desired fraction of ads to be shown in the targeted + location in micros. E.g. 1% equals 10,000. + cpc_bid_ceiling_micros: + The highest CPC bid the automated bidding system is permitted + 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.v6.common.TargetImpressionShare) + }) +_sym_db.RegisterMessage(TargetImpressionShare) + +TargetRoas = _reflection.GeneratedProtocolMessageType('TargetRoas', (_message.Message,), { + 'DESCRIPTOR' : _TARGETROAS, + '__module__' : 'google.ads.googleads_v6.proto.common.bidding_pb2' + , + '__doc__': """An automated bidding strategy that helps you maximize revenue while + averaging a specific target return on ad spend (ROAS). + + Attributes: + target_roas: + Required. The desired revenue (based on conversion data) per + unit of spend. Value must be between 0.01 and 1000.0, + inclusive. + 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. + cpc_bid_floor_micros: + 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.v6.common.TargetRoas) + }) +_sym_db.RegisterMessage(TargetRoas) + +TargetSpend = _reflection.GeneratedProtocolMessageType('TargetSpend', (_message.Message,), { + 'DESCRIPTOR' : _TARGETSPEND, + '__module__' : 'google.ads.googleads_v6.proto.common.bidding_pb2' + , + '__doc__': """An automated bid strategy that sets your bids to help get as many + clicks as possible within your budget. + + Attributes: + target_spend_micros: + The spend target under which to maximize clicks. A TargetSpend + bidder will attempt to spend the smaller of this value or the + natural throttling spend amount. If not specified, the budget + is used as the spend target. This field is deprecated and + should no longer be used. See https://ads- + developers.googleblog.com/2020/05/reminder-about-sunset- + creation-of.html for details. + 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. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.TargetSpend) + }) +_sym_db.RegisterMessage(TargetSpend) + +PercentCpc = _reflection.GeneratedProtocolMessageType('PercentCpc', (_message.Message,), { + 'DESCRIPTOR' : _PERCENTCPC, + '__module__' : 'google.ads.googleads_v6.proto.common.bidding_pb2' + , + '__doc__': """A bidding strategy where bids are a fraction of the advertised price + for some good or service. + + Attributes: + cpc_bid_ceiling_micros: + Maximum bid limit that can be set by the bid strategy. This is + an optional field entered by the advertiser and specified in + local micros. Note: A zero value is interpreted in the same + way as having bid\_ceiling undefined. + enhanced_cpc_enabled: + Adjusts the bid for each auction upward or downward, depending + on the likelihood of a conversion. Individual bids may exceed + cpc\_bid\_ceiling\_micros, but the average bid amount for a + campaign should not. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.PercentCpc) + }) +_sym_db.RegisterMessage(PercentCpc) + + +DESCRIPTOR._options = None +_TARGETSPEND.fields_by_name['target_spend_micros']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/bidding_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/bidding_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/bidding_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/click_location_pb2.py b/google/ads/google_ads/v6/proto/common/click_location_pb2.py new file mode 100644 index 000000000..fb81c9187 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/click_location_pb2.py @@ -0,0 +1,157 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/click_location.proto + +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_v6/proto/common/click_location.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\022ClickLocationProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/common/click_location.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x1cgoogle/api/annotations.proto\"\xb9\x01\n\rClickLocation\x12\x11\n\x04\x63ity\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07\x63ountry\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05metro\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x1a\n\rmost_specific\x18\t \x01(\tH\x03\x88\x01\x01\x12\x13\n\x06region\x18\n \x01(\tH\x04\x88\x01\x01\x42\x07\n\x05_cityB\n\n\x08_countryB\x08\n\x06_metroB\x10\n\x0e_most_specificB\t\n\x07_regionB\xed\x01\n\"com.google.ads.googleads.v6.commonB\x12\x43lickLocationProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CLICKLOCATION = _descriptor.Descriptor( + name='ClickLocation', + full_name='google.ads.googleads.v6.common.ClickLocation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='city', full_name='google.ads.googleads.v6.common.ClickLocation.city', index=0, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country', full_name='google.ads.googleads.v6.common.ClickLocation.country', index=1, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='metro', full_name='google.ads.googleads.v6.common.ClickLocation.metro', index=2, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='most_specific', full_name='google.ads.googleads.v6.common.ClickLocation.most_specific', index=3, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='region', full_name='google.ads.googleads.v6.common.ClickLocation.region', index=4, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_city', full_name='google.ads.googleads.v6.common.ClickLocation._city', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_country', full_name='google.ads.googleads.v6.common.ClickLocation._country', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_metro', full_name='google.ads.googleads.v6.common.ClickLocation._metro', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_most_specific', full_name='google.ads.googleads.v6.common.ClickLocation._most_specific', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_region', full_name='google.ads.googleads.v6.common.ClickLocation._region', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=124, + serialized_end=309, +) + +_CLICKLOCATION.oneofs_by_name['_city'].fields.append( + _CLICKLOCATION.fields_by_name['city']) +_CLICKLOCATION.fields_by_name['city'].containing_oneof = _CLICKLOCATION.oneofs_by_name['_city'] +_CLICKLOCATION.oneofs_by_name['_country'].fields.append( + _CLICKLOCATION.fields_by_name['country']) +_CLICKLOCATION.fields_by_name['country'].containing_oneof = _CLICKLOCATION.oneofs_by_name['_country'] +_CLICKLOCATION.oneofs_by_name['_metro'].fields.append( + _CLICKLOCATION.fields_by_name['metro']) +_CLICKLOCATION.fields_by_name['metro'].containing_oneof = _CLICKLOCATION.oneofs_by_name['_metro'] +_CLICKLOCATION.oneofs_by_name['_most_specific'].fields.append( + _CLICKLOCATION.fields_by_name['most_specific']) +_CLICKLOCATION.fields_by_name['most_specific'].containing_oneof = _CLICKLOCATION.oneofs_by_name['_most_specific'] +_CLICKLOCATION.oneofs_by_name['_region'].fields.append( + _CLICKLOCATION.fields_by_name['region']) +_CLICKLOCATION.fields_by_name['region'].containing_oneof = _CLICKLOCATION.oneofs_by_name['_region'] +DESCRIPTOR.message_types_by_name['ClickLocation'] = _CLICKLOCATION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ClickLocation = _reflection.GeneratedProtocolMessageType('ClickLocation', (_message.Message,), { + 'DESCRIPTOR' : _CLICKLOCATION, + '__module__' : 'google.ads.googleads_v6.proto.common.click_location_pb2' + , + '__doc__': """Location criteria associated with a click. + + Attributes: + city: + The city location criterion associated with the impression. + country: + The country location criterion associated with the impression. + metro: + The metro location criterion associated with the impression. + most_specific: + The most specific location criterion associated with the + impression. + region: + The region location criterion associated with the impression. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ClickLocation) + }) +_sym_db.RegisterMessage(ClickLocation) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/click_location_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/click_location_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/click_location_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/criteria_pb2.py b/google/ads/google_ads/v6/proto/common/criteria_pb2.py new file mode 100644 index 000000000..d8a5ab797 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/criteria_pb2.py @@ -0,0 +1,3653 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/criteria.proto + +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.v6.proto.enums import age_range_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_age__range__type__pb2 +from google.ads.google_ads.v6.proto.enums import app_payment_model_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__payment__model__type__pb2 +from google.ads.google_ads.v6.proto.enums import content_label_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_content__label__type__pb2 +from google.ads.google_ads.v6.proto.enums import day_of_week_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_day__of__week__pb2 +from google.ads.google_ads.v6.proto.enums import device_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_device__pb2 +from google.ads.google_ads.v6.proto.enums import gender_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_gender__type__pb2 +from google.ads.google_ads.v6.proto.enums import hotel_date_selection_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2 +from google.ads.google_ads.v6.proto.enums import income_range_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_income__range__type__pb2 +from google.ads.google_ads.v6.proto.enums import interaction_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_interaction__type__pb2 +from google.ads.google_ads.v6.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_keyword__match__type__pb2 +from google.ads.google_ads.v6.proto.enums import listing_group_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_listing__group__type__pb2 +from google.ads.google_ads.v6.proto.enums import location_group_radius_units_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_location__group__radius__units__pb2 +from google.ads.google_ads.v6.proto.enums import minute_of_hour_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_minute__of__hour__pb2 +from google.ads.google_ads.v6.proto.enums import parental_status_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_parental__status__type__pb2 +from google.ads.google_ads.v6.proto.enums import preferred_content_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_preferred__content__type__pb2 +from google.ads.google_ads.v6.proto.enums import product_bidding_category_level_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__bidding__category__level__pb2 +from google.ads.google_ads.v6.proto.enums import product_channel_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__pb2 +from google.ads.google_ads.v6.proto.enums import product_channel_exclusivity_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2 +from google.ads.google_ads.v6.proto.enums import product_condition_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__condition__pb2 +from google.ads.google_ads.v6.proto.enums import product_custom_attribute_index_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__custom__attribute__index__pb2 +from google.ads.google_ads.v6.proto.enums import product_type_level_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__type__level__pb2 +from google.ads.google_ads.v6.proto.enums import proximity_radius_units_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_proximity__radius__units__pb2 +from google.ads.google_ads.v6.proto.enums import webpage_condition_operand_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_webpage__condition__operand__pb2 +from google.ads.google_ads.v6.proto.enums import webpage_condition_operator_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_webpage__condition__operator__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/criteria.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\rCriteriaProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n3google/ads/googleads_v6/proto/common/criteria.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x38google/ads/googleads_v6/proto/enums/age_range_type.proto\x1a@google/ads/googleads_v6/proto/enums/app_payment_model_type.proto\x1agoogle/ads/googleads_v6/proto/enums/parental_status_type.proto\x1a@google/ads/googleads_v6/proto/enums/preferred_content_type.proto\x1aHgoogle/ads/googleads_v6/proto/enums/product_bidding_category_level.proto\x1a\x39google/ads/googleads_v6/proto/enums/product_channel.proto\x1a\x45google/ads/googleads_v6/proto/enums/product_channel_exclusivity.proto\x1a;google/ads/googleads_v6/proto/enums/product_condition.proto\x1aHgoogle/ads/googleads_v6/proto/enums/product_custom_attribute_index.proto\x1a\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.ads.googleads.v6.enums.DeviceEnum.Device\"r\n\x14PreferredContentInfo\x12Z\n\x04type\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v6.enums.PreferredContentTypeEnum.PreferredContentType\"\xf6\x01\n\x10ListingGroupInfo\x12R\n\x04type\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v6.enums.ListingGroupTypeEnum.ListingGroupType\x12H\n\ncase_value\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v6.common.ListingDimensionInfo\x12&\n\x19parent_ad_group_criterion\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x1c\n\x1a_parent_ad_group_criterion\"\\\n\x10ListingScopeInfo\x12H\n\ndimensions\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v6.common.ListingDimensionInfo\"\x9b\t\n\x14ListingDimensionInfo\x12?\n\x08hotel_id\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v6.common.HotelIdInfoH\x00\x12\x45\n\x0bhotel_class\x18\x03 \x01(\x0b\x32..google.ads.googleads.v6.common.HotelClassInfoH\x00\x12V\n\x14hotel_country_region\x18\x04 \x01(\x0b\x32\x36.google.ads.googleads.v6.common.HotelCountryRegionInfoH\x00\x12\x45\n\x0bhotel_state\x18\x05 \x01(\x0b\x32..google.ads.googleads.v6.common.HotelStateInfoH\x00\x12\x43\n\nhotel_city\x18\x06 \x01(\x0b\x32-.google.ads.googleads.v6.common.HotelCityInfoH\x00\x12^\n\x18product_bidding_category\x18\r \x01(\x0b\x32:.google.ads.googleads.v6.common.ProductBiddingCategoryInfoH\x00\x12I\n\rproduct_brand\x18\x0f \x01(\x0b\x32\x30.google.ads.googleads.v6.common.ProductBrandInfoH\x00\x12M\n\x0fproduct_channel\x18\x08 \x01(\x0b\x32\x32.google.ads.googleads.v6.common.ProductChannelInfoH\x00\x12\x64\n\x1bproduct_channel_exclusivity\x18\t \x01(\x0b\x32=.google.ads.googleads.v6.common.ProductChannelExclusivityInfoH\x00\x12Q\n\x11product_condition\x18\n \x01(\x0b\x32\x34.google.ads.googleads.v6.common.ProductConditionInfoH\x00\x12^\n\x18product_custom_attribute\x18\x10 \x01(\x0b\x32:.google.ads.googleads.v6.common.ProductCustomAttributeInfoH\x00\x12L\n\x0fproduct_item_id\x18\x0b \x01(\x0b\x32\x31.google.ads.googleads.v6.common.ProductItemIdInfoH\x00\x12G\n\x0cproduct_type\x18\x0c \x01(\x0b\x32/.google.ads.googleads.v6.common.ProductTypeInfoH\x00\x12`\n\x19unknown_listing_dimension\x18\x0e \x01(\x0b\x32;.google.ads.googleads.v6.common.UnknownListingDimensionInfoH\x00\x42\x0b\n\tdimension\"+\n\x0bHotelIdInfo\x12\x12\n\x05value\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_value\".\n\x0eHotelClassInfo\x12\x12\n\x05value\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x08\n\x06_value\"\\\n\x16HotelCountryRegionInfo\x12%\n\x18\x63ountry_region_criterion\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x1b\n\x19_country_region_criterion\"B\n\x0eHotelStateInfo\x12\x1c\n\x0fstate_criterion\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x12\n\x10_state_criterion\"?\n\rHotelCityInfo\x12\x1b\n\x0e\x63ity_criterion\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x11\n\x0f_city_criterion\"\xcb\x01\n\x1aProductBiddingCategoryInfo\x12\x0f\n\x02id\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12\x19\n\x0c\x63ountry_code\x18\x05 \x01(\tH\x01\x88\x01\x01\x12i\n\x05level\x18\x03 \x01(\x0e\x32Z.google.ads.googleads.v6.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevelB\x05\n\x03_idB\x0f\n\r_country_code\"0\n\x10ProductBrandInfo\x12\x12\n\x05value\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_value\"g\n\x12ProductChannelInfo\x12Q\n\x07\x63hannel\x18\x01 \x01(\x0e\x32@.google.ads.googleads.v6.enums.ProductChannelEnum.ProductChannel\"\x94\x01\n\x1dProductChannelExclusivityInfo\x12s\n\x13\x63hannel_exclusivity\x18\x01 \x01(\x0e\x32V.google.ads.googleads.v6.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity\"o\n\x14ProductConditionInfo\x12W\n\tcondition\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v6.enums.ProductConditionEnum.ProductCondition\"\xa5\x01\n\x1aProductCustomAttributeInfo\x12\x12\n\x05value\x18\x03 \x01(\tH\x00\x88\x01\x01\x12i\n\x05index\x18\x02 \x01(\x0e\x32Z.google.ads.googleads.v6.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndexB\x08\n\x06_value\"1\n\x11ProductItemIdInfo\x12\x12\n\x05value\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_value\"\x84\x01\n\x0fProductTypeInfo\x12\x12\n\x05value\x18\x03 \x01(\tH\x00\x88\x01\x01\x12S\n\x05level\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v6.enums.ProductTypeLevelEnum.ProductTypeLevelB\x08\n\x06_value\"\x1d\n\x1bUnknownListingDimensionInfo\"|\n\x1aHotelDateSelectionTypeInfo\x12^\n\x04type\x18\x01 \x01(\x0e\x32P.google.ads.googleads.v6.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType\"g\n\x1dHotelAdvanceBookingWindowInfo\x12\x15\n\x08min_days\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12\x15\n\x08max_days\x18\x04 \x01(\x03H\x01\x88\x01\x01\x42\x0b\n\t_min_daysB\x0b\n\t_max_days\"g\n\x15HotelLengthOfStayInfo\x12\x17\n\nmin_nights\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\nmax_nights\x18\x04 \x01(\x03H\x01\x88\x01\x01\x42\r\n\x0b_min_nightsB\r\n\x0b_max_nights\"b\n\x13HotelCheckInDayInfo\x12K\n\x0b\x64\x61y_of_week\x18\x01 \x01(\x0e\x32\x36.google.ads.googleads.v6.enums.DayOfWeekEnum.DayOfWeek\"g\n\x13InteractionTypeInfo\x12P\n\x04type\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v6.enums.InteractionTypeEnum.InteractionType\"\xcf\x02\n\x0e\x41\x64ScheduleInfo\x12R\n\x0cstart_minute\x18\x01 \x01(\x0e\x32<.google.ads.googleads.v6.enums.MinuteOfHourEnum.MinuteOfHour\x12P\n\nend_minute\x18\x02 \x01(\x0e\x32<.google.ads.googleads.v6.enums.MinuteOfHourEnum.MinuteOfHour\x12\x17\n\nstart_hour\x18\x06 \x01(\x05H\x00\x88\x01\x01\x12\x15\n\x08\x65nd_hour\x18\x07 \x01(\x05H\x01\x88\x01\x01\x12K\n\x0b\x64\x61y_of_week\x18\x05 \x01(\x0e\x32\x36.google.ads.googleads.v6.enums.DayOfWeekEnum.DayOfWeekB\r\n\x0b_start_hourB\x0b\n\t_end_hour\"Z\n\x0c\x41geRangeInfo\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.google.ads.googleads.v6.enums.AgeRangeTypeEnum.AgeRangeType\"T\n\nGenderInfo\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x38.google.ads.googleads.v6.enums.GenderTypeEnum.GenderType\"c\n\x0fIncomeRangeInfo\x12P\n\x04type\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v6.enums.IncomeRangeTypeEnum.IncomeRangeType\"l\n\x12ParentalStatusInfo\x12V\n\x04type\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v6.enums.ParentalStatusTypeEnum.ParentalStatusType\"6\n\x10YouTubeVideoInfo\x12\x15\n\x08video_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_video_id\"<\n\x12YouTubeChannelInfo\x12\x17\n\nchannel_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\r\n\x0b_channel_id\"4\n\x0cUserListInfo\x12\x16\n\tuser_list\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_user_list\"\x92\x02\n\rProximityInfo\x12?\n\tgeo_point\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v6.common.GeoPointInfo\x12\x13\n\x06radius\x18\x05 \x01(\x01H\x00\x88\x01\x01\x12\x62\n\x0cradius_units\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v6.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits\x12<\n\x07\x61\x64\x64ress\x18\x04 \x01(\x0b\x32+.google.ads.googleads.v6.common.AddressInfoB\t\n\x07_radius\"\x9c\x01\n\x0cGeoPointInfo\x12\'\n\x1alongitude_in_micro_degrees\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12&\n\x19latitude_in_micro_degrees\x18\x04 \x01(\x05H\x01\x88\x01\x01\x42\x1d\n\x1b_longitude_in_micro_degreesB\x1c\n\x1a_latitude_in_micro_degrees\"\xc7\x02\n\x0b\x41\x64\x64ressInfo\x12\x18\n\x0bpostal_code\x18\x08 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rprovince_code\x18\t \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0c\x63ountry_code\x18\n \x01(\tH\x02\x88\x01\x01\x12\x1a\n\rprovince_name\x18\x0b \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0estreet_address\x18\x0c \x01(\tH\x04\x88\x01\x01\x12\x1c\n\x0fstreet_address2\x18\r \x01(\tH\x05\x88\x01\x01\x12\x16\n\tcity_name\x18\x0e \x01(\tH\x06\x88\x01\x01\x42\x0e\n\x0c_postal_codeB\x10\n\x0e_province_codeB\x0f\n\r_country_codeB\x10\n\x0e_province_nameB\x11\n\x0f_street_addressB\x12\n\x10_street_address2B\x0c\n\n_city_name\"I\n\tTopicInfo\x12\x1b\n\x0etopic_constant\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x0c\n\x04path\x18\x04 \x03(\tB\x11\n\x0f_topic_constant\"D\n\x0cLanguageInfo\x12\x1e\n\x11language_constant\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x14\n\x12_language_constant\"5\n\x0bIpBlockInfo\x12\x17\n\nip_address\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\r\n\x0b_ip_address\"f\n\x10\x43ontentLabelInfo\x12R\n\x04type\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v6.enums.ContentLabelTypeEnum.ContentLabelType\"A\n\x0b\x43\x61rrierInfo\x12\x1d\n\x10\x63\x61rrier_constant\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_carrier_constant\"R\n\x10UserInterestInfo\x12#\n\x16user_interest_category\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x19\n\x17_user_interest_category\"\x87\x01\n\x0bWebpageInfo\x12\x1b\n\x0e\x63riterion_name\x18\x03 \x01(\tH\x00\x88\x01\x01\x12H\n\nconditions\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v6.common.WebpageConditionInfoB\x11\n\x0f_criterion_name\"\x87\x02\n\x14WebpageConditionInfo\x12\x63\n\x07operand\x18\x01 \x01(\x0e\x32R.google.ads.googleads.v6.enums.WebpageConditionOperandEnum.WebpageConditionOperand\x12\x66\n\x08operator\x18\x02 \x01(\x0e\x32T.google.ads.googleads.v6.enums.WebpageConditionOperatorEnum.WebpageConditionOperator\x12\x15\n\x08\x61rgument\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_argument\"r\n\x1aOperatingSystemVersionInfo\x12.\n!operating_system_version_constant\x18\x02 \x01(\tH\x00\x88\x01\x01\x42$\n\"_operating_system_version_constant\"o\n\x13\x41ppPaymentModelInfo\x12X\n\x04type\x18\x01 \x01(\x0e\x32J.google.ads.googleads.v6.enums.AppPaymentModelTypeEnum.AppPaymentModelType\"R\n\x10MobileDeviceInfo\x12#\n\x16mobile_device_constant\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x19\n\x17_mobile_device_constant\"F\n\x12\x43ustomAffinityInfo\x12\x1c\n\x0f\x63ustom_affinity\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x12\n\x10_custom_affinity\"@\n\x10\x43ustomIntentInfo\x12\x1a\n\rcustom_intent\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x10\n\x0e_custom_intent\"\xf1\x01\n\x11LocationGroupInfo\x12\x11\n\x04\x66\x65\x65\x64\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x14geo_target_constants\x18\x06 \x03(\t\x12\x13\n\x06radius\x18\x07 \x01(\x03H\x01\x88\x01\x01\x12j\n\x0cradius_units\x18\x04 \x01(\x0e\x32T.google.ads.googleads.v6.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits\x12\x16\n\x0e\x66\x65\x65\x64_item_sets\x18\x08 \x03(\tB\x07\n\x05_feedB\t\n\x07_radius\"-\n\x12\x43ustomAudienceInfo\x12\x17\n\x0f\x63ustom_audience\x18\x01 \x01(\t\"1\n\x14\x43ombinedAudienceInfo\x12\x19\n\x11\x63ombined_audience\x18\x01 \x01(\tB\xe8\x01\n\"com.google.ads.googleads.v6.commonB\rCriteriaProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_age__range__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__payment__model__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_content__label__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_day__of__week__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_gender__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_income__range__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_interaction__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_keyword__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_listing__group__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_location__group__radius__units__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_minute__of__hour__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_parental__status__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_preferred__content__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__bidding__category__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__condition__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__custom__attribute__index__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__type__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_proximity__radius__units__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_webpage__condition__operand__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_webpage__condition__operator__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_KEYWORDINFO = _descriptor.Descriptor( + name='KeywordInfo', + full_name='google.ads.googleads.v6.common.KeywordInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='text', full_name='google.ads.googleads.v6.common.KeywordInfo.text', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='match_type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_text', full_name='google.ads.googleads.v6.common.KeywordInfo._text', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1643, + serialized_end=1774, +) + + +_PLACEMENTINFO = _descriptor.Descriptor( + name='PlacementInfo', + full_name='google.ads.googleads.v6.common.PlacementInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='url', full_name='google.ads.googleads.v6.common.PlacementInfo.url', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_url', full_name='google.ads.googleads.v6.common.PlacementInfo._url', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1776, + serialized_end=1817, +) + + +_MOBILEAPPCATEGORYINFO = _descriptor.Descriptor( + name='MobileAppCategoryInfo', + full_name='google.ads.googleads.v6.common.MobileAppCategoryInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='mobile_app_category_constant', full_name='google.ads.googleads.v6.common.MobileAppCategoryInfo.mobile_app_category_constant', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_mobile_app_category_constant', full_name='google.ads.googleads.v6.common.MobileAppCategoryInfo._mobile_app_category_constant', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1819, + serialized_end=1918, +) + + +_MOBILEAPPLICATIONINFO = _descriptor.Descriptor( + name='MobileApplicationInfo', + full_name='google.ads.googleads.v6.common.MobileApplicationInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='app_id', full_name='google.ads.googleads.v6.common.MobileApplicationInfo.app_id', index=0, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.common.MobileApplicationInfo.name', index=1, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_app_id', full_name='google.ads.googleads.v6.common.MobileApplicationInfo._app_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.common.MobileApplicationInfo._name', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1920, + serialized_end=2003, +) + + +_LOCATIONINFO = _descriptor.Descriptor( + name='LocationInfo', + full_name='google.ads.googleads.v6.common.LocationInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='geo_target_constant', full_name='google.ads.googleads.v6.common.LocationInfo.geo_target_constant', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_geo_target_constant', full_name='google.ads.googleads.v6.common.LocationInfo._geo_target_constant', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2005, + serialized_end=2077, +) + + +_DEVICEINFO = _descriptor.Descriptor( + name='DeviceInfo', + full_name='google.ads.googleads.v6.common.DeviceInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2079, + serialized_end=2155, +) + + +_PREFERREDCONTENTINFO = _descriptor.Descriptor( + name='PreferredContentInfo', + full_name='google.ads.googleads.v6.common.PreferredContentInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2157, + serialized_end=2271, +) + + +_LISTINGGROUPINFO = _descriptor.Descriptor( + name='ListingGroupInfo', + full_name='google.ads.googleads.v6.common.ListingGroupInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='case_value', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_ad_group_criterion', full_name='google.ads.googleads.v6.common.ListingGroupInfo.parent_ad_group_criterion', index=2, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_parent_ad_group_criterion', full_name='google.ads.googleads.v6.common.ListingGroupInfo._parent_ad_group_criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2274, + serialized_end=2520, +) + + +_LISTINGSCOPEINFO = _descriptor.Descriptor( + name='ListingScopeInfo', + full_name='google.ads.googleads.v6.common.ListingScopeInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='dimensions', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2522, + serialized_end=2614, +) + + +_LISTINGDIMENSIONINFO = _descriptor.Descriptor( + name='ListingDimensionInfo', + full_name='google.ads.googleads.v6.common.ListingDimensionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='hotel_id', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_class', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_country_region', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_state', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_city', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_bidding_category', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_brand', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_channel', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_channel_exclusivity', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_condition', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_custom_attribute', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_item_id', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='unknown_listing_dimension', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='dimension', full_name='google.ads.googleads.v6.common.ListingDimensionInfo.dimension', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2617, + serialized_end=3796, +) + + +_HOTELIDINFO = _descriptor.Descriptor( + name='HotelIdInfo', + full_name='google.ads.googleads.v6.common.HotelIdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.HotelIdInfo.value', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.HotelIdInfo._value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3798, + serialized_end=3841, +) + + +_HOTELCLASSINFO = _descriptor.Descriptor( + name='HotelClassInfo', + full_name='google.ads.googleads.v6.common.HotelClassInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.HotelClassInfo.value', index=0, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.HotelClassInfo._value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3843, + serialized_end=3889, +) + + +_HOTELCOUNTRYREGIONINFO = _descriptor.Descriptor( + name='HotelCountryRegionInfo', + full_name='google.ads.googleads.v6.common.HotelCountryRegionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='country_region_criterion', full_name='google.ads.googleads.v6.common.HotelCountryRegionInfo.country_region_criterion', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_country_region_criterion', full_name='google.ads.googleads.v6.common.HotelCountryRegionInfo._country_region_criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3891, + serialized_end=3983, +) + + +_HOTELSTATEINFO = _descriptor.Descriptor( + name='HotelStateInfo', + full_name='google.ads.googleads.v6.common.HotelStateInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='state_criterion', full_name='google.ads.googleads.v6.common.HotelStateInfo.state_criterion', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_state_criterion', full_name='google.ads.googleads.v6.common.HotelStateInfo._state_criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3985, + serialized_end=4051, +) + + +_HOTELCITYINFO = _descriptor.Descriptor( + name='HotelCityInfo', + full_name='google.ads.googleads.v6.common.HotelCityInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='city_criterion', full_name='google.ads.googleads.v6.common.HotelCityInfo.city_criterion', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_city_criterion', full_name='google.ads.googleads.v6.common.HotelCityInfo._city_criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4053, + serialized_end=4116, +) + + +_PRODUCTBIDDINGCATEGORYINFO = _descriptor.Descriptor( + name='ProductBiddingCategoryInfo', + full_name='google.ads.googleads.v6.common.ProductBiddingCategoryInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.common.ProductBiddingCategoryInfo.id', index=0, + number=4, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v6.common.ProductBiddingCategoryInfo.country_code', index=1, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='level', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.common.ProductBiddingCategoryInfo._id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_country_code', full_name='google.ads.googleads.v6.common.ProductBiddingCategoryInfo._country_code', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4119, + serialized_end=4322, +) + + +_PRODUCTBRANDINFO = _descriptor.Descriptor( + name='ProductBrandInfo', + full_name='google.ads.googleads.v6.common.ProductBrandInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.ProductBrandInfo.value', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.ProductBrandInfo._value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4324, + serialized_end=4372, +) + + +_PRODUCTCHANNELINFO = _descriptor.Descriptor( + name='ProductChannelInfo', + full_name='google.ads.googleads.v6.common.ProductChannelInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='channel', full_name='google.ads.googleads.v6.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, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4374, + serialized_end=4477, +) + + +_PRODUCTCHANNELEXCLUSIVITYINFO = _descriptor.Descriptor( + name='ProductChannelExclusivityInfo', + full_name='google.ads.googleads.v6.common.ProductChannelExclusivityInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='channel_exclusivity', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4480, + serialized_end=4628, +) + + +_PRODUCTCONDITIONINFO = _descriptor.Descriptor( + name='ProductConditionInfo', + full_name='google.ads.googleads.v6.common.ProductConditionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='condition', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4630, + serialized_end=4741, +) + + +_PRODUCTCUSTOMATTRIBUTEINFO = _descriptor.Descriptor( + name='ProductCustomAttributeInfo', + full_name='google.ads.googleads.v6.common.ProductCustomAttributeInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.ProductCustomAttributeInfo.value', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='index', full_name='google.ads.googleads.v6.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, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.ProductCustomAttributeInfo._value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4744, + serialized_end=4909, +) + + +_PRODUCTITEMIDINFO = _descriptor.Descriptor( + name='ProductItemIdInfo', + full_name='google.ads.googleads.v6.common.ProductItemIdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.ProductItemIdInfo.value', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.ProductItemIdInfo._value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4911, + serialized_end=4960, +) + + +_PRODUCTTYPEINFO = _descriptor.Descriptor( + name='ProductTypeInfo', + full_name='google.ads.googleads.v6.common.ProductTypeInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.ProductTypeInfo.value', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='level', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.ProductTypeInfo._value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4963, + serialized_end=5095, +) + + +_UNKNOWNLISTINGDIMENSIONINFO = _descriptor.Descriptor( + name='UnknownListingDimensionInfo', + full_name='google.ads.googleads.v6.common.UnknownListingDimensionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5097, + serialized_end=5126, +) + + +_HOTELDATESELECTIONTYPEINFO = _descriptor.Descriptor( + name='HotelDateSelectionTypeInfo', + full_name='google.ads.googleads.v6.common.HotelDateSelectionTypeInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5128, + serialized_end=5252, +) + + +_HOTELADVANCEBOOKINGWINDOWINFO = _descriptor.Descriptor( + name='HotelAdvanceBookingWindowInfo', + full_name='google.ads.googleads.v6.common.HotelAdvanceBookingWindowInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='min_days', full_name='google.ads.googleads.v6.common.HotelAdvanceBookingWindowInfo.min_days', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='max_days', full_name='google.ads.googleads.v6.common.HotelAdvanceBookingWindowInfo.max_days', index=1, + number=4, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_min_days', full_name='google.ads.googleads.v6.common.HotelAdvanceBookingWindowInfo._min_days', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_max_days', full_name='google.ads.googleads.v6.common.HotelAdvanceBookingWindowInfo._max_days', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=5254, + serialized_end=5357, +) + + +_HOTELLENGTHOFSTAYINFO = _descriptor.Descriptor( + name='HotelLengthOfStayInfo', + full_name='google.ads.googleads.v6.common.HotelLengthOfStayInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='min_nights', full_name='google.ads.googleads.v6.common.HotelLengthOfStayInfo.min_nights', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='max_nights', full_name='google.ads.googleads.v6.common.HotelLengthOfStayInfo.max_nights', index=1, + number=4, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_min_nights', full_name='google.ads.googleads.v6.common.HotelLengthOfStayInfo._min_nights', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_max_nights', full_name='google.ads.googleads.v6.common.HotelLengthOfStayInfo._max_nights', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=5359, + serialized_end=5462, +) + + +_HOTELCHECKINDAYINFO = _descriptor.Descriptor( + name='HotelCheckInDayInfo', + full_name='google.ads.googleads.v6.common.HotelCheckInDayInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='day_of_week', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5464, + serialized_end=5562, +) + + +_INTERACTIONTYPEINFO = _descriptor.Descriptor( + name='InteractionTypeInfo', + full_name='google.ads.googleads.v6.common.InteractionTypeInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5564, + serialized_end=5667, +) + + +_ADSCHEDULEINFO = _descriptor.Descriptor( + name='AdScheduleInfo', + full_name='google.ads.googleads.v6.common.AdScheduleInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='start_minute', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_minute', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_hour', full_name='google.ads.googleads.v6.common.AdScheduleInfo.start_hour', index=2, + number=6, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_hour', full_name='google.ads.googleads.v6.common.AdScheduleInfo.end_hour', index=3, + number=7, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='day_of_week', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_start_hour', full_name='google.ads.googleads.v6.common.AdScheduleInfo._start_hour', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_end_hour', full_name='google.ads.googleads.v6.common.AdScheduleInfo._end_hour', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=5670, + serialized_end=6005, +) + + +_AGERANGEINFO = _descriptor.Descriptor( + name='AgeRangeInfo', + full_name='google.ads.googleads.v6.common.AgeRangeInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6007, + serialized_end=6097, +) + + +_GENDERINFO = _descriptor.Descriptor( + name='GenderInfo', + full_name='google.ads.googleads.v6.common.GenderInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6099, + serialized_end=6183, +) + + +_INCOMERANGEINFO = _descriptor.Descriptor( + name='IncomeRangeInfo', + full_name='google.ads.googleads.v6.common.IncomeRangeInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6185, + serialized_end=6284, +) + + +_PARENTALSTATUSINFO = _descriptor.Descriptor( + name='ParentalStatusInfo', + full_name='google.ads.googleads.v6.common.ParentalStatusInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6286, + serialized_end=6394, +) + + +_YOUTUBEVIDEOINFO = _descriptor.Descriptor( + name='YouTubeVideoInfo', + full_name='google.ads.googleads.v6.common.YouTubeVideoInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='video_id', full_name='google.ads.googleads.v6.common.YouTubeVideoInfo.video_id', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_video_id', full_name='google.ads.googleads.v6.common.YouTubeVideoInfo._video_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=6396, + serialized_end=6450, +) + + +_YOUTUBECHANNELINFO = _descriptor.Descriptor( + name='YouTubeChannelInfo', + full_name='google.ads.googleads.v6.common.YouTubeChannelInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='channel_id', full_name='google.ads.googleads.v6.common.YouTubeChannelInfo.channel_id', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_channel_id', full_name='google.ads.googleads.v6.common.YouTubeChannelInfo._channel_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=6452, + serialized_end=6512, +) + + +_USERLISTINFO = _descriptor.Descriptor( + name='UserListInfo', + full_name='google.ads.googleads.v6.common.UserListInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='user_list', full_name='google.ads.googleads.v6.common.UserListInfo.user_list', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_user_list', full_name='google.ads.googleads.v6.common.UserListInfo._user_list', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=6514, + serialized_end=6566, +) + + +_PROXIMITYINFO = _descriptor.Descriptor( + name='ProximityInfo', + full_name='google.ads.googleads.v6.common.ProximityInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='geo_point', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='radius', full_name='google.ads.googleads.v6.common.ProximityInfo.radius', index=1, + number=5, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='radius_units', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='address', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_radius', full_name='google.ads.googleads.v6.common.ProximityInfo._radius', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=6569, + serialized_end=6843, +) + + +_GEOPOINTINFO = _descriptor.Descriptor( + name='GeoPointInfo', + full_name='google.ads.googleads.v6.common.GeoPointInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='longitude_in_micro_degrees', full_name='google.ads.googleads.v6.common.GeoPointInfo.longitude_in_micro_degrees', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='latitude_in_micro_degrees', full_name='google.ads.googleads.v6.common.GeoPointInfo.latitude_in_micro_degrees', index=1, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_longitude_in_micro_degrees', full_name='google.ads.googleads.v6.common.GeoPointInfo._longitude_in_micro_degrees', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_latitude_in_micro_degrees', full_name='google.ads.googleads.v6.common.GeoPointInfo._latitude_in_micro_degrees', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=6846, + serialized_end=7002, +) + + +_ADDRESSINFO = _descriptor.Descriptor( + name='AddressInfo', + full_name='google.ads.googleads.v6.common.AddressInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='postal_code', full_name='google.ads.googleads.v6.common.AddressInfo.postal_code', index=0, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='province_code', full_name='google.ads.googleads.v6.common.AddressInfo.province_code', index=1, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v6.common.AddressInfo.country_code', index=2, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='province_name', full_name='google.ads.googleads.v6.common.AddressInfo.province_name', index=3, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='street_address', full_name='google.ads.googleads.v6.common.AddressInfo.street_address', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='street_address2', full_name='google.ads.googleads.v6.common.AddressInfo.street_address2', index=5, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='city_name', full_name='google.ads.googleads.v6.common.AddressInfo.city_name', index=6, + number=14, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_postal_code', full_name='google.ads.googleads.v6.common.AddressInfo._postal_code', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_province_code', full_name='google.ads.googleads.v6.common.AddressInfo._province_code', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_country_code', full_name='google.ads.googleads.v6.common.AddressInfo._country_code', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_province_name', full_name='google.ads.googleads.v6.common.AddressInfo._province_name', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_street_address', full_name='google.ads.googleads.v6.common.AddressInfo._street_address', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_street_address2', full_name='google.ads.googleads.v6.common.AddressInfo._street_address2', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_city_name', full_name='google.ads.googleads.v6.common.AddressInfo._city_name', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7005, + serialized_end=7332, +) + + +_TOPICINFO = _descriptor.Descriptor( + name='TopicInfo', + full_name='google.ads.googleads.v6.common.TopicInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='topic_constant', full_name='google.ads.googleads.v6.common.TopicInfo.topic_constant', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='path', full_name='google.ads.googleads.v6.common.TopicInfo.path', index=1, + number=4, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_topic_constant', full_name='google.ads.googleads.v6.common.TopicInfo._topic_constant', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7334, + serialized_end=7407, +) + + +_LANGUAGEINFO = _descriptor.Descriptor( + name='LanguageInfo', + full_name='google.ads.googleads.v6.common.LanguageInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='language_constant', full_name='google.ads.googleads.v6.common.LanguageInfo.language_constant', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_language_constant', full_name='google.ads.googleads.v6.common.LanguageInfo._language_constant', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7409, + serialized_end=7477, +) + + +_IPBLOCKINFO = _descriptor.Descriptor( + name='IpBlockInfo', + full_name='google.ads.googleads.v6.common.IpBlockInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='ip_address', full_name='google.ads.googleads.v6.common.IpBlockInfo.ip_address', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_ip_address', full_name='google.ads.googleads.v6.common.IpBlockInfo._ip_address', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7479, + serialized_end=7532, +) + + +_CONTENTLABELINFO = _descriptor.Descriptor( + name='ContentLabelInfo', + full_name='google.ads.googleads.v6.common.ContentLabelInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7534, + serialized_end=7636, +) + + +_CARRIERINFO = _descriptor.Descriptor( + name='CarrierInfo', + full_name='google.ads.googleads.v6.common.CarrierInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='carrier_constant', full_name='google.ads.googleads.v6.common.CarrierInfo.carrier_constant', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_carrier_constant', full_name='google.ads.googleads.v6.common.CarrierInfo._carrier_constant', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7638, + serialized_end=7703, +) + + +_USERINTERESTINFO = _descriptor.Descriptor( + name='UserInterestInfo', + full_name='google.ads.googleads.v6.common.UserInterestInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='user_interest_category', full_name='google.ads.googleads.v6.common.UserInterestInfo.user_interest_category', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_user_interest_category', full_name='google.ads.googleads.v6.common.UserInterestInfo._user_interest_category', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7705, + serialized_end=7787, +) + + +_WEBPAGEINFO = _descriptor.Descriptor( + name='WebpageInfo', + full_name='google.ads.googleads.v6.common.WebpageInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='criterion_name', full_name='google.ads.googleads.v6.common.WebpageInfo.criterion_name', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conditions', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_criterion_name', full_name='google.ads.googleads.v6.common.WebpageInfo._criterion_name', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7790, + serialized_end=7925, +) + + +_WEBPAGECONDITIONINFO = _descriptor.Descriptor( + name='WebpageConditionInfo', + full_name='google.ads.googleads.v6.common.WebpageConditionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operand', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='operator', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='argument', full_name='google.ads.googleads.v6.common.WebpageConditionInfo.argument', index=2, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_argument', full_name='google.ads.googleads.v6.common.WebpageConditionInfo._argument', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7928, + serialized_end=8191, +) + + +_OPERATINGSYSTEMVERSIONINFO = _descriptor.Descriptor( + name='OperatingSystemVersionInfo', + full_name='google.ads.googleads.v6.common.OperatingSystemVersionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operating_system_version_constant', full_name='google.ads.googleads.v6.common.OperatingSystemVersionInfo.operating_system_version_constant', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_operating_system_version_constant', full_name='google.ads.googleads.v6.common.OperatingSystemVersionInfo._operating_system_version_constant', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=8193, + serialized_end=8307, +) + + +_APPPAYMENTMODELINFO = _descriptor.Descriptor( + name='AppPaymentModelInfo', + full_name='google.ads.googleads.v6.common.AppPaymentModelInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8309, + serialized_end=8420, +) + + +_MOBILEDEVICEINFO = _descriptor.Descriptor( + name='MobileDeviceInfo', + full_name='google.ads.googleads.v6.common.MobileDeviceInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='mobile_device_constant', full_name='google.ads.googleads.v6.common.MobileDeviceInfo.mobile_device_constant', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_mobile_device_constant', full_name='google.ads.googleads.v6.common.MobileDeviceInfo._mobile_device_constant', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=8422, + serialized_end=8504, +) + + +_CUSTOMAFFINITYINFO = _descriptor.Descriptor( + name='CustomAffinityInfo', + full_name='google.ads.googleads.v6.common.CustomAffinityInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='custom_affinity', full_name='google.ads.googleads.v6.common.CustomAffinityInfo.custom_affinity', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_custom_affinity', full_name='google.ads.googleads.v6.common.CustomAffinityInfo._custom_affinity', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=8506, + serialized_end=8576, +) + + +_CUSTOMINTENTINFO = _descriptor.Descriptor( + name='CustomIntentInfo', + full_name='google.ads.googleads.v6.common.CustomIntentInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='custom_intent', full_name='google.ads.googleads.v6.common.CustomIntentInfo.custom_intent', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_custom_intent', full_name='google.ads.googleads.v6.common.CustomIntentInfo._custom_intent', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=8578, + serialized_end=8642, +) + + +_LOCATIONGROUPINFO = _descriptor.Descriptor( + name='LocationGroupInfo', + full_name='google.ads.googleads.v6.common.LocationGroupInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='feed', full_name='google.ads.googleads.v6.common.LocationGroupInfo.feed', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_constants', full_name='google.ads.googleads.v6.common.LocationGroupInfo.geo_target_constants', index=1, + number=6, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='radius', full_name='google.ads.googleads.v6.common.LocationGroupInfo.radius', index=2, + number=7, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='radius_units', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_item_sets', full_name='google.ads.googleads.v6.common.LocationGroupInfo.feed_item_sets', index=4, + number=8, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_feed', full_name='google.ads.googleads.v6.common.LocationGroupInfo._feed', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_radius', full_name='google.ads.googleads.v6.common.LocationGroupInfo._radius', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=8645, + serialized_end=8886, +) + + +_CUSTOMAUDIENCEINFO = _descriptor.Descriptor( + name='CustomAudienceInfo', + full_name='google.ads.googleads.v6.common.CustomAudienceInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='custom_audience', full_name='google.ads.googleads.v6.common.CustomAudienceInfo.custom_audience', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8888, + serialized_end=8933, +) + + +_COMBINEDAUDIENCEINFO = _descriptor.Descriptor( + name='CombinedAudienceInfo', + full_name='google.ads.googleads.v6.common.CombinedAudienceInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='combined_audience', full_name='google.ads.googleads.v6.common.CombinedAudienceInfo.combined_audience', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8935, + serialized_end=8984, +) + +_KEYWORDINFO.fields_by_name['match_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_keyword__match__type__pb2._KEYWORDMATCHTYPEENUM_KEYWORDMATCHTYPE +_KEYWORDINFO.oneofs_by_name['_text'].fields.append( + _KEYWORDINFO.fields_by_name['text']) +_KEYWORDINFO.fields_by_name['text'].containing_oneof = _KEYWORDINFO.oneofs_by_name['_text'] +_PLACEMENTINFO.oneofs_by_name['_url'].fields.append( + _PLACEMENTINFO.fields_by_name['url']) +_PLACEMENTINFO.fields_by_name['url'].containing_oneof = _PLACEMENTINFO.oneofs_by_name['_url'] +_MOBILEAPPCATEGORYINFO.oneofs_by_name['_mobile_app_category_constant'].fields.append( + _MOBILEAPPCATEGORYINFO.fields_by_name['mobile_app_category_constant']) +_MOBILEAPPCATEGORYINFO.fields_by_name['mobile_app_category_constant'].containing_oneof = _MOBILEAPPCATEGORYINFO.oneofs_by_name['_mobile_app_category_constant'] +_MOBILEAPPLICATIONINFO.oneofs_by_name['_app_id'].fields.append( + _MOBILEAPPLICATIONINFO.fields_by_name['app_id']) +_MOBILEAPPLICATIONINFO.fields_by_name['app_id'].containing_oneof = _MOBILEAPPLICATIONINFO.oneofs_by_name['_app_id'] +_MOBILEAPPLICATIONINFO.oneofs_by_name['_name'].fields.append( + _MOBILEAPPLICATIONINFO.fields_by_name['name']) +_MOBILEAPPLICATIONINFO.fields_by_name['name'].containing_oneof = _MOBILEAPPLICATIONINFO.oneofs_by_name['_name'] +_LOCATIONINFO.oneofs_by_name['_geo_target_constant'].fields.append( + _LOCATIONINFO.fields_by_name['geo_target_constant']) +_LOCATIONINFO.fields_by_name['geo_target_constant'].containing_oneof = _LOCATIONINFO.oneofs_by_name['_geo_target_constant'] +_DEVICEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE +_PREFERREDCONTENTINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_preferred__content__type__pb2._PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE +_LISTINGGROUPINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_listing__group__type__pb2._LISTINGGROUPTYPEENUM_LISTINGGROUPTYPE +_LISTINGGROUPINFO.fields_by_name['case_value'].message_type = _LISTINGDIMENSIONINFO +_LISTINGGROUPINFO.oneofs_by_name['_parent_ad_group_criterion'].fields.append( + _LISTINGGROUPINFO.fields_by_name['parent_ad_group_criterion']) +_LISTINGGROUPINFO.fields_by_name['parent_ad_group_criterion'].containing_oneof = _LISTINGGROUPINFO.oneofs_by_name['_parent_ad_group_criterion'] +_LISTINGSCOPEINFO.fields_by_name['dimensions'].message_type = _LISTINGDIMENSIONINFO +_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['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['hotel_id']) +_LISTINGDIMENSIONINFO.fields_by_name['hotel_id'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] +_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( + _LISTINGDIMENSIONINFO.fields_by_name['hotel_class']) +_LISTINGDIMENSIONINFO.fields_by_name['hotel_class'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] +_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( + _LISTINGDIMENSIONINFO.fields_by_name['hotel_country_region']) +_LISTINGDIMENSIONINFO.fields_by_name['hotel_country_region'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] +_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( + _LISTINGDIMENSIONINFO.fields_by_name['hotel_state']) +_LISTINGDIMENSIONINFO.fields_by_name['hotel_state'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] +_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['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'] +_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( + _LISTINGDIMENSIONINFO.fields_by_name['product_channel_exclusivity']) +_LISTINGDIMENSIONINFO.fields_by_name['product_channel_exclusivity'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] +_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'] +_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( + _LISTINGDIMENSIONINFO.fields_by_name['product_type']) +_LISTINGDIMENSIONINFO.fields_by_name['product_type'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] +_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'] +_HOTELIDINFO.oneofs_by_name['_value'].fields.append( + _HOTELIDINFO.fields_by_name['value']) +_HOTELIDINFO.fields_by_name['value'].containing_oneof = _HOTELIDINFO.oneofs_by_name['_value'] +_HOTELCLASSINFO.oneofs_by_name['_value'].fields.append( + _HOTELCLASSINFO.fields_by_name['value']) +_HOTELCLASSINFO.fields_by_name['value'].containing_oneof = _HOTELCLASSINFO.oneofs_by_name['_value'] +_HOTELCOUNTRYREGIONINFO.oneofs_by_name['_country_region_criterion'].fields.append( + _HOTELCOUNTRYREGIONINFO.fields_by_name['country_region_criterion']) +_HOTELCOUNTRYREGIONINFO.fields_by_name['country_region_criterion'].containing_oneof = _HOTELCOUNTRYREGIONINFO.oneofs_by_name['_country_region_criterion'] +_HOTELSTATEINFO.oneofs_by_name['_state_criterion'].fields.append( + _HOTELSTATEINFO.fields_by_name['state_criterion']) +_HOTELSTATEINFO.fields_by_name['state_criterion'].containing_oneof = _HOTELSTATEINFO.oneofs_by_name['_state_criterion'] +_HOTELCITYINFO.oneofs_by_name['_city_criterion'].fields.append( + _HOTELCITYINFO.fields_by_name['city_criterion']) +_HOTELCITYINFO.fields_by_name['city_criterion'].containing_oneof = _HOTELCITYINFO.oneofs_by_name['_city_criterion'] +_PRODUCTBIDDINGCATEGORYINFO.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__bidding__category__level__pb2._PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL +_PRODUCTBIDDINGCATEGORYINFO.oneofs_by_name['_id'].fields.append( + _PRODUCTBIDDINGCATEGORYINFO.fields_by_name['id']) +_PRODUCTBIDDINGCATEGORYINFO.fields_by_name['id'].containing_oneof = _PRODUCTBIDDINGCATEGORYINFO.oneofs_by_name['_id'] +_PRODUCTBIDDINGCATEGORYINFO.oneofs_by_name['_country_code'].fields.append( + _PRODUCTBIDDINGCATEGORYINFO.fields_by_name['country_code']) +_PRODUCTBIDDINGCATEGORYINFO.fields_by_name['country_code'].containing_oneof = _PRODUCTBIDDINGCATEGORYINFO.oneofs_by_name['_country_code'] +_PRODUCTBRANDINFO.oneofs_by_name['_value'].fields.append( + _PRODUCTBRANDINFO.fields_by_name['value']) +_PRODUCTBRANDINFO.fields_by_name['value'].containing_oneof = _PRODUCTBRANDINFO.oneofs_by_name['_value'] +_PRODUCTCHANNELINFO.fields_by_name['channel'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__pb2._PRODUCTCHANNELENUM_PRODUCTCHANNEL +_PRODUCTCHANNELEXCLUSIVITYINFO.fields_by_name['channel_exclusivity'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2._PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY +_PRODUCTCONDITIONINFO.fields_by_name['condition'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__condition__pb2._PRODUCTCONDITIONENUM_PRODUCTCONDITION +_PRODUCTCUSTOMATTRIBUTEINFO.fields_by_name['index'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__custom__attribute__index__pb2._PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX +_PRODUCTCUSTOMATTRIBUTEINFO.oneofs_by_name['_value'].fields.append( + _PRODUCTCUSTOMATTRIBUTEINFO.fields_by_name['value']) +_PRODUCTCUSTOMATTRIBUTEINFO.fields_by_name['value'].containing_oneof = _PRODUCTCUSTOMATTRIBUTEINFO.oneofs_by_name['_value'] +_PRODUCTITEMIDINFO.oneofs_by_name['_value'].fields.append( + _PRODUCTITEMIDINFO.fields_by_name['value']) +_PRODUCTITEMIDINFO.fields_by_name['value'].containing_oneof = _PRODUCTITEMIDINFO.oneofs_by_name['_value'] +_PRODUCTTYPEINFO.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__type__level__pb2._PRODUCTTYPELEVELENUM_PRODUCTTYPELEVEL +_PRODUCTTYPEINFO.oneofs_by_name['_value'].fields.append( + _PRODUCTTYPEINFO.fields_by_name['value']) +_PRODUCTTYPEINFO.fields_by_name['value'].containing_oneof = _PRODUCTTYPEINFO.oneofs_by_name['_value'] +_HOTELDATESELECTIONTYPEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2._HOTELDATESELECTIONTYPEENUM_HOTELDATESELECTIONTYPE +_HOTELADVANCEBOOKINGWINDOWINFO.oneofs_by_name['_min_days'].fields.append( + _HOTELADVANCEBOOKINGWINDOWINFO.fields_by_name['min_days']) +_HOTELADVANCEBOOKINGWINDOWINFO.fields_by_name['min_days'].containing_oneof = _HOTELADVANCEBOOKINGWINDOWINFO.oneofs_by_name['_min_days'] +_HOTELADVANCEBOOKINGWINDOWINFO.oneofs_by_name['_max_days'].fields.append( + _HOTELADVANCEBOOKINGWINDOWINFO.fields_by_name['max_days']) +_HOTELADVANCEBOOKINGWINDOWINFO.fields_by_name['max_days'].containing_oneof = _HOTELADVANCEBOOKINGWINDOWINFO.oneofs_by_name['_max_days'] +_HOTELLENGTHOFSTAYINFO.oneofs_by_name['_min_nights'].fields.append( + _HOTELLENGTHOFSTAYINFO.fields_by_name['min_nights']) +_HOTELLENGTHOFSTAYINFO.fields_by_name['min_nights'].containing_oneof = _HOTELLENGTHOFSTAYINFO.oneofs_by_name['_min_nights'] +_HOTELLENGTHOFSTAYINFO.oneofs_by_name['_max_nights'].fields.append( + _HOTELLENGTHOFSTAYINFO.fields_by_name['max_nights']) +_HOTELLENGTHOFSTAYINFO.fields_by_name['max_nights'].containing_oneof = _HOTELLENGTHOFSTAYINFO.oneofs_by_name['_max_nights'] +_HOTELCHECKINDAYINFO.fields_by_name['day_of_week'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK +_INTERACTIONTYPEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_interaction__type__pb2._INTERACTIONTYPEENUM_INTERACTIONTYPE +_ADSCHEDULEINFO.fields_by_name['start_minute'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_minute__of__hour__pb2._MINUTEOFHOURENUM_MINUTEOFHOUR +_ADSCHEDULEINFO.fields_by_name['end_minute'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_minute__of__hour__pb2._MINUTEOFHOURENUM_MINUTEOFHOUR +_ADSCHEDULEINFO.fields_by_name['day_of_week'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK +_ADSCHEDULEINFO.oneofs_by_name['_start_hour'].fields.append( + _ADSCHEDULEINFO.fields_by_name['start_hour']) +_ADSCHEDULEINFO.fields_by_name['start_hour'].containing_oneof = _ADSCHEDULEINFO.oneofs_by_name['_start_hour'] +_ADSCHEDULEINFO.oneofs_by_name['_end_hour'].fields.append( + _ADSCHEDULEINFO.fields_by_name['end_hour']) +_ADSCHEDULEINFO.fields_by_name['end_hour'].containing_oneof = _ADSCHEDULEINFO.oneofs_by_name['_end_hour'] +_AGERANGEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_age__range__type__pb2._AGERANGETYPEENUM_AGERANGETYPE +_GENDERINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_gender__type__pb2._GENDERTYPEENUM_GENDERTYPE +_INCOMERANGEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_income__range__type__pb2._INCOMERANGETYPEENUM_INCOMERANGETYPE +_PARENTALSTATUSINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_parental__status__type__pb2._PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE +_YOUTUBEVIDEOINFO.oneofs_by_name['_video_id'].fields.append( + _YOUTUBEVIDEOINFO.fields_by_name['video_id']) +_YOUTUBEVIDEOINFO.fields_by_name['video_id'].containing_oneof = _YOUTUBEVIDEOINFO.oneofs_by_name['_video_id'] +_YOUTUBECHANNELINFO.oneofs_by_name['_channel_id'].fields.append( + _YOUTUBECHANNELINFO.fields_by_name['channel_id']) +_YOUTUBECHANNELINFO.fields_by_name['channel_id'].containing_oneof = _YOUTUBECHANNELINFO.oneofs_by_name['_channel_id'] +_USERLISTINFO.oneofs_by_name['_user_list'].fields.append( + _USERLISTINFO.fields_by_name['user_list']) +_USERLISTINFO.fields_by_name['user_list'].containing_oneof = _USERLISTINFO.oneofs_by_name['_user_list'] +_PROXIMITYINFO.fields_by_name['geo_point'].message_type = _GEOPOINTINFO +_PROXIMITYINFO.fields_by_name['radius_units'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_proximity__radius__units__pb2._PROXIMITYRADIUSUNITSENUM_PROXIMITYRADIUSUNITS +_PROXIMITYINFO.fields_by_name['address'].message_type = _ADDRESSINFO +_PROXIMITYINFO.oneofs_by_name['_radius'].fields.append( + _PROXIMITYINFO.fields_by_name['radius']) +_PROXIMITYINFO.fields_by_name['radius'].containing_oneof = _PROXIMITYINFO.oneofs_by_name['_radius'] +_GEOPOINTINFO.oneofs_by_name['_longitude_in_micro_degrees'].fields.append( + _GEOPOINTINFO.fields_by_name['longitude_in_micro_degrees']) +_GEOPOINTINFO.fields_by_name['longitude_in_micro_degrees'].containing_oneof = _GEOPOINTINFO.oneofs_by_name['_longitude_in_micro_degrees'] +_GEOPOINTINFO.oneofs_by_name['_latitude_in_micro_degrees'].fields.append( + _GEOPOINTINFO.fields_by_name['latitude_in_micro_degrees']) +_GEOPOINTINFO.fields_by_name['latitude_in_micro_degrees'].containing_oneof = _GEOPOINTINFO.oneofs_by_name['_latitude_in_micro_degrees'] +_ADDRESSINFO.oneofs_by_name['_postal_code'].fields.append( + _ADDRESSINFO.fields_by_name['postal_code']) +_ADDRESSINFO.fields_by_name['postal_code'].containing_oneof = _ADDRESSINFO.oneofs_by_name['_postal_code'] +_ADDRESSINFO.oneofs_by_name['_province_code'].fields.append( + _ADDRESSINFO.fields_by_name['province_code']) +_ADDRESSINFO.fields_by_name['province_code'].containing_oneof = _ADDRESSINFO.oneofs_by_name['_province_code'] +_ADDRESSINFO.oneofs_by_name['_country_code'].fields.append( + _ADDRESSINFO.fields_by_name['country_code']) +_ADDRESSINFO.fields_by_name['country_code'].containing_oneof = _ADDRESSINFO.oneofs_by_name['_country_code'] +_ADDRESSINFO.oneofs_by_name['_province_name'].fields.append( + _ADDRESSINFO.fields_by_name['province_name']) +_ADDRESSINFO.fields_by_name['province_name'].containing_oneof = _ADDRESSINFO.oneofs_by_name['_province_name'] +_ADDRESSINFO.oneofs_by_name['_street_address'].fields.append( + _ADDRESSINFO.fields_by_name['street_address']) +_ADDRESSINFO.fields_by_name['street_address'].containing_oneof = _ADDRESSINFO.oneofs_by_name['_street_address'] +_ADDRESSINFO.oneofs_by_name['_street_address2'].fields.append( + _ADDRESSINFO.fields_by_name['street_address2']) +_ADDRESSINFO.fields_by_name['street_address2'].containing_oneof = _ADDRESSINFO.oneofs_by_name['_street_address2'] +_ADDRESSINFO.oneofs_by_name['_city_name'].fields.append( + _ADDRESSINFO.fields_by_name['city_name']) +_ADDRESSINFO.fields_by_name['city_name'].containing_oneof = _ADDRESSINFO.oneofs_by_name['_city_name'] +_TOPICINFO.oneofs_by_name['_topic_constant'].fields.append( + _TOPICINFO.fields_by_name['topic_constant']) +_TOPICINFO.fields_by_name['topic_constant'].containing_oneof = _TOPICINFO.oneofs_by_name['_topic_constant'] +_LANGUAGEINFO.oneofs_by_name['_language_constant'].fields.append( + _LANGUAGEINFO.fields_by_name['language_constant']) +_LANGUAGEINFO.fields_by_name['language_constant'].containing_oneof = _LANGUAGEINFO.oneofs_by_name['_language_constant'] +_IPBLOCKINFO.oneofs_by_name['_ip_address'].fields.append( + _IPBLOCKINFO.fields_by_name['ip_address']) +_IPBLOCKINFO.fields_by_name['ip_address'].containing_oneof = _IPBLOCKINFO.oneofs_by_name['_ip_address'] +_CONTENTLABELINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_content__label__type__pb2._CONTENTLABELTYPEENUM_CONTENTLABELTYPE +_CARRIERINFO.oneofs_by_name['_carrier_constant'].fields.append( + _CARRIERINFO.fields_by_name['carrier_constant']) +_CARRIERINFO.fields_by_name['carrier_constant'].containing_oneof = _CARRIERINFO.oneofs_by_name['_carrier_constant'] +_USERINTERESTINFO.oneofs_by_name['_user_interest_category'].fields.append( + _USERINTERESTINFO.fields_by_name['user_interest_category']) +_USERINTERESTINFO.fields_by_name['user_interest_category'].containing_oneof = _USERINTERESTINFO.oneofs_by_name['_user_interest_category'] +_WEBPAGEINFO.fields_by_name['conditions'].message_type = _WEBPAGECONDITIONINFO +_WEBPAGEINFO.oneofs_by_name['_criterion_name'].fields.append( + _WEBPAGEINFO.fields_by_name['criterion_name']) +_WEBPAGEINFO.fields_by_name['criterion_name'].containing_oneof = _WEBPAGEINFO.oneofs_by_name['_criterion_name'] +_WEBPAGECONDITIONINFO.fields_by_name['operand'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_webpage__condition__operand__pb2._WEBPAGECONDITIONOPERANDENUM_WEBPAGECONDITIONOPERAND +_WEBPAGECONDITIONINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_webpage__condition__operator__pb2._WEBPAGECONDITIONOPERATORENUM_WEBPAGECONDITIONOPERATOR +_WEBPAGECONDITIONINFO.oneofs_by_name['_argument'].fields.append( + _WEBPAGECONDITIONINFO.fields_by_name['argument']) +_WEBPAGECONDITIONINFO.fields_by_name['argument'].containing_oneof = _WEBPAGECONDITIONINFO.oneofs_by_name['_argument'] +_OPERATINGSYSTEMVERSIONINFO.oneofs_by_name['_operating_system_version_constant'].fields.append( + _OPERATINGSYSTEMVERSIONINFO.fields_by_name['operating_system_version_constant']) +_OPERATINGSYSTEMVERSIONINFO.fields_by_name['operating_system_version_constant'].containing_oneof = _OPERATINGSYSTEMVERSIONINFO.oneofs_by_name['_operating_system_version_constant'] +_APPPAYMENTMODELINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__payment__model__type__pb2._APPPAYMENTMODELTYPEENUM_APPPAYMENTMODELTYPE +_MOBILEDEVICEINFO.oneofs_by_name['_mobile_device_constant'].fields.append( + _MOBILEDEVICEINFO.fields_by_name['mobile_device_constant']) +_MOBILEDEVICEINFO.fields_by_name['mobile_device_constant'].containing_oneof = _MOBILEDEVICEINFO.oneofs_by_name['_mobile_device_constant'] +_CUSTOMAFFINITYINFO.oneofs_by_name['_custom_affinity'].fields.append( + _CUSTOMAFFINITYINFO.fields_by_name['custom_affinity']) +_CUSTOMAFFINITYINFO.fields_by_name['custom_affinity'].containing_oneof = _CUSTOMAFFINITYINFO.oneofs_by_name['_custom_affinity'] +_CUSTOMINTENTINFO.oneofs_by_name['_custom_intent'].fields.append( + _CUSTOMINTENTINFO.fields_by_name['custom_intent']) +_CUSTOMINTENTINFO.fields_by_name['custom_intent'].containing_oneof = _CUSTOMINTENTINFO.oneofs_by_name['_custom_intent'] +_LOCATIONGROUPINFO.fields_by_name['radius_units'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_location__group__radius__units__pb2._LOCATIONGROUPRADIUSUNITSENUM_LOCATIONGROUPRADIUSUNITS +_LOCATIONGROUPINFO.oneofs_by_name['_feed'].fields.append( + _LOCATIONGROUPINFO.fields_by_name['feed']) +_LOCATIONGROUPINFO.fields_by_name['feed'].containing_oneof = _LOCATIONGROUPINFO.oneofs_by_name['_feed'] +_LOCATIONGROUPINFO.oneofs_by_name['_radius'].fields.append( + _LOCATIONGROUPINFO.fields_by_name['radius']) +_LOCATIONGROUPINFO.fields_by_name['radius'].containing_oneof = _LOCATIONGROUPINFO.oneofs_by_name['_radius'] +DESCRIPTOR.message_types_by_name['KeywordInfo'] = _KEYWORDINFO +DESCRIPTOR.message_types_by_name['PlacementInfo'] = _PLACEMENTINFO +DESCRIPTOR.message_types_by_name['MobileAppCategoryInfo'] = _MOBILEAPPCATEGORYINFO +DESCRIPTOR.message_types_by_name['MobileApplicationInfo'] = _MOBILEAPPLICATIONINFO +DESCRIPTOR.message_types_by_name['LocationInfo'] = _LOCATIONINFO +DESCRIPTOR.message_types_by_name['DeviceInfo'] = _DEVICEINFO +DESCRIPTOR.message_types_by_name['PreferredContentInfo'] = _PREFERREDCONTENTINFO +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['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['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 +DESCRIPTOR.message_types_by_name['HotelDateSelectionTypeInfo'] = _HOTELDATESELECTIONTYPEINFO +DESCRIPTOR.message_types_by_name['HotelAdvanceBookingWindowInfo'] = _HOTELADVANCEBOOKINGWINDOWINFO +DESCRIPTOR.message_types_by_name['HotelLengthOfStayInfo'] = _HOTELLENGTHOFSTAYINFO +DESCRIPTOR.message_types_by_name['HotelCheckInDayInfo'] = _HOTELCHECKINDAYINFO +DESCRIPTOR.message_types_by_name['InteractionTypeInfo'] = _INTERACTIONTYPEINFO +DESCRIPTOR.message_types_by_name['AdScheduleInfo'] = _ADSCHEDULEINFO +DESCRIPTOR.message_types_by_name['AgeRangeInfo'] = _AGERANGEINFO +DESCRIPTOR.message_types_by_name['GenderInfo'] = _GENDERINFO +DESCRIPTOR.message_types_by_name['IncomeRangeInfo'] = _INCOMERANGEINFO +DESCRIPTOR.message_types_by_name['ParentalStatusInfo'] = _PARENTALSTATUSINFO +DESCRIPTOR.message_types_by_name['YouTubeVideoInfo'] = _YOUTUBEVIDEOINFO +DESCRIPTOR.message_types_by_name['YouTubeChannelInfo'] = _YOUTUBECHANNELINFO +DESCRIPTOR.message_types_by_name['UserListInfo'] = _USERLISTINFO +DESCRIPTOR.message_types_by_name['ProximityInfo'] = _PROXIMITYINFO +DESCRIPTOR.message_types_by_name['GeoPointInfo'] = _GEOPOINTINFO +DESCRIPTOR.message_types_by_name['AddressInfo'] = _ADDRESSINFO +DESCRIPTOR.message_types_by_name['TopicInfo'] = _TOPICINFO +DESCRIPTOR.message_types_by_name['LanguageInfo'] = _LANGUAGEINFO +DESCRIPTOR.message_types_by_name['IpBlockInfo'] = _IPBLOCKINFO +DESCRIPTOR.message_types_by_name['ContentLabelInfo'] = _CONTENTLABELINFO +DESCRIPTOR.message_types_by_name['CarrierInfo'] = _CARRIERINFO +DESCRIPTOR.message_types_by_name['UserInterestInfo'] = _USERINTERESTINFO +DESCRIPTOR.message_types_by_name['WebpageInfo'] = _WEBPAGEINFO +DESCRIPTOR.message_types_by_name['WebpageConditionInfo'] = _WEBPAGECONDITIONINFO +DESCRIPTOR.message_types_by_name['OperatingSystemVersionInfo'] = _OPERATINGSYSTEMVERSIONINFO +DESCRIPTOR.message_types_by_name['AppPaymentModelInfo'] = _APPPAYMENTMODELINFO +DESCRIPTOR.message_types_by_name['MobileDeviceInfo'] = _MOBILEDEVICEINFO +DESCRIPTOR.message_types_by_name['CustomAffinityInfo'] = _CUSTOMAFFINITYINFO +DESCRIPTOR.message_types_by_name['CustomIntentInfo'] = _CUSTOMINTENTINFO +DESCRIPTOR.message_types_by_name['LocationGroupInfo'] = _LOCATIONGROUPINFO +DESCRIPTOR.message_types_by_name['CustomAudienceInfo'] = _CUSTOMAUDIENCEINFO +DESCRIPTOR.message_types_by_name['CombinedAudienceInfo'] = _COMBINEDAUDIENCEINFO +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordInfo = _reflection.GeneratedProtocolMessageType('KeywordInfo', (_message.Message,), { + 'DESCRIPTOR' : _KEYWORDINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A keyword criterion. + + Attributes: + text: + The text of the keyword (at most 80 characters and 10 words). + match_type: + The match type of the keyword. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.KeywordInfo) + }) +_sym_db.RegisterMessage(KeywordInfo) + +PlacementInfo = _reflection.GeneratedProtocolMessageType('PlacementInfo', (_message.Message,), { + 'DESCRIPTOR' : _PLACEMENTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A placement criterion. This can be used to modify bids for sites when + targeting the content network. + + Attributes: + url: + URL of the placement. For example, "http://www.domain.com". + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.PlacementInfo) + }) +_sym_db.RegisterMessage(PlacementInfo) + +MobileAppCategoryInfo = _reflection.GeneratedProtocolMessageType('MobileAppCategoryInfo', (_message.Message,), { + 'DESCRIPTOR' : _MOBILEAPPCATEGORYINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A mobile app category criterion. + + Attributes: + mobile_app_category_constant: + The mobile app category constant resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.MobileAppCategoryInfo) + }) +_sym_db.RegisterMessage(MobileAppCategoryInfo) + +MobileApplicationInfo = _reflection.GeneratedProtocolMessageType('MobileApplicationInfo', (_message.Message,), { + 'DESCRIPTOR' : _MOBILEAPPLICATIONINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A mobile application criterion. + + Attributes: + app_id: + A string that uniquely identifies a mobile application to + Google Ads API. The format of this string is + "{platform}-{platform\_native\_id}", where platform is "1" for + iOS apps and "2" for Android apps, and where + platform\_native\_id is the mobile application identifier + 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.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.v6.common.MobileApplicationInfo) + }) +_sym_db.RegisterMessage(MobileApplicationInfo) + +LocationInfo = _reflection.GeneratedProtocolMessageType('LocationInfo', (_message.Message,), { + 'DESCRIPTOR' : _LOCATIONINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A location criterion. + + Attributes: + geo_target_constant: + The geo target constant resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LocationInfo) + }) +_sym_db.RegisterMessage(LocationInfo) + +DeviceInfo = _reflection.GeneratedProtocolMessageType('DeviceInfo', (_message.Message,), { + 'DESCRIPTOR' : _DEVICEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A device criterion. + + Attributes: + type: + Type of the device. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.DeviceInfo) + }) +_sym_db.RegisterMessage(DeviceInfo) + +PreferredContentInfo = _reflection.GeneratedProtocolMessageType('PreferredContentInfo', (_message.Message,), { + 'DESCRIPTOR' : _PREFERREDCONTENTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A preferred content criterion. + + Attributes: + type: + Type of the preferred content. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.PreferredContentInfo) + }) +_sym_db.RegisterMessage(PreferredContentInfo) + +ListingGroupInfo = _reflection.GeneratedProtocolMessageType('ListingGroupInfo', (_message.Message,), { + 'DESCRIPTOR' : _LISTINGGROUPINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A listing group criterion. + + Attributes: + type: + Type of the listing group. + case_value: + Dimension value with which this listing group is refining its + parent. Undefined for the root group. + parent_ad_group_criterion: + 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.v6.common.ListingGroupInfo) + }) +_sym_db.RegisterMessage(ListingGroupInfo) + +ListingScopeInfo = _reflection.GeneratedProtocolMessageType('ListingScopeInfo', (_message.Message,), { + 'DESCRIPTOR' : _LISTINGSCOPEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A listing scope criterion. + + Attributes: + dimensions: + Scope of the campaign criterion. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ListingScopeInfo) + }) +_sym_db.RegisterMessage(ListingScopeInfo) + +ListingDimensionInfo = _reflection.GeneratedProtocolMessageType('ListingDimensionInfo', (_message.Message,), { + 'DESCRIPTOR' : _LISTINGDIMENSIONINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Listing dimensions for listing group criterion. + + Attributes: + dimension: + Dimension of one of the types below is always present. + hotel_id: + Advertiser-specific hotel ID. + hotel_class: + Class of the hotel as a number of stars 1 to 5. + hotel_country_region: + Country or Region the hotel is located in. + hotel_state: + State the hotel is located in. + hotel_city: + City the hotel is located in. + 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: + Type of a product offer. + unknown_listing_dimension: + Unknown dimension. Set when no other listing dimension is set. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ListingDimensionInfo) + }) +_sym_db.RegisterMessage(ListingDimensionInfo) + +HotelIdInfo = _reflection.GeneratedProtocolMessageType('HotelIdInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELIDINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Advertiser-specific hotel ID. + + Attributes: + value: + String value of the hotel ID. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelIdInfo) + }) +_sym_db.RegisterMessage(HotelIdInfo) + +HotelClassInfo = _reflection.GeneratedProtocolMessageType('HotelClassInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELCLASSINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Class of the hotel as a number of stars 1 to 5. + + Attributes: + value: + Long value of the hotel class. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelClassInfo) + }) +_sym_db.RegisterMessage(HotelClassInfo) + +HotelCountryRegionInfo = _reflection.GeneratedProtocolMessageType('HotelCountryRegionInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELCOUNTRYREGIONINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Country or Region the hotel is located in. + + Attributes: + country_region_criterion: + The Geo Target Constant resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelCountryRegionInfo) + }) +_sym_db.RegisterMessage(HotelCountryRegionInfo) + +HotelStateInfo = _reflection.GeneratedProtocolMessageType('HotelStateInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELSTATEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """State the hotel is located in. + + Attributes: + state_criterion: + The Geo Target Constant resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelStateInfo) + }) +_sym_db.RegisterMessage(HotelStateInfo) + +HotelCityInfo = _reflection.GeneratedProtocolMessageType('HotelCityInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELCITYINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """City the hotel is located in. + + Attributes: + city_criterion: + The Geo Target Constant resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelCityInfo) + }) +_sym_db.RegisterMessage(HotelCityInfo) + +ProductBiddingCategoryInfo = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryInfo', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTBIDDINGCATEGORYINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Bidding category of a product offer. + + Attributes: + 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. It must match the + campaign.shopping\_setting.sales\_country field. + level: + Level of the product bidding category. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ProductBiddingCategoryInfo) + }) +_sym_db.RegisterMessage(ProductBiddingCategoryInfo) + +ProductBrandInfo = _reflection.GeneratedProtocolMessageType('ProductBrandInfo', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTBRANDINFO, + '__module__' : 'google.ads.googleads_v6.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.v6.common.ProductBrandInfo) + }) +_sym_db.RegisterMessage(ProductBrandInfo) + +ProductChannelInfo = _reflection.GeneratedProtocolMessageType('ProductChannelInfo', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTCHANNELINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Locality of a product offer. + + Attributes: + channel: + Value of the locality. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ProductChannelInfo) + }) +_sym_db.RegisterMessage(ProductChannelInfo) + +ProductChannelExclusivityInfo = _reflection.GeneratedProtocolMessageType('ProductChannelExclusivityInfo', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTCHANNELEXCLUSIVITYINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Availability of a product offer. + + Attributes: + channel_exclusivity: + Value of the availability. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ProductChannelExclusivityInfo) + }) +_sym_db.RegisterMessage(ProductChannelExclusivityInfo) + +ProductConditionInfo = _reflection.GeneratedProtocolMessageType('ProductConditionInfo', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTCONDITIONINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Condition of a product offer. + + Attributes: + condition: + Value of the condition. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ProductConditionInfo) + }) +_sym_db.RegisterMessage(ProductConditionInfo) + +ProductCustomAttributeInfo = _reflection.GeneratedProtocolMessageType('ProductCustomAttributeInfo', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTCUSTOMATTRIBUTEINFO, + '__module__' : 'google.ads.googleads_v6.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.v6.common.ProductCustomAttributeInfo) + }) +_sym_db.RegisterMessage(ProductCustomAttributeInfo) + +ProductItemIdInfo = _reflection.GeneratedProtocolMessageType('ProductItemIdInfo', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTITEMIDINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Item id of a product offer. + + Attributes: + value: + Value of the id. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ProductItemIdInfo) + }) +_sym_db.RegisterMessage(ProductItemIdInfo) + +ProductTypeInfo = _reflection.GeneratedProtocolMessageType('ProductTypeInfo', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTTYPEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Type of a product offer. + + Attributes: + value: + Value of the type. + level: + Level of the type. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ProductTypeInfo) + }) +_sym_db.RegisterMessage(ProductTypeInfo) + +UnknownListingDimensionInfo = _reflection.GeneratedProtocolMessageType('UnknownListingDimensionInfo', (_message.Message,), { + 'DESCRIPTOR' : _UNKNOWNLISTINGDIMENSIONINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Unknown listing dimension.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.UnknownListingDimensionInfo) + }) +_sym_db.RegisterMessage(UnknownListingDimensionInfo) + +HotelDateSelectionTypeInfo = _reflection.GeneratedProtocolMessageType('HotelDateSelectionTypeInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELDATESELECTIONTYPEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Criterion for hotel date selection (default dates vs. user selected). + + Attributes: + type: + Type of the hotel date selection + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelDateSelectionTypeInfo) + }) +_sym_db.RegisterMessage(HotelDateSelectionTypeInfo) + +HotelAdvanceBookingWindowInfo = _reflection.GeneratedProtocolMessageType('HotelAdvanceBookingWindowInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELADVANCEBOOKINGWINDOWINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Criterion for number of days prior to the stay the booking is being + made. + + Attributes: + min_days: + Low end of the number of days prior to the stay. + max_days: + High end of the number of days prior to the stay. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelAdvanceBookingWindowInfo) + }) +_sym_db.RegisterMessage(HotelAdvanceBookingWindowInfo) + +HotelLengthOfStayInfo = _reflection.GeneratedProtocolMessageType('HotelLengthOfStayInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELLENGTHOFSTAYINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Criterion for length of hotel stay in nights. + + Attributes: + min_nights: + Low end of the number of nights in the stay. + max_nights: + High end of the number of nights in the stay. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelLengthOfStayInfo) + }) +_sym_db.RegisterMessage(HotelLengthOfStayInfo) + +HotelCheckInDayInfo = _reflection.GeneratedProtocolMessageType('HotelCheckInDayInfo', (_message.Message,), { + 'DESCRIPTOR' : _HOTELCHECKINDAYINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Criterion for day of the week the booking is for. + + Attributes: + day_of_week: + The day of the week. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.HotelCheckInDayInfo) + }) +_sym_db.RegisterMessage(HotelCheckInDayInfo) + +InteractionTypeInfo = _reflection.GeneratedProtocolMessageType('InteractionTypeInfo', (_message.Message,), { + 'DESCRIPTOR' : _INTERACTIONTYPEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Criterion for Interaction Type. + + Attributes: + type: + The interaction type. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.InteractionTypeInfo) + }) +_sym_db.RegisterMessage(InteractionTypeInfo) + +AdScheduleInfo = _reflection.GeneratedProtocolMessageType('AdScheduleInfo', (_message.Message,), { + 'DESCRIPTOR' : _ADSCHEDULEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Represents an AdSchedule criterion. AdSchedule is specified as the + day of the week and a time interval within which ads will be shown. + No more than six AdSchedules can be added for the same day. + + Attributes: + start_minute: + Minutes after the start hour at which this schedule starts. + This field is required for CREATE operations and is prohibited + on UPDATE operations. + end_minute: + Minutes after the end hour at which this schedule ends. The + schedule is exclusive of the end minute. This field is + required for CREATE operations and is prohibited on UPDATE + operations. + start_hour: + Starting hour in 24 hour time. This field must be between 0 + and 23, inclusive. This field is required for CREATE + operations and is prohibited on UPDATE operations. + end_hour: + Ending hour in 24 hour time; 24 signifies end of the day. This + field must be between 0 and 24, inclusive. This field is + required for CREATE operations and is prohibited on UPDATE + operations. + day_of_week: + Day of the week the schedule applies to. This field is + required for CREATE operations and is prohibited on UPDATE + operations. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AdScheduleInfo) + }) +_sym_db.RegisterMessage(AdScheduleInfo) + +AgeRangeInfo = _reflection.GeneratedProtocolMessageType('AgeRangeInfo', (_message.Message,), { + 'DESCRIPTOR' : _AGERANGEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """An age range criterion. + + Attributes: + type: + Type of the age range. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AgeRangeInfo) + }) +_sym_db.RegisterMessage(AgeRangeInfo) + +GenderInfo = _reflection.GeneratedProtocolMessageType('GenderInfo', (_message.Message,), { + 'DESCRIPTOR' : _GENDERINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A gender criterion. + + Attributes: + type: + Type of the gender. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.GenderInfo) + }) +_sym_db.RegisterMessage(GenderInfo) + +IncomeRangeInfo = _reflection.GeneratedProtocolMessageType('IncomeRangeInfo', (_message.Message,), { + 'DESCRIPTOR' : _INCOMERANGEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """An income range criterion. + + Attributes: + type: + Type of the income range. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.IncomeRangeInfo) + }) +_sym_db.RegisterMessage(IncomeRangeInfo) + +ParentalStatusInfo = _reflection.GeneratedProtocolMessageType('ParentalStatusInfo', (_message.Message,), { + 'DESCRIPTOR' : _PARENTALSTATUSINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A parental status criterion. + + Attributes: + type: + Type of the parental status. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ParentalStatusInfo) + }) +_sym_db.RegisterMessage(ParentalStatusInfo) + +YouTubeVideoInfo = _reflection.GeneratedProtocolMessageType('YouTubeVideoInfo', (_message.Message,), { + 'DESCRIPTOR' : _YOUTUBEVIDEOINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A YouTube Video criterion. + + Attributes: + video_id: + YouTube video id as it appears on the YouTube watch page. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.YouTubeVideoInfo) + }) +_sym_db.RegisterMessage(YouTubeVideoInfo) + +YouTubeChannelInfo = _reflection.GeneratedProtocolMessageType('YouTubeChannelInfo', (_message.Message,), { + 'DESCRIPTOR' : _YOUTUBECHANNELINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A YouTube Channel criterion. + + Attributes: + channel_id: + The YouTube uploader channel id or the channel code of a + YouTube channel. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.YouTubeChannelInfo) + }) +_sym_db.RegisterMessage(YouTubeChannelInfo) + +UserListInfo = _reflection.GeneratedProtocolMessageType('UserListInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A User List criterion. Represents a user list that is defined by the + advertiser to be targeted. + + Attributes: + user_list: + The User List resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.UserListInfo) + }) +_sym_db.RegisterMessage(UserListInfo) + +ProximityInfo = _reflection.GeneratedProtocolMessageType('ProximityInfo', (_message.Message,), { + 'DESCRIPTOR' : _PROXIMITYINFO, + '__module__' : 'google.ads.googleads_v6.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 + point that does not affect ad serving. There are two ways to create a + proximity. First, by setting an address and radius. The geo point will + be automatically computed. Second, by setting a geo point and radius. + The address is an optional label that won't be validated. + + Attributes: + geo_point: + Latitude and longitude. + radius: + The radius of the proximity. + radius_units: + The unit of measurement of the radius. Default is KILOMETERS. + address: + Full address. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ProximityInfo) + }) +_sym_db.RegisterMessage(ProximityInfo) + +GeoPointInfo = _reflection.GeneratedProtocolMessageType('GeoPointInfo', (_message.Message,), { + 'DESCRIPTOR' : _GEOPOINTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Geo point for proximity criterion. + + Attributes: + longitude_in_micro_degrees: + Micro degrees for the longitude. + latitude_in_micro_degrees: + Micro degrees for the latitude. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.GeoPointInfo) + }) +_sym_db.RegisterMessage(GeoPointInfo) + +AddressInfo = _reflection.GeneratedProtocolMessageType('AddressInfo', (_message.Message,), { + 'DESCRIPTOR' : _ADDRESSINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Address for proximity criterion. + + Attributes: + postal_code: + Postal code. + province_code: + Province or state code. + country_code: + Country code. + province_name: + Province or state name. + street_address: + Street address line 1. + street_address2: + Street address line 2. This field is write-only. It is only + used for calculating the longitude and latitude of an address + when geo\_point is empty. + city_name: + Name of the city. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AddressInfo) + }) +_sym_db.RegisterMessage(AddressInfo) + +TopicInfo = _reflection.GeneratedProtocolMessageType('TopicInfo', (_message.Message,), { + 'DESCRIPTOR' : _TOPICINFO, + '__module__' : 'google.ads.googleads_v6.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 + falls (for example, "Pets & Animals/Pets/Dogs"). + + Attributes: + topic_constant: + The Topic Constant resource name. + path: + The category to target or exclude. Each subsequent element in + the array describes a more specific sub-category. For example, + "Pets & Animals", "Pets", "Dogs" represents the "Pets & + Animals/Pets/Dogs" category. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.TopicInfo) + }) +_sym_db.RegisterMessage(TopicInfo) + +LanguageInfo = _reflection.GeneratedProtocolMessageType('LanguageInfo', (_message.Message,), { + 'DESCRIPTOR' : _LANGUAGEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A language criterion. + + Attributes: + language_constant: + The language constant resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LanguageInfo) + }) +_sym_db.RegisterMessage(LanguageInfo) + +IpBlockInfo = _reflection.GeneratedProtocolMessageType('IpBlockInfo', (_message.Message,), { + 'DESCRIPTOR' : _IPBLOCKINFO, + '__module__' : 'google.ads.googleads_v6.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 + addresses (192.168.0.1/32) - masks for Class C networks + (192.168.0.1/24) + + Attributes: + ip_address: + The IP address of this IP block. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.IpBlockInfo) + }) +_sym_db.RegisterMessage(IpBlockInfo) + +ContentLabelInfo = _reflection.GeneratedProtocolMessageType('ContentLabelInfo', (_message.Message,), { + 'DESCRIPTOR' : _CONTENTLABELINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Content Label for category exclusion. + + Attributes: + type: + Content label type, required for CREATE operations. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ContentLabelInfo) + }) +_sym_db.RegisterMessage(ContentLabelInfo) + +CarrierInfo = _reflection.GeneratedProtocolMessageType('CarrierInfo', (_message.Message,), { + 'DESCRIPTOR' : _CARRIERINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Represents a Carrier Criterion. + + Attributes: + carrier_constant: + The Carrier constant resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CarrierInfo) + }) +_sym_db.RegisterMessage(CarrierInfo) + +UserInterestInfo = _reflection.GeneratedProtocolMessageType('UserInterestInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERINTERESTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Represents a particular interest-based topic to be targeted. + + Attributes: + user_interest_category: + The UserInterest resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.UserInterestInfo) + }) +_sym_db.RegisterMessage(UserInterestInfo) + +WebpageInfo = _reflection.GeneratedProtocolMessageType('WebpageInfo', (_message.Message,), { + 'DESCRIPTOR' : _WEBPAGEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Represents a criterion for targeting webpages of an advertiser's + website. + + Attributes: + criterion_name: + The name of the criterion that is defined by this parameter. + The name value will be used for identifying, sorting and + filtering criteria with this type of parameters. This field + is required for CREATE operations and is prohibited on UPDATE + operations. + conditions: + Conditions, or logical expressions, for webpage targeting. The + list of webpage targeting conditions are and-ed together when + evaluated for targeting. This field is required for CREATE + operations and is prohibited on UPDATE operations. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.WebpageInfo) + }) +_sym_db.RegisterMessage(WebpageInfo) + +WebpageConditionInfo = _reflection.GeneratedProtocolMessageType('WebpageConditionInfo', (_message.Message,), { + 'DESCRIPTOR' : _WEBPAGECONDITIONINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Logical expression for targeting webpages of an advertiser's website. + + Attributes: + operand: + Operand of webpage targeting condition. + operator: + Operator of webpage targeting condition. + argument: + Argument of webpage targeting condition. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.WebpageConditionInfo) + }) +_sym_db.RegisterMessage(WebpageConditionInfo) + +OperatingSystemVersionInfo = _reflection.GeneratedProtocolMessageType('OperatingSystemVersionInfo', (_message.Message,), { + 'DESCRIPTOR' : _OPERATINGSYSTEMVERSIONINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """Represents an operating system version to be targeted. + + Attributes: + operating_system_version_constant: + The operating system version constant resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.OperatingSystemVersionInfo) + }) +_sym_db.RegisterMessage(OperatingSystemVersionInfo) + +AppPaymentModelInfo = _reflection.GeneratedProtocolMessageType('AppPaymentModelInfo', (_message.Message,), { + 'DESCRIPTOR' : _APPPAYMENTMODELINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """An app payment model criterion. + + Attributes: + type: + Type of the app payment model. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AppPaymentModelInfo) + }) +_sym_db.RegisterMessage(AppPaymentModelInfo) + +MobileDeviceInfo = _reflection.GeneratedProtocolMessageType('MobileDeviceInfo', (_message.Message,), { + 'DESCRIPTOR' : _MOBILEDEVICEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A mobile device criterion. + + Attributes: + mobile_device_constant: + The mobile device constant resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.MobileDeviceInfo) + }) +_sym_db.RegisterMessage(MobileDeviceInfo) + +CustomAffinityInfo = _reflection.GeneratedProtocolMessageType('CustomAffinityInfo', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMAFFINITYINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A custom affinity criterion. A criterion of this type is only + targetable. + + Attributes: + custom_affinity: + The CustomInterest resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CustomAffinityInfo) + }) +_sym_db.RegisterMessage(CustomAffinityInfo) + +CustomIntentInfo = _reflection.GeneratedProtocolMessageType('CustomIntentInfo', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMINTENTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A custom intent criterion. A criterion of this type is only + targetable. + + Attributes: + custom_intent: + The CustomInterest resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CustomIntentInfo) + }) +_sym_db.RegisterMessage(CustomIntentInfo) + +LocationGroupInfo = _reflection.GeneratedProtocolMessageType('LocationGroupInfo', (_message.Message,), { + 'DESCRIPTOR' : _LOCATIONGROUPINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A radius around a list of locations specified via a feed. + + Attributes: + feed: + Feed specifying locations for targeting. This is required and + must be set in CREATE operations. + geo_target_constants: + Geo target constant(s) restricting the scope of the geographic + area within the feed. Currently only one geo target constant + is allowed. + radius: + Distance in units specifying the radius around targeted + locations. This is required and must be set in CREATE + operations. + radius_units: + Unit of the radius. Miles and meters are supported for geo + target constants. Milli miles and meters are supported for + feed item sets. This is required and must be set in CREATE + operations. + feed_item_sets: + FeedItemSets whose FeedItems are targeted. If multiple IDs are + specified, then all items that appear in at least one set are + targeted. This field cannot be used with + geo\_target\_constants. This is optional and can only be set + in CREATE operations. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LocationGroupInfo) + }) +_sym_db.RegisterMessage(LocationGroupInfo) + +CustomAudienceInfo = _reflection.GeneratedProtocolMessageType('CustomAudienceInfo', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMAUDIENCEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A custom audience criterion. + + Attributes: + custom_audience: + The CustomAudience resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CustomAudienceInfo) + }) +_sym_db.RegisterMessage(CustomAudienceInfo) + +CombinedAudienceInfo = _reflection.GeneratedProtocolMessageType('CombinedAudienceInfo', (_message.Message,), { + 'DESCRIPTOR' : _COMBINEDAUDIENCEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.criteria_pb2' + , + '__doc__': """A combined audience criterion. + + Attributes: + combined_audience: + The CombinedAudience resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CombinedAudienceInfo) + }) +_sym_db.RegisterMessage(CombinedAudienceInfo) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/criteria_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/criteria_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/criteria_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/criterion_category_availability_pb2.py b/google/ads/google_ads/v6/proto/common/criterion_category_availability_pb2.py new file mode 100644 index 000000000..edb17c1be --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/criterion_category_availability_pb2.py @@ -0,0 +1,278 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/criterion_category_availability.proto + +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.v6.proto.enums import advertising_channel_sub_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2 +from google.ads.google_ads.v6.proto.enums import advertising_channel_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__type__pb2 +from google.ads.google_ads.v6.proto.enums import criterion_category_channel_availability_mode_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2 +from google.ads.google_ads.v6.proto.enums import criterion_category_locale_availability_mode_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__category__locale__availability__mode__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/criterion_category_availability.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\"CriterionCategoryAvailabilityProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nJgoogle/ads/googleads_v6/proto/common/criterion_category_availability.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x46google/ads/googleads_v6/proto/enums/advertising_channel_sub_type.proto\x1a\x42google/ads/googleads_v6/proto/enums/advertising_channel_type.proto\x1aVgoogle/ads/googleads_v6/proto/enums/criterion_category_channel_availability_mode.proto\x1aUgoogle/ads/googleads_v6/proto/enums/criterion_category_locale_availability_mode.proto\x1a\x1cgoogle/api/annotations.proto\"\xcb\x01\n\x1d\x43riterionCategoryAvailability\x12U\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x44.google.ads.googleads.v6.common.CriterionCategoryChannelAvailability\x12S\n\x06locale\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v6.common.CriterionCategoryLocaleAvailability\"\xfe\x03\n$CriterionCategoryChannelAvailability\x12\x8f\x01\n\x11\x61vailability_mode\x18\x01 \x01(\x0e\x32t.google.ads.googleads.v6.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode\x12r\n\x18\x61\x64vertising_channel_type\x18\x02 \x01(\x0e\x32P.google.ads.googleads.v6.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType\x12|\n\x1c\x61\x64vertising_channel_sub_type\x18\x03 \x03(\x0e\x32V.google.ads.googleads.v6.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType\x12-\n include_default_channel_sub_type\x18\x05 \x01(\x08H\x00\x88\x01\x01\x42#\n!_include_default_channel_sub_type\"\x8f\x02\n#CriterionCategoryLocaleAvailability\x12\x8d\x01\n\x11\x61vailability_mode\x18\x01 \x01(\x0e\x32r.google.ads.googleads.v6.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode\x12\x19\n\x0c\x63ountry_code\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rlanguage_code\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x0f\n\r_country_codeB\x10\n\x0e_language_codeB\xfd\x01\n\"com.google.ads.googleads.v6.commonB\"CriterionCategoryAvailabilityProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__category__locale__availability__mode__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CRITERIONCATEGORYAVAILABILITY = _descriptor.Descriptor( + name='CriterionCategoryAvailability', + full_name='google.ads.googleads.v6.common.CriterionCategoryAvailability', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='channel', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='locale', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=456, + serialized_end=659, +) + + +_CRITERIONCATEGORYCHANNELAVAILABILITY = _descriptor.Descriptor( + name='CriterionCategoryChannelAvailability', + full_name='google.ads.googleads.v6.common.CriterionCategoryChannelAvailability', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='availability_mode', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='advertising_channel_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='advertising_channel_sub_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='include_default_channel_sub_type', full_name='google.ads.googleads.v6.common.CriterionCategoryChannelAvailability.include_default_channel_sub_type', index=3, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_include_default_channel_sub_type', full_name='google.ads.googleads.v6.common.CriterionCategoryChannelAvailability._include_default_channel_sub_type', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=662, + serialized_end=1172, +) + + +_CRITERIONCATEGORYLOCALEAVAILABILITY = _descriptor.Descriptor( + name='CriterionCategoryLocaleAvailability', + full_name='google.ads.googleads.v6.common.CriterionCategoryLocaleAvailability', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='availability_mode', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v6.common.CriterionCategoryLocaleAvailability.country_code', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='language_code', full_name='google.ads.googleads.v6.common.CriterionCategoryLocaleAvailability.language_code', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_country_code', full_name='google.ads.googleads.v6.common.CriterionCategoryLocaleAvailability._country_code', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_language_code', full_name='google.ads.googleads.v6.common.CriterionCategoryLocaleAvailability._language_code', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1175, + serialized_end=1446, +) + +_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__v6_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__v6_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__v6_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2._ADVERTISINGCHANNELSUBTYPEENUM_ADVERTISINGCHANNELSUBTYPE +_CRITERIONCATEGORYCHANNELAVAILABILITY.oneofs_by_name['_include_default_channel_sub_type'].fields.append( + _CRITERIONCATEGORYCHANNELAVAILABILITY.fields_by_name['include_default_channel_sub_type']) +_CRITERIONCATEGORYCHANNELAVAILABILITY.fields_by_name['include_default_channel_sub_type'].containing_oneof = _CRITERIONCATEGORYCHANNELAVAILABILITY.oneofs_by_name['_include_default_channel_sub_type'] +_CRITERIONCATEGORYLOCALEAVAILABILITY.fields_by_name['availability_mode'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__category__locale__availability__mode__pb2._CRITERIONCATEGORYLOCALEAVAILABILITYMODEENUM_CRITERIONCATEGORYLOCALEAVAILABILITYMODE +_CRITERIONCATEGORYLOCALEAVAILABILITY.oneofs_by_name['_country_code'].fields.append( + _CRITERIONCATEGORYLOCALEAVAILABILITY.fields_by_name['country_code']) +_CRITERIONCATEGORYLOCALEAVAILABILITY.fields_by_name['country_code'].containing_oneof = _CRITERIONCATEGORYLOCALEAVAILABILITY.oneofs_by_name['_country_code'] +_CRITERIONCATEGORYLOCALEAVAILABILITY.oneofs_by_name['_language_code'].fields.append( + _CRITERIONCATEGORYLOCALEAVAILABILITY.fields_by_name['language_code']) +_CRITERIONCATEGORYLOCALEAVAILABILITY.fields_by_name['language_code'].containing_oneof = _CRITERIONCATEGORYLOCALEAVAILABILITY.oneofs_by_name['_language_code'] +DESCRIPTOR.message_types_by_name['CriterionCategoryAvailability'] = _CRITERIONCATEGORYAVAILABILITY +DESCRIPTOR.message_types_by_name['CriterionCategoryChannelAvailability'] = _CRITERIONCATEGORYCHANNELAVAILABILITY +DESCRIPTOR.message_types_by_name['CriterionCategoryLocaleAvailability'] = _CRITERIONCATEGORYLOCALEAVAILABILITY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CriterionCategoryAvailability = _reflection.GeneratedProtocolMessageType('CriterionCategoryAvailability', (_message.Message,), { + 'DESCRIPTOR' : _CRITERIONCATEGORYAVAILABILITY, + '__module__' : 'google.ads.googleads_v6.proto.common.criterion_category_availability_pb2' + , + '__doc__': """Information of category availability, per advertising channel. + + Attributes: + channel: + Channel types and subtypes that are available to the category. + locale: + Locales that are available to the category for the channel. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CriterionCategoryAvailability) + }) +_sym_db.RegisterMessage(CriterionCategoryAvailability) + +CriterionCategoryChannelAvailability = _reflection.GeneratedProtocolMessageType('CriterionCategoryChannelAvailability', (_message.Message,), { + 'DESCRIPTOR' : _CRITERIONCATEGORYCHANNELAVAILABILITY, + '__module__' : 'google.ads.googleads_v6.proto.common.criterion_category_availability_pb2' + , + '__doc__': """Information of advertising channel type and subtypes a category is + available in. + + Attributes: + availability_mode: + Format of the channel availability. Can be ALL\_CHANNELS (the + rest of the fields will not be set), CHANNEL\_TYPE (only + advertising\_channel\_type type will be set, the category is + available to all sub types under it) or + CHANNEL\_TYPE\_AND\_SUBTYPES (advertising\_channel\_type, + advertising\_channel\_sub\_type, and + include\_default\_channel\_sub\_type will all be set). + advertising_channel_type: + Channel type the category is available to. + advertising_channel_sub_type: + Channel subtypes under the channel type the category is + available to. + include_default_channel_sub_type: + Whether default channel sub type is included. For example, + advertising\_channel\_type being DISPLAY and + include\_default\_channel\_sub\_type being false means that + 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.v6.common.CriterionCategoryChannelAvailability) + }) +_sym_db.RegisterMessage(CriterionCategoryChannelAvailability) + +CriterionCategoryLocaleAvailability = _reflection.GeneratedProtocolMessageType('CriterionCategoryLocaleAvailability', (_message.Message,), { + 'DESCRIPTOR' : _CRITERIONCATEGORYLOCALEAVAILABILITY, + '__module__' : 'google.ads.googleads_v6.proto.common.criterion_category_availability_pb2' + , + '__doc__': """Information about which locales a category is available in. + + Attributes: + availability_mode: + Format of the locale availability. Can be LAUNCHED\_TO\_ALL + (both country and language will be empty), COUNTRY (only + country will be set), LANGUAGE (only language wil be set), + COUNTRY\_AND\_LANGUAGE (both country and language will be + set). + country_code: + Code of the country. + language_code: + Code of the language. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CriterionCategoryLocaleAvailability) + }) +_sym_db.RegisterMessage(CriterionCategoryLocaleAvailability) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/criterion_category_availability_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/criterion_category_availability_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/criterion_category_availability_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/custom_parameter_pb2.py b/google/ads/google_ads/v6/proto/common/custom_parameter_pb2.py new file mode 100644 index 000000000..2dc539570 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/custom_parameter_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/custom_parameter.proto + +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_v6/proto/common/custom_parameter.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\024CustomParameterProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/common/custom_parameter.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x1cgoogle/api/annotations.proto\"I\n\x0f\x43ustomParameter\x12\x10\n\x03key\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05value\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x06\n\x04_keyB\x08\n\x06_valueB\xef\x01\n\"com.google.ads.googleads.v6.commonB\x14\x43ustomParameterProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CUSTOMPARAMETER = _descriptor.Descriptor( + name='CustomParameter', + full_name='google.ads.googleads.v6.common.CustomParameter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='google.ads.googleads.v6.common.CustomParameter.key', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.CustomParameter.value', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_key', full_name='google.ads.googleads.v6.common.CustomParameter._key', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.CustomParameter._value', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=125, + serialized_end=198, +) + +_CUSTOMPARAMETER.oneofs_by_name['_key'].fields.append( + _CUSTOMPARAMETER.fields_by_name['key']) +_CUSTOMPARAMETER.fields_by_name['key'].containing_oneof = _CUSTOMPARAMETER.oneofs_by_name['_key'] +_CUSTOMPARAMETER.oneofs_by_name['_value'].fields.append( + _CUSTOMPARAMETER.fields_by_name['value']) +_CUSTOMPARAMETER.fields_by_name['value'].containing_oneof = _CUSTOMPARAMETER.oneofs_by_name['_value'] +DESCRIPTOR.message_types_by_name['CustomParameter'] = _CUSTOMPARAMETER +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomParameter = _reflection.GeneratedProtocolMessageType('CustomParameter', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMPARAMETER, + '__module__' : 'google.ads.googleads_v6.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``. + + Attributes: + key: + The key matching the parameter tag name. + value: + The value to be substituted. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CustomParameter) + }) +_sym_db.RegisterMessage(CustomParameter) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/custom_parameter_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/custom_parameter_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/custom_parameter_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/dates_pb2.py b/google/ads/google_ads/v6/proto/common/dates_pb2.py new file mode 100644 index 000000000..127eb2c24 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/dates_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/dates.proto + +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_v6/proto/common/dates.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\nDatesProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n0google/ads/googleads_v6/proto/common/dates.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x1cgoogle/api/annotations.proto\"W\n\tDateRange\x12\x17\n\nstart_date\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x65nd_date\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\r\n\x0b_start_dateB\x0b\n\t_end_dateB\xe5\x01\n\"com.google.ads.googleads.v6.commonB\nDatesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_DATERANGE = _descriptor.Descriptor( + name='DateRange', + full_name='google.ads.googleads.v6.common.DateRange', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='start_date', full_name='google.ads.googleads.v6.common.DateRange.start_date', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_date', full_name='google.ads.googleads.v6.common.DateRange.end_date', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_start_date', full_name='google.ads.googleads.v6.common.DateRange._start_date', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_end_date', full_name='google.ads.googleads.v6.common.DateRange._end_date', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=114, + serialized_end=201, +) + +_DATERANGE.oneofs_by_name['_start_date'].fields.append( + _DATERANGE.fields_by_name['start_date']) +_DATERANGE.fields_by_name['start_date'].containing_oneof = _DATERANGE.oneofs_by_name['_start_date'] +_DATERANGE.oneofs_by_name['_end_date'].fields.append( + _DATERANGE.fields_by_name['end_date']) +_DATERANGE.fields_by_name['end_date'].containing_oneof = _DATERANGE.oneofs_by_name['_end_date'] +DESCRIPTOR.message_types_by_name['DateRange'] = _DATERANGE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DateRange = _reflection.GeneratedProtocolMessageType('DateRange', (_message.Message,), { + 'DESCRIPTOR' : _DATERANGE, + '__module__' : 'google.ads.googleads_v6.proto.common.dates_pb2' + , + '__doc__': """A date range. + + Attributes: + start_date: + The start date, in yyyy-mm-dd format. This date is inclusive. + end_date: + The end date, in yyyy-mm-dd format. This date is inclusive. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.DateRange) + }) +_sym_db.RegisterMessage(DateRange) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/dates_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/dates_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/dates_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/explorer_auto_optimizer_setting_pb2.py b/google/ads/google_ads/v6/proto/common/explorer_auto_optimizer_setting_pb2.py new file mode 100644 index 000000000..e707f0205 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/explorer_auto_optimizer_setting_pb2.py @@ -0,0 +1,90 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/explorer_auto_optimizer_setting.proto + +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_v6/proto/common/explorer_auto_optimizer_setting.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB!ExplorerAutoOptimizerSettingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nJgoogle/ads/googleads_v6/proto/common/explorer_auto_optimizer_setting.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x1cgoogle/api/annotations.proto\">\n\x1c\x45xplorerAutoOptimizerSetting\x12\x13\n\x06opt_in\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\t\n\x07_opt_inB\xfc\x01\n\"com.google.ads.googleads.v6.commonB!ExplorerAutoOptimizerSettingProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_EXPLORERAUTOOPTIMIZERSETTING = _descriptor.Descriptor( + name='ExplorerAutoOptimizerSetting', + full_name='google.ads.googleads.v6.common.ExplorerAutoOptimizerSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='opt_in', full_name='google.ads.googleads.v6.common.ExplorerAutoOptimizerSetting.opt_in', index=0, + 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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_opt_in', full_name='google.ads.googleads.v6.common.ExplorerAutoOptimizerSetting._opt_in', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=140, + serialized_end=202, +) + +_EXPLORERAUTOOPTIMIZERSETTING.oneofs_by_name['_opt_in'].fields.append( + _EXPLORERAUTOOPTIMIZERSETTING.fields_by_name['opt_in']) +_EXPLORERAUTOOPTIMIZERSETTING.fields_by_name['opt_in'].containing_oneof = _EXPLORERAUTOOPTIMIZERSETTING.oneofs_by_name['_opt_in'] +DESCRIPTOR.message_types_by_name['ExplorerAutoOptimizerSetting'] = _EXPLORERAUTOOPTIMIZERSETTING +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ExplorerAutoOptimizerSetting = _reflection.GeneratedProtocolMessageType('ExplorerAutoOptimizerSetting', (_message.Message,), { + 'DESCRIPTOR' : _EXPLORERAUTOOPTIMIZERSETTING, + '__module__' : 'google.ads.googleads_v6.proto.common.explorer_auto_optimizer_setting_pb2' + , + '__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.v6.common.ExplorerAutoOptimizerSetting) + }) +_sym_db.RegisterMessage(ExplorerAutoOptimizerSetting) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/extensions_pb2.py b/google/ads/google_ads/v6/proto/common/extensions_pb2.py new file mode 100644 index 000000000..916f36c37 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/extensions_pb2.py @@ -0,0 +1,1753 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/extensions.proto + +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.v6.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2 +from google.ads.google_ads.v6.proto.common import feed_common_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_feed__common__pb2 +from google.ads.google_ads.v6.proto.enums import app_store_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__store__pb2 +from google.ads.google_ads.v6.proto.enums import call_conversion_reporting_state_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2 +from google.ads.google_ads.v6.proto.enums import price_extension_price_qualifier_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2 +from google.ads.google_ads.v6.proto.enums import price_extension_price_unit_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_price__extension__price__unit__pb2 +from google.ads.google_ads.v6.proto.enums import price_extension_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_price__extension__type__pb2 +from google.ads.google_ads.v6.proto.enums import promotion_extension_discount_modifier_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2 +from google.ads.google_ads.v6.proto.enums import promotion_extension_occasion_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_promotion__extension__occasion__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_v6/proto/common/extensions.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\017ExtensionsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/common/extensions.proto\x12\x1egoogle.ads.googleads.v6.common\x1a;google/ads/googleads_v6/proto/common/custom_parameter.proto\x1a\x36google/ads/googleads_v6/proto/common/feed_common.proto\x1a\x33google/ads/googleads_v6/proto/enums/app_store.proto\x1aIgoogle/ads/googleads_v6/proto/enums/call_conversion_reporting_state.proto\x1aIgoogle/ads/googleads_v6/proto/enums/price_extension_price_qualifier.proto\x1a\x44google/ads/googleads_v6/proto/enums/price_extension_price_unit.proto\x1a>google/ads/googleads_v6/proto/enums/price_extension_type.proto\x1aOgoogle/ads/googleads_v6/proto/enums/promotion_extension_discount_modifier.proto\x1a\x46google/ads/googleads_v6/proto/enums/promotion_extension_occasion.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\x8d\x03\n\x0b\x41ppFeedItem\x12\x16\n\tlink_text\x18\t \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x61pp_id\x18\n \x01(\tH\x01\x88\x01\x01\x12G\n\tapp_store\x18\x03 \x01(\x0e\x32\x34.google.ads.googleads.v6.enums.AppStoreEnum.AppStore\x12\x12\n\nfinal_urls\x18\x0b \x03(\t\x12\x19\n\x11\x66inal_mobile_urls\x18\x0c \x03(\t\x12\"\n\x15tracking_url_template\x18\r \x01(\tH\x02\x88\x01\x01\x12N\n\x15url_custom_parameters\x18\x07 \x03(\x0b\x32/.google.ads.googleads.v6.common.CustomParameter\x12\x1d\n\x10\x66inal_url_suffix\x18\x0e \x01(\tH\x03\x88\x01\x01\x42\x0c\n\n_link_textB\t\n\x07_app_idB\x18\n\x16_tracking_url_templateB\x13\n\x11_final_url_suffix\"\xc2\x03\n\x0c\x43\x61llFeedItem\x12\x19\n\x0cphone_number\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x63ountry_code\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\"\n\x15\x63\x61ll_tracking_enabled\x18\t \x01(\x08H\x02\x88\x01\x01\x12#\n\x16\x63\x61ll_conversion_action\x18\n \x01(\tH\x03\x88\x01\x01\x12.\n!call_conversion_tracking_disabled\x18\x0b \x01(\x08H\x04\x88\x01\x01\x12\x85\x01\n\x1f\x63\x61ll_conversion_reporting_state\x18\x06 \x01(\x0e\x32\\.google.ads.googleads.v6.enums.CallConversionReportingStateEnum.CallConversionReportingStateB\x0f\n\r_phone_numberB\x0f\n\r_country_codeB\x18\n\x16_call_tracking_enabledB\x19\n\x17_call_conversion_actionB$\n\"_call_conversion_tracking_disabled\"=\n\x0f\x43\x61lloutFeedItem\x12\x19\n\x0c\x63\x61llout_text\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_callout_text\"\xe2\x02\n\x10LocationFeedItem\x12\x1a\n\rbusiness_name\x18\t \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x0e\x61\x64\x64ress_line_1\x18\n \x01(\tH\x01\x88\x01\x01\x12\x1b\n\x0e\x61\x64\x64ress_line_2\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x11\n\x04\x63ity\x18\x0c \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08province\x18\r \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0bpostal_code\x18\x0e \x01(\tH\x05\x88\x01\x01\x12\x19\n\x0c\x63ountry_code\x18\x0f \x01(\tH\x06\x88\x01\x01\x12\x19\n\x0cphone_number\x18\x10 \x01(\tH\x07\x88\x01\x01\x42\x10\n\x0e_business_nameB\x11\n\x0f_address_line_1B\x11\n\x0f_address_line_2B\x07\n\x05_cityB\x0b\n\t_provinceB\x0e\n\x0c_postal_codeB\x0f\n\r_country_codeB\x0f\n\r_phone_number\"\xb7\x03\n\x19\x41\x66\x66iliateLocationFeedItem\x12\x1a\n\rbusiness_name\x18\x0b \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x0e\x61\x64\x64ress_line_1\x18\x0c \x01(\tH\x01\x88\x01\x01\x12\x1b\n\x0e\x61\x64\x64ress_line_2\x18\r \x01(\tH\x02\x88\x01\x01\x12\x11\n\x04\x63ity\x18\x0e \x01(\tH\x03\x88\x01\x01\x12\x15\n\x08province\x18\x0f \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0bpostal_code\x18\x10 \x01(\tH\x05\x88\x01\x01\x12\x19\n\x0c\x63ountry_code\x18\x11 \x01(\tH\x06\x88\x01\x01\x12\x19\n\x0cphone_number\x18\x12 \x01(\tH\x07\x88\x01\x01\x12\x15\n\x08\x63hain_id\x18\x13 \x01(\x03H\x08\x88\x01\x01\x12\x17\n\nchain_name\x18\x14 \x01(\tH\t\x88\x01\x01\x42\x10\n\x0e_business_nameB\x11\n\x0f_address_line_1B\x11\n\x0f_address_line_2B\x07\n\x05_cityB\x0b\n\t_provinceB\x0e\n\x0c_postal_codeB\x0f\n\r_country_codeB\x0f\n\r_phone_numberB\x0b\n\t_chain_idB\r\n\x0b_chain_name\"\xe7\x01\n\x13TextMessageFeedItem\x12\x1a\n\rbusiness_name\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x63ountry_code\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0cphone_number\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x11\n\x04text\x18\t \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0e\x65xtension_text\x18\n \x01(\tH\x04\x88\x01\x01\x42\x10\n\x0e_business_nameB\x0f\n\r_country_codeB\x0f\n\r_phone_numberB\x07\n\x05_textB\x11\n\x0f_extension_text\"\xc3\x03\n\rPriceFeedItem\x12V\n\x04type\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v6.enums.PriceExtensionTypeEnum.PriceExtensionType\x12u\n\x0fprice_qualifier\x18\x02 \x01(\x0e\x32\\.google.ads.googleads.v6.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier\x12\"\n\x15tracking_url_template\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rlanguage_code\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x43\n\x0fprice_offerings\x18\x05 \x03(\x0b\x32*.google.ads.googleads.v6.common.PriceOffer\x12\x1d\n\x10\x66inal_url_suffix\x18\t \x01(\tH\x02\x88\x01\x01\x42\x18\n\x16_tracking_url_templateB\x10\n\x0e_language_codeB\x13\n\x11_final_url_suffix\"\x9d\x02\n\nPriceOffer\x12\x13\n\x06header\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x34\n\x05price\x18\x03 \x01(\x0b\x32%.google.ads.googleads.v6.common.Money\x12`\n\x04unit\x18\x04 \x01(\x0e\x32R.google.ads.googleads.v6.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit\x12\x12\n\nfinal_urls\x18\t \x03(\t\x12\x19\n\x11\x66inal_mobile_urls\x18\n \x03(\tB\t\n\x07_headerB\x0e\n\x0c_description\"\xab\x07\n\x11PromotionFeedItem\x12\x1d\n\x10promotion_target\x18\x10 \x01(\tH\x02\x88\x01\x01\x12\x83\x01\n\x11\x64iscount_modifier\x18\x02 \x01(\x0e\x32h.google.ads.googleads.v6.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier\x12!\n\x14promotion_start_date\x18\x13 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12promotion_end_date\x18\x14 \x01(\tH\x04\x88\x01\x01\x12j\n\x08occasion\x18\t \x01(\x0e\x32X.google.ads.googleads.v6.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion\x12\x12\n\nfinal_urls\x18\x15 \x03(\t\x12\x19\n\x11\x66inal_mobile_urls\x18\x16 \x03(\t\x12\"\n\x15tracking_url_template\x18\x17 \x01(\tH\x05\x88\x01\x01\x12N\n\x15url_custom_parameters\x18\r \x03(\x0b\x32/.google.ads.googleads.v6.common.CustomParameter\x12\x1d\n\x10\x66inal_url_suffix\x18\x18 \x01(\tH\x06\x88\x01\x01\x12\x1a\n\rlanguage_code\x18\x19 \x01(\tH\x07\x88\x01\x01\x12\x15\n\x0bpercent_off\x18\x11 \x01(\x03H\x00\x12\x41\n\x10money_amount_off\x18\x04 \x01(\x0b\x32%.google.ads.googleads.v6.common.MoneyH\x00\x12\x18\n\x0epromotion_code\x18\x12 \x01(\tH\x01\x12\x43\n\x12orders_over_amount\x18\x06 \x01(\x0b\x32%.google.ads.googleads.v6.common.MoneyH\x01\x42\x0f\n\rdiscount_typeB\x13\n\x11promotion_triggerB\x13\n\x11_promotion_targetB\x17\n\x15_promotion_start_dateB\x15\n\x13_promotion_end_dateB\x18\n\x16_tracking_url_templateB\x13\n\x11_final_url_suffixB\x10\n\x0e_language_code\"K\n\x19StructuredSnippetFeedItem\x12\x13\n\x06header\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x0e\n\x06values\x18\x04 \x03(\tB\t\n\x07_header\"\xe5\x02\n\x10SitelinkFeedItem\x12\x16\n\tlink_text\x18\t \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05line1\x18\n \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05line2\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x12\n\nfinal_urls\x18\x0c \x03(\t\x12\x19\n\x11\x66inal_mobile_urls\x18\r \x03(\t\x12\"\n\x15tracking_url_template\x18\x0e \x01(\tH\x03\x88\x01\x01\x12N\n\x15url_custom_parameters\x18\x07 \x03(\x0b\x32/.google.ads.googleads.v6.common.CustomParameter\x12\x1d\n\x10\x66inal_url_suffix\x18\x0f \x01(\tH\x04\x88\x01\x01\x42\x0c\n\n_link_textB\x08\n\x06_line1B\x08\n\x06_line2B\x18\n\x16_tracking_url_templateB\x13\n\x11_final_url_suffix\"`\n\x14HotelCalloutFeedItem\x12\x11\n\x04text\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_textB\x10\n\x0e_language_code\"L\n\rImageFeedItem\x12;\n\x0bimage_asset\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1egoogleads.googleapis.com/AssetB\xea\x01\n\"com.google.ads.googleads.v6.commonB\x0f\x45xtensionsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_feed__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_price__extension__price__unit__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_price__extension__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_promotion__extension__occasion__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_APPFEEDITEM = _descriptor.Descriptor( + name='AppFeedItem', + full_name='google.ads.googleads.v6.common.AppFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='link_text', full_name='google.ads.googleads.v6.common.AppFeedItem.link_text', index=0, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_id', full_name='google.ads.googleads.v6.common.AppFeedItem.app_id', index=1, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_store', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_urls', full_name='google.ads.googleads.v6.common.AppFeedItem.final_urls', index=3, + number=11, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_mobile_urls', full_name='google.ads.googleads.v6.common.AppFeedItem.final_mobile_urls', index=4, + number=12, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tracking_url_template', full_name='google.ads.googleads.v6.common.AppFeedItem.tracking_url_template', index=5, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_custom_parameters', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_url_suffix', full_name='google.ads.googleads.v6.common.AppFeedItem.final_url_suffix', index=7, + number=14, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_link_text', full_name='google.ads.googleads.v6.common.AppFeedItem._link_text', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_app_id', full_name='google.ads.googleads.v6.common.AppFeedItem._app_id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_tracking_url_template', full_name='google.ads.googleads.v6.common.AppFeedItem._tracking_url_template', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_final_url_suffix', full_name='google.ads.googleads.v6.common.AppFeedItem._final_url_suffix', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=787, + serialized_end=1184, +) + + +_CALLFEEDITEM = _descriptor.Descriptor( + name='CallFeedItem', + full_name='google.ads.googleads.v6.common.CallFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='phone_number', full_name='google.ads.googleads.v6.common.CallFeedItem.phone_number', index=0, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v6.common.CallFeedItem.country_code', index=1, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_tracking_enabled', full_name='google.ads.googleads.v6.common.CallFeedItem.call_tracking_enabled', index=2, + number=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_conversion_action', full_name='google.ads.googleads.v6.common.CallFeedItem.call_conversion_action', index=3, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_conversion_tracking_disabled', full_name='google.ads.googleads.v6.common.CallFeedItem.call_conversion_tracking_disabled', index=4, + number=11, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_conversion_reporting_state', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_phone_number', full_name='google.ads.googleads.v6.common.CallFeedItem._phone_number', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_country_code', full_name='google.ads.googleads.v6.common.CallFeedItem._country_code', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_call_tracking_enabled', full_name='google.ads.googleads.v6.common.CallFeedItem._call_tracking_enabled', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_call_conversion_action', full_name='google.ads.googleads.v6.common.CallFeedItem._call_conversion_action', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_call_conversion_tracking_disabled', full_name='google.ads.googleads.v6.common.CallFeedItem._call_conversion_tracking_disabled', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1187, + serialized_end=1637, +) + + +_CALLOUTFEEDITEM = _descriptor.Descriptor( + name='CalloutFeedItem', + full_name='google.ads.googleads.v6.common.CalloutFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='callout_text', full_name='google.ads.googleads.v6.common.CalloutFeedItem.callout_text', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_callout_text', full_name='google.ads.googleads.v6.common.CalloutFeedItem._callout_text', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1639, + serialized_end=1700, +) + + +_LOCATIONFEEDITEM = _descriptor.Descriptor( + name='LocationFeedItem', + full_name='google.ads.googleads.v6.common.LocationFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='business_name', full_name='google.ads.googleads.v6.common.LocationFeedItem.business_name', index=0, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='address_line_1', full_name='google.ads.googleads.v6.common.LocationFeedItem.address_line_1', index=1, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='address_line_2', full_name='google.ads.googleads.v6.common.LocationFeedItem.address_line_2', index=2, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='city', full_name='google.ads.googleads.v6.common.LocationFeedItem.city', index=3, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='province', full_name='google.ads.googleads.v6.common.LocationFeedItem.province', index=4, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='postal_code', full_name='google.ads.googleads.v6.common.LocationFeedItem.postal_code', index=5, + number=14, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v6.common.LocationFeedItem.country_code', index=6, + number=15, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='phone_number', full_name='google.ads.googleads.v6.common.LocationFeedItem.phone_number', index=7, + number=16, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_business_name', full_name='google.ads.googleads.v6.common.LocationFeedItem._business_name', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_address_line_1', full_name='google.ads.googleads.v6.common.LocationFeedItem._address_line_1', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_address_line_2', full_name='google.ads.googleads.v6.common.LocationFeedItem._address_line_2', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_city', full_name='google.ads.googleads.v6.common.LocationFeedItem._city', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_province', full_name='google.ads.googleads.v6.common.LocationFeedItem._province', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_postal_code', full_name='google.ads.googleads.v6.common.LocationFeedItem._postal_code', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_country_code', full_name='google.ads.googleads.v6.common.LocationFeedItem._country_code', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_phone_number', full_name='google.ads.googleads.v6.common.LocationFeedItem._phone_number', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1703, + serialized_end=2057, +) + + +_AFFILIATELOCATIONFEEDITEM = _descriptor.Descriptor( + name='AffiliateLocationFeedItem', + full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='business_name', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.business_name', index=0, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='address_line_1', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.address_line_1', index=1, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='address_line_2', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.address_line_2', index=2, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='city', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.city', index=3, + number=14, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='province', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.province', index=4, + number=15, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='postal_code', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.postal_code', index=5, + number=16, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.country_code', index=6, + number=17, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='phone_number', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.phone_number', index=7, + number=18, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='chain_id', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.chain_id', index=8, + number=19, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='chain_name', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem.chain_name', index=9, + number=20, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_business_name', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._business_name', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_address_line_1', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._address_line_1', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_address_line_2', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._address_line_2', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_city', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._city', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_province', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._province', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_postal_code', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._postal_code', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_country_code', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._country_code', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_phone_number', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._phone_number', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_chain_id', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._chain_id', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_chain_name', full_name='google.ads.googleads.v6.common.AffiliateLocationFeedItem._chain_name', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2060, + serialized_end=2499, +) + + +_TEXTMESSAGEFEEDITEM = _descriptor.Descriptor( + name='TextMessageFeedItem', + full_name='google.ads.googleads.v6.common.TextMessageFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='business_name', full_name='google.ads.googleads.v6.common.TextMessageFeedItem.business_name', index=0, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v6.common.TextMessageFeedItem.country_code', index=1, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='phone_number', full_name='google.ads.googleads.v6.common.TextMessageFeedItem.phone_number', index=2, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='text', full_name='google.ads.googleads.v6.common.TextMessageFeedItem.text', index=3, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='extension_text', full_name='google.ads.googleads.v6.common.TextMessageFeedItem.extension_text', index=4, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_business_name', full_name='google.ads.googleads.v6.common.TextMessageFeedItem._business_name', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_country_code', full_name='google.ads.googleads.v6.common.TextMessageFeedItem._country_code', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_phone_number', full_name='google.ads.googleads.v6.common.TextMessageFeedItem._phone_number', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_text', full_name='google.ads.googleads.v6.common.TextMessageFeedItem._text', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_extension_text', full_name='google.ads.googleads.v6.common.TextMessageFeedItem._extension_text', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2502, + serialized_end=2733, +) + + +_PRICEFEEDITEM = _descriptor.Descriptor( + name='PriceFeedItem', + full_name='google.ads.googleads.v6.common.PriceFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='price_qualifier', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tracking_url_template', full_name='google.ads.googleads.v6.common.PriceFeedItem.tracking_url_template', index=2, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='language_code', full_name='google.ads.googleads.v6.common.PriceFeedItem.language_code', index=3, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='price_offerings', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_url_suffix', full_name='google.ads.googleads.v6.common.PriceFeedItem.final_url_suffix', index=5, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_tracking_url_template', full_name='google.ads.googleads.v6.common.PriceFeedItem._tracking_url_template', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_language_code', full_name='google.ads.googleads.v6.common.PriceFeedItem._language_code', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_final_url_suffix', full_name='google.ads.googleads.v6.common.PriceFeedItem._final_url_suffix', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2736, + serialized_end=3187, +) + + +_PRICEOFFER = _descriptor.Descriptor( + name='PriceOffer', + full_name='google.ads.googleads.v6.common.PriceOffer', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='header', full_name='google.ads.googleads.v6.common.PriceOffer.header', index=0, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v6.common.PriceOffer.description', index=1, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='price', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='unit', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_urls', full_name='google.ads.googleads.v6.common.PriceOffer.final_urls', index=4, + number=9, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_mobile_urls', full_name='google.ads.googleads.v6.common.PriceOffer.final_mobile_urls', index=5, + number=10, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_header', full_name='google.ads.googleads.v6.common.PriceOffer._header', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_description', full_name='google.ads.googleads.v6.common.PriceOffer._description', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3190, + serialized_end=3475, +) + + +_PROMOTIONFEEDITEM = _descriptor.Descriptor( + name='PromotionFeedItem', + full_name='google.ads.googleads.v6.common.PromotionFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='promotion_target', full_name='google.ads.googleads.v6.common.PromotionFeedItem.promotion_target', index=0, + number=16, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='discount_modifier', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='promotion_start_date', full_name='google.ads.googleads.v6.common.PromotionFeedItem.promotion_start_date', index=2, + number=19, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='promotion_end_date', full_name='google.ads.googleads.v6.common.PromotionFeedItem.promotion_end_date', index=3, + number=20, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='occasion', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_urls', full_name='google.ads.googleads.v6.common.PromotionFeedItem.final_urls', index=5, + number=21, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_mobile_urls', full_name='google.ads.googleads.v6.common.PromotionFeedItem.final_mobile_urls', index=6, + number=22, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tracking_url_template', full_name='google.ads.googleads.v6.common.PromotionFeedItem.tracking_url_template', index=7, + number=23, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_custom_parameters', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_url_suffix', full_name='google.ads.googleads.v6.common.PromotionFeedItem.final_url_suffix', index=9, + number=24, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='language_code', full_name='google.ads.googleads.v6.common.PromotionFeedItem.language_code', index=10, + number=25, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='percent_off', full_name='google.ads.googleads.v6.common.PromotionFeedItem.percent_off', index=11, + number=17, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='money_amount_off', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='promotion_code', full_name='google.ads.googleads.v6.common.PromotionFeedItem.promotion_code', index=13, + number=18, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='orders_over_amount', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='discount_type', full_name='google.ads.googleads.v6.common.PromotionFeedItem.discount_type', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='promotion_trigger', full_name='google.ads.googleads.v6.common.PromotionFeedItem.promotion_trigger', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_promotion_target', full_name='google.ads.googleads.v6.common.PromotionFeedItem._promotion_target', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_promotion_start_date', full_name='google.ads.googleads.v6.common.PromotionFeedItem._promotion_start_date', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_promotion_end_date', full_name='google.ads.googleads.v6.common.PromotionFeedItem._promotion_end_date', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_tracking_url_template', full_name='google.ads.googleads.v6.common.PromotionFeedItem._tracking_url_template', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_final_url_suffix', full_name='google.ads.googleads.v6.common.PromotionFeedItem._final_url_suffix', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_language_code', full_name='google.ads.googleads.v6.common.PromotionFeedItem._language_code', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3478, + serialized_end=4417, +) + + +_STRUCTUREDSNIPPETFEEDITEM = _descriptor.Descriptor( + name='StructuredSnippetFeedItem', + full_name='google.ads.googleads.v6.common.StructuredSnippetFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='header', full_name='google.ads.googleads.v6.common.StructuredSnippetFeedItem.header', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='values', full_name='google.ads.googleads.v6.common.StructuredSnippetFeedItem.values', index=1, + number=4, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_header', full_name='google.ads.googleads.v6.common.StructuredSnippetFeedItem._header', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4419, + serialized_end=4494, +) + + +_SITELINKFEEDITEM = _descriptor.Descriptor( + name='SitelinkFeedItem', + full_name='google.ads.googleads.v6.common.SitelinkFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='link_text', full_name='google.ads.googleads.v6.common.SitelinkFeedItem.link_text', index=0, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='line1', full_name='google.ads.googleads.v6.common.SitelinkFeedItem.line1', index=1, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='line2', full_name='google.ads.googleads.v6.common.SitelinkFeedItem.line2', index=2, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_urls', full_name='google.ads.googleads.v6.common.SitelinkFeedItem.final_urls', index=3, + number=12, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_mobile_urls', full_name='google.ads.googleads.v6.common.SitelinkFeedItem.final_mobile_urls', index=4, + number=13, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tracking_url_template', full_name='google.ads.googleads.v6.common.SitelinkFeedItem.tracking_url_template', index=5, + number=14, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_custom_parameters', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_url_suffix', full_name='google.ads.googleads.v6.common.SitelinkFeedItem.final_url_suffix', index=7, + number=15, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_link_text', full_name='google.ads.googleads.v6.common.SitelinkFeedItem._link_text', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_line1', full_name='google.ads.googleads.v6.common.SitelinkFeedItem._line1', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_line2', full_name='google.ads.googleads.v6.common.SitelinkFeedItem._line2', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_tracking_url_template', full_name='google.ads.googleads.v6.common.SitelinkFeedItem._tracking_url_template', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_final_url_suffix', full_name='google.ads.googleads.v6.common.SitelinkFeedItem._final_url_suffix', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4497, + serialized_end=4854, +) + + +_HOTELCALLOUTFEEDITEM = _descriptor.Descriptor( + name='HotelCalloutFeedItem', + full_name='google.ads.googleads.v6.common.HotelCalloutFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='text', full_name='google.ads.googleads.v6.common.HotelCalloutFeedItem.text', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='language_code', full_name='google.ads.googleads.v6.common.HotelCalloutFeedItem.language_code', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_text', full_name='google.ads.googleads.v6.common.HotelCalloutFeedItem._text', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_language_code', full_name='google.ads.googleads.v6.common.HotelCalloutFeedItem._language_code', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4856, + serialized_end=4952, +) + + +_IMAGEFEEDITEM = _descriptor.Descriptor( + name='ImageFeedItem', + full_name='google.ads.googleads.v6.common.ImageFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='image_asset', full_name='google.ads.googleads.v6.common.ImageFeedItem.image_asset', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=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/Asset', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4954, + serialized_end=5030, +) + +_APPFEEDITEM.fields_by_name['app_store'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__store__pb2._APPSTOREENUM_APPSTORE +_APPFEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_APPFEEDITEM.oneofs_by_name['_link_text'].fields.append( + _APPFEEDITEM.fields_by_name['link_text']) +_APPFEEDITEM.fields_by_name['link_text'].containing_oneof = _APPFEEDITEM.oneofs_by_name['_link_text'] +_APPFEEDITEM.oneofs_by_name['_app_id'].fields.append( + _APPFEEDITEM.fields_by_name['app_id']) +_APPFEEDITEM.fields_by_name['app_id'].containing_oneof = _APPFEEDITEM.oneofs_by_name['_app_id'] +_APPFEEDITEM.oneofs_by_name['_tracking_url_template'].fields.append( + _APPFEEDITEM.fields_by_name['tracking_url_template']) +_APPFEEDITEM.fields_by_name['tracking_url_template'].containing_oneof = _APPFEEDITEM.oneofs_by_name['_tracking_url_template'] +_APPFEEDITEM.oneofs_by_name['_final_url_suffix'].fields.append( + _APPFEEDITEM.fields_by_name['final_url_suffix']) +_APPFEEDITEM.fields_by_name['final_url_suffix'].containing_oneof = _APPFEEDITEM.oneofs_by_name['_final_url_suffix'] +_CALLFEEDITEM.fields_by_name['call_conversion_reporting_state'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2._CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE +_CALLFEEDITEM.oneofs_by_name['_phone_number'].fields.append( + _CALLFEEDITEM.fields_by_name['phone_number']) +_CALLFEEDITEM.fields_by_name['phone_number'].containing_oneof = _CALLFEEDITEM.oneofs_by_name['_phone_number'] +_CALLFEEDITEM.oneofs_by_name['_country_code'].fields.append( + _CALLFEEDITEM.fields_by_name['country_code']) +_CALLFEEDITEM.fields_by_name['country_code'].containing_oneof = _CALLFEEDITEM.oneofs_by_name['_country_code'] +_CALLFEEDITEM.oneofs_by_name['_call_tracking_enabled'].fields.append( + _CALLFEEDITEM.fields_by_name['call_tracking_enabled']) +_CALLFEEDITEM.fields_by_name['call_tracking_enabled'].containing_oneof = _CALLFEEDITEM.oneofs_by_name['_call_tracking_enabled'] +_CALLFEEDITEM.oneofs_by_name['_call_conversion_action'].fields.append( + _CALLFEEDITEM.fields_by_name['call_conversion_action']) +_CALLFEEDITEM.fields_by_name['call_conversion_action'].containing_oneof = _CALLFEEDITEM.oneofs_by_name['_call_conversion_action'] +_CALLFEEDITEM.oneofs_by_name['_call_conversion_tracking_disabled'].fields.append( + _CALLFEEDITEM.fields_by_name['call_conversion_tracking_disabled']) +_CALLFEEDITEM.fields_by_name['call_conversion_tracking_disabled'].containing_oneof = _CALLFEEDITEM.oneofs_by_name['_call_conversion_tracking_disabled'] +_CALLOUTFEEDITEM.oneofs_by_name['_callout_text'].fields.append( + _CALLOUTFEEDITEM.fields_by_name['callout_text']) +_CALLOUTFEEDITEM.fields_by_name['callout_text'].containing_oneof = _CALLOUTFEEDITEM.oneofs_by_name['_callout_text'] +_LOCATIONFEEDITEM.oneofs_by_name['_business_name'].fields.append( + _LOCATIONFEEDITEM.fields_by_name['business_name']) +_LOCATIONFEEDITEM.fields_by_name['business_name'].containing_oneof = _LOCATIONFEEDITEM.oneofs_by_name['_business_name'] +_LOCATIONFEEDITEM.oneofs_by_name['_address_line_1'].fields.append( + _LOCATIONFEEDITEM.fields_by_name['address_line_1']) +_LOCATIONFEEDITEM.fields_by_name['address_line_1'].containing_oneof = _LOCATIONFEEDITEM.oneofs_by_name['_address_line_1'] +_LOCATIONFEEDITEM.oneofs_by_name['_address_line_2'].fields.append( + _LOCATIONFEEDITEM.fields_by_name['address_line_2']) +_LOCATIONFEEDITEM.fields_by_name['address_line_2'].containing_oneof = _LOCATIONFEEDITEM.oneofs_by_name['_address_line_2'] +_LOCATIONFEEDITEM.oneofs_by_name['_city'].fields.append( + _LOCATIONFEEDITEM.fields_by_name['city']) +_LOCATIONFEEDITEM.fields_by_name['city'].containing_oneof = _LOCATIONFEEDITEM.oneofs_by_name['_city'] +_LOCATIONFEEDITEM.oneofs_by_name['_province'].fields.append( + _LOCATIONFEEDITEM.fields_by_name['province']) +_LOCATIONFEEDITEM.fields_by_name['province'].containing_oneof = _LOCATIONFEEDITEM.oneofs_by_name['_province'] +_LOCATIONFEEDITEM.oneofs_by_name['_postal_code'].fields.append( + _LOCATIONFEEDITEM.fields_by_name['postal_code']) +_LOCATIONFEEDITEM.fields_by_name['postal_code'].containing_oneof = _LOCATIONFEEDITEM.oneofs_by_name['_postal_code'] +_LOCATIONFEEDITEM.oneofs_by_name['_country_code'].fields.append( + _LOCATIONFEEDITEM.fields_by_name['country_code']) +_LOCATIONFEEDITEM.fields_by_name['country_code'].containing_oneof = _LOCATIONFEEDITEM.oneofs_by_name['_country_code'] +_LOCATIONFEEDITEM.oneofs_by_name['_phone_number'].fields.append( + _LOCATIONFEEDITEM.fields_by_name['phone_number']) +_LOCATIONFEEDITEM.fields_by_name['phone_number'].containing_oneof = _LOCATIONFEEDITEM.oneofs_by_name['_phone_number'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_business_name'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['business_name']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['business_name'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_business_name'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_address_line_1'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['address_line_1']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['address_line_1'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_address_line_1'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_address_line_2'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['address_line_2']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['address_line_2'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_address_line_2'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_city'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['city']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['city'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_city'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_province'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['province']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['province'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_province'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_postal_code'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['postal_code']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['postal_code'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_postal_code'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_country_code'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['country_code']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['country_code'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_country_code'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_phone_number'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['phone_number']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['phone_number'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_phone_number'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_chain_id'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['chain_id']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['chain_id'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_chain_id'] +_AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_chain_name'].fields.append( + _AFFILIATELOCATIONFEEDITEM.fields_by_name['chain_name']) +_AFFILIATELOCATIONFEEDITEM.fields_by_name['chain_name'].containing_oneof = _AFFILIATELOCATIONFEEDITEM.oneofs_by_name['_chain_name'] +_TEXTMESSAGEFEEDITEM.oneofs_by_name['_business_name'].fields.append( + _TEXTMESSAGEFEEDITEM.fields_by_name['business_name']) +_TEXTMESSAGEFEEDITEM.fields_by_name['business_name'].containing_oneof = _TEXTMESSAGEFEEDITEM.oneofs_by_name['_business_name'] +_TEXTMESSAGEFEEDITEM.oneofs_by_name['_country_code'].fields.append( + _TEXTMESSAGEFEEDITEM.fields_by_name['country_code']) +_TEXTMESSAGEFEEDITEM.fields_by_name['country_code'].containing_oneof = _TEXTMESSAGEFEEDITEM.oneofs_by_name['_country_code'] +_TEXTMESSAGEFEEDITEM.oneofs_by_name['_phone_number'].fields.append( + _TEXTMESSAGEFEEDITEM.fields_by_name['phone_number']) +_TEXTMESSAGEFEEDITEM.fields_by_name['phone_number'].containing_oneof = _TEXTMESSAGEFEEDITEM.oneofs_by_name['_phone_number'] +_TEXTMESSAGEFEEDITEM.oneofs_by_name['_text'].fields.append( + _TEXTMESSAGEFEEDITEM.fields_by_name['text']) +_TEXTMESSAGEFEEDITEM.fields_by_name['text'].containing_oneof = _TEXTMESSAGEFEEDITEM.oneofs_by_name['_text'] +_TEXTMESSAGEFEEDITEM.oneofs_by_name['_extension_text'].fields.append( + _TEXTMESSAGEFEEDITEM.fields_by_name['extension_text']) +_TEXTMESSAGEFEEDITEM.fields_by_name['extension_text'].containing_oneof = _TEXTMESSAGEFEEDITEM.oneofs_by_name['_extension_text'] +_PRICEFEEDITEM.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_price__extension__type__pb2._PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE +_PRICEFEEDITEM.fields_by_name['price_qualifier'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2._PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER +_PRICEFEEDITEM.fields_by_name['price_offerings'].message_type = _PRICEOFFER +_PRICEFEEDITEM.oneofs_by_name['_tracking_url_template'].fields.append( + _PRICEFEEDITEM.fields_by_name['tracking_url_template']) +_PRICEFEEDITEM.fields_by_name['tracking_url_template'].containing_oneof = _PRICEFEEDITEM.oneofs_by_name['_tracking_url_template'] +_PRICEFEEDITEM.oneofs_by_name['_language_code'].fields.append( + _PRICEFEEDITEM.fields_by_name['language_code']) +_PRICEFEEDITEM.fields_by_name['language_code'].containing_oneof = _PRICEFEEDITEM.oneofs_by_name['_language_code'] +_PRICEFEEDITEM.oneofs_by_name['_final_url_suffix'].fields.append( + _PRICEFEEDITEM.fields_by_name['final_url_suffix']) +_PRICEFEEDITEM.fields_by_name['final_url_suffix'].containing_oneof = _PRICEFEEDITEM.oneofs_by_name['_final_url_suffix'] +_PRICEOFFER.fields_by_name['price'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_feed__common__pb2._MONEY +_PRICEOFFER.fields_by_name['unit'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_price__extension__price__unit__pb2._PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT +_PRICEOFFER.oneofs_by_name['_header'].fields.append( + _PRICEOFFER.fields_by_name['header']) +_PRICEOFFER.fields_by_name['header'].containing_oneof = _PRICEOFFER.oneofs_by_name['_header'] +_PRICEOFFER.oneofs_by_name['_description'].fields.append( + _PRICEOFFER.fields_by_name['description']) +_PRICEOFFER.fields_by_name['description'].containing_oneof = _PRICEOFFER.oneofs_by_name['_description'] +_PROMOTIONFEEDITEM.fields_by_name['discount_modifier'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2._PROMOTIONEXTENSIONDISCOUNTMODIFIERENUM_PROMOTIONEXTENSIONDISCOUNTMODIFIER +_PROMOTIONFEEDITEM.fields_by_name['occasion'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_promotion__extension__occasion__pb2._PROMOTIONEXTENSIONOCCASIONENUM_PROMOTIONEXTENSIONOCCASION +_PROMOTIONFEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_PROMOTIONFEEDITEM.fields_by_name['money_amount_off'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_feed__common__pb2._MONEY +_PROMOTIONFEEDITEM.fields_by_name['orders_over_amount'].message_type = google_dot_ads_dot_googleads__v6_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'] +_PROMOTIONFEEDITEM.oneofs_by_name['discount_type'].fields.append( + _PROMOTIONFEEDITEM.fields_by_name['money_amount_off']) +_PROMOTIONFEEDITEM.fields_by_name['money_amount_off'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['discount_type'] +_PROMOTIONFEEDITEM.oneofs_by_name['promotion_trigger'].fields.append( + _PROMOTIONFEEDITEM.fields_by_name['promotion_code']) +_PROMOTIONFEEDITEM.fields_by_name['promotion_code'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['promotion_trigger'] +_PROMOTIONFEEDITEM.oneofs_by_name['promotion_trigger'].fields.append( + _PROMOTIONFEEDITEM.fields_by_name['orders_over_amount']) +_PROMOTIONFEEDITEM.fields_by_name['orders_over_amount'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['promotion_trigger'] +_PROMOTIONFEEDITEM.oneofs_by_name['_promotion_target'].fields.append( + _PROMOTIONFEEDITEM.fields_by_name['promotion_target']) +_PROMOTIONFEEDITEM.fields_by_name['promotion_target'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['_promotion_target'] +_PROMOTIONFEEDITEM.oneofs_by_name['_promotion_start_date'].fields.append( + _PROMOTIONFEEDITEM.fields_by_name['promotion_start_date']) +_PROMOTIONFEEDITEM.fields_by_name['promotion_start_date'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['_promotion_start_date'] +_PROMOTIONFEEDITEM.oneofs_by_name['_promotion_end_date'].fields.append( + _PROMOTIONFEEDITEM.fields_by_name['promotion_end_date']) +_PROMOTIONFEEDITEM.fields_by_name['promotion_end_date'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['_promotion_end_date'] +_PROMOTIONFEEDITEM.oneofs_by_name['_tracking_url_template'].fields.append( + _PROMOTIONFEEDITEM.fields_by_name['tracking_url_template']) +_PROMOTIONFEEDITEM.fields_by_name['tracking_url_template'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['_tracking_url_template'] +_PROMOTIONFEEDITEM.oneofs_by_name['_final_url_suffix'].fields.append( + _PROMOTIONFEEDITEM.fields_by_name['final_url_suffix']) +_PROMOTIONFEEDITEM.fields_by_name['final_url_suffix'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['_final_url_suffix'] +_PROMOTIONFEEDITEM.oneofs_by_name['_language_code'].fields.append( + _PROMOTIONFEEDITEM.fields_by_name['language_code']) +_PROMOTIONFEEDITEM.fields_by_name['language_code'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['_language_code'] +_STRUCTUREDSNIPPETFEEDITEM.oneofs_by_name['_header'].fields.append( + _STRUCTUREDSNIPPETFEEDITEM.fields_by_name['header']) +_STRUCTUREDSNIPPETFEEDITEM.fields_by_name['header'].containing_oneof = _STRUCTUREDSNIPPETFEEDITEM.oneofs_by_name['_header'] +_SITELINKFEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_SITELINKFEEDITEM.oneofs_by_name['_link_text'].fields.append( + _SITELINKFEEDITEM.fields_by_name['link_text']) +_SITELINKFEEDITEM.fields_by_name['link_text'].containing_oneof = _SITELINKFEEDITEM.oneofs_by_name['_link_text'] +_SITELINKFEEDITEM.oneofs_by_name['_line1'].fields.append( + _SITELINKFEEDITEM.fields_by_name['line1']) +_SITELINKFEEDITEM.fields_by_name['line1'].containing_oneof = _SITELINKFEEDITEM.oneofs_by_name['_line1'] +_SITELINKFEEDITEM.oneofs_by_name['_line2'].fields.append( + _SITELINKFEEDITEM.fields_by_name['line2']) +_SITELINKFEEDITEM.fields_by_name['line2'].containing_oneof = _SITELINKFEEDITEM.oneofs_by_name['_line2'] +_SITELINKFEEDITEM.oneofs_by_name['_tracking_url_template'].fields.append( + _SITELINKFEEDITEM.fields_by_name['tracking_url_template']) +_SITELINKFEEDITEM.fields_by_name['tracking_url_template'].containing_oneof = _SITELINKFEEDITEM.oneofs_by_name['_tracking_url_template'] +_SITELINKFEEDITEM.oneofs_by_name['_final_url_suffix'].fields.append( + _SITELINKFEEDITEM.fields_by_name['final_url_suffix']) +_SITELINKFEEDITEM.fields_by_name['final_url_suffix'].containing_oneof = _SITELINKFEEDITEM.oneofs_by_name['_final_url_suffix'] +_HOTELCALLOUTFEEDITEM.oneofs_by_name['_text'].fields.append( + _HOTELCALLOUTFEEDITEM.fields_by_name['text']) +_HOTELCALLOUTFEEDITEM.fields_by_name['text'].containing_oneof = _HOTELCALLOUTFEEDITEM.oneofs_by_name['_text'] +_HOTELCALLOUTFEEDITEM.oneofs_by_name['_language_code'].fields.append( + _HOTELCALLOUTFEEDITEM.fields_by_name['language_code']) +_HOTELCALLOUTFEEDITEM.fields_by_name['language_code'].containing_oneof = _HOTELCALLOUTFEEDITEM.oneofs_by_name['_language_code'] +DESCRIPTOR.message_types_by_name['AppFeedItem'] = _APPFEEDITEM +DESCRIPTOR.message_types_by_name['CallFeedItem'] = _CALLFEEDITEM +DESCRIPTOR.message_types_by_name['CalloutFeedItem'] = _CALLOUTFEEDITEM +DESCRIPTOR.message_types_by_name['LocationFeedItem'] = _LOCATIONFEEDITEM +DESCRIPTOR.message_types_by_name['AffiliateLocationFeedItem'] = _AFFILIATELOCATIONFEEDITEM +DESCRIPTOR.message_types_by_name['TextMessageFeedItem'] = _TEXTMESSAGEFEEDITEM +DESCRIPTOR.message_types_by_name['PriceFeedItem'] = _PRICEFEEDITEM +DESCRIPTOR.message_types_by_name['PriceOffer'] = _PRICEOFFER +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 +DESCRIPTOR.message_types_by_name['ImageFeedItem'] = _IMAGEFEEDITEM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AppFeedItem = _reflection.GeneratedProtocolMessageType('AppFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _APPFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents an App extension. + + Attributes: + link_text: + The visible text displayed when the link is rendered in an ad. + This string must not be empty, and the length of this string + should be between 1 and 25, inclusive. + app_id: + The store-specific ID for the target application. This string + must not be empty. + app_store: + The application store that the target application belongs to. + This field is required. + final_urls: + A list of possible final URLs after all cross domain + redirects. This list must not be empty. + final_mobile_urls: + A list of possible final mobile URLs after all cross domain + redirects. + tracking_url_template: + URL template for constructing a tracking URL. Default value is + "{lpurl}". + url_custom_parameters: + A list of mappings to be used for substituting URL custom + parameter tags in the tracking\_url\_template, final\_urls, + and/or final\_mobile\_urls. + final_url_suffix: + URL template for appending params to landing page URLs served + with parallel tracking. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AppFeedItem) + }) +_sym_db.RegisterMessage(AppFeedItem) + +CallFeedItem = _reflection.GeneratedProtocolMessageType('CallFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _CALLFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents a Call extension. + + Attributes: + phone_number: + The advertiser's phone number to append to the ad. This string + must not be empty. + country_code: + Uppercase two-letter country code of the advertiser's phone + number. This string must not be empty. + call_tracking_enabled: + Indicates whether call tracking is enabled. By default, call + tracking is not enabled. + call_conversion_action: + The conversion action to attribute a call conversion to. If + not set a default conversion action is used. This field only + has effect if call\_tracking\_enabled is set to true. + Otherwise this field is ignored. + call_conversion_tracking_disabled: + If true, disable call conversion tracking. + call\_conversion\_action should not be set if this is true. + Optional. + call_conversion_reporting_state: + Enum value that indicates whether this call extension uses its + own call conversion setting (or just have call conversion + disabled), or following the account level setting. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CallFeedItem) + }) +_sym_db.RegisterMessage(CallFeedItem) + +CalloutFeedItem = _reflection.GeneratedProtocolMessageType('CalloutFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _CALLOUTFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents a callout extension. + + Attributes: + callout_text: + The callout text. The length of this string should be between + 1 and 25, inclusive. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CalloutFeedItem) + }) +_sym_db.RegisterMessage(CalloutFeedItem) + +LocationFeedItem = _reflection.GeneratedProtocolMessageType('LocationFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _LOCATIONFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents a location extension. + + Attributes: + business_name: + The name of the business. + address_line_1: + Line 1 of the business address. + address_line_2: + Line 2 of the business address. + city: + City of the business address. + province: + Province of the business address. + postal_code: + Postal code of the business address. + country_code: + Country code of the business address. + phone_number: + Phone number of the business. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LocationFeedItem) + }) +_sym_db.RegisterMessage(LocationFeedItem) + +AffiliateLocationFeedItem = _reflection.GeneratedProtocolMessageType('AffiliateLocationFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _AFFILIATELOCATIONFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents an affiliate location extension. + + Attributes: + business_name: + The name of the business. + address_line_1: + Line 1 of the business address. + address_line_2: + Line 2 of the business address. + city: + City of the business address. + province: + Province of the business address. + postal_code: + Postal code of the business address. + country_code: + Country code of the business address. + phone_number: + Phone number of the business. + chain_id: + Id of the retail chain that is advertised as a seller of your + product. + chain_name: + Name of chain. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.AffiliateLocationFeedItem) + }) +_sym_db.RegisterMessage(AffiliateLocationFeedItem) + +TextMessageFeedItem = _reflection.GeneratedProtocolMessageType('TextMessageFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _TEXTMESSAGEFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """An extension that users can click on to send a text message to the + advertiser. + + Attributes: + business_name: + The business name to prepend to the message text. This field + is required. + country_code: + Uppercase two-letter country code of the advertiser's phone + number. This field is required. + phone_number: + The advertiser's phone number the message will be sent to. + Required. + text: + The text to show in the ad. This field is required. + extension_text: + The message extension\_text populated in the messaging app. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.TextMessageFeedItem) + }) +_sym_db.RegisterMessage(TextMessageFeedItem) + +PriceFeedItem = _reflection.GeneratedProtocolMessageType('PriceFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _PRICEFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents a Price extension. + + Attributes: + type: + Price extension type of this extension. + price_qualifier: + Price qualifier for all offers of this price extension. + tracking_url_template: + Tracking URL template for all offers of this price extension. + language_code: + The code of the language used for this price extension. + price_offerings: + The price offerings in this price extension. + final_url_suffix: + Tracking URL template for all offers of this price extension. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.PriceFeedItem) + }) +_sym_db.RegisterMessage(PriceFeedItem) + +PriceOffer = _reflection.GeneratedProtocolMessageType('PriceOffer', (_message.Message,), { + 'DESCRIPTOR' : _PRICEOFFER, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents one price offer in a price extension. + + Attributes: + header: + Header text of this offer. + description: + Description text of this offer. + price: + Price value of this offer. + unit: + Price unit for this offer. + final_urls: + A list of possible final URLs after all cross domain + redirects. + final_mobile_urls: + A list of possible final mobile URLs after all cross domain + redirects. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.PriceOffer) + }) +_sym_db.RegisterMessage(PriceOffer) + +PromotionFeedItem = _reflection.GeneratedProtocolMessageType('PromotionFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _PROMOTIONFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents a Promotion extension. + + Attributes: + promotion_target: + A freeform description of what the promotion is targeting. + This field is required. + discount_modifier: + Enum that modifies the qualification of the discount. + promotion_start_date: + Start date of when the promotion is eligible to be redeemed. + promotion_end_date: + End date of when the promotion is eligible to be redeemed. + occasion: + The occasion the promotion was intended for. If an occasion is + set, the redemption window will need to fall within the date + range associated with the occasion. + final_urls: + A list of possible final URLs after all cross domain + redirects. This field is required. + final_mobile_urls: + A list of possible final mobile URLs after all cross domain + redirects. + tracking_url_template: + URL template for constructing a tracking URL. + url_custom_parameters: + A list of mappings to be used for substituting URL custom + parameter tags in the tracking\_url\_template, final\_urls, + and/or final\_mobile\_urls. + final_url_suffix: + URL template for appending params to landing page URLs served + with parallel tracking. + language_code: + The language of the promotion. Represented as BCP 47 language + tag. + discount_type: + Discount type, can be percentage off or amount off. + percent_off: + Percentage off discount in the promotion in micros. One + million is equivalent to one percent. Either this or + money\_off\_amount is required. + money_amount_off: + Money amount off for discount in the promotion. Either this or + percent\_off is required. + promotion_trigger: + Promotion trigger. Can be by promotion code or promo by + eligible order amount. + promotion_code: + A code the user should use in order to be eligible for the + promotion. + orders_over_amount: + 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.v6.common.PromotionFeedItem) + }) +_sym_db.RegisterMessage(PromotionFeedItem) + +StructuredSnippetFeedItem = _reflection.GeneratedProtocolMessageType('StructuredSnippetFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _STRUCTUREDSNIPPETFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents a structured snippet extension. + + Attributes: + header: + The header of the snippet. This string must not be empty. + values: + The values in the snippet. The maximum size of this collection + is 10. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.StructuredSnippetFeedItem) + }) +_sym_db.RegisterMessage(StructuredSnippetFeedItem) + +SitelinkFeedItem = _reflection.GeneratedProtocolMessageType('SitelinkFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _SITELINKFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents a sitelink extension. + + Attributes: + link_text: + URL display text for the sitelink. The length of this string + should be between 1 and 25, inclusive. + line1: + First line of the description for the sitelink. If this value + is set, line2 must also be set. The length of this string + should be between 0 and 35, inclusive. + line2: + Second line of the description for the sitelink. If this value + is set, line1 must also be set. The length of this string + should be between 0 and 35, inclusive. + final_urls: + A list of possible final URLs after all cross domain + redirects. + final_mobile_urls: + A list of possible final mobile URLs after all cross domain + redirects. + tracking_url_template: + URL template for constructing a tracking URL. + url_custom_parameters: + A list of mappings to be used for substituting URL custom + parameter tags in the tracking\_url\_template, final\_urls, + and/or final\_mobile\_urls. + final_url_suffix: + Final URL suffix to be appended to landing page URLs served + with parallel tracking. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.SitelinkFeedItem) + }) +_sym_db.RegisterMessage(SitelinkFeedItem) + +HotelCalloutFeedItem = _reflection.GeneratedProtocolMessageType('HotelCalloutFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _HOTELCALLOUTFEEDITEM, + '__module__' : 'google.ads.googleads_v6.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.v6.common.HotelCalloutFeedItem) + }) +_sym_db.RegisterMessage(HotelCalloutFeedItem) + +ImageFeedItem = _reflection.GeneratedProtocolMessageType('ImageFeedItem', (_message.Message,), { + 'DESCRIPTOR' : _IMAGEFEEDITEM, + '__module__' : 'google.ads.googleads_v6.proto.common.extensions_pb2' + , + '__doc__': """Represents an advertiser provided image extension. + + Attributes: + image_asset: + Required. Resource name of the image asset. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.ImageFeedItem) + }) +_sym_db.RegisterMessage(ImageFeedItem) + + +DESCRIPTOR._options = None +_IMAGEFEEDITEM.fields_by_name['image_asset']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/extensions_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/extensions_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/extensions_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/feed_common_pb2.py b/google/ads/google_ads/v6/proto/common/feed_common_pb2.py new file mode 100644 index 000000000..76e6fb27a --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/feed_common_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/feed_common.proto + +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_v6/proto/common/feed_common.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\017FeedCommonProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/common/feed_common.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x1cgoogle/api/annotations.proto\"c\n\x05Money\x12\x1a\n\rcurrency_code\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\ramount_micros\x18\x04 \x01(\x03H\x01\x88\x01\x01\x42\x10\n\x0e_currency_codeB\x10\n\x0e_amount_microsB\xea\x01\n\"com.google.ads.googleads.v6.commonB\x0f\x46\x65\x65\x64\x43ommonProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_MONEY = _descriptor.Descriptor( + name='Money', + full_name='google.ads.googleads.v6.common.Money', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='currency_code', full_name='google.ads.googleads.v6.common.Money.currency_code', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='amount_micros', full_name='google.ads.googleads.v6.common.Money.amount_micros', index=1, + number=4, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_currency_code', full_name='google.ads.googleads.v6.common.Money._currency_code', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_amount_micros', full_name='google.ads.googleads.v6.common.Money._amount_micros', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=120, + serialized_end=219, +) + +_MONEY.oneofs_by_name['_currency_code'].fields.append( + _MONEY.fields_by_name['currency_code']) +_MONEY.fields_by_name['currency_code'].containing_oneof = _MONEY.oneofs_by_name['_currency_code'] +_MONEY.oneofs_by_name['_amount_micros'].fields.append( + _MONEY.fields_by_name['amount_micros']) +_MONEY.fields_by_name['amount_micros'].containing_oneof = _MONEY.oneofs_by_name['_amount_micros'] +DESCRIPTOR.message_types_by_name['Money'] = _MONEY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Money = _reflection.GeneratedProtocolMessageType('Money', (_message.Message,), { + 'DESCRIPTOR' : _MONEY, + '__module__' : 'google.ads.googleads_v6.proto.common.feed_common_pb2' + , + '__doc__': """Represents a price in a particular currency. + + Attributes: + currency_code: + Three-character ISO 4217 currency code. + amount_micros: + Amount in micros. One million is equivalent to one unit. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Money) + }) +_sym_db.RegisterMessage(Money) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/feed_common_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/feed_common_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/feed_common_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/feed_item_set_filter_type_infos_pb2.py b/google/ads/google_ads/v6/proto/common/feed_item_set_filter_type_infos_pb2.py new file mode 100644 index 000000000..665b8c46e --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/feed_item_set_filter_type_infos_pb2.py @@ -0,0 +1,202 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/feed_item_set_filter_type_infos.proto + +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.v6.proto.enums import feed_item_set_string_filter_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_feed__item__set__string__filter__type__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/feed_item_set_filter_type_infos.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\037FeedItemSetFilterTypeInfosProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nJgoogle/ads/googleads_v6/proto/common/feed_item_set_filter_type_infos.proto\x12\x1egoogle.ads.googleads.v6.common\x1aJgoogle/ads/googleads_v6/proto/enums/feed_item_set_string_filter_type.proto\x1a\x1cgoogle/api/annotations.proto\"|\n\x18\x44ynamicLocationSetFilter\x12\x0e\n\x06labels\x18\x01 \x03(\t\x12P\n\x14\x62usiness_name_filter\x18\x02 \x01(\x0b\x32\x32.google.ads.googleads.v6.common.BusinessNameFilter\"\x9c\x01\n\x12\x42usinessNameFilter\x12\x15\n\rbusiness_name\x18\x01 \x01(\t\x12o\n\x0b\x66ilter_type\x18\x02 \x01(\x0e\x32Z.google.ads.googleads.v6.enums.FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType\"6\n!DynamicAffiliateLocationSetFilter\x12\x11\n\tchain_ids\x18\x01 \x03(\x03\x42\xfa\x01\n\"com.google.ads.googleads.v6.commonB\x1f\x46\x65\x65\x64ItemSetFilterTypeInfosProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_feed__item__set__string__filter__type__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_DYNAMICLOCATIONSETFILTER = _descriptor.Descriptor( + name='DynamicLocationSetFilter', + full_name='google.ads.googleads.v6.common.DynamicLocationSetFilter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='labels', full_name='google.ads.googleads.v6.common.DynamicLocationSetFilter.labels', 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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='business_name_filter', full_name='google.ads.googleads.v6.common.DynamicLocationSetFilter.business_name_filter', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=216, + serialized_end=340, +) + + +_BUSINESSNAMEFILTER = _descriptor.Descriptor( + name='BusinessNameFilter', + full_name='google.ads.googleads.v6.common.BusinessNameFilter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='business_name', full_name='google.ads.googleads.v6.common.BusinessNameFilter.business_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='filter_type', full_name='google.ads.googleads.v6.common.BusinessNameFilter.filter_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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=343, + serialized_end=499, +) + + +_DYNAMICAFFILIATELOCATIONSETFILTER = _descriptor.Descriptor( + name='DynamicAffiliateLocationSetFilter', + full_name='google.ads.googleads.v6.common.DynamicAffiliateLocationSetFilter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='chain_ids', full_name='google.ads.googleads.v6.common.DynamicAffiliateLocationSetFilter.chain_ids', index=0, + number=1, type=3, cpp_type=2, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=501, + serialized_end=555, +) + +_DYNAMICLOCATIONSETFILTER.fields_by_name['business_name_filter'].message_type = _BUSINESSNAMEFILTER +_BUSINESSNAMEFILTER.fields_by_name['filter_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_feed__item__set__string__filter__type__pb2._FEEDITEMSETSTRINGFILTERTYPEENUM_FEEDITEMSETSTRINGFILTERTYPE +DESCRIPTOR.message_types_by_name['DynamicLocationSetFilter'] = _DYNAMICLOCATIONSETFILTER +DESCRIPTOR.message_types_by_name['BusinessNameFilter'] = _BUSINESSNAMEFILTER +DESCRIPTOR.message_types_by_name['DynamicAffiliateLocationSetFilter'] = _DYNAMICAFFILIATELOCATIONSETFILTER +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DynamicLocationSetFilter = _reflection.GeneratedProtocolMessageType('DynamicLocationSetFilter', (_message.Message,), { + 'DESCRIPTOR' : _DYNAMICLOCATIONSETFILTER, + '__module__' : 'google.ads.googleads_v6.proto.common.feed_item_set_filter_type_infos_pb2' + , + '__doc__': """Represents a filter on locations in a feed item set. Only applicable + if the parent Feed of the FeedItemSet is a LOCATION feed. + + Attributes: + labels: + If multiple labels are set, then only feeditems marked with + all the labels will be added to the FeedItemSet. + business_name_filter: + Business name filter. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.DynamicLocationSetFilter) + }) +_sym_db.RegisterMessage(DynamicLocationSetFilter) + +BusinessNameFilter = _reflection.GeneratedProtocolMessageType('BusinessNameFilter', (_message.Message,), { + 'DESCRIPTOR' : _BUSINESSNAMEFILTER, + '__module__' : 'google.ads.googleads_v6.proto.common.feed_item_set_filter_type_infos_pb2' + , + '__doc__': """Represents a business name filter on locations in a FeedItemSet. + + Attributes: + business_name: + Business name string to use for filtering. + filter_type: + The type of string matching to use when filtering with + business\_name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.BusinessNameFilter) + }) +_sym_db.RegisterMessage(BusinessNameFilter) + +DynamicAffiliateLocationSetFilter = _reflection.GeneratedProtocolMessageType('DynamicAffiliateLocationSetFilter', (_message.Message,), { + 'DESCRIPTOR' : _DYNAMICAFFILIATELOCATIONSETFILTER, + '__module__' : 'google.ads.googleads_v6.proto.common.feed_item_set_filter_type_infos_pb2' + , + '__doc__': """Represents a filter on affiliate locations in a FeedItemSet. Only + applicable if the parent Feed of the FeedItemSet is an + AFFILIATE\_LOCATION feed. + + Attributes: + chain_ids: + Used to filter affiliate locations by chain ids. Only + affiliate locations that belong to the specified chain(s) will + be added to the FeedItemSet. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.DynamicAffiliateLocationSetFilter) + }) +_sym_db.RegisterMessage(DynamicAffiliateLocationSetFilter) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/feed_item_set_filter_type_infos_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/feed_item_set_filter_type_infos_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/feed_item_set_filter_type_infos_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/final_app_url_pb2.py b/google/ads/google_ads/v6/proto/common/final_app_url_pb2.py new file mode 100644 index 000000000..508a42585 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/final_app_url_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/final_app_url.proto + +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.v6.proto.enums import app_url_operating_system_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__url__operating__system__type__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/final_app_url.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\020FinalAppUrlProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/common/final_app_url.proto\x12\x1egoogle.ads.googleads.v6.common\x1aGgoogle/ads/googleads_v6/proto/enums/app_url_operating_system_type.proto\x1a\x1cgoogle/api/annotations.proto\"\x90\x01\n\x0b\x46inalAppUrl\x12g\n\x07os_type\x18\x01 \x01(\x0e\x32V.google.ads.googleads.v6.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType\x12\x10\n\x03url\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x06\n\x04_urlB\xeb\x01\n\"com.google.ads.googleads.v6.commonB\x10\x46inalAppUrlProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__url__operating__system__type__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_FINALAPPURL = _descriptor.Descriptor( + name='FinalAppUrl', + full_name='google.ads.googleads.v6.common.FinalAppUrl', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='os_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url', full_name='google.ads.googleads.v6.common.FinalAppUrl.url', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_url', full_name='google.ads.googleads.v6.common.FinalAppUrl._url', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=196, + serialized_end=340, +) + +_FINALAPPURL.fields_by_name['os_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__url__operating__system__type__pb2._APPURLOPERATINGSYSTEMTYPEENUM_APPURLOPERATINGSYSTEMTYPE +_FINALAPPURL.oneofs_by_name['_url'].fields.append( + _FINALAPPURL.fields_by_name['url']) +_FINALAPPURL.fields_by_name['url'].containing_oneof = _FINALAPPURL.oneofs_by_name['_url'] +DESCRIPTOR.message_types_by_name['FinalAppUrl'] = _FINALAPPURL +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FinalAppUrl = _reflection.GeneratedProtocolMessageType('FinalAppUrl', (_message.Message,), { + 'DESCRIPTOR' : _FINALAPPURL, + '__module__' : 'google.ads.googleads_v6.proto.common.final_app_url_pb2' + , + '__doc__': """A URL for deep linking into an app for the given operating system. + + Attributes: + os_type: + The operating system targeted by this URL. Required. + url: + The app deep link URL. Deep links specify a location in an app + that corresponds to the content you'd like to show, and should + be of the form {scheme}://{host\_path} The scheme identifies + which app to open. For your app, you can use a custom scheme + that starts with the app's name. The host and path specify the + unique location in the app where your content exists. Example: + "exampleapp://productid\_1234". Required. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.FinalAppUrl) + }) +_sym_db.RegisterMessage(FinalAppUrl) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/final_app_url_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/final_app_url_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/final_app_url_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/frequency_cap_pb2.py b/google/ads/google_ads/v6/proto/common/frequency_cap_pb2.py new file mode 100644 index 000000000..fc1b8aab2 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/frequency_cap_pb2.py @@ -0,0 +1,192 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/frequency_cap.proto + +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.v6.proto.enums import frequency_cap_event_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2 +from google.ads.google_ads.v6.proto.enums import frequency_cap_level_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_frequency__cap__level__pb2 +from google.ads.google_ads.v6.proto.enums import frequency_cap_time_unit_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/frequency_cap.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\021FrequencyCapProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/common/frequency_cap.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x42google/ads/googleads_v6/proto/enums/frequency_cap_event_type.proto\x1a=google/ads/googleads_v6/proto/enums/frequency_cap_level.proto\x1a\x41google/ads/googleads_v6/proto/enums/frequency_cap_time_unit.proto\x1a\x1cgoogle/api/annotations.proto\"k\n\x11\x46requencyCapEntry\x12<\n\x03key\x18\x01 \x01(\x0b\x32/.google.ads.googleads.v6.common.FrequencyCapKey\x12\x10\n\x03\x63\x61p\x18\x03 \x01(\x05H\x00\x88\x01\x01\x42\x06\n\x04_cap\"\xd7\x02\n\x0f\x46requencyCapKey\x12U\n\x05level\x18\x01 \x01(\x0e\x32\x46.google.ads.googleads.v6.enums.FrequencyCapLevelEnum.FrequencyCapLevel\x12\x62\n\nevent_type\x18\x03 \x01(\x0e\x32N.google.ads.googleads.v6.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType\x12_\n\ttime_unit\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v6.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit\x12\x18\n\x0btime_length\x18\x05 \x01(\x05H\x00\x88\x01\x01\x42\x0e\n\x0c_time_lengthB\xec\x01\n\"com.google.ads.googleads.v6.commonB\x11\x46requencyCapProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_frequency__cap__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_FREQUENCYCAPENTRY = _descriptor.Descriptor( + name='FrequencyCapEntry', + full_name='google.ads.googleads.v6.common.FrequencyCapEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cap', full_name='google.ads.googleads.v6.common.FrequencyCapEntry.cap', index=1, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_cap', full_name='google.ads.googleads.v6.common.FrequencyCapEntry._cap', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=320, + serialized_end=427, +) + + +_FREQUENCYCAPKEY = _descriptor.Descriptor( + name='FrequencyCapKey', + full_name='google.ads.googleads.v6.common.FrequencyCapKey', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='level', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='event_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='time_unit', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='time_length', full_name='google.ads.googleads.v6.common.FrequencyCapKey.time_length', index=3, + number=5, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_time_length', full_name='google.ads.googleads.v6.common.FrequencyCapKey._time_length', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=430, + serialized_end=773, +) + +_FREQUENCYCAPENTRY.fields_by_name['key'].message_type = _FREQUENCYCAPKEY +_FREQUENCYCAPENTRY.oneofs_by_name['_cap'].fields.append( + _FREQUENCYCAPENTRY.fields_by_name['cap']) +_FREQUENCYCAPENTRY.fields_by_name['cap'].containing_oneof = _FREQUENCYCAPENTRY.oneofs_by_name['_cap'] +_FREQUENCYCAPKEY.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_frequency__cap__level__pb2._FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL +_FREQUENCYCAPKEY.fields_by_name['event_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2._FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT +_FREQUENCYCAPKEY.oneofs_by_name['_time_length'].fields.append( + _FREQUENCYCAPKEY.fields_by_name['time_length']) +_FREQUENCYCAPKEY.fields_by_name['time_length'].containing_oneof = _FREQUENCYCAPKEY.oneofs_by_name['_time_length'] +DESCRIPTOR.message_types_by_name['FrequencyCapEntry'] = _FREQUENCYCAPENTRY +DESCRIPTOR.message_types_by_name['FrequencyCapKey'] = _FREQUENCYCAPKEY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FrequencyCapEntry = _reflection.GeneratedProtocolMessageType('FrequencyCapEntry', (_message.Message,), { + 'DESCRIPTOR' : _FREQUENCYCAPENTRY, + '__module__' : 'google.ads.googleads_v6.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. + + Attributes: + key: + The key of a particular frequency cap. There can be no more + than one frequency cap with the same key. + cap: + Maximum number of events allowed during the time range by this + cap. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.FrequencyCapEntry) + }) +_sym_db.RegisterMessage(FrequencyCapEntry) + +FrequencyCapKey = _reflection.GeneratedProtocolMessageType('FrequencyCapKey', (_message.Message,), { + 'DESCRIPTOR' : _FREQUENCYCAPKEY, + '__module__' : 'google.ads.googleads_v6.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. + + Attributes: + level: + The level on which the cap is to be applied (e.g. ad group ad, + ad group). The cap is applied to all the entities of this + level. + event_type: + The type of event that the cap applies to (e.g. impression). + time_unit: + Unit of time the cap is defined at (e.g. day, week). + time_length: + Number of time units the cap lasts. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.FrequencyCapKey) + }) +_sym_db.RegisterMessage(FrequencyCapKey) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/frequency_cap_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/frequency_cap_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/frequency_cap_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/keyword_plan_common_pb2.py b/google/ads/google_ads/v6/proto/common/keyword_plan_common_pb2.py new file mode 100644 index 000000000..50a409b14 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/keyword_plan_common_pb2.py @@ -0,0 +1,254 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/keyword_plan_common.proto + +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.v6.proto.enums import keyword_plan_competition_level_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_keyword__plan__competition__level__pb2 +from google.ads.google_ads.v6.proto.enums import month_of_year_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_month__of__year__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/keyword_plan_common.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\026KeywordPlanCommonProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/common/keyword_plan_common.proto\x12\x1egoogle.ads.googleads.v6.common\x1aHgoogle/ads/googleads_v6/proto/enums/keyword_plan_competition_level.proto\x1a\x37google/ads/googleads_v6/proto/enums/month_of_year.proto\x1a\x1cgoogle/api/annotations.proto\"\xe8\x03\n\x1cKeywordPlanHistoricalMetrics\x12!\n\x14\x61vg_monthly_searches\x18\x07 \x01(\x03H\x00\x88\x01\x01\x12S\n\x16monthly_search_volumes\x18\x06 \x03(\x0b\x32\x33.google.ads.googleads.v6.common.MonthlySearchVolume\x12o\n\x0b\x63ompetition\x18\x02 \x01(\x0e\x32Z.google.ads.googleads.v6.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel\x12\x1e\n\x11\x63ompetition_index\x18\x08 \x01(\x03H\x01\x88\x01\x01\x12\'\n\x1alow_top_of_page_bid_micros\x18\t \x01(\x03H\x02\x88\x01\x01\x12(\n\x1bhigh_top_of_page_bid_micros\x18\n \x01(\x03H\x03\x88\x01\x01\x42\x17\n\x15_avg_monthly_searchesB\x14\n\x12_competition_indexB\x1d\n\x1b_low_top_of_page_bid_microsB\x1e\n\x1c_high_top_of_page_bid_micros\"\xb0\x01\n\x13MonthlySearchVolume\x12\x11\n\x04year\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12I\n\x05month\x18\x02 \x01(\x0e\x32:.google.ads.googleads.v6.enums.MonthOfYearEnum.MonthOfYear\x12\x1d\n\x10monthly_searches\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x07\n\x05_yearB\x13\n\x11_monthly_searchesB\xf1\x01\n\"com.google.ads.googleads.v6.commonB\x16KeywordPlanCommonProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_keyword__plan__competition__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_month__of__year__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_KEYWORDPLANHISTORICALMETRICS = _descriptor.Descriptor( + name='KeywordPlanHistoricalMetrics', + full_name='google.ads.googleads.v6.common.KeywordPlanHistoricalMetrics', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='avg_monthly_searches', full_name='google.ads.googleads.v6.common.KeywordPlanHistoricalMetrics.avg_monthly_searches', index=0, + number=7, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='monthly_search_volumes', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='competition', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='competition_index', full_name='google.ads.googleads.v6.common.KeywordPlanHistoricalMetrics.competition_index', index=3, + number=8, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='low_top_of_page_bid_micros', full_name='google.ads.googleads.v6.common.KeywordPlanHistoricalMetrics.low_top_of_page_bid_micros', index=4, + number=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='high_top_of_page_bid_micros', full_name='google.ads.googleads.v6.common.KeywordPlanHistoricalMetrics.high_top_of_page_bid_micros', index=5, + number=10, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_avg_monthly_searches', full_name='google.ads.googleads.v6.common.KeywordPlanHistoricalMetrics._avg_monthly_searches', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_competition_index', full_name='google.ads.googleads.v6.common.KeywordPlanHistoricalMetrics._competition_index', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_low_top_of_page_bid_micros', full_name='google.ads.googleads.v6.common.KeywordPlanHistoricalMetrics._low_top_of_page_bid_micros', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_high_top_of_page_bid_micros', full_name='google.ads.googleads.v6.common.KeywordPlanHistoricalMetrics._high_top_of_page_bid_micros', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=260, + serialized_end=748, +) + + +_MONTHLYSEARCHVOLUME = _descriptor.Descriptor( + name='MonthlySearchVolume', + full_name='google.ads.googleads.v6.common.MonthlySearchVolume', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='year', full_name='google.ads.googleads.v6.common.MonthlySearchVolume.year', index=0, + number=4, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='month', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='monthly_searches', full_name='google.ads.googleads.v6.common.MonthlySearchVolume.monthly_searches', index=2, + number=5, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_year', full_name='google.ads.googleads.v6.common.MonthlySearchVolume._year', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_monthly_searches', full_name='google.ads.googleads.v6.common.MonthlySearchVolume._monthly_searches', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=751, + serialized_end=927, +) + +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['monthly_search_volumes'].message_type = _MONTHLYSEARCHVOLUME +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['competition'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_keyword__plan__competition__level__pb2._KEYWORDPLANCOMPETITIONLEVELENUM_KEYWORDPLANCOMPETITIONLEVEL +_KEYWORDPLANHISTORICALMETRICS.oneofs_by_name['_avg_monthly_searches'].fields.append( + _KEYWORDPLANHISTORICALMETRICS.fields_by_name['avg_monthly_searches']) +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['avg_monthly_searches'].containing_oneof = _KEYWORDPLANHISTORICALMETRICS.oneofs_by_name['_avg_monthly_searches'] +_KEYWORDPLANHISTORICALMETRICS.oneofs_by_name['_competition_index'].fields.append( + _KEYWORDPLANHISTORICALMETRICS.fields_by_name['competition_index']) +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['competition_index'].containing_oneof = _KEYWORDPLANHISTORICALMETRICS.oneofs_by_name['_competition_index'] +_KEYWORDPLANHISTORICALMETRICS.oneofs_by_name['_low_top_of_page_bid_micros'].fields.append( + _KEYWORDPLANHISTORICALMETRICS.fields_by_name['low_top_of_page_bid_micros']) +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['low_top_of_page_bid_micros'].containing_oneof = _KEYWORDPLANHISTORICALMETRICS.oneofs_by_name['_low_top_of_page_bid_micros'] +_KEYWORDPLANHISTORICALMETRICS.oneofs_by_name['_high_top_of_page_bid_micros'].fields.append( + _KEYWORDPLANHISTORICALMETRICS.fields_by_name['high_top_of_page_bid_micros']) +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['high_top_of_page_bid_micros'].containing_oneof = _KEYWORDPLANHISTORICALMETRICS.oneofs_by_name['_high_top_of_page_bid_micros'] +_MONTHLYSEARCHVOLUME.fields_by_name['month'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_month__of__year__pb2._MONTHOFYEARENUM_MONTHOFYEAR +_MONTHLYSEARCHVOLUME.oneofs_by_name['_year'].fields.append( + _MONTHLYSEARCHVOLUME.fields_by_name['year']) +_MONTHLYSEARCHVOLUME.fields_by_name['year'].containing_oneof = _MONTHLYSEARCHVOLUME.oneofs_by_name['_year'] +_MONTHLYSEARCHVOLUME.oneofs_by_name['_monthly_searches'].fields.append( + _MONTHLYSEARCHVOLUME.fields_by_name['monthly_searches']) +_MONTHLYSEARCHVOLUME.fields_by_name['monthly_searches'].containing_oneof = _MONTHLYSEARCHVOLUME.oneofs_by_name['_monthly_searches'] +DESCRIPTOR.message_types_by_name['KeywordPlanHistoricalMetrics'] = _KEYWORDPLANHISTORICALMETRICS +DESCRIPTOR.message_types_by_name['MonthlySearchVolume'] = _MONTHLYSEARCHVOLUME +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordPlanHistoricalMetrics = _reflection.GeneratedProtocolMessageType('KeywordPlanHistoricalMetrics', (_message.Message,), { + 'DESCRIPTOR' : _KEYWORDPLANHISTORICALMETRICS, + '__module__' : 'google.ads.googleads_v6.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.v6.common.KeywordPlanHistoricalMetrics) + }) +_sym_db.RegisterMessage(KeywordPlanHistoricalMetrics) + +MonthlySearchVolume = _reflection.GeneratedProtocolMessageType('MonthlySearchVolume', (_message.Message,), { + 'DESCRIPTOR' : _MONTHLYSEARCHVOLUME, + '__module__' : 'google.ads.googleads_v6.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.v6.common.MonthlySearchVolume) + }) +_sym_db.RegisterMessage(MonthlySearchVolume) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/keyword_plan_common_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/keyword_plan_common_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/keyword_plan_common_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/matching_function_pb2.py b/google/ads/google_ads/v6/proto/common/matching_function_pb2.py new file mode 100644 index 000000000..389f8360d --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/matching_function_pb2.py @@ -0,0 +1,499 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/matching_function.proto + +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.v6.proto.enums import matching_function_context_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_matching__function__context__type__pb2 +from google.ads.google_ads.v6.proto.enums import matching_function_operator_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_matching__function__operator__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/matching_function.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\025MatchingFunctionProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\n\rleft_operands\x18\x02 \x03(\x0b\x32\'.google.ads.googleads.v6.common.Operand\x12?\n\x0eright_operands\x18\x03 \x03(\x0b\x32\'.google.ads.googleads.v6.common.OperandB\x12\n\x10_function_string\"\xfb\x06\n\x07Operand\x12S\n\x10\x63onstant_operand\x18\x01 \x01(\x0b\x32\x37.google.ads.googleads.v6.common.Operand.ConstantOperandH\x00\x12^\n\x16\x66\x65\x65\x64_attribute_operand\x18\x02 \x01(\x0b\x32<.google.ads.googleads.v6.common.Operand.FeedAttributeOperandH\x00\x12S\n\x10\x66unction_operand\x18\x03 \x01(\x0b\x32\x37.google.ads.googleads.v6.common.Operand.FunctionOperandH\x00\x12`\n\x17request_context_operand\x18\x04 \x01(\x0b\x32=.google.ads.googleads.v6.common.Operand.RequestContextOperandH\x00\x1a\x8a\x01\n\x0f\x43onstantOperand\x12\x16\n\x0cstring_value\x18\x05 \x01(\tH\x00\x12\x14\n\nlong_value\x18\x06 \x01(\x03H\x00\x12\x17\n\rboolean_value\x18\x07 \x01(\x08H\x00\x12\x16\n\x0c\x64ouble_value\x18\x08 \x01(\x01H\x00\x42\x18\n\x16\x63onstant_operand_value\x1an\n\x14\x46\x65\x65\x64\x41ttributeOperand\x12\x14\n\x07\x66\x65\x65\x64_id\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12\x1e\n\x11\x66\x65\x65\x64_attribute_id\x18\x04 \x01(\x03H\x01\x88\x01\x01\x42\n\n\x08_feed_idB\x14\n\x12_feed_attribute_id\x1a^\n\x0f\x46unctionOperand\x12K\n\x11matching_function\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v6.common.MatchingFunction\x1a\x89\x01\n\x15RequestContextOperand\x12p\n\x0c\x63ontext_type\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v6.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextTypeB\x1b\n\x19\x66unction_argument_operandB\xf0\x01\n\"com.google.ads.googleads.v6.commonB\x15MatchingFunctionProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_matching__function__context__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_matching__function__operator__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_MATCHINGFUNCTION = _descriptor.Descriptor( + name='MatchingFunction', + full_name='google.ads.googleads.v6.common.MatchingFunction', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='function_string', full_name='google.ads.googleads.v6.common.MatchingFunction.function_string', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='operator', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='left_operands', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='right_operands', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_function_string', full_name='google.ads.googleads.v6.common.MatchingFunction._function_string', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=271, + serialized_end=572, +) + + +_OPERAND_CONSTANTOPERAND = _descriptor.Descriptor( + name='ConstantOperand', + full_name='google.ads.googleads.v6.common.Operand.ConstantOperand', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='string_value', full_name='google.ads.googleads.v6.common.Operand.ConstantOperand.string_value', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='long_value', full_name='google.ads.googleads.v6.common.Operand.ConstantOperand.long_value', index=1, + number=6, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='boolean_value', full_name='google.ads.googleads.v6.common.Operand.ConstantOperand.boolean_value', index=2, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='double_value', full_name='google.ads.googleads.v6.common.Operand.ConstantOperand.double_value', index=3, + number=8, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='constant_operand_value', full_name='google.ads.googleads.v6.common.Operand.ConstantOperand.constant_operand_value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=951, + serialized_end=1089, +) + +_OPERAND_FEEDATTRIBUTEOPERAND = _descriptor.Descriptor( + name='FeedAttributeOperand', + full_name='google.ads.googleads.v6.common.Operand.FeedAttributeOperand', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='feed_id', full_name='google.ads.googleads.v6.common.Operand.FeedAttributeOperand.feed_id', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_attribute_id', full_name='google.ads.googleads.v6.common.Operand.FeedAttributeOperand.feed_attribute_id', index=1, + number=4, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_feed_id', full_name='google.ads.googleads.v6.common.Operand.FeedAttributeOperand._feed_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_feed_attribute_id', full_name='google.ads.googleads.v6.common.Operand.FeedAttributeOperand._feed_attribute_id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1091, + serialized_end=1201, +) + +_OPERAND_FUNCTIONOPERAND = _descriptor.Descriptor( + name='FunctionOperand', + full_name='google.ads.googleads.v6.common.Operand.FunctionOperand', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='matching_function', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1203, + serialized_end=1297, +) + +_OPERAND_REQUESTCONTEXTOPERAND = _descriptor.Descriptor( + name='RequestContextOperand', + full_name='google.ads.googleads.v6.common.Operand.RequestContextOperand', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='context_type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1300, + serialized_end=1437, +) + +_OPERAND = _descriptor.Descriptor( + name='Operand', + full_name='google.ads.googleads.v6.common.Operand', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='constant_operand', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_attribute_operand', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='function_operand', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='request_context_operand', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_OPERAND_CONSTANTOPERAND, _OPERAND_FEEDATTRIBUTEOPERAND, _OPERAND_FUNCTIONOPERAND, _OPERAND_REQUESTCONTEXTOPERAND, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='function_argument_operand', full_name='google.ads.googleads.v6.common.Operand.function_argument_operand', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=575, + serialized_end=1466, +) + +_MATCHINGFUNCTION.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v6_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 +_MATCHINGFUNCTION.oneofs_by_name['_function_string'].fields.append( + _MATCHINGFUNCTION.fields_by_name['function_string']) +_MATCHINGFUNCTION.fields_by_name['function_string'].containing_oneof = _MATCHINGFUNCTION.oneofs_by_name['_function_string'] +_OPERAND_CONSTANTOPERAND.containing_type = _OPERAND +_OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'].fields.append( + _OPERAND_CONSTANTOPERAND.fields_by_name['string_value']) +_OPERAND_CONSTANTOPERAND.fields_by_name['string_value'].containing_oneof = _OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'] +_OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'].fields.append( + _OPERAND_CONSTANTOPERAND.fields_by_name['long_value']) +_OPERAND_CONSTANTOPERAND.fields_by_name['long_value'].containing_oneof = _OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'] +_OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'].fields.append( + _OPERAND_CONSTANTOPERAND.fields_by_name['boolean_value']) +_OPERAND_CONSTANTOPERAND.fields_by_name['boolean_value'].containing_oneof = _OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'] +_OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'].fields.append( + _OPERAND_CONSTANTOPERAND.fields_by_name['double_value']) +_OPERAND_CONSTANTOPERAND.fields_by_name['double_value'].containing_oneof = _OPERAND_CONSTANTOPERAND.oneofs_by_name['constant_operand_value'] +_OPERAND_FEEDATTRIBUTEOPERAND.containing_type = _OPERAND +_OPERAND_FEEDATTRIBUTEOPERAND.oneofs_by_name['_feed_id'].fields.append( + _OPERAND_FEEDATTRIBUTEOPERAND.fields_by_name['feed_id']) +_OPERAND_FEEDATTRIBUTEOPERAND.fields_by_name['feed_id'].containing_oneof = _OPERAND_FEEDATTRIBUTEOPERAND.oneofs_by_name['_feed_id'] +_OPERAND_FEEDATTRIBUTEOPERAND.oneofs_by_name['_feed_attribute_id'].fields.append( + _OPERAND_FEEDATTRIBUTEOPERAND.fields_by_name['feed_attribute_id']) +_OPERAND_FEEDATTRIBUTEOPERAND.fields_by_name['feed_attribute_id'].containing_oneof = _OPERAND_FEEDATTRIBUTEOPERAND.oneofs_by_name['_feed_attribute_id'] +_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__v6_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 +_OPERAND.fields_by_name['function_operand'].message_type = _OPERAND_FUNCTIONOPERAND +_OPERAND.fields_by_name['request_context_operand'].message_type = _OPERAND_REQUESTCONTEXTOPERAND +_OPERAND.oneofs_by_name['function_argument_operand'].fields.append( + _OPERAND.fields_by_name['constant_operand']) +_OPERAND.fields_by_name['constant_operand'].containing_oneof = _OPERAND.oneofs_by_name['function_argument_operand'] +_OPERAND.oneofs_by_name['function_argument_operand'].fields.append( + _OPERAND.fields_by_name['feed_attribute_operand']) +_OPERAND.fields_by_name['feed_attribute_operand'].containing_oneof = _OPERAND.oneofs_by_name['function_argument_operand'] +_OPERAND.oneofs_by_name['function_argument_operand'].fields.append( + _OPERAND.fields_by_name['function_operand']) +_OPERAND.fields_by_name['function_operand'].containing_oneof = _OPERAND.oneofs_by_name['function_argument_operand'] +_OPERAND.oneofs_by_name['function_argument_operand'].fields.append( + _OPERAND.fields_by_name['request_context_operand']) +_OPERAND.fields_by_name['request_context_operand'].containing_oneof = _OPERAND.oneofs_by_name['function_argument_operand'] +DESCRIPTOR.message_types_by_name['MatchingFunction'] = _MATCHINGFUNCTION +DESCRIPTOR.message_types_by_name['Operand'] = _OPERAND +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MatchingFunction = _reflection.GeneratedProtocolMessageType('MatchingFunction', (_message.Message,), { + 'DESCRIPTOR' : _MATCHINGFUNCTION, + '__module__' : 'google.ads.googleads_v6.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 + items selected. + + Attributes: + function_string: + 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")) 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: + The operands on the left hand side of the equation. This is + also the operand to be used for single operand expressions + such as NOT. + right_operands: + The operands on the right hand side of the equation. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.MatchingFunction) + }) +_sym_db.RegisterMessage(MatchingFunction) + +Operand = _reflection.GeneratedProtocolMessageType('Operand', (_message.Message,), { + + 'ConstantOperand' : _reflection.GeneratedProtocolMessageType('ConstantOperand', (_message.Message,), { + 'DESCRIPTOR' : _OPERAND_CONSTANTOPERAND, + '__module__' : 'google.ads.googleads_v6.proto.common.matching_function_pb2' + , + '__doc__': """A constant operand in a matching function. + + Attributes: + constant_operand_value: + Constant operand values. Required. + string_value: + String value of the operand if it is a string type. + long_value: + Int64 value of the operand if it is a int64 type. + boolean_value: + Boolean value of the operand if it is a boolean type. + double_value: + Double value of the operand if it is a double type. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Operand.ConstantOperand) + }) + , + + 'FeedAttributeOperand' : _reflection.GeneratedProtocolMessageType('FeedAttributeOperand', (_message.Message,), { + 'DESCRIPTOR' : _OPERAND_FEEDATTRIBUTEOPERAND, + '__module__' : 'google.ads.googleads_v6.proto.common.matching_function_pb2' + , + '__doc__': """A feed attribute operand in a matching function. Used to represent a + feed attribute in feed. + + Attributes: + feed_id: + The associated feed. Required. + feed_attribute_id: + Id of the referenced feed attribute. Required. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Operand.FeedAttributeOperand) + }) + , + + 'FunctionOperand' : _reflection.GeneratedProtocolMessageType('FunctionOperand', (_message.Message,), { + 'DESCRIPTOR' : _OPERAND_FUNCTIONOPERAND, + '__module__' : 'google.ads.googleads_v6.proto.common.matching_function_pb2' + , + '__doc__': """A function operand in a matching function. Used to represent nested + functions. + + Attributes: + matching_function: + The matching function held in this operand. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Operand.FunctionOperand) + }) + , + + 'RequestContextOperand' : _reflection.GeneratedProtocolMessageType('RequestContextOperand', (_message.Message,), { + 'DESCRIPTOR' : _OPERAND_REQUESTCONTEXTOPERAND, + '__module__' : 'google.ads.googleads_v6.proto.common.matching_function_pb2' + , + '__doc__': """An operand in a function referring to a value in the request context. + + Attributes: + context_type: + Type of value to be referred in the request context. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Operand.RequestContextOperand) + }) + , + 'DESCRIPTOR' : _OPERAND, + '__module__' : 'google.ads.googleads_v6.proto.common.matching_function_pb2' + , + '__doc__': """An operand in a matching function. + + Attributes: + function_argument_operand: + Different operands that can be used in a matching function. + Required. + constant_operand: + A constant operand in a matching function. + feed_attribute_operand: + This operand specifies a feed attribute in feed. + function_operand: + A function operand in a matching function. Used to represent + nested functions. + request_context_operand: + An operand in a function referring to a value in the request + context. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Operand) + }) +_sym_db.RegisterMessage(Operand) +_sym_db.RegisterMessage(Operand.ConstantOperand) +_sym_db.RegisterMessage(Operand.FeedAttributeOperand) +_sym_db.RegisterMessage(Operand.FunctionOperand) +_sym_db.RegisterMessage(Operand.RequestContextOperand) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/matching_function_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/matching_function_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/matching_function_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/metrics_pb2.py b/google/ads/google_ads/v6/proto/common/metrics_pb2.py new file mode 100644 index 000000000..f743d2274 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/metrics_pb2.py @@ -0,0 +1,2183 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/metrics.proto + +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.v6.proto.enums import interaction_event_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_interaction__event__type__pb2 +from google.ads.google_ads.v6.proto.enums import quality_score_bucket_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_quality__score__bucket__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/metrics.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\014MetricsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n2google/ads/googleads_v6/proto/common/metrics.proto\x12\x1egoogle.ads.googleads.v6.common\x1a@google/ads/googleads_v6/proto/enums/interaction_event_type.proto\x1a>google/ads/googleads_v6/proto/enums/quality_score_bucket.proto\x1a\x1cgoogle/api/annotations.proto\"\xf9?\n\x07Metrics\x12\x30\n\"absolute_top_impression_percentage\x18\xb7\x01 \x01(\x01H\x00\x88\x01\x01\x12\x1d\n\x0f\x61\x63tive_view_cpm\x18\xb8\x01 \x01(\x01H\x01\x88\x01\x01\x12\x1d\n\x0f\x61\x63tive_view_ctr\x18\xb9\x01 \x01(\x01H\x02\x88\x01\x01\x12%\n\x17\x61\x63tive_view_impressions\x18\xba\x01 \x01(\x03H\x03\x88\x01\x01\x12\'\n\x19\x61\x63tive_view_measurability\x18\xbb\x01 \x01(\x01H\x04\x88\x01\x01\x12\x30\n\"active_view_measurable_cost_micros\x18\xbc\x01 \x01(\x03H\x05\x88\x01\x01\x12\x30\n\"active_view_measurable_impressions\x18\xbd\x01 \x01(\x03H\x06\x88\x01\x01\x12%\n\x17\x61\x63tive_view_viewability\x18\xbe\x01 \x01(\x01H\x07\x88\x01\x01\x12\x34\n&all_conversions_from_interactions_rate\x18\xbf\x01 \x01(\x01H\x08\x88\x01\x01\x12#\n\x15\x61ll_conversions_value\x18\xc0\x01 \x01(\x01H\t\x88\x01\x01\x12\x1d\n\x0f\x61ll_conversions\x18\xc1\x01 \x01(\x01H\n\x88\x01\x01\x12,\n\x1e\x61ll_conversions_value_per_cost\x18\xc2\x01 \x01(\x01H\x0b\x88\x01\x01\x12\x30\n\"all_conversions_from_click_to_call\x18\xc3\x01 \x01(\x01H\x0c\x88\x01\x01\x12-\n\x1f\x61ll_conversions_from_directions\x18\xc4\x01 \x01(\x01H\r\x88\x01\x01\x12\x45\n7all_conversions_from_interactions_value_per_interaction\x18\xc5\x01 \x01(\x01H\x0e\x88\x01\x01\x12\'\n\x19\x61ll_conversions_from_menu\x18\xc6\x01 \x01(\x01H\x0f\x88\x01\x01\x12(\n\x1a\x61ll_conversions_from_order\x18\xc7\x01 \x01(\x01H\x10\x88\x01\x01\x12\x33\n%all_conversions_from_other_engagement\x18\xc8\x01 \x01(\x01H\x11\x88\x01\x01\x12.\n all_conversions_from_store_visit\x18\xc9\x01 \x01(\x01H\x12\x88\x01\x01\x12\x30\n\"all_conversions_from_store_website\x18\xca\x01 \x01(\x01H\x13\x88\x01\x01\x12\x1a\n\x0c\x61verage_cost\x18\xcb\x01 \x01(\x01H\x14\x88\x01\x01\x12\x19\n\x0b\x61verage_cpc\x18\xcc\x01 \x01(\x01H\x15\x88\x01\x01\x12\x19\n\x0b\x61verage_cpe\x18\xcd\x01 \x01(\x01H\x16\x88\x01\x01\x12\x19\n\x0b\x61verage_cpm\x18\xce\x01 \x01(\x01H\x17\x88\x01\x01\x12\x19\n\x0b\x61verage_cpv\x18\xcf\x01 \x01(\x01H\x18\x88\x01\x01\x12 \n\x12\x61verage_page_views\x18\xd0\x01 \x01(\x01H\x19\x88\x01\x01\x12\"\n\x14\x61verage_time_on_site\x18\xd1\x01 \x01(\x01H\x1a\x88\x01\x01\x12\'\n\x19\x62\x65nchmark_average_max_cpc\x18\xd2\x01 \x01(\x01H\x1b\x88\x01\x01\x12\x1b\n\rbenchmark_ctr\x18\xd3\x01 \x01(\x01H\x1c\x88\x01\x01\x12\x19\n\x0b\x62ounce_rate\x18\xd4\x01 \x01(\x01H\x1d\x88\x01\x01\x12\x14\n\x06\x63licks\x18\x83\x01 \x01(\x03H\x1e\x88\x01\x01\x12\x1d\n\x0f\x63ombined_clicks\x18\x9c\x01 \x01(\x03H\x1f\x88\x01\x01\x12\'\n\x19\x63ombined_clicks_per_query\x18\x9d\x01 \x01(\x01H \x88\x01\x01\x12\x1e\n\x10\x63ombined_queries\x18\x9e\x01 \x01(\x03H!\x88\x01\x01\x12\x32\n$content_budget_lost_impression_share\x18\x9f\x01 \x01(\x01H\"\x88\x01\x01\x12&\n\x18\x63ontent_impression_share\x18\xa0\x01 \x01(\x01H#\x88\x01\x01\x12\x38\n*conversion_last_received_request_date_time\x18\xa1\x01 \x01(\tH$\x88\x01\x01\x12-\n\x1f\x63onversion_last_conversion_date\x18\xa2\x01 \x01(\tH%\x88\x01\x01\x12\x30\n\"content_rank_lost_impression_share\x18\xa3\x01 \x01(\x01H&\x88\x01\x01\x12\x30\n\"conversions_from_interactions_rate\x18\xa4\x01 \x01(\x01H\'\x88\x01\x01\x12\x1f\n\x11\x63onversions_value\x18\xa5\x01 \x01(\x01H(\x88\x01\x01\x12(\n\x1a\x63onversions_value_per_cost\x18\xa6\x01 \x01(\x01H)\x88\x01\x01\x12\x41\n3conversions_from_interactions_value_per_interaction\x18\xa7\x01 \x01(\x01H*\x88\x01\x01\x12\x19\n\x0b\x63onversions\x18\xa8\x01 \x01(\x01H+\x88\x01\x01\x12\x19\n\x0b\x63ost_micros\x18\xa9\x01 \x01(\x03H,\x88\x01\x01\x12&\n\x18\x63ost_per_all_conversions\x18\xaa\x01 \x01(\x01H-\x88\x01\x01\x12!\n\x13\x63ost_per_conversion\x18\xab\x01 \x01(\x01H.\x88\x01\x01\x12:\n,cost_per_current_model_attributed_conversion\x18\xac\x01 \x01(\x01H/\x88\x01\x01\x12&\n\x18\x63ross_device_conversions\x18\xad\x01 \x01(\x01H0\x88\x01\x01\x12\x11\n\x03\x63tr\x18\xae\x01 \x01(\x01H1\x88\x01\x01\x12\x32\n$current_model_attributed_conversions\x18\xaf\x01 \x01(\x01H2\x88\x01\x01\x12I\n;current_model_attributed_conversions_from_interactions_rate\x18\xb0\x01 \x01(\x01H3\x88\x01\x01\x12Z\nLcurrent_model_attributed_conversions_from_interactions_value_per_interaction\x18\xb1\x01 \x01(\x01H4\x88\x01\x01\x12\x38\n*current_model_attributed_conversions_value\x18\xb2\x01 \x01(\x01H5\x88\x01\x01\x12\x41\n3current_model_attributed_conversions_value_per_cost\x18\xb3\x01 \x01(\x01H6\x88\x01\x01\x12\x1d\n\x0f\x65ngagement_rate\x18\xb4\x01 \x01(\x01H7\x88\x01\x01\x12\x19\n\x0b\x65ngagements\x18\xb5\x01 \x01(\x03H8\x88\x01\x01\x12-\n\x1fhotel_average_lead_value_micros\x18\xd5\x01 \x01(\x01H9\x88\x01\x01\x12/\n!hotel_price_difference_percentage\x18\xd6\x01 \x01(\x01H:\x88\x01\x01\x12(\n\x1ahotel_eligible_impressions\x18\xd7\x01 \x01(\x03H;\x88\x01\x01\x12s\n!historical_creative_quality_score\x18P \x01(\x0e\x32H.google.ads.googleads.v6.enums.QualityScoreBucketEnum.QualityScoreBucket\x12w\n%historical_landing_page_quality_score\x18Q \x01(\x0e\x32H.google.ads.googleads.v6.enums.QualityScoreBucketEnum.QualityScoreBucket\x12&\n\x18historical_quality_score\x18\xd8\x01 \x01(\x03H<\x88\x01\x01\x12q\n\x1fhistorical_search_predicted_ctr\x18S \x01(\x0e\x32H.google.ads.googleads.v6.enums.QualityScoreBucketEnum.QualityScoreBucket\x12\x1c\n\x0egmail_forwards\x18\xd9\x01 \x01(\x03H=\x88\x01\x01\x12\x19\n\x0bgmail_saves\x18\xda\x01 \x01(\x03H>\x88\x01\x01\x12$\n\x16gmail_secondary_clicks\x18\xdb\x01 \x01(\x03H?\x88\x01\x01\x12*\n\x1cimpressions_from_store_reach\x18\xdc\x01 \x01(\x03H@\x88\x01\x01\x12\x19\n\x0bimpressions\x18\xdd\x01 \x01(\x03HA\x88\x01\x01\x12\x1e\n\x10interaction_rate\x18\xde\x01 \x01(\x01HB\x88\x01\x01\x12\x1a\n\x0cinteractions\x18\xdf\x01 \x01(\x03HC\x88\x01\x01\x12m\n\x17interaction_event_types\x18\x64 \x03(\x0e\x32L.google.ads.googleads.v6.enums.InteractionEventTypeEnum.InteractionEventType\x12 \n\x12invalid_click_rate\x18\xe0\x01 \x01(\x01HD\x88\x01\x01\x12\x1c\n\x0einvalid_clicks\x18\xe1\x01 \x01(\x03HE\x88\x01\x01\x12\x1b\n\rmessage_chats\x18\xe2\x01 \x01(\x03HF\x88\x01\x01\x12!\n\x13message_impressions\x18\xe3\x01 \x01(\x03HG\x88\x01\x01\x12\x1f\n\x11message_chat_rate\x18\xe4\x01 \x01(\x01HH\x88\x01\x01\x12/\n!mobile_friendly_clicks_percentage\x18\xe5\x01 \x01(\x01HI\x88\x01\x01\x12\x1c\n\x0eorganic_clicks\x18\xe6\x01 \x01(\x03HJ\x88\x01\x01\x12&\n\x18organic_clicks_per_query\x18\xe7\x01 \x01(\x01HK\x88\x01\x01\x12!\n\x13organic_impressions\x18\xe8\x01 \x01(\x03HL\x88\x01\x01\x12+\n\x1dorganic_impressions_per_query\x18\xe9\x01 \x01(\x01HM\x88\x01\x01\x12\x1d\n\x0forganic_queries\x18\xea\x01 \x01(\x03HN\x88\x01\x01\x12\"\n\x14percent_new_visitors\x18\xeb\x01 \x01(\x01HO\x88\x01\x01\x12\x19\n\x0bphone_calls\x18\xec\x01 \x01(\x03HP\x88\x01\x01\x12\x1f\n\x11phone_impressions\x18\xed\x01 \x01(\x03HQ\x88\x01\x01\x12 \n\x12phone_through_rate\x18\xee\x01 \x01(\x01HR\x88\x01\x01\x12\x1a\n\x0crelative_ctr\x18\xef\x01 \x01(\x01HS\x88\x01\x01\x12\x32\n$search_absolute_top_impression_share\x18\x88\x01 \x01(\x01HT\x88\x01\x01\x12>\n0search_budget_lost_absolute_top_impression_share\x18\x89\x01 \x01(\x01HU\x88\x01\x01\x12\x31\n#search_budget_lost_impression_share\x18\x8a\x01 \x01(\x01HV\x88\x01\x01\x12\x35\n\'search_budget_lost_top_impression_share\x18\x8b\x01 \x01(\x01HW\x88\x01\x01\x12 \n\x12search_click_share\x18\x8c\x01 \x01(\x01HX\x88\x01\x01\x12\x31\n#search_exact_match_impression_share\x18\x8d\x01 \x01(\x01HY\x88\x01\x01\x12%\n\x17search_impression_share\x18\x8e\x01 \x01(\x01HZ\x88\x01\x01\x12<\n.search_rank_lost_absolute_top_impression_share\x18\x8f\x01 \x01(\x01H[\x88\x01\x01\x12/\n!search_rank_lost_impression_share\x18\x90\x01 \x01(\x01H\\\x88\x01\x01\x12\x33\n%search_rank_lost_top_impression_share\x18\x91\x01 \x01(\x01H]\x88\x01\x01\x12)\n\x1bsearch_top_impression_share\x18\x92\x01 \x01(\x01H^\x88\x01\x01\x12\x19\n\x0bspeed_score\x18\x93\x01 \x01(\x03H_\x88\x01\x01\x12\'\n\x19top_impression_percentage\x18\x94\x01 \x01(\x01H`\x88\x01\x01\x12>\n0valid_accelerated_mobile_pages_clicks_percentage\x18\x95\x01 \x01(\x01Ha\x88\x01\x01\x12\'\n\x19value_per_all_conversions\x18\x96\x01 \x01(\x01Hb\x88\x01\x01\x12\"\n\x14value_per_conversion\x18\x97\x01 \x01(\x01Hc\x88\x01\x01\x12;\n-value_per_current_model_attributed_conversion\x18\x98\x01 \x01(\x01Hd\x88\x01\x01\x12&\n\x18video_quartile_p100_rate\x18\x84\x01 \x01(\x01He\x88\x01\x01\x12%\n\x17video_quartile_p25_rate\x18\x85\x01 \x01(\x01Hf\x88\x01\x01\x12%\n\x17video_quartile_p50_rate\x18\x86\x01 \x01(\x01Hg\x88\x01\x01\x12%\n\x17video_quartile_p75_rate\x18\x87\x01 \x01(\x01Hh\x88\x01\x01\x12\x1d\n\x0fvideo_view_rate\x18\x99\x01 \x01(\x01Hi\x88\x01\x01\x12\x19\n\x0bvideo_views\x18\x9a\x01 \x01(\x03Hj\x88\x01\x01\x12&\n\x18view_through_conversions\x18\x9b\x01 \x01(\x03Hk\x88\x01\x01\x42%\n#_absolute_top_impression_percentageB\x12\n\x10_active_view_cpmB\x12\n\x10_active_view_ctrB\x1a\n\x18_active_view_impressionsB\x1c\n\x1a_active_view_measurabilityB%\n#_active_view_measurable_cost_microsB%\n#_active_view_measurable_impressionsB\x1a\n\x18_active_view_viewabilityB)\n\'_all_conversions_from_interactions_rateB\x18\n\x16_all_conversions_valueB\x12\n\x10_all_conversionsB!\n\x1f_all_conversions_value_per_costB%\n#_all_conversions_from_click_to_callB\"\n _all_conversions_from_directionsB:\n8_all_conversions_from_interactions_value_per_interactionB\x1c\n\x1a_all_conversions_from_menuB\x1d\n\x1b_all_conversions_from_orderB(\n&_all_conversions_from_other_engagementB#\n!_all_conversions_from_store_visitB%\n#_all_conversions_from_store_websiteB\x0f\n\r_average_costB\x0e\n\x0c_average_cpcB\x0e\n\x0c_average_cpeB\x0e\n\x0c_average_cpmB\x0e\n\x0c_average_cpvB\x15\n\x13_average_page_viewsB\x17\n\x15_average_time_on_siteB\x1c\n\x1a_benchmark_average_max_cpcB\x10\n\x0e_benchmark_ctrB\x0e\n\x0c_bounce_rateB\t\n\x07_clicksB\x12\n\x10_combined_clicksB\x1c\n\x1a_combined_clicks_per_queryB\x13\n\x11_combined_queriesB\'\n%_content_budget_lost_impression_shareB\x1b\n\x19_content_impression_shareB-\n+_conversion_last_received_request_date_timeB\"\n _conversion_last_conversion_dateB%\n#_content_rank_lost_impression_shareB%\n#_conversions_from_interactions_rateB\x14\n\x12_conversions_valueB\x1d\n\x1b_conversions_value_per_costB6\n4_conversions_from_interactions_value_per_interactionB\x0e\n\x0c_conversionsB\x0e\n\x0c_cost_microsB\x1b\n\x19_cost_per_all_conversionsB\x16\n\x14_cost_per_conversionB/\n-_cost_per_current_model_attributed_conversionB\x1b\n\x19_cross_device_conversionsB\x06\n\x04_ctrB\'\n%_current_model_attributed_conversionsB>\n<_current_model_attributed_conversions_from_interactions_rateBO\nM_current_model_attributed_conversions_from_interactions_value_per_interactionB-\n+_current_model_attributed_conversions_valueB6\n4_current_model_attributed_conversions_value_per_costB\x12\n\x10_engagement_rateB\x0e\n\x0c_engagementsB\"\n _hotel_average_lead_value_microsB$\n\"_hotel_price_difference_percentageB\x1d\n\x1b_hotel_eligible_impressionsB\x1b\n\x19_historical_quality_scoreB\x11\n\x0f_gmail_forwardsB\x0e\n\x0c_gmail_savesB\x19\n\x17_gmail_secondary_clicksB\x1f\n\x1d_impressions_from_store_reachB\x0e\n\x0c_impressionsB\x13\n\x11_interaction_rateB\x0f\n\r_interactionsB\x15\n\x13_invalid_click_rateB\x11\n\x0f_invalid_clicksB\x10\n\x0e_message_chatsB\x16\n\x14_message_impressionsB\x14\n\x12_message_chat_rateB$\n\"_mobile_friendly_clicks_percentageB\x11\n\x0f_organic_clicksB\x1b\n\x19_organic_clicks_per_queryB\x16\n\x14_organic_impressionsB \n\x1e_organic_impressions_per_queryB\x12\n\x10_organic_queriesB\x17\n\x15_percent_new_visitorsB\x0e\n\x0c_phone_callsB\x14\n\x12_phone_impressionsB\x15\n\x13_phone_through_rateB\x0f\n\r_relative_ctrB\'\n%_search_absolute_top_impression_shareB3\n1_search_budget_lost_absolute_top_impression_shareB&\n$_search_budget_lost_impression_shareB*\n(_search_budget_lost_top_impression_shareB\x15\n\x13_search_click_shareB&\n$_search_exact_match_impression_shareB\x1a\n\x18_search_impression_shareB1\n/_search_rank_lost_absolute_top_impression_shareB$\n\"_search_rank_lost_impression_shareB(\n&_search_rank_lost_top_impression_shareB\x1e\n\x1c_search_top_impression_shareB\x0e\n\x0c_speed_scoreB\x1c\n\x1a_top_impression_percentageB3\n1_valid_accelerated_mobile_pages_clicks_percentageB\x1c\n\x1a_value_per_all_conversionsB\x17\n\x15_value_per_conversionB0\n._value_per_current_model_attributed_conversionB\x1b\n\x19_video_quartile_p100_rateB\x1a\n\x18_video_quartile_p25_rateB\x1a\n\x18_video_quartile_p50_rateB\x1a\n\x18_video_quartile_p75_rateB\x12\n\x10_video_view_rateB\x0e\n\x0c_video_viewsB\x1b\n\x19_view_through_conversionsB\xe7\x01\n\"com.google.ads.googleads.v6.commonB\x0cMetricsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_interaction__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_quality__score__bucket__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_METRICS = _descriptor.Descriptor( + name='Metrics', + full_name='google.ads.googleads.v6.common.Metrics', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='absolute_top_impression_percentage', full_name='google.ads.googleads.v6.common.Metrics.absolute_top_impression_percentage', index=0, + number=183, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_view_cpm', full_name='google.ads.googleads.v6.common.Metrics.active_view_cpm', index=1, + number=184, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_view_ctr', full_name='google.ads.googleads.v6.common.Metrics.active_view_ctr', index=2, + number=185, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_view_impressions', full_name='google.ads.googleads.v6.common.Metrics.active_view_impressions', index=3, + number=186, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_view_measurability', full_name='google.ads.googleads.v6.common.Metrics.active_view_measurability', index=4, + number=187, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_view_measurable_cost_micros', full_name='google.ads.googleads.v6.common.Metrics.active_view_measurable_cost_micros', index=5, + number=188, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_view_measurable_impressions', full_name='google.ads.googleads.v6.common.Metrics.active_view_measurable_impressions', index=6, + number=189, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='active_view_viewability', full_name='google.ads.googleads.v6.common.Metrics.active_view_viewability', index=7, + number=190, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_from_interactions_rate', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_from_interactions_rate', index=8, + number=191, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_value', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_value', index=9, + number=192, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions', full_name='google.ads.googleads.v6.common.Metrics.all_conversions', index=10, + number=193, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_value_per_cost', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_value_per_cost', index=11, + number=194, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_from_click_to_call', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_from_click_to_call', index=12, + number=195, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_from_directions', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_from_directions', index=13, + number=196, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_from_interactions_value_per_interaction', index=14, + number=197, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_from_menu', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_from_menu', index=15, + number=198, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_from_order', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_from_order', index=16, + number=199, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_from_other_engagement', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_from_other_engagement', index=17, + number=200, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_from_store_visit', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_from_store_visit', index=18, + number=201, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='all_conversions_from_store_website', full_name='google.ads.googleads.v6.common.Metrics.all_conversions_from_store_website', index=19, + number=202, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='average_cost', full_name='google.ads.googleads.v6.common.Metrics.average_cost', index=20, + number=203, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='average_cpc', full_name='google.ads.googleads.v6.common.Metrics.average_cpc', index=21, + number=204, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='average_cpe', full_name='google.ads.googleads.v6.common.Metrics.average_cpe', index=22, + number=205, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='average_cpm', full_name='google.ads.googleads.v6.common.Metrics.average_cpm', index=23, + number=206, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='average_cpv', full_name='google.ads.googleads.v6.common.Metrics.average_cpv', index=24, + number=207, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='average_page_views', full_name='google.ads.googleads.v6.common.Metrics.average_page_views', index=25, + number=208, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='average_time_on_site', full_name='google.ads.googleads.v6.common.Metrics.average_time_on_site', index=26, + number=209, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='benchmark_average_max_cpc', full_name='google.ads.googleads.v6.common.Metrics.benchmark_average_max_cpc', index=27, + number=210, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='benchmark_ctr', full_name='google.ads.googleads.v6.common.Metrics.benchmark_ctr', index=28, + number=211, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bounce_rate', full_name='google.ads.googleads.v6.common.Metrics.bounce_rate', index=29, + number=212, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='clicks', full_name='google.ads.googleads.v6.common.Metrics.clicks', index=30, + number=131, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='combined_clicks', full_name='google.ads.googleads.v6.common.Metrics.combined_clicks', index=31, + number=156, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='combined_clicks_per_query', full_name='google.ads.googleads.v6.common.Metrics.combined_clicks_per_query', index=32, + number=157, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='combined_queries', full_name='google.ads.googleads.v6.common.Metrics.combined_queries', index=33, + number=158, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='content_budget_lost_impression_share', full_name='google.ads.googleads.v6.common.Metrics.content_budget_lost_impression_share', index=34, + number=159, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='content_impression_share', full_name='google.ads.googleads.v6.common.Metrics.content_impression_share', index=35, + number=160, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_last_received_request_date_time', full_name='google.ads.googleads.v6.common.Metrics.conversion_last_received_request_date_time', index=36, + number=161, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_last_conversion_date', full_name='google.ads.googleads.v6.common.Metrics.conversion_last_conversion_date', index=37, + number=162, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='content_rank_lost_impression_share', full_name='google.ads.googleads.v6.common.Metrics.content_rank_lost_impression_share', index=38, + number=163, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversions_from_interactions_rate', full_name='google.ads.googleads.v6.common.Metrics.conversions_from_interactions_rate', index=39, + number=164, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversions_value', full_name='google.ads.googleads.v6.common.Metrics.conversions_value', index=40, + number=165, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversions_value_per_cost', full_name='google.ads.googleads.v6.common.Metrics.conversions_value_per_cost', index=41, + number=166, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v6.common.Metrics.conversions_from_interactions_value_per_interaction', index=42, + number=167, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversions', full_name='google.ads.googleads.v6.common.Metrics.conversions', index=43, + number=168, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_micros', full_name='google.ads.googleads.v6.common.Metrics.cost_micros', index=44, + number=169, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_per_all_conversions', full_name='google.ads.googleads.v6.common.Metrics.cost_per_all_conversions', index=45, + number=170, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_per_conversion', full_name='google.ads.googleads.v6.common.Metrics.cost_per_conversion', index=46, + number=171, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_per_current_model_attributed_conversion', full_name='google.ads.googleads.v6.common.Metrics.cost_per_current_model_attributed_conversion', index=47, + number=172, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cross_device_conversions', full_name='google.ads.googleads.v6.common.Metrics.cross_device_conversions', index=48, + number=173, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ctr', full_name='google.ads.googleads.v6.common.Metrics.ctr', index=49, + number=174, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='current_model_attributed_conversions', full_name='google.ads.googleads.v6.common.Metrics.current_model_attributed_conversions', index=50, + number=175, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='current_model_attributed_conversions_from_interactions_rate', full_name='google.ads.googleads.v6.common.Metrics.current_model_attributed_conversions_from_interactions_rate', index=51, + number=176, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='current_model_attributed_conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v6.common.Metrics.current_model_attributed_conversions_from_interactions_value_per_interaction', index=52, + number=177, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='current_model_attributed_conversions_value', full_name='google.ads.googleads.v6.common.Metrics.current_model_attributed_conversions_value', index=53, + number=178, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='current_model_attributed_conversions_value_per_cost', full_name='google.ads.googleads.v6.common.Metrics.current_model_attributed_conversions_value_per_cost', index=54, + number=179, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='engagement_rate', full_name='google.ads.googleads.v6.common.Metrics.engagement_rate', index=55, + number=180, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='engagements', full_name='google.ads.googleads.v6.common.Metrics.engagements', index=56, + number=181, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_average_lead_value_micros', full_name='google.ads.googleads.v6.common.Metrics.hotel_average_lead_value_micros', index=57, + number=213, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_price_difference_percentage', full_name='google.ads.googleads.v6.common.Metrics.hotel_price_difference_percentage', index=58, + number=214, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_eligible_impressions', full_name='google.ads.googleads.v6.common.Metrics.hotel_eligible_impressions', index=59, + number=215, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='historical_creative_quality_score', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='historical_landing_page_quality_score', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='historical_quality_score', full_name='google.ads.googleads.v6.common.Metrics.historical_quality_score', index=62, + number=216, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='historical_search_predicted_ctr', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='gmail_forwards', full_name='google.ads.googleads.v6.common.Metrics.gmail_forwards', index=64, + number=217, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='gmail_saves', full_name='google.ads.googleads.v6.common.Metrics.gmail_saves', index=65, + number=218, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='gmail_secondary_clicks', full_name='google.ads.googleads.v6.common.Metrics.gmail_secondary_clicks', index=66, + number=219, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='impressions_from_store_reach', full_name='google.ads.googleads.v6.common.Metrics.impressions_from_store_reach', index=67, + number=220, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='impressions', full_name='google.ads.googleads.v6.common.Metrics.impressions', index=68, + number=221, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='interaction_rate', full_name='google.ads.googleads.v6.common.Metrics.interaction_rate', index=69, + number=222, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='interactions', full_name='google.ads.googleads.v6.common.Metrics.interactions', index=70, + number=223, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='interaction_event_types', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='invalid_click_rate', full_name='google.ads.googleads.v6.common.Metrics.invalid_click_rate', index=72, + number=224, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='invalid_clicks', full_name='google.ads.googleads.v6.common.Metrics.invalid_clicks', index=73, + number=225, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='message_chats', full_name='google.ads.googleads.v6.common.Metrics.message_chats', index=74, + number=226, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='message_impressions', full_name='google.ads.googleads.v6.common.Metrics.message_impressions', index=75, + number=227, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='message_chat_rate', full_name='google.ads.googleads.v6.common.Metrics.message_chat_rate', index=76, + number=228, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mobile_friendly_clicks_percentage', full_name='google.ads.googleads.v6.common.Metrics.mobile_friendly_clicks_percentage', index=77, + number=229, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='organic_clicks', full_name='google.ads.googleads.v6.common.Metrics.organic_clicks', index=78, + number=230, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='organic_clicks_per_query', full_name='google.ads.googleads.v6.common.Metrics.organic_clicks_per_query', index=79, + number=231, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='organic_impressions', full_name='google.ads.googleads.v6.common.Metrics.organic_impressions', index=80, + number=232, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='organic_impressions_per_query', full_name='google.ads.googleads.v6.common.Metrics.organic_impressions_per_query', index=81, + number=233, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='organic_queries', full_name='google.ads.googleads.v6.common.Metrics.organic_queries', index=82, + number=234, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='percent_new_visitors', full_name='google.ads.googleads.v6.common.Metrics.percent_new_visitors', index=83, + number=235, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='phone_calls', full_name='google.ads.googleads.v6.common.Metrics.phone_calls', index=84, + number=236, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='phone_impressions', full_name='google.ads.googleads.v6.common.Metrics.phone_impressions', index=85, + number=237, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='phone_through_rate', full_name='google.ads.googleads.v6.common.Metrics.phone_through_rate', index=86, + number=238, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='relative_ctr', full_name='google.ads.googleads.v6.common.Metrics.relative_ctr', index=87, + number=239, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_absolute_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_absolute_top_impression_share', index=88, + number=136, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_budget_lost_absolute_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_budget_lost_absolute_top_impression_share', index=89, + number=137, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_budget_lost_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_budget_lost_impression_share', index=90, + number=138, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_budget_lost_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_budget_lost_top_impression_share', index=91, + number=139, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_click_share', full_name='google.ads.googleads.v6.common.Metrics.search_click_share', index=92, + number=140, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_exact_match_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_exact_match_impression_share', index=93, + number=141, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_impression_share', index=94, + number=142, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_rank_lost_absolute_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_rank_lost_absolute_top_impression_share', index=95, + number=143, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_rank_lost_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_rank_lost_impression_share', index=96, + number=144, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_rank_lost_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_rank_lost_top_impression_share', index=97, + number=145, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics.search_top_impression_share', index=98, + number=146, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='speed_score', full_name='google.ads.googleads.v6.common.Metrics.speed_score', index=99, + number=147, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='top_impression_percentage', full_name='google.ads.googleads.v6.common.Metrics.top_impression_percentage', index=100, + number=148, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='valid_accelerated_mobile_pages_clicks_percentage', full_name='google.ads.googleads.v6.common.Metrics.valid_accelerated_mobile_pages_clicks_percentage', index=101, + number=149, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value_per_all_conversions', full_name='google.ads.googleads.v6.common.Metrics.value_per_all_conversions', index=102, + number=150, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value_per_conversion', full_name='google.ads.googleads.v6.common.Metrics.value_per_conversion', index=103, + number=151, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value_per_current_model_attributed_conversion', full_name='google.ads.googleads.v6.common.Metrics.value_per_current_model_attributed_conversion', index=104, + number=152, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='video_quartile_p100_rate', full_name='google.ads.googleads.v6.common.Metrics.video_quartile_p100_rate', index=105, + number=132, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='video_quartile_p25_rate', full_name='google.ads.googleads.v6.common.Metrics.video_quartile_p25_rate', index=106, + number=133, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='video_quartile_p50_rate', full_name='google.ads.googleads.v6.common.Metrics.video_quartile_p50_rate', index=107, + number=134, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='video_quartile_p75_rate', full_name='google.ads.googleads.v6.common.Metrics.video_quartile_p75_rate', index=108, + number=135, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='video_view_rate', full_name='google.ads.googleads.v6.common.Metrics.video_view_rate', index=109, + number=153, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='video_views', full_name='google.ads.googleads.v6.common.Metrics.video_views', index=110, + number=154, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='view_through_conversions', full_name='google.ads.googleads.v6.common.Metrics.view_through_conversions', index=111, + number=155, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_absolute_top_impression_percentage', full_name='google.ads.googleads.v6.common.Metrics._absolute_top_impression_percentage', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_active_view_cpm', full_name='google.ads.googleads.v6.common.Metrics._active_view_cpm', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_active_view_ctr', full_name='google.ads.googleads.v6.common.Metrics._active_view_ctr', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_active_view_impressions', full_name='google.ads.googleads.v6.common.Metrics._active_view_impressions', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_active_view_measurability', full_name='google.ads.googleads.v6.common.Metrics._active_view_measurability', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_active_view_measurable_cost_micros', full_name='google.ads.googleads.v6.common.Metrics._active_view_measurable_cost_micros', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_active_view_measurable_impressions', full_name='google.ads.googleads.v6.common.Metrics._active_view_measurable_impressions', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_active_view_viewability', full_name='google.ads.googleads.v6.common.Metrics._active_view_viewability', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_from_interactions_rate', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_from_interactions_rate', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_value', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_value', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions', full_name='google.ads.googleads.v6.common.Metrics._all_conversions', + index=10, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_value_per_cost', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_value_per_cost', + index=11, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_from_click_to_call', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_from_click_to_call', + index=12, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_from_directions', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_from_directions', + index=13, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_from_interactions_value_per_interaction', + index=14, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_from_menu', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_from_menu', + index=15, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_from_order', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_from_order', + index=16, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_from_other_engagement', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_from_other_engagement', + index=17, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_from_store_visit', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_from_store_visit', + index=18, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_all_conversions_from_store_website', full_name='google.ads.googleads.v6.common.Metrics._all_conversions_from_store_website', + index=19, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_average_cost', full_name='google.ads.googleads.v6.common.Metrics._average_cost', + index=20, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_average_cpc', full_name='google.ads.googleads.v6.common.Metrics._average_cpc', + index=21, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_average_cpe', full_name='google.ads.googleads.v6.common.Metrics._average_cpe', + index=22, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_average_cpm', full_name='google.ads.googleads.v6.common.Metrics._average_cpm', + index=23, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_average_cpv', full_name='google.ads.googleads.v6.common.Metrics._average_cpv', + index=24, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_average_page_views', full_name='google.ads.googleads.v6.common.Metrics._average_page_views', + index=25, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_average_time_on_site', full_name='google.ads.googleads.v6.common.Metrics._average_time_on_site', + index=26, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_benchmark_average_max_cpc', full_name='google.ads.googleads.v6.common.Metrics._benchmark_average_max_cpc', + index=27, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_benchmark_ctr', full_name='google.ads.googleads.v6.common.Metrics._benchmark_ctr', + index=28, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_bounce_rate', full_name='google.ads.googleads.v6.common.Metrics._bounce_rate', + index=29, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_clicks', full_name='google.ads.googleads.v6.common.Metrics._clicks', + index=30, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_combined_clicks', full_name='google.ads.googleads.v6.common.Metrics._combined_clicks', + index=31, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_combined_clicks_per_query', full_name='google.ads.googleads.v6.common.Metrics._combined_clicks_per_query', + index=32, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_combined_queries', full_name='google.ads.googleads.v6.common.Metrics._combined_queries', + index=33, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_content_budget_lost_impression_share', full_name='google.ads.googleads.v6.common.Metrics._content_budget_lost_impression_share', + index=34, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_content_impression_share', full_name='google.ads.googleads.v6.common.Metrics._content_impression_share', + index=35, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversion_last_received_request_date_time', full_name='google.ads.googleads.v6.common.Metrics._conversion_last_received_request_date_time', + index=36, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversion_last_conversion_date', full_name='google.ads.googleads.v6.common.Metrics._conversion_last_conversion_date', + index=37, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_content_rank_lost_impression_share', full_name='google.ads.googleads.v6.common.Metrics._content_rank_lost_impression_share', + index=38, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversions_from_interactions_rate', full_name='google.ads.googleads.v6.common.Metrics._conversions_from_interactions_rate', + index=39, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversions_value', full_name='google.ads.googleads.v6.common.Metrics._conversions_value', + index=40, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversions_value_per_cost', full_name='google.ads.googleads.v6.common.Metrics._conversions_value_per_cost', + index=41, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v6.common.Metrics._conversions_from_interactions_value_per_interaction', + index=42, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversions', full_name='google.ads.googleads.v6.common.Metrics._conversions', + index=43, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_micros', full_name='google.ads.googleads.v6.common.Metrics._cost_micros', + index=44, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_per_all_conversions', full_name='google.ads.googleads.v6.common.Metrics._cost_per_all_conversions', + index=45, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_per_conversion', full_name='google.ads.googleads.v6.common.Metrics._cost_per_conversion', + index=46, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_per_current_model_attributed_conversion', full_name='google.ads.googleads.v6.common.Metrics._cost_per_current_model_attributed_conversion', + index=47, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cross_device_conversions', full_name='google.ads.googleads.v6.common.Metrics._cross_device_conversions', + index=48, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ctr', full_name='google.ads.googleads.v6.common.Metrics._ctr', + index=49, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_current_model_attributed_conversions', full_name='google.ads.googleads.v6.common.Metrics._current_model_attributed_conversions', + index=50, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_current_model_attributed_conversions_from_interactions_rate', full_name='google.ads.googleads.v6.common.Metrics._current_model_attributed_conversions_from_interactions_rate', + index=51, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_current_model_attributed_conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v6.common.Metrics._current_model_attributed_conversions_from_interactions_value_per_interaction', + index=52, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_current_model_attributed_conversions_value', full_name='google.ads.googleads.v6.common.Metrics._current_model_attributed_conversions_value', + index=53, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_current_model_attributed_conversions_value_per_cost', full_name='google.ads.googleads.v6.common.Metrics._current_model_attributed_conversions_value_per_cost', + index=54, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_engagement_rate', full_name='google.ads.googleads.v6.common.Metrics._engagement_rate', + index=55, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_engagements', full_name='google.ads.googleads.v6.common.Metrics._engagements', + index=56, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_average_lead_value_micros', full_name='google.ads.googleads.v6.common.Metrics._hotel_average_lead_value_micros', + index=57, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_price_difference_percentage', full_name='google.ads.googleads.v6.common.Metrics._hotel_price_difference_percentage', + index=58, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_eligible_impressions', full_name='google.ads.googleads.v6.common.Metrics._hotel_eligible_impressions', + index=59, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_historical_quality_score', full_name='google.ads.googleads.v6.common.Metrics._historical_quality_score', + index=60, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_gmail_forwards', full_name='google.ads.googleads.v6.common.Metrics._gmail_forwards', + index=61, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_gmail_saves', full_name='google.ads.googleads.v6.common.Metrics._gmail_saves', + index=62, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_gmail_secondary_clicks', full_name='google.ads.googleads.v6.common.Metrics._gmail_secondary_clicks', + index=63, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_impressions_from_store_reach', full_name='google.ads.googleads.v6.common.Metrics._impressions_from_store_reach', + index=64, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_impressions', full_name='google.ads.googleads.v6.common.Metrics._impressions', + index=65, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_interaction_rate', full_name='google.ads.googleads.v6.common.Metrics._interaction_rate', + index=66, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_interactions', full_name='google.ads.googleads.v6.common.Metrics._interactions', + index=67, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_invalid_click_rate', full_name='google.ads.googleads.v6.common.Metrics._invalid_click_rate', + index=68, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_invalid_clicks', full_name='google.ads.googleads.v6.common.Metrics._invalid_clicks', + index=69, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_message_chats', full_name='google.ads.googleads.v6.common.Metrics._message_chats', + index=70, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_message_impressions', full_name='google.ads.googleads.v6.common.Metrics._message_impressions', + index=71, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_message_chat_rate', full_name='google.ads.googleads.v6.common.Metrics._message_chat_rate', + index=72, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_mobile_friendly_clicks_percentage', full_name='google.ads.googleads.v6.common.Metrics._mobile_friendly_clicks_percentage', + index=73, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_organic_clicks', full_name='google.ads.googleads.v6.common.Metrics._organic_clicks', + index=74, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_organic_clicks_per_query', full_name='google.ads.googleads.v6.common.Metrics._organic_clicks_per_query', + index=75, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_organic_impressions', full_name='google.ads.googleads.v6.common.Metrics._organic_impressions', + index=76, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_organic_impressions_per_query', full_name='google.ads.googleads.v6.common.Metrics._organic_impressions_per_query', + index=77, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_organic_queries', full_name='google.ads.googleads.v6.common.Metrics._organic_queries', + index=78, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_percent_new_visitors', full_name='google.ads.googleads.v6.common.Metrics._percent_new_visitors', + index=79, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_phone_calls', full_name='google.ads.googleads.v6.common.Metrics._phone_calls', + index=80, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_phone_impressions', full_name='google.ads.googleads.v6.common.Metrics._phone_impressions', + index=81, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_phone_through_rate', full_name='google.ads.googleads.v6.common.Metrics._phone_through_rate', + index=82, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_relative_ctr', full_name='google.ads.googleads.v6.common.Metrics._relative_ctr', + index=83, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_absolute_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_absolute_top_impression_share', + index=84, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_budget_lost_absolute_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_budget_lost_absolute_top_impression_share', + index=85, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_budget_lost_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_budget_lost_impression_share', + index=86, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_budget_lost_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_budget_lost_top_impression_share', + index=87, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_click_share', full_name='google.ads.googleads.v6.common.Metrics._search_click_share', + index=88, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_exact_match_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_exact_match_impression_share', + index=89, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_impression_share', + index=90, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_rank_lost_absolute_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_rank_lost_absolute_top_impression_share', + index=91, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_rank_lost_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_rank_lost_impression_share', + index=92, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_rank_lost_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_rank_lost_top_impression_share', + index=93, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_search_top_impression_share', full_name='google.ads.googleads.v6.common.Metrics._search_top_impression_share', + index=94, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_speed_score', full_name='google.ads.googleads.v6.common.Metrics._speed_score', + index=95, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_top_impression_percentage', full_name='google.ads.googleads.v6.common.Metrics._top_impression_percentage', + index=96, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_valid_accelerated_mobile_pages_clicks_percentage', full_name='google.ads.googleads.v6.common.Metrics._valid_accelerated_mobile_pages_clicks_percentage', + index=97, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_value_per_all_conversions', full_name='google.ads.googleads.v6.common.Metrics._value_per_all_conversions', + index=98, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_value_per_conversion', full_name='google.ads.googleads.v6.common.Metrics._value_per_conversion', + index=99, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_value_per_current_model_attributed_conversion', full_name='google.ads.googleads.v6.common.Metrics._value_per_current_model_attributed_conversion', + index=100, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_video_quartile_p100_rate', full_name='google.ads.googleads.v6.common.Metrics._video_quartile_p100_rate', + index=101, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_video_quartile_p25_rate', full_name='google.ads.googleads.v6.common.Metrics._video_quartile_p25_rate', + index=102, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_video_quartile_p50_rate', full_name='google.ads.googleads.v6.common.Metrics._video_quartile_p50_rate', + index=103, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_video_quartile_p75_rate', full_name='google.ads.googleads.v6.common.Metrics._video_quartile_p75_rate', + index=104, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_video_view_rate', full_name='google.ads.googleads.v6.common.Metrics._video_view_rate', + index=105, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_video_views', full_name='google.ads.googleads.v6.common.Metrics._video_views', + index=106, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_view_through_conversions', full_name='google.ads.googleads.v6.common.Metrics._view_through_conversions', + index=107, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=247, + serialized_end=8432, +) + +_METRICS.fields_by_name['historical_creative_quality_score'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET +_METRICS.fields_by_name['interaction_event_types'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_interaction__event__type__pb2._INTERACTIONEVENTTYPEENUM_INTERACTIONEVENTTYPE +_METRICS.oneofs_by_name['_absolute_top_impression_percentage'].fields.append( + _METRICS.fields_by_name['absolute_top_impression_percentage']) +_METRICS.fields_by_name['absolute_top_impression_percentage'].containing_oneof = _METRICS.oneofs_by_name['_absolute_top_impression_percentage'] +_METRICS.oneofs_by_name['_active_view_cpm'].fields.append( + _METRICS.fields_by_name['active_view_cpm']) +_METRICS.fields_by_name['active_view_cpm'].containing_oneof = _METRICS.oneofs_by_name['_active_view_cpm'] +_METRICS.oneofs_by_name['_active_view_ctr'].fields.append( + _METRICS.fields_by_name['active_view_ctr']) +_METRICS.fields_by_name['active_view_ctr'].containing_oneof = _METRICS.oneofs_by_name['_active_view_ctr'] +_METRICS.oneofs_by_name['_active_view_impressions'].fields.append( + _METRICS.fields_by_name['active_view_impressions']) +_METRICS.fields_by_name['active_view_impressions'].containing_oneof = _METRICS.oneofs_by_name['_active_view_impressions'] +_METRICS.oneofs_by_name['_active_view_measurability'].fields.append( + _METRICS.fields_by_name['active_view_measurability']) +_METRICS.fields_by_name['active_view_measurability'].containing_oneof = _METRICS.oneofs_by_name['_active_view_measurability'] +_METRICS.oneofs_by_name['_active_view_measurable_cost_micros'].fields.append( + _METRICS.fields_by_name['active_view_measurable_cost_micros']) +_METRICS.fields_by_name['active_view_measurable_cost_micros'].containing_oneof = _METRICS.oneofs_by_name['_active_view_measurable_cost_micros'] +_METRICS.oneofs_by_name['_active_view_measurable_impressions'].fields.append( + _METRICS.fields_by_name['active_view_measurable_impressions']) +_METRICS.fields_by_name['active_view_measurable_impressions'].containing_oneof = _METRICS.oneofs_by_name['_active_view_measurable_impressions'] +_METRICS.oneofs_by_name['_active_view_viewability'].fields.append( + _METRICS.fields_by_name['active_view_viewability']) +_METRICS.fields_by_name['active_view_viewability'].containing_oneof = _METRICS.oneofs_by_name['_active_view_viewability'] +_METRICS.oneofs_by_name['_all_conversions_from_interactions_rate'].fields.append( + _METRICS.fields_by_name['all_conversions_from_interactions_rate']) +_METRICS.fields_by_name['all_conversions_from_interactions_rate'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_from_interactions_rate'] +_METRICS.oneofs_by_name['_all_conversions_value'].fields.append( + _METRICS.fields_by_name['all_conversions_value']) +_METRICS.fields_by_name['all_conversions_value'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_value'] +_METRICS.oneofs_by_name['_all_conversions'].fields.append( + _METRICS.fields_by_name['all_conversions']) +_METRICS.fields_by_name['all_conversions'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions'] +_METRICS.oneofs_by_name['_all_conversions_value_per_cost'].fields.append( + _METRICS.fields_by_name['all_conversions_value_per_cost']) +_METRICS.fields_by_name['all_conversions_value_per_cost'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_value_per_cost'] +_METRICS.oneofs_by_name['_all_conversions_from_click_to_call'].fields.append( + _METRICS.fields_by_name['all_conversions_from_click_to_call']) +_METRICS.fields_by_name['all_conversions_from_click_to_call'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_from_click_to_call'] +_METRICS.oneofs_by_name['_all_conversions_from_directions'].fields.append( + _METRICS.fields_by_name['all_conversions_from_directions']) +_METRICS.fields_by_name['all_conversions_from_directions'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_from_directions'] +_METRICS.oneofs_by_name['_all_conversions_from_interactions_value_per_interaction'].fields.append( + _METRICS.fields_by_name['all_conversions_from_interactions_value_per_interaction']) +_METRICS.fields_by_name['all_conversions_from_interactions_value_per_interaction'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_from_interactions_value_per_interaction'] +_METRICS.oneofs_by_name['_all_conversions_from_menu'].fields.append( + _METRICS.fields_by_name['all_conversions_from_menu']) +_METRICS.fields_by_name['all_conversions_from_menu'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_from_menu'] +_METRICS.oneofs_by_name['_all_conversions_from_order'].fields.append( + _METRICS.fields_by_name['all_conversions_from_order']) +_METRICS.fields_by_name['all_conversions_from_order'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_from_order'] +_METRICS.oneofs_by_name['_all_conversions_from_other_engagement'].fields.append( + _METRICS.fields_by_name['all_conversions_from_other_engagement']) +_METRICS.fields_by_name['all_conversions_from_other_engagement'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_from_other_engagement'] +_METRICS.oneofs_by_name['_all_conversions_from_store_visit'].fields.append( + _METRICS.fields_by_name['all_conversions_from_store_visit']) +_METRICS.fields_by_name['all_conversions_from_store_visit'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_from_store_visit'] +_METRICS.oneofs_by_name['_all_conversions_from_store_website'].fields.append( + _METRICS.fields_by_name['all_conversions_from_store_website']) +_METRICS.fields_by_name['all_conversions_from_store_website'].containing_oneof = _METRICS.oneofs_by_name['_all_conversions_from_store_website'] +_METRICS.oneofs_by_name['_average_cost'].fields.append( + _METRICS.fields_by_name['average_cost']) +_METRICS.fields_by_name['average_cost'].containing_oneof = _METRICS.oneofs_by_name['_average_cost'] +_METRICS.oneofs_by_name['_average_cpc'].fields.append( + _METRICS.fields_by_name['average_cpc']) +_METRICS.fields_by_name['average_cpc'].containing_oneof = _METRICS.oneofs_by_name['_average_cpc'] +_METRICS.oneofs_by_name['_average_cpe'].fields.append( + _METRICS.fields_by_name['average_cpe']) +_METRICS.fields_by_name['average_cpe'].containing_oneof = _METRICS.oneofs_by_name['_average_cpe'] +_METRICS.oneofs_by_name['_average_cpm'].fields.append( + _METRICS.fields_by_name['average_cpm']) +_METRICS.fields_by_name['average_cpm'].containing_oneof = _METRICS.oneofs_by_name['_average_cpm'] +_METRICS.oneofs_by_name['_average_cpv'].fields.append( + _METRICS.fields_by_name['average_cpv']) +_METRICS.fields_by_name['average_cpv'].containing_oneof = _METRICS.oneofs_by_name['_average_cpv'] +_METRICS.oneofs_by_name['_average_page_views'].fields.append( + _METRICS.fields_by_name['average_page_views']) +_METRICS.fields_by_name['average_page_views'].containing_oneof = _METRICS.oneofs_by_name['_average_page_views'] +_METRICS.oneofs_by_name['_average_time_on_site'].fields.append( + _METRICS.fields_by_name['average_time_on_site']) +_METRICS.fields_by_name['average_time_on_site'].containing_oneof = _METRICS.oneofs_by_name['_average_time_on_site'] +_METRICS.oneofs_by_name['_benchmark_average_max_cpc'].fields.append( + _METRICS.fields_by_name['benchmark_average_max_cpc']) +_METRICS.fields_by_name['benchmark_average_max_cpc'].containing_oneof = _METRICS.oneofs_by_name['_benchmark_average_max_cpc'] +_METRICS.oneofs_by_name['_benchmark_ctr'].fields.append( + _METRICS.fields_by_name['benchmark_ctr']) +_METRICS.fields_by_name['benchmark_ctr'].containing_oneof = _METRICS.oneofs_by_name['_benchmark_ctr'] +_METRICS.oneofs_by_name['_bounce_rate'].fields.append( + _METRICS.fields_by_name['bounce_rate']) +_METRICS.fields_by_name['bounce_rate'].containing_oneof = _METRICS.oneofs_by_name['_bounce_rate'] +_METRICS.oneofs_by_name['_clicks'].fields.append( + _METRICS.fields_by_name['clicks']) +_METRICS.fields_by_name['clicks'].containing_oneof = _METRICS.oneofs_by_name['_clicks'] +_METRICS.oneofs_by_name['_combined_clicks'].fields.append( + _METRICS.fields_by_name['combined_clicks']) +_METRICS.fields_by_name['combined_clicks'].containing_oneof = _METRICS.oneofs_by_name['_combined_clicks'] +_METRICS.oneofs_by_name['_combined_clicks_per_query'].fields.append( + _METRICS.fields_by_name['combined_clicks_per_query']) +_METRICS.fields_by_name['combined_clicks_per_query'].containing_oneof = _METRICS.oneofs_by_name['_combined_clicks_per_query'] +_METRICS.oneofs_by_name['_combined_queries'].fields.append( + _METRICS.fields_by_name['combined_queries']) +_METRICS.fields_by_name['combined_queries'].containing_oneof = _METRICS.oneofs_by_name['_combined_queries'] +_METRICS.oneofs_by_name['_content_budget_lost_impression_share'].fields.append( + _METRICS.fields_by_name['content_budget_lost_impression_share']) +_METRICS.fields_by_name['content_budget_lost_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_content_budget_lost_impression_share'] +_METRICS.oneofs_by_name['_content_impression_share'].fields.append( + _METRICS.fields_by_name['content_impression_share']) +_METRICS.fields_by_name['content_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_content_impression_share'] +_METRICS.oneofs_by_name['_conversion_last_received_request_date_time'].fields.append( + _METRICS.fields_by_name['conversion_last_received_request_date_time']) +_METRICS.fields_by_name['conversion_last_received_request_date_time'].containing_oneof = _METRICS.oneofs_by_name['_conversion_last_received_request_date_time'] +_METRICS.oneofs_by_name['_conversion_last_conversion_date'].fields.append( + _METRICS.fields_by_name['conversion_last_conversion_date']) +_METRICS.fields_by_name['conversion_last_conversion_date'].containing_oneof = _METRICS.oneofs_by_name['_conversion_last_conversion_date'] +_METRICS.oneofs_by_name['_content_rank_lost_impression_share'].fields.append( + _METRICS.fields_by_name['content_rank_lost_impression_share']) +_METRICS.fields_by_name['content_rank_lost_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_content_rank_lost_impression_share'] +_METRICS.oneofs_by_name['_conversions_from_interactions_rate'].fields.append( + _METRICS.fields_by_name['conversions_from_interactions_rate']) +_METRICS.fields_by_name['conversions_from_interactions_rate'].containing_oneof = _METRICS.oneofs_by_name['_conversions_from_interactions_rate'] +_METRICS.oneofs_by_name['_conversions_value'].fields.append( + _METRICS.fields_by_name['conversions_value']) +_METRICS.fields_by_name['conversions_value'].containing_oneof = _METRICS.oneofs_by_name['_conversions_value'] +_METRICS.oneofs_by_name['_conversions_value_per_cost'].fields.append( + _METRICS.fields_by_name['conversions_value_per_cost']) +_METRICS.fields_by_name['conversions_value_per_cost'].containing_oneof = _METRICS.oneofs_by_name['_conversions_value_per_cost'] +_METRICS.oneofs_by_name['_conversions_from_interactions_value_per_interaction'].fields.append( + _METRICS.fields_by_name['conversions_from_interactions_value_per_interaction']) +_METRICS.fields_by_name['conversions_from_interactions_value_per_interaction'].containing_oneof = _METRICS.oneofs_by_name['_conversions_from_interactions_value_per_interaction'] +_METRICS.oneofs_by_name['_conversions'].fields.append( + _METRICS.fields_by_name['conversions']) +_METRICS.fields_by_name['conversions'].containing_oneof = _METRICS.oneofs_by_name['_conversions'] +_METRICS.oneofs_by_name['_cost_micros'].fields.append( + _METRICS.fields_by_name['cost_micros']) +_METRICS.fields_by_name['cost_micros'].containing_oneof = _METRICS.oneofs_by_name['_cost_micros'] +_METRICS.oneofs_by_name['_cost_per_all_conversions'].fields.append( + _METRICS.fields_by_name['cost_per_all_conversions']) +_METRICS.fields_by_name['cost_per_all_conversions'].containing_oneof = _METRICS.oneofs_by_name['_cost_per_all_conversions'] +_METRICS.oneofs_by_name['_cost_per_conversion'].fields.append( + _METRICS.fields_by_name['cost_per_conversion']) +_METRICS.fields_by_name['cost_per_conversion'].containing_oneof = _METRICS.oneofs_by_name['_cost_per_conversion'] +_METRICS.oneofs_by_name['_cost_per_current_model_attributed_conversion'].fields.append( + _METRICS.fields_by_name['cost_per_current_model_attributed_conversion']) +_METRICS.fields_by_name['cost_per_current_model_attributed_conversion'].containing_oneof = _METRICS.oneofs_by_name['_cost_per_current_model_attributed_conversion'] +_METRICS.oneofs_by_name['_cross_device_conversions'].fields.append( + _METRICS.fields_by_name['cross_device_conversions']) +_METRICS.fields_by_name['cross_device_conversions'].containing_oneof = _METRICS.oneofs_by_name['_cross_device_conversions'] +_METRICS.oneofs_by_name['_ctr'].fields.append( + _METRICS.fields_by_name['ctr']) +_METRICS.fields_by_name['ctr'].containing_oneof = _METRICS.oneofs_by_name['_ctr'] +_METRICS.oneofs_by_name['_current_model_attributed_conversions'].fields.append( + _METRICS.fields_by_name['current_model_attributed_conversions']) +_METRICS.fields_by_name['current_model_attributed_conversions'].containing_oneof = _METRICS.oneofs_by_name['_current_model_attributed_conversions'] +_METRICS.oneofs_by_name['_current_model_attributed_conversions_from_interactions_rate'].fields.append( + _METRICS.fields_by_name['current_model_attributed_conversions_from_interactions_rate']) +_METRICS.fields_by_name['current_model_attributed_conversions_from_interactions_rate'].containing_oneof = _METRICS.oneofs_by_name['_current_model_attributed_conversions_from_interactions_rate'] +_METRICS.oneofs_by_name['_current_model_attributed_conversions_from_interactions_value_per_interaction'].fields.append( + _METRICS.fields_by_name['current_model_attributed_conversions_from_interactions_value_per_interaction']) +_METRICS.fields_by_name['current_model_attributed_conversions_from_interactions_value_per_interaction'].containing_oneof = _METRICS.oneofs_by_name['_current_model_attributed_conversions_from_interactions_value_per_interaction'] +_METRICS.oneofs_by_name['_current_model_attributed_conversions_value'].fields.append( + _METRICS.fields_by_name['current_model_attributed_conversions_value']) +_METRICS.fields_by_name['current_model_attributed_conversions_value'].containing_oneof = _METRICS.oneofs_by_name['_current_model_attributed_conversions_value'] +_METRICS.oneofs_by_name['_current_model_attributed_conversions_value_per_cost'].fields.append( + _METRICS.fields_by_name['current_model_attributed_conversions_value_per_cost']) +_METRICS.fields_by_name['current_model_attributed_conversions_value_per_cost'].containing_oneof = _METRICS.oneofs_by_name['_current_model_attributed_conversions_value_per_cost'] +_METRICS.oneofs_by_name['_engagement_rate'].fields.append( + _METRICS.fields_by_name['engagement_rate']) +_METRICS.fields_by_name['engagement_rate'].containing_oneof = _METRICS.oneofs_by_name['_engagement_rate'] +_METRICS.oneofs_by_name['_engagements'].fields.append( + _METRICS.fields_by_name['engagements']) +_METRICS.fields_by_name['engagements'].containing_oneof = _METRICS.oneofs_by_name['_engagements'] +_METRICS.oneofs_by_name['_hotel_average_lead_value_micros'].fields.append( + _METRICS.fields_by_name['hotel_average_lead_value_micros']) +_METRICS.fields_by_name['hotel_average_lead_value_micros'].containing_oneof = _METRICS.oneofs_by_name['_hotel_average_lead_value_micros'] +_METRICS.oneofs_by_name['_hotel_price_difference_percentage'].fields.append( + _METRICS.fields_by_name['hotel_price_difference_percentage']) +_METRICS.fields_by_name['hotel_price_difference_percentage'].containing_oneof = _METRICS.oneofs_by_name['_hotel_price_difference_percentage'] +_METRICS.oneofs_by_name['_hotel_eligible_impressions'].fields.append( + _METRICS.fields_by_name['hotel_eligible_impressions']) +_METRICS.fields_by_name['hotel_eligible_impressions'].containing_oneof = _METRICS.oneofs_by_name['_hotel_eligible_impressions'] +_METRICS.oneofs_by_name['_historical_quality_score'].fields.append( + _METRICS.fields_by_name['historical_quality_score']) +_METRICS.fields_by_name['historical_quality_score'].containing_oneof = _METRICS.oneofs_by_name['_historical_quality_score'] +_METRICS.oneofs_by_name['_gmail_forwards'].fields.append( + _METRICS.fields_by_name['gmail_forwards']) +_METRICS.fields_by_name['gmail_forwards'].containing_oneof = _METRICS.oneofs_by_name['_gmail_forwards'] +_METRICS.oneofs_by_name['_gmail_saves'].fields.append( + _METRICS.fields_by_name['gmail_saves']) +_METRICS.fields_by_name['gmail_saves'].containing_oneof = _METRICS.oneofs_by_name['_gmail_saves'] +_METRICS.oneofs_by_name['_gmail_secondary_clicks'].fields.append( + _METRICS.fields_by_name['gmail_secondary_clicks']) +_METRICS.fields_by_name['gmail_secondary_clicks'].containing_oneof = _METRICS.oneofs_by_name['_gmail_secondary_clicks'] +_METRICS.oneofs_by_name['_impressions_from_store_reach'].fields.append( + _METRICS.fields_by_name['impressions_from_store_reach']) +_METRICS.fields_by_name['impressions_from_store_reach'].containing_oneof = _METRICS.oneofs_by_name['_impressions_from_store_reach'] +_METRICS.oneofs_by_name['_impressions'].fields.append( + _METRICS.fields_by_name['impressions']) +_METRICS.fields_by_name['impressions'].containing_oneof = _METRICS.oneofs_by_name['_impressions'] +_METRICS.oneofs_by_name['_interaction_rate'].fields.append( + _METRICS.fields_by_name['interaction_rate']) +_METRICS.fields_by_name['interaction_rate'].containing_oneof = _METRICS.oneofs_by_name['_interaction_rate'] +_METRICS.oneofs_by_name['_interactions'].fields.append( + _METRICS.fields_by_name['interactions']) +_METRICS.fields_by_name['interactions'].containing_oneof = _METRICS.oneofs_by_name['_interactions'] +_METRICS.oneofs_by_name['_invalid_click_rate'].fields.append( + _METRICS.fields_by_name['invalid_click_rate']) +_METRICS.fields_by_name['invalid_click_rate'].containing_oneof = _METRICS.oneofs_by_name['_invalid_click_rate'] +_METRICS.oneofs_by_name['_invalid_clicks'].fields.append( + _METRICS.fields_by_name['invalid_clicks']) +_METRICS.fields_by_name['invalid_clicks'].containing_oneof = _METRICS.oneofs_by_name['_invalid_clicks'] +_METRICS.oneofs_by_name['_message_chats'].fields.append( + _METRICS.fields_by_name['message_chats']) +_METRICS.fields_by_name['message_chats'].containing_oneof = _METRICS.oneofs_by_name['_message_chats'] +_METRICS.oneofs_by_name['_message_impressions'].fields.append( + _METRICS.fields_by_name['message_impressions']) +_METRICS.fields_by_name['message_impressions'].containing_oneof = _METRICS.oneofs_by_name['_message_impressions'] +_METRICS.oneofs_by_name['_message_chat_rate'].fields.append( + _METRICS.fields_by_name['message_chat_rate']) +_METRICS.fields_by_name['message_chat_rate'].containing_oneof = _METRICS.oneofs_by_name['_message_chat_rate'] +_METRICS.oneofs_by_name['_mobile_friendly_clicks_percentage'].fields.append( + _METRICS.fields_by_name['mobile_friendly_clicks_percentage']) +_METRICS.fields_by_name['mobile_friendly_clicks_percentage'].containing_oneof = _METRICS.oneofs_by_name['_mobile_friendly_clicks_percentage'] +_METRICS.oneofs_by_name['_organic_clicks'].fields.append( + _METRICS.fields_by_name['organic_clicks']) +_METRICS.fields_by_name['organic_clicks'].containing_oneof = _METRICS.oneofs_by_name['_organic_clicks'] +_METRICS.oneofs_by_name['_organic_clicks_per_query'].fields.append( + _METRICS.fields_by_name['organic_clicks_per_query']) +_METRICS.fields_by_name['organic_clicks_per_query'].containing_oneof = _METRICS.oneofs_by_name['_organic_clicks_per_query'] +_METRICS.oneofs_by_name['_organic_impressions'].fields.append( + _METRICS.fields_by_name['organic_impressions']) +_METRICS.fields_by_name['organic_impressions'].containing_oneof = _METRICS.oneofs_by_name['_organic_impressions'] +_METRICS.oneofs_by_name['_organic_impressions_per_query'].fields.append( + _METRICS.fields_by_name['organic_impressions_per_query']) +_METRICS.fields_by_name['organic_impressions_per_query'].containing_oneof = _METRICS.oneofs_by_name['_organic_impressions_per_query'] +_METRICS.oneofs_by_name['_organic_queries'].fields.append( + _METRICS.fields_by_name['organic_queries']) +_METRICS.fields_by_name['organic_queries'].containing_oneof = _METRICS.oneofs_by_name['_organic_queries'] +_METRICS.oneofs_by_name['_percent_new_visitors'].fields.append( + _METRICS.fields_by_name['percent_new_visitors']) +_METRICS.fields_by_name['percent_new_visitors'].containing_oneof = _METRICS.oneofs_by_name['_percent_new_visitors'] +_METRICS.oneofs_by_name['_phone_calls'].fields.append( + _METRICS.fields_by_name['phone_calls']) +_METRICS.fields_by_name['phone_calls'].containing_oneof = _METRICS.oneofs_by_name['_phone_calls'] +_METRICS.oneofs_by_name['_phone_impressions'].fields.append( + _METRICS.fields_by_name['phone_impressions']) +_METRICS.fields_by_name['phone_impressions'].containing_oneof = _METRICS.oneofs_by_name['_phone_impressions'] +_METRICS.oneofs_by_name['_phone_through_rate'].fields.append( + _METRICS.fields_by_name['phone_through_rate']) +_METRICS.fields_by_name['phone_through_rate'].containing_oneof = _METRICS.oneofs_by_name['_phone_through_rate'] +_METRICS.oneofs_by_name['_relative_ctr'].fields.append( + _METRICS.fields_by_name['relative_ctr']) +_METRICS.fields_by_name['relative_ctr'].containing_oneof = _METRICS.oneofs_by_name['_relative_ctr'] +_METRICS.oneofs_by_name['_search_absolute_top_impression_share'].fields.append( + _METRICS.fields_by_name['search_absolute_top_impression_share']) +_METRICS.fields_by_name['search_absolute_top_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_absolute_top_impression_share'] +_METRICS.oneofs_by_name['_search_budget_lost_absolute_top_impression_share'].fields.append( + _METRICS.fields_by_name['search_budget_lost_absolute_top_impression_share']) +_METRICS.fields_by_name['search_budget_lost_absolute_top_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_budget_lost_absolute_top_impression_share'] +_METRICS.oneofs_by_name['_search_budget_lost_impression_share'].fields.append( + _METRICS.fields_by_name['search_budget_lost_impression_share']) +_METRICS.fields_by_name['search_budget_lost_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_budget_lost_impression_share'] +_METRICS.oneofs_by_name['_search_budget_lost_top_impression_share'].fields.append( + _METRICS.fields_by_name['search_budget_lost_top_impression_share']) +_METRICS.fields_by_name['search_budget_lost_top_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_budget_lost_top_impression_share'] +_METRICS.oneofs_by_name['_search_click_share'].fields.append( + _METRICS.fields_by_name['search_click_share']) +_METRICS.fields_by_name['search_click_share'].containing_oneof = _METRICS.oneofs_by_name['_search_click_share'] +_METRICS.oneofs_by_name['_search_exact_match_impression_share'].fields.append( + _METRICS.fields_by_name['search_exact_match_impression_share']) +_METRICS.fields_by_name['search_exact_match_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_exact_match_impression_share'] +_METRICS.oneofs_by_name['_search_impression_share'].fields.append( + _METRICS.fields_by_name['search_impression_share']) +_METRICS.fields_by_name['search_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_impression_share'] +_METRICS.oneofs_by_name['_search_rank_lost_absolute_top_impression_share'].fields.append( + _METRICS.fields_by_name['search_rank_lost_absolute_top_impression_share']) +_METRICS.fields_by_name['search_rank_lost_absolute_top_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_rank_lost_absolute_top_impression_share'] +_METRICS.oneofs_by_name['_search_rank_lost_impression_share'].fields.append( + _METRICS.fields_by_name['search_rank_lost_impression_share']) +_METRICS.fields_by_name['search_rank_lost_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_rank_lost_impression_share'] +_METRICS.oneofs_by_name['_search_rank_lost_top_impression_share'].fields.append( + _METRICS.fields_by_name['search_rank_lost_top_impression_share']) +_METRICS.fields_by_name['search_rank_lost_top_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_rank_lost_top_impression_share'] +_METRICS.oneofs_by_name['_search_top_impression_share'].fields.append( + _METRICS.fields_by_name['search_top_impression_share']) +_METRICS.fields_by_name['search_top_impression_share'].containing_oneof = _METRICS.oneofs_by_name['_search_top_impression_share'] +_METRICS.oneofs_by_name['_speed_score'].fields.append( + _METRICS.fields_by_name['speed_score']) +_METRICS.fields_by_name['speed_score'].containing_oneof = _METRICS.oneofs_by_name['_speed_score'] +_METRICS.oneofs_by_name['_top_impression_percentage'].fields.append( + _METRICS.fields_by_name['top_impression_percentage']) +_METRICS.fields_by_name['top_impression_percentage'].containing_oneof = _METRICS.oneofs_by_name['_top_impression_percentage'] +_METRICS.oneofs_by_name['_valid_accelerated_mobile_pages_clicks_percentage'].fields.append( + _METRICS.fields_by_name['valid_accelerated_mobile_pages_clicks_percentage']) +_METRICS.fields_by_name['valid_accelerated_mobile_pages_clicks_percentage'].containing_oneof = _METRICS.oneofs_by_name['_valid_accelerated_mobile_pages_clicks_percentage'] +_METRICS.oneofs_by_name['_value_per_all_conversions'].fields.append( + _METRICS.fields_by_name['value_per_all_conversions']) +_METRICS.fields_by_name['value_per_all_conversions'].containing_oneof = _METRICS.oneofs_by_name['_value_per_all_conversions'] +_METRICS.oneofs_by_name['_value_per_conversion'].fields.append( + _METRICS.fields_by_name['value_per_conversion']) +_METRICS.fields_by_name['value_per_conversion'].containing_oneof = _METRICS.oneofs_by_name['_value_per_conversion'] +_METRICS.oneofs_by_name['_value_per_current_model_attributed_conversion'].fields.append( + _METRICS.fields_by_name['value_per_current_model_attributed_conversion']) +_METRICS.fields_by_name['value_per_current_model_attributed_conversion'].containing_oneof = _METRICS.oneofs_by_name['_value_per_current_model_attributed_conversion'] +_METRICS.oneofs_by_name['_video_quartile_p100_rate'].fields.append( + _METRICS.fields_by_name['video_quartile_p100_rate']) +_METRICS.fields_by_name['video_quartile_p100_rate'].containing_oneof = _METRICS.oneofs_by_name['_video_quartile_p100_rate'] +_METRICS.oneofs_by_name['_video_quartile_p25_rate'].fields.append( + _METRICS.fields_by_name['video_quartile_p25_rate']) +_METRICS.fields_by_name['video_quartile_p25_rate'].containing_oneof = _METRICS.oneofs_by_name['_video_quartile_p25_rate'] +_METRICS.oneofs_by_name['_video_quartile_p50_rate'].fields.append( + _METRICS.fields_by_name['video_quartile_p50_rate']) +_METRICS.fields_by_name['video_quartile_p50_rate'].containing_oneof = _METRICS.oneofs_by_name['_video_quartile_p50_rate'] +_METRICS.oneofs_by_name['_video_quartile_p75_rate'].fields.append( + _METRICS.fields_by_name['video_quartile_p75_rate']) +_METRICS.fields_by_name['video_quartile_p75_rate'].containing_oneof = _METRICS.oneofs_by_name['_video_quartile_p75_rate'] +_METRICS.oneofs_by_name['_video_view_rate'].fields.append( + _METRICS.fields_by_name['video_view_rate']) +_METRICS.fields_by_name['video_view_rate'].containing_oneof = _METRICS.oneofs_by_name['_video_view_rate'] +_METRICS.oneofs_by_name['_video_views'].fields.append( + _METRICS.fields_by_name['video_views']) +_METRICS.fields_by_name['video_views'].containing_oneof = _METRICS.oneofs_by_name['_video_views'] +_METRICS.oneofs_by_name['_view_through_conversions'].fields.append( + _METRICS.fields_by_name['view_through_conversions']) +_METRICS.fields_by_name['view_through_conversions'].containing_oneof = _METRICS.oneofs_by_name['_view_through_conversions'] +DESCRIPTOR.message_types_by_name['Metrics'] = _METRICS +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Metrics = _reflection.GeneratedProtocolMessageType('Metrics', (_message.Message,), { + 'DESCRIPTOR' : _METRICS, + '__module__' : 'google.ads.googleads_v6.proto.common.metrics_pb2' + , + '__doc__': """Metrics data. + + Attributes: + absolute_top_impression_percentage: + The percent of your ad impressions that are shown as the very + first ad above the organic search results. + active_view_cpm: + Average cost of viewable impressions + (``active_view_impressions``). + active_view_ctr: + Active view measurable clicks divided by active view viewable + impressions. This metric is reported only for display network. + active_view_impressions: + A measurement of how often your ad has become viewable on a + Display Network site. + active_view_measurability: + The ratio of impressions that could be measured by Active View + over the number of served impressions. + active_view_measurable_cost_micros: + The cost of the impressions you received that were measurable + by Active View. + active_view_measurable_impressions: + The number of times your ads are appearing on placements in + positions where they can be seen. + active_view_viewability: + The percentage of time when your ad appeared on an Active View + enabled site (measurable impressions) and was viewable + (viewable impressions). + all_conversions_from_interactions_rate: + All conversions from interactions (as oppose to view through + conversions) divided by the number of ad interactions. + all_conversions_value: + The value of all conversions. + all_conversions: + 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 + ads). + all_conversions_from_click_to_call: + The number of times people clicked the "Call" button to call a + store during or after clicking an ad. This number doesn't + include whether or not calls were connected, or the duration + of any calls. This metric applies to feed items only. + all_conversions_from_directions: + The number of times people clicked a "Get directions" button + to navigate to a store after clicking an ad. This metric + applies to feed items only. + all_conversions_from_interactions_value_per_interaction: + The value of all conversions from interactions divided by the + total number of interactions. + all_conversions_from_menu: + The number of times people clicked a link to view a store's + menu after clicking an ad. This metric applies to feed items + only. + all_conversions_from_order: + The number of times people placed an order at a store after + clicking an ad. This metric applies to feed items only. + all_conversions_from_other_engagement: + The number of other conversions (for example, posting a review + or saving a location for a store) that occurred after people + clicked an ad. This metric applies to feed items only. + all_conversions_from_store_visit: + Estimated number of times people visited a store after + clicking an ad. This metric applies to feed items only. + all_conversions_from_store_website: + The number of times that people were taken to a store's URL + after clicking an ad. This metric applies to feed items only. + average_cost: + The average amount you pay per interaction. This amount is the + total cost of your ads divided by the total number of + interactions. + average_cpc: + The total cost of all clicks divided by the total number of + clicks received. + average_cpe: + The average amount that you've been charged for an ad + engagement. This amount is the total cost of all ad + engagements divided by the total number of ad engagements. + average_cpm: + Average cost-per-thousand impressions (CPM). + average_cpv: + 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_page_views: + Average number of pages viewed per session. + average_time_on_site: + Total duration of all sessions (in seconds) / number of + sessions. Imported from Google Analytics. + benchmark_average_max_cpc: + An indication of how other advertisers are bidding on similar + products. + benchmark_ctr: + An indication on how other advertisers' Shopping ads for + similar products are performing based on how often people who + see their ad click on it. + bounce_rate: + Percentage of clicks where the user only visited a single page + on your site. Imported from Google Analytics. + clicks: + The number of clicks. + combined_clicks: + The number of times your ad or your site's listing in the + unpaid results was clicked. See the help page at + https://support.google.com/google-ads/answer/3097241 for + details. + combined_clicks_per_query: + The number of times your ad or your site's listing in the + unpaid results was clicked (combined\_clicks) divided by + combined\_queries. See the help page at + https://support.google.com/google-ads/answer/3097241 for + details. + combined_queries: + The number of searches that returned pages from your site in + the unpaid results or showed one of your text ads. See the + help page at https://support.google.com/google- + ads/answer/3097241 for details. + content_budget_lost_impression_share: + The estimated percent of times that your ad was eligible to + show on the Display Network but didn't because your budget was + too low. Note: Content budget lost impression share is + reported in the range of 0 to 0.9. Any value above 0.9 is + reported as 0.9001. + content_impression_share: + The impressions you've received on the Display Network divided + by the estimated number of impressions you were eligible to + receive. Note: Content impression share is reported in the + range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. + conversion_last_received_request_date_time: + The last date/time a conversion tag for this conversion action + successfully fired and was seen by Google Ads. This firing + event may not have been the result of an attributable + conversion (e.g. because the tag was fired from a browser that + did not previously click an ad from an appropriate + advertiser). The date/time is in the customer's time zone. + conversion_last_conversion_date: + The date of the most recent conversion for this conversion + action. The date is in the customer's time zone. + content_rank_lost_impression_share: + The estimated percentage of impressions on the Display Network + that your ads didn't receive due to poor Ad Rank. Note: + Content rank lost impression share is reported in the range of + 0 to 0.9. Any value above 0.9 is reported as 0.9001. + conversions_from_interactions_rate: + 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. If + you use conversion-based bidding, your bid strategies will + optimize for these conversions. + conversions_value: + The value of 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. + 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. 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. 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. 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. + cost_per_all_conversions: + The cost of ad interactions divided by all conversions. + 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. 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. 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. + Cross-device conversions are already included in + all\_conversions. + ctr: + The number of clicks your ad receives (Clicks) divided by the + number of times your ad is shown (Impressions). + current_model_attributed_conversions: + 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. 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. 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. If + you use conversion-based bidding, your bid strategies will + optimize for these conversions. + current_model_attributed_conversions_value: + 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. 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 + times your ad is shown. + engagements: + The number of engagements. An engagement occurs when a viewer + expands your Lightbox ad. Also, in the future, other ad types + may support engagement metrics. + hotel_average_lead_value_micros: + 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: + The quality of historical landing page experience. + historical_quality_score: + The historical quality score. + historical_search_predicted_ctr: + The historical search predicted click through rate (CTR). + gmail_forwards: + The number of times the ad was forwarded to someone else as a + message. + gmail_saves: + The number of times someone has saved your Gmail ad to their + inbox as a message. + gmail_secondary_clicks: + The number of clicks to the landing page on the expanded state + of Gmail ads. + impressions_from_store_reach: + The number of times a store's location-based ad was shown. + This metric applies to feed items only. + impressions: + Count of how often your ad has appeared on a search results + page or website on the Google Network. + interaction_rate: + How often people interact with your ad after it is shown to + them. This is the number of interactions divided by the number + of times your ad is shown. + interactions: + The number of interactions. An interaction is the main user + action associated with an ad format-clicks for text and + shopping ads, views for video ads, and so on. + interaction_event_types: + The types of payable and free interactions. + invalid_click_rate: + The percentage of clicks filtered out of your total number of + clicks (filtered + non-filtered clicks) during the reporting + period. + 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. + organic_clicks: + The number of times someone clicked your site's listing in the + unpaid results for a particular query. See the help page at + https://support.google.com/google-ads/answer/3097241 for + details. + organic_clicks_per_query: + The number of times someone clicked your site's listing in the + unpaid results (organic\_clicks) divided by the total number + of searches that returned pages from your site + (organic\_queries). See the help page at + https://support.google.com/google-ads/answer/3097241 for + details. + organic_impressions: + The number of listings for your site in the unpaid search + results. See the help page at + https://support.google.com/google-ads/answer/3097241 for + details. + organic_impressions_per_query: + The number of times a page from your site was listed in the + unpaid search results (organic\_impressions) divided by the + number of searches returning your site's listing in the unpaid + results (organic\_queries). See the help page at + https://support.google.com/google-ads/answer/3097241 for + details. + organic_queries: + The total number of searches that returned your site's listing + in the unpaid results. See the help page at + https://support.google.com/google-ads/answer/3097241 for + details. + percent_new_visitors: + Percentage of first-time sessions (from people who had never + visited your site before). Imported from Google Analytics. + phone_calls: + Number of offline phone calls. + phone_impressions: + Number of offline phone impressions. + phone_through_rate: + Number of phone calls received (phone\_calls) divided by the + number of times your phone number is shown + (phone\_impressions). + relative_ctr: + Your clickthrough rate (Ctr) divided by the average + clickthrough rate of all advertisers on the websites that show + your ads. Measures how your ads perform on Display Network + sites compared to other ads on the same sites. + 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 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: + Search budget lost absolute top impression share is reported + in the range of 0 to 0.9. Any value above 0.9 is reported as + 0.9001. + search_budget_lost_impression_share: + The estimated percent of times that your ad was eligible to + show on the Search Network but didn't because your budget was + too low. Note: Search budget lost impression share is reported + in the range of 0 to 0.9. Any value above 0.9 is reported as + 0.9001. + search_budget_lost_top_impression_share: + The number estimating how often your ad didn't show anywhere + above the organic search results due to a low budget. Note: + Search budget lost top impression share is reported in the + range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + search_click_share: + The number of clicks you've received on the Search Network + divided by the estimated number of clicks you were eligible to + receive. Note: Search click share is reported in the range of + 0.1 to 1. Any value below 0.1 is reported as 0.0999. + search_exact_match_impression_share: + The impressions you've received divided by the estimated + number of impressions you were eligible to receive on the + Search Network for search terms that matched your keywords + exactly (or were close variants of your keyword), regardless + of your keyword match types. Note: Search exact match + impression share is reported in the range of 0.1 to 1. Any + value below 0.1 is reported as 0.0999. + search_impression_share: + The impressions you've received on the Search Network divided + by the estimated number of impressions you were eligible to + receive. Note: Search impression share is reported in the + range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. + search_rank_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 poor Ad Rank. Note: + Search rank lost absolute top impression share is reported in + the range of 0 to 0.9. Any value above 0.9 is reported as + 0.9001. + search_rank_lost_impression_share: + The estimated percentage of impressions on the Search Network + that your ads didn't receive due to poor Ad Rank. Note: Search + rank lost impression share is reported in the range of 0 to + 0.9. Any value above 0.9 is reported as 0.9001. + search_rank_lost_top_impression_share: + The number estimating how often your ad didn't show anywhere + above the organic search results due to poor Ad Rank. Note: + Search rank lost top impression share is reported in the range + of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + search_top_impression_share: + The impressions you've received in the top location (anywhere + above the organic search results) compared to the estimated + number of impressions you were eligible to receive in the top + location. Note: Search top impression share is reported in the + range of 0.1 to 1. Any value below 0.1 is reported as 0.0999. + speed_score: + A measure of how quickly your page loads after clicks on your + mobile ads. The score is a range from 1 to 10, 10 being the + fastest. + top_impression_percentage: + The percent of your ad impressions that are shown anywhere + above the organic search results. + valid_accelerated_mobile_pages_clicks_percentage: + The percentage of ad clicks to Accelerated Mobile Pages (AMP) + landing pages that reach a valid AMP page. + value_per_all_conversions: + The value of all conversions divided by the number of all + conversions. + 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. 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. If you use conversion-based bidding, your bid + strategies will optimize for these conversions. + video_quartile_p100_rate: + Percentage of impressions where the viewer watched all of your + video. + video_quartile_p25_rate: + Percentage of impressions where the viewer watched 25% of your + video. + video_quartile_p50_rate: + Percentage of impressions where the viewer watched 50% of your + video. + video_quartile_p75_rate: + Percentage of impressions where the viewer watched 75% of your + video. + video_view_rate: + The number of views your TrueView video ad receives divided by + its number of impressions, including thumbnail impressions for + TrueView in-display ads. + video_views: + The number of times your video ads were viewed. + view_through_conversions: + The total number of view-through conversions. These happen + when a customer sees an image or rich media ad, then later + completes a conversion on your site without interacting with + (e.g., clicking on) another ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Metrics) + }) +_sym_db.RegisterMessage(Metrics) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/metrics_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/metrics_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/metrics_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/offline_user_data_pb2.py b/google/ads/google_ads/v6/proto/common/offline_user_data_pb2.py new file mode 100644 index 000000000..4bb02e628 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/offline_user_data_pb2.py @@ -0,0 +1,975 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/offline_user_data.proto + +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.v6.proto.enums import user_identifier_source_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__identifier__source__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/offline_user_data.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\024OfflineUserDataProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n.google.ads.googleads.v6.enums.AdNetworkTypeEnum.AdNetworkType\x12l\n\"budget_campaign_association_status\x18\x86\x01 \x01(\x0b\x32?.google.ads.googleads.v6.common.BudgetCampaignAssociationStatus\x12J\n\nclick_type\x18\x1a \x01(\x0e\x32\x36.google.ads.googleads.v6.enums.ClickTypeEnum.ClickType\x12\x1e\n\x11\x63onversion_action\x18q \x01(\tH\x00\x88\x01\x01\x12x\n\x1a\x63onversion_action_category\x18\x35 \x01(\x0e\x32T.google.ads.googleads.v6.enums.ConversionActionCategoryEnum.ConversionActionCategory\x12#\n\x16\x63onversion_action_name\x18r \x01(\tH\x01\x88\x01\x01\x12\"\n\x15\x63onversion_adjustment\x18s \x01(\x08H\x02\x88\x01\x01\x12\x8b\x01\n!conversion_attribution_event_type\x18\x02 \x01(\x0e\x32`.google.ads.googleads.v6.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType\x12i\n\x15\x63onversion_lag_bucket\x18\x32 \x01(\x0e\x32J.google.ads.googleads.v6.enums.ConversionLagBucketEnum.ConversionLagBucket\x12\x8f\x01\n#conversion_or_adjustment_lag_bucket\x18\x33 \x01(\x0e\x32\x62.google.ads.googleads.v6.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket\x12\x11\n\x04\x64\x61te\x18O \x01(\tH\x03\x88\x01\x01\x12K\n\x0b\x64\x61y_of_week\x18\x05 \x01(\x0e\x32\x36.google.ads.googleads.v6.enums.DayOfWeekEnum.DayOfWeek\x12@\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x30.google.ads.googleads.v6.enums.DeviceEnum.Device\x12x\n\x1a\x65xternal_conversion_source\x18\x37 \x01(\x0e\x32T.google.ads.googleads.v6.enums.ExternalConversionSourceEnum.ExternalConversionSource\x12\x1f\n\x12geo_target_airport\x18t \x01(\tH\x04\x88\x01\x01\x12\x1e\n\x11geo_target_canton\x18u \x01(\tH\x05\x88\x01\x01\x12\x1c\n\x0fgeo_target_city\x18v \x01(\tH\x06\x88\x01\x01\x12\x1f\n\x12geo_target_country\x18w \x01(\tH\x07\x88\x01\x01\x12\x1e\n\x11geo_target_county\x18x \x01(\tH\x08\x88\x01\x01\x12 \n\x13geo_target_district\x18y \x01(\tH\t\x88\x01\x01\x12\x1d\n\x10geo_target_metro\x18z \x01(\tH\n\x88\x01\x01\x12.\n!geo_target_most_specific_location\x18{ \x01(\tH\x0b\x88\x01\x01\x12#\n\x16geo_target_postal_code\x18| \x01(\tH\x0c\x88\x01\x01\x12 \n\x13geo_target_province\x18} \x01(\tH\r\x88\x01\x01\x12\x1e\n\x11geo_target_region\x18~ \x01(\tH\x0e\x88\x01\x01\x12\x1d\n\x10geo_target_state\x18\x7f \x01(\tH\x0f\x88\x01\x01\x12\'\n\x19hotel_booking_window_days\x18\x87\x01 \x01(\x03H\x10\x88\x01\x01\x12\x1c\n\x0fhotel_center_id\x18P \x01(\x03H\x11\x88\x01\x01\x12 \n\x13hotel_check_in_date\x18Q \x01(\tH\x12\x88\x01\x01\x12Z\n\x1ahotel_check_in_day_of_week\x18\t \x01(\x0e\x32\x36.google.ads.googleads.v6.enums.DayOfWeekEnum.DayOfWeek\x12\x17\n\nhotel_city\x18R \x01(\tH\x13\x88\x01\x01\x12\x18\n\x0bhotel_class\x18S \x01(\x05H\x14\x88\x01\x01\x12\x1a\n\rhotel_country\x18T \x01(\tH\x15\x88\x01\x01\x12s\n\x19hotel_date_selection_type\x18\r \x01(\x0e\x32P.google.ads.googleads.v6.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType\x12!\n\x14hotel_length_of_stay\x18U \x01(\x05H\x16\x88\x01\x01\x12\x1f\n\x12hotel_rate_rule_id\x18V \x01(\tH\x17\x88\x01\x01\x12W\n\x0fhotel_rate_type\x18J \x01(\x0e\x32>.google.ads.googleads.v6.enums.HotelRateTypeEnum.HotelRateType\x12`\n\x12hotel_price_bucket\x18N \x01(\x0e\x32\x44.google.ads.googleads.v6.enums.HotelPriceBucketEnum.HotelPriceBucket\x12\x18\n\x0bhotel_state\x18W \x01(\tH\x18\x88\x01\x01\x12\x11\n\x04hour\x18X \x01(\x05H\x19\x88\x01\x01\x12*\n\x1dinteraction_on_this_extension\x18Y \x01(\x08H\x1a\x88\x01\x01\x12\x38\n\x07keyword\x18= \x01(\x0b\x32\'.google.ads.googleads.v6.common.Keyword\x12\x12\n\x05month\x18Z \x01(\tH\x1b\x88\x01\x01\x12Q\n\rmonth_of_year\x18\x12 \x01(\x0e\x32:.google.ads.googleads.v6.enums.MonthOfYearEnum.MonthOfYear\x12\x1d\n\x10partner_hotel_id\x18[ \x01(\tH\x1c\x88\x01\x01\x12\\\n\x10placeholder_type\x18\x14 \x01(\x0e\x32\x42.google.ads.googleads.v6.enums.PlaceholderTypeEnum.PlaceholderType\x12#\n\x15product_aggregator_id\x18\x84\x01 \x01(\x03H\x1d\x88\x01\x01\x12,\n\x1fproduct_bidding_category_level1\x18\\ \x01(\tH\x1e\x88\x01\x01\x12,\n\x1fproduct_bidding_category_level2\x18] \x01(\tH\x1f\x88\x01\x01\x12,\n\x1fproduct_bidding_category_level3\x18^ \x01(\tH \x88\x01\x01\x12,\n\x1fproduct_bidding_category_level4\x18_ \x01(\tH!\x88\x01\x01\x12,\n\x1fproduct_bidding_category_level5\x18` \x01(\tH\"\x88\x01\x01\x12\x1a\n\rproduct_brand\x18\x61 \x01(\tH#\x88\x01\x01\x12Y\n\x0fproduct_channel\x18\x1e \x01(\x0e\x32@.google.ads.googleads.v6.enums.ProductChannelEnum.ProductChannel\x12{\n\x1bproduct_channel_exclusivity\x18\x1f \x01(\x0e\x32V.google.ads.googleads.v6.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity\x12_\n\x11product_condition\x18 \x01(\x0e\x32\x44.google.ads.googleads.v6.enums.ProductConditionEnum.ProductCondition\x12\x1c\n\x0fproduct_country\x18\x62 \x01(\tH$\x88\x01\x01\x12&\n\x19product_custom_attribute0\x18\x63 \x01(\tH%\x88\x01\x01\x12&\n\x19product_custom_attribute1\x18\x64 \x01(\tH&\x88\x01\x01\x12&\n\x19product_custom_attribute2\x18\x65 \x01(\tH\'\x88\x01\x01\x12&\n\x19product_custom_attribute3\x18\x66 \x01(\tH(\x88\x01\x01\x12&\n\x19product_custom_attribute4\x18g \x01(\tH)\x88\x01\x01\x12\x1c\n\x0fproduct_item_id\x18h \x01(\tH*\x88\x01\x01\x12\x1d\n\x10product_language\x18i \x01(\tH+\x88\x01\x01\x12!\n\x13product_merchant_id\x18\x85\x01 \x01(\x03H,\x88\x01\x01\x12\x1d\n\x10product_store_id\x18j \x01(\tH-\x88\x01\x01\x12\x1a\n\rproduct_title\x18k \x01(\tH.\x88\x01\x01\x12\x1c\n\x0fproduct_type_l1\x18l \x01(\tH/\x88\x01\x01\x12\x1c\n\x0fproduct_type_l2\x18m \x01(\tH0\x88\x01\x01\x12\x1c\n\x0fproduct_type_l3\x18n \x01(\tH1\x88\x01\x01\x12\x1c\n\x0fproduct_type_l4\x18o \x01(\tH2\x88\x01\x01\x12\x1c\n\x0fproduct_type_l5\x18p \x01(\tH3\x88\x01\x01\x12\x15\n\x07quarter\x18\x80\x01 \x01(\tH4\x88\x01\x01\x12\x83\x01\n\x1fsearch_engine_results_page_type\x18\x46 \x01(\x0e\x32Z.google.ads.googleads.v6.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType\x12j\n\x16search_term_match_type\x18\x16 \x01(\x0e\x32J.google.ads.googleads.v6.enums.SearchTermMatchTypeEnum.SearchTermMatchType\x12:\n\x04slot\x18\x17 \x01(\x0e\x32,.google.ads.googleads.v6.enums.SlotEnum.Slot\x12\x15\n\x07webpage\x18\x81\x01 \x01(\tH5\x88\x01\x01\x12\x12\n\x04week\x18\x82\x01 \x01(\tH6\x88\x01\x01\x12\x12\n\x04year\x18\x83\x01 \x01(\x05H7\x88\x01\x01\x42\x14\n\x12_conversion_actionB\x19\n\x17_conversion_action_nameB\x18\n\x16_conversion_adjustmentB\x07\n\x05_dateB\x15\n\x13_geo_target_airportB\x14\n\x12_geo_target_cantonB\x12\n\x10_geo_target_cityB\x15\n\x13_geo_target_countryB\x14\n\x12_geo_target_countyB\x16\n\x14_geo_target_districtB\x13\n\x11_geo_target_metroB$\n\"_geo_target_most_specific_locationB\x19\n\x17_geo_target_postal_codeB\x16\n\x14_geo_target_provinceB\x14\n\x12_geo_target_regionB\x13\n\x11_geo_target_stateB\x1c\n\x1a_hotel_booking_window_daysB\x12\n\x10_hotel_center_idB\x16\n\x14_hotel_check_in_dateB\r\n\x0b_hotel_cityB\x0e\n\x0c_hotel_classB\x10\n\x0e_hotel_countryB\x17\n\x15_hotel_length_of_stayB\x15\n\x13_hotel_rate_rule_idB\x0e\n\x0c_hotel_stateB\x07\n\x05_hourB \n\x1e_interaction_on_this_extensionB\x08\n\x06_monthB\x13\n\x11_partner_hotel_idB\x18\n\x16_product_aggregator_idB\"\n _product_bidding_category_level1B\"\n _product_bidding_category_level2B\"\n _product_bidding_category_level3B\"\n _product_bidding_category_level4B\"\n _product_bidding_category_level5B\x10\n\x0e_product_brandB\x12\n\x10_product_countryB\x1c\n\x1a_product_custom_attribute0B\x1c\n\x1a_product_custom_attribute1B\x1c\n\x1a_product_custom_attribute2B\x1c\n\x1a_product_custom_attribute3B\x1c\n\x1a_product_custom_attribute4B\x12\n\x10_product_item_idB\x13\n\x11_product_languageB\x16\n\x14_product_merchant_idB\x13\n\x11_product_store_idB\x10\n\x0e_product_titleB\x12\n\x10_product_type_l1B\x12\n\x10_product_type_l2B\x12\n\x10_product_type_l3B\x12\n\x10_product_type_l4B\x12\n\x10_product_type_l5B\n\n\x08_quarterB\n\n\x08_webpageB\x07\n\x05_weekB\x07\n\x05_year\"|\n\x07Keyword\x12\x1f\n\x12\x61\x64_group_criterion\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x39\n\x04info\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v6.common.KeywordInfoB\x15\n\x13_ad_group_criterion\"\xe1\x01\n\x1f\x42udgetCampaignAssociationStatus\x12=\n\x08\x63\x61mpaign\x18\x01 \x01(\tB&\xfa\x41#\n!googleads.googleapis.com/CampaignH\x00\x88\x01\x01\x12r\n\x06status\x18\x02 \x01(\x0e\x32\x62.google.ads.googleads.v6.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatusB\x0b\n\t_campaignB\xe8\x01\n\"com.google.ads.googleads.v6.commonB\rSegmentsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__destination__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__network__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_budget__campaign__association__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_click__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__attribution__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__lag__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__or__adjustment__lag__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_day__of__week__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_external__conversion__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_hotel__price__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_hotel__rate__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_month__of__year__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__condition__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_search__engine__results__page__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_search__term__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_slot__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_SEGMENTS = _descriptor.Descriptor( + name='Segments', + full_name='google.ads.googleads.v6.common.Segments', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='ad_destination_type', full_name='google.ads.googleads.v6.common.Segments.ad_destination_type', index=0, + number=136, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_network_type', full_name='google.ads.googleads.v6.common.Segments.ad_network_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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='budget_campaign_association_status', full_name='google.ads.googleads.v6.common.Segments.budget_campaign_association_status', index=2, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='click_type', full_name='google.ads.googleads.v6.common.Segments.click_type', index=3, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_action', full_name='google.ads.googleads.v6.common.Segments.conversion_action', index=4, + number=113, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_action_category', full_name='google.ads.googleads.v6.common.Segments.conversion_action_category', index=5, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_action_name', full_name='google.ads.googleads.v6.common.Segments.conversion_action_name', index=6, + number=114, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_adjustment', full_name='google.ads.googleads.v6.common.Segments.conversion_adjustment', index=7, + number=115, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_attribution_event_type', full_name='google.ads.googleads.v6.common.Segments.conversion_attribution_event_type', index=8, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_lag_bucket', full_name='google.ads.googleads.v6.common.Segments.conversion_lag_bucket', index=9, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_or_adjustment_lag_bucket', full_name='google.ads.googleads.v6.common.Segments.conversion_or_adjustment_lag_bucket', index=10, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='date', full_name='google.ads.googleads.v6.common.Segments.date', index=11, + number=79, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='day_of_week', full_name='google.ads.googleads.v6.common.Segments.day_of_week', index=12, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='device', full_name='google.ads.googleads.v6.common.Segments.device', index=13, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='external_conversion_source', full_name='google.ads.googleads.v6.common.Segments.external_conversion_source', index=14, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_airport', full_name='google.ads.googleads.v6.common.Segments.geo_target_airport', index=15, + number=116, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_canton', full_name='google.ads.googleads.v6.common.Segments.geo_target_canton', index=16, + number=117, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_city', full_name='google.ads.googleads.v6.common.Segments.geo_target_city', index=17, + number=118, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_country', full_name='google.ads.googleads.v6.common.Segments.geo_target_country', index=18, + number=119, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_county', full_name='google.ads.googleads.v6.common.Segments.geo_target_county', index=19, + number=120, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_district', full_name='google.ads.googleads.v6.common.Segments.geo_target_district', index=20, + number=121, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_metro', full_name='google.ads.googleads.v6.common.Segments.geo_target_metro', index=21, + number=122, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_most_specific_location', full_name='google.ads.googleads.v6.common.Segments.geo_target_most_specific_location', index=22, + number=123, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_postal_code', full_name='google.ads.googleads.v6.common.Segments.geo_target_postal_code', index=23, + number=124, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_province', full_name='google.ads.googleads.v6.common.Segments.geo_target_province', index=24, + number=125, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_region', full_name='google.ads.googleads.v6.common.Segments.geo_target_region', index=25, + number=126, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_state', full_name='google.ads.googleads.v6.common.Segments.geo_target_state', index=26, + number=127, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_booking_window_days', full_name='google.ads.googleads.v6.common.Segments.hotel_booking_window_days', index=27, + number=135, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_center_id', full_name='google.ads.googleads.v6.common.Segments.hotel_center_id', index=28, + number=80, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_check_in_date', full_name='google.ads.googleads.v6.common.Segments.hotel_check_in_date', index=29, + number=81, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_check_in_day_of_week', full_name='google.ads.googleads.v6.common.Segments.hotel_check_in_day_of_week', index=30, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_city', full_name='google.ads.googleads.v6.common.Segments.hotel_city', index=31, + number=82, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_class', full_name='google.ads.googleads.v6.common.Segments.hotel_class', index=32, + number=83, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_country', full_name='google.ads.googleads.v6.common.Segments.hotel_country', index=33, + number=84, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_date_selection_type', full_name='google.ads.googleads.v6.common.Segments.hotel_date_selection_type', index=34, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_length_of_stay', full_name='google.ads.googleads.v6.common.Segments.hotel_length_of_stay', index=35, + number=85, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_rate_rule_id', full_name='google.ads.googleads.v6.common.Segments.hotel_rate_rule_id', index=36, + number=86, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_rate_type', full_name='google.ads.googleads.v6.common.Segments.hotel_rate_type', index=37, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_price_bucket', full_name='google.ads.googleads.v6.common.Segments.hotel_price_bucket', index=38, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_state', full_name='google.ads.googleads.v6.common.Segments.hotel_state', index=39, + number=87, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hour', full_name='google.ads.googleads.v6.common.Segments.hour', index=40, + number=88, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='interaction_on_this_extension', full_name='google.ads.googleads.v6.common.Segments.interaction_on_this_extension', index=41, + number=89, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='keyword', full_name='google.ads.googleads.v6.common.Segments.keyword', index=42, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='month', full_name='google.ads.googleads.v6.common.Segments.month', index=43, + number=90, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='month_of_year', full_name='google.ads.googleads.v6.common.Segments.month_of_year', index=44, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='partner_hotel_id', full_name='google.ads.googleads.v6.common.Segments.partner_hotel_id', index=45, + number=91, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='placeholder_type', full_name='google.ads.googleads.v6.common.Segments.placeholder_type', index=46, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_aggregator_id', full_name='google.ads.googleads.v6.common.Segments.product_aggregator_id', index=47, + number=132, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_bidding_category_level1', full_name='google.ads.googleads.v6.common.Segments.product_bidding_category_level1', index=48, + number=92, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_bidding_category_level2', full_name='google.ads.googleads.v6.common.Segments.product_bidding_category_level2', index=49, + number=93, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_bidding_category_level3', full_name='google.ads.googleads.v6.common.Segments.product_bidding_category_level3', index=50, + number=94, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_bidding_category_level4', full_name='google.ads.googleads.v6.common.Segments.product_bidding_category_level4', index=51, + number=95, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_bidding_category_level5', full_name='google.ads.googleads.v6.common.Segments.product_bidding_category_level5', index=52, + number=96, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_brand', full_name='google.ads.googleads.v6.common.Segments.product_brand', index=53, + number=97, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_channel', full_name='google.ads.googleads.v6.common.Segments.product_channel', index=54, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_channel_exclusivity', full_name='google.ads.googleads.v6.common.Segments.product_channel_exclusivity', index=55, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_condition', full_name='google.ads.googleads.v6.common.Segments.product_condition', index=56, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_country', full_name='google.ads.googleads.v6.common.Segments.product_country', index=57, + number=98, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_custom_attribute0', full_name='google.ads.googleads.v6.common.Segments.product_custom_attribute0', index=58, + number=99, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_custom_attribute1', full_name='google.ads.googleads.v6.common.Segments.product_custom_attribute1', index=59, + number=100, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_custom_attribute2', full_name='google.ads.googleads.v6.common.Segments.product_custom_attribute2', index=60, + number=101, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_custom_attribute3', full_name='google.ads.googleads.v6.common.Segments.product_custom_attribute3', index=61, + number=102, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_custom_attribute4', full_name='google.ads.googleads.v6.common.Segments.product_custom_attribute4', index=62, + number=103, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_item_id', full_name='google.ads.googleads.v6.common.Segments.product_item_id', index=63, + number=104, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_language', full_name='google.ads.googleads.v6.common.Segments.product_language', index=64, + number=105, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_merchant_id', full_name='google.ads.googleads.v6.common.Segments.product_merchant_id', index=65, + number=133, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_store_id', full_name='google.ads.googleads.v6.common.Segments.product_store_id', index=66, + number=106, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_title', full_name='google.ads.googleads.v6.common.Segments.product_title', index=67, + number=107, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_type_l1', full_name='google.ads.googleads.v6.common.Segments.product_type_l1', index=68, + number=108, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_type_l2', full_name='google.ads.googleads.v6.common.Segments.product_type_l2', index=69, + number=109, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_type_l3', full_name='google.ads.googleads.v6.common.Segments.product_type_l3', index=70, + number=110, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_type_l4', full_name='google.ads.googleads.v6.common.Segments.product_type_l4', index=71, + number=111, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='product_type_l5', full_name='google.ads.googleads.v6.common.Segments.product_type_l5', index=72, + number=112, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='quarter', full_name='google.ads.googleads.v6.common.Segments.quarter', index=73, + number=128, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_engine_results_page_type', full_name='google.ads.googleads.v6.common.Segments.search_engine_results_page_type', index=74, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_term_match_type', full_name='google.ads.googleads.v6.common.Segments.search_term_match_type', index=75, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='slot', full_name='google.ads.googleads.v6.common.Segments.slot', index=76, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='webpage', full_name='google.ads.googleads.v6.common.Segments.webpage', index=77, + number=129, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='week', full_name='google.ads.googleads.v6.common.Segments.week', index=78, + number=130, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='year', full_name='google.ads.googleads.v6.common.Segments.year', index=79, + number=131, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_conversion_action', full_name='google.ads.googleads.v6.common.Segments._conversion_action', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversion_action_name', full_name='google.ads.googleads.v6.common.Segments._conversion_action_name', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_conversion_adjustment', full_name='google.ads.googleads.v6.common.Segments._conversion_adjustment', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_date', full_name='google.ads.googleads.v6.common.Segments._date', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_airport', full_name='google.ads.googleads.v6.common.Segments._geo_target_airport', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_canton', full_name='google.ads.googleads.v6.common.Segments._geo_target_canton', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_city', full_name='google.ads.googleads.v6.common.Segments._geo_target_city', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_country', full_name='google.ads.googleads.v6.common.Segments._geo_target_country', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_county', full_name='google.ads.googleads.v6.common.Segments._geo_target_county', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_district', full_name='google.ads.googleads.v6.common.Segments._geo_target_district', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_metro', full_name='google.ads.googleads.v6.common.Segments._geo_target_metro', + index=10, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_most_specific_location', full_name='google.ads.googleads.v6.common.Segments._geo_target_most_specific_location', + index=11, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_postal_code', full_name='google.ads.googleads.v6.common.Segments._geo_target_postal_code', + index=12, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_province', full_name='google.ads.googleads.v6.common.Segments._geo_target_province', + index=13, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_region', full_name='google.ads.googleads.v6.common.Segments._geo_target_region', + index=14, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_geo_target_state', full_name='google.ads.googleads.v6.common.Segments._geo_target_state', + index=15, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_booking_window_days', full_name='google.ads.googleads.v6.common.Segments._hotel_booking_window_days', + index=16, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_center_id', full_name='google.ads.googleads.v6.common.Segments._hotel_center_id', + index=17, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_check_in_date', full_name='google.ads.googleads.v6.common.Segments._hotel_check_in_date', + index=18, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_city', full_name='google.ads.googleads.v6.common.Segments._hotel_city', + index=19, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_class', full_name='google.ads.googleads.v6.common.Segments._hotel_class', + index=20, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_country', full_name='google.ads.googleads.v6.common.Segments._hotel_country', + index=21, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_length_of_stay', full_name='google.ads.googleads.v6.common.Segments._hotel_length_of_stay', + index=22, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_rate_rule_id', full_name='google.ads.googleads.v6.common.Segments._hotel_rate_rule_id', + index=23, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hotel_state', full_name='google.ads.googleads.v6.common.Segments._hotel_state', + index=24, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_hour', full_name='google.ads.googleads.v6.common.Segments._hour', + index=25, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_interaction_on_this_extension', full_name='google.ads.googleads.v6.common.Segments._interaction_on_this_extension', + index=26, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_month', full_name='google.ads.googleads.v6.common.Segments._month', + index=27, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_partner_hotel_id', full_name='google.ads.googleads.v6.common.Segments._partner_hotel_id', + index=28, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_aggregator_id', full_name='google.ads.googleads.v6.common.Segments._product_aggregator_id', + index=29, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_bidding_category_level1', full_name='google.ads.googleads.v6.common.Segments._product_bidding_category_level1', + index=30, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_bidding_category_level2', full_name='google.ads.googleads.v6.common.Segments._product_bidding_category_level2', + index=31, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_bidding_category_level3', full_name='google.ads.googleads.v6.common.Segments._product_bidding_category_level3', + index=32, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_bidding_category_level4', full_name='google.ads.googleads.v6.common.Segments._product_bidding_category_level4', + index=33, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_bidding_category_level5', full_name='google.ads.googleads.v6.common.Segments._product_bidding_category_level5', + index=34, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_brand', full_name='google.ads.googleads.v6.common.Segments._product_brand', + index=35, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_country', full_name='google.ads.googleads.v6.common.Segments._product_country', + index=36, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_custom_attribute0', full_name='google.ads.googleads.v6.common.Segments._product_custom_attribute0', + index=37, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_custom_attribute1', full_name='google.ads.googleads.v6.common.Segments._product_custom_attribute1', + index=38, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_custom_attribute2', full_name='google.ads.googleads.v6.common.Segments._product_custom_attribute2', + index=39, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_custom_attribute3', full_name='google.ads.googleads.v6.common.Segments._product_custom_attribute3', + index=40, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_custom_attribute4', full_name='google.ads.googleads.v6.common.Segments._product_custom_attribute4', + index=41, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_item_id', full_name='google.ads.googleads.v6.common.Segments._product_item_id', + index=42, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_language', full_name='google.ads.googleads.v6.common.Segments._product_language', + index=43, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_merchant_id', full_name='google.ads.googleads.v6.common.Segments._product_merchant_id', + index=44, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_store_id', full_name='google.ads.googleads.v6.common.Segments._product_store_id', + index=45, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_title', full_name='google.ads.googleads.v6.common.Segments._product_title', + index=46, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_type_l1', full_name='google.ads.googleads.v6.common.Segments._product_type_l1', + index=47, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_type_l2', full_name='google.ads.googleads.v6.common.Segments._product_type_l2', + index=48, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_type_l3', full_name='google.ads.googleads.v6.common.Segments._product_type_l3', + index=49, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_type_l4', full_name='google.ads.googleads.v6.common.Segments._product_type_l4', + index=50, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_product_type_l5', full_name='google.ads.googleads.v6.common.Segments._product_type_l5', + index=51, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_quarter', full_name='google.ads.googleads.v6.common.Segments._quarter', + index=52, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_webpage', full_name='google.ads.googleads.v6.common.Segments._webpage', + index=53, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_week', full_name='google.ads.googleads.v6.common.Segments._week', + index=54, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_year', full_name='google.ads.googleads.v6.common.Segments._year', + index=55, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1605, + serialized_end=7131, +) + + +_KEYWORD = _descriptor.Descriptor( + name='Keyword', + full_name='google.ads.googleads.v6.common.Keyword', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='ad_group_criterion', full_name='google.ads.googleads.v6.common.Keyword.ad_group_criterion', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='info', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_ad_group_criterion', full_name='google.ads.googleads.v6.common.Keyword._ad_group_criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7133, + serialized_end=7257, +) + + +_BUDGETCAMPAIGNASSOCIATIONSTATUS = _descriptor.Descriptor( + name='BudgetCampaignAssociationStatus', + full_name='google.ads.googleads.v6.common.BudgetCampaignAssociationStatus', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v6.common.BudgetCampaignAssociationStatus.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, + is_extension=False, extension_scope=None, + serialized_options=b'\372A#\n!googleads.googleapis.com/Campaign', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.common.BudgetCampaignAssociationStatus.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_campaign', full_name='google.ads.googleads.v6.common.BudgetCampaignAssociationStatus._campaign', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7260, + serialized_end=7485, +) + +_SEGMENTS.fields_by_name['ad_destination_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__destination__type__pb2._ADDESTINATIONTYPEENUM_ADDESTINATIONTYPE +_SEGMENTS.fields_by_name['ad_network_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__network__type__pb2._ADNETWORKTYPEENUM_ADNETWORKTYPE +_SEGMENTS.fields_by_name['budget_campaign_association_status'].message_type = _BUDGETCAMPAIGNASSOCIATIONSTATUS +_SEGMENTS.fields_by_name['click_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_click__type__pb2._CLICKTYPEENUM_CLICKTYPE +_SEGMENTS.fields_by_name['conversion_action_category'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__category__pb2._CONVERSIONACTIONCATEGORYENUM_CONVERSIONACTIONCATEGORY +_SEGMENTS.fields_by_name['conversion_attribution_event_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_dot_proto_dot_enums_dot_conversion__or__adjustment__lag__bucket__pb2._CONVERSIONORADJUSTMENTLAGBUCKETENUM_CONVERSIONORADJUSTMENTLAGBUCKET +_SEGMENTS.fields_by_name['day_of_week'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK +_SEGMENTS.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE +_SEGMENTS.fields_by_name['external_conversion_source'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_external__conversion__source__pb2._EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE +_SEGMENTS.fields_by_name['hotel_check_in_day_of_week'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK +_SEGMENTS.fields_by_name['hotel_date_selection_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2._HOTELDATESELECTIONTYPEENUM_HOTELDATESELECTIONTYPE +_SEGMENTS.fields_by_name['hotel_rate_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_hotel__price__bucket__pb2._HOTELPRICEBUCKETENUM_HOTELPRICEBUCKET +_SEGMENTS.fields_by_name['keyword'].message_type = _KEYWORD +_SEGMENTS.fields_by_name['month_of_year'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_month__of__year__pb2._MONTHOFYEARENUM_MONTHOFYEAR +_SEGMENTS.fields_by_name['placeholder_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_placeholder__type__pb2._PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE +_SEGMENTS.fields_by_name['product_channel'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__pb2._PRODUCTCHANNELENUM_PRODUCTCHANNEL +_SEGMENTS.fields_by_name['product_channel_exclusivity'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2._PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY +_SEGMENTS.fields_by_name['product_condition'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_product__condition__pb2._PRODUCTCONDITIONENUM_PRODUCTCONDITION +_SEGMENTS.fields_by_name['search_engine_results_page_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_search__term__match__type__pb2._SEARCHTERMMATCHTYPEENUM_SEARCHTERMMATCHTYPE +_SEGMENTS.fields_by_name['slot'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_slot__pb2._SLOTENUM_SLOT +_SEGMENTS.oneofs_by_name['_conversion_action'].fields.append( + _SEGMENTS.fields_by_name['conversion_action']) +_SEGMENTS.fields_by_name['conversion_action'].containing_oneof = _SEGMENTS.oneofs_by_name['_conversion_action'] +_SEGMENTS.oneofs_by_name['_conversion_action_name'].fields.append( + _SEGMENTS.fields_by_name['conversion_action_name']) +_SEGMENTS.fields_by_name['conversion_action_name'].containing_oneof = _SEGMENTS.oneofs_by_name['_conversion_action_name'] +_SEGMENTS.oneofs_by_name['_conversion_adjustment'].fields.append( + _SEGMENTS.fields_by_name['conversion_adjustment']) +_SEGMENTS.fields_by_name['conversion_adjustment'].containing_oneof = _SEGMENTS.oneofs_by_name['_conversion_adjustment'] +_SEGMENTS.oneofs_by_name['_date'].fields.append( + _SEGMENTS.fields_by_name['date']) +_SEGMENTS.fields_by_name['date'].containing_oneof = _SEGMENTS.oneofs_by_name['_date'] +_SEGMENTS.oneofs_by_name['_geo_target_airport'].fields.append( + _SEGMENTS.fields_by_name['geo_target_airport']) +_SEGMENTS.fields_by_name['geo_target_airport'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_airport'] +_SEGMENTS.oneofs_by_name['_geo_target_canton'].fields.append( + _SEGMENTS.fields_by_name['geo_target_canton']) +_SEGMENTS.fields_by_name['geo_target_canton'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_canton'] +_SEGMENTS.oneofs_by_name['_geo_target_city'].fields.append( + _SEGMENTS.fields_by_name['geo_target_city']) +_SEGMENTS.fields_by_name['geo_target_city'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_city'] +_SEGMENTS.oneofs_by_name['_geo_target_country'].fields.append( + _SEGMENTS.fields_by_name['geo_target_country']) +_SEGMENTS.fields_by_name['geo_target_country'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_country'] +_SEGMENTS.oneofs_by_name['_geo_target_county'].fields.append( + _SEGMENTS.fields_by_name['geo_target_county']) +_SEGMENTS.fields_by_name['geo_target_county'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_county'] +_SEGMENTS.oneofs_by_name['_geo_target_district'].fields.append( + _SEGMENTS.fields_by_name['geo_target_district']) +_SEGMENTS.fields_by_name['geo_target_district'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_district'] +_SEGMENTS.oneofs_by_name['_geo_target_metro'].fields.append( + _SEGMENTS.fields_by_name['geo_target_metro']) +_SEGMENTS.fields_by_name['geo_target_metro'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_metro'] +_SEGMENTS.oneofs_by_name['_geo_target_most_specific_location'].fields.append( + _SEGMENTS.fields_by_name['geo_target_most_specific_location']) +_SEGMENTS.fields_by_name['geo_target_most_specific_location'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_most_specific_location'] +_SEGMENTS.oneofs_by_name['_geo_target_postal_code'].fields.append( + _SEGMENTS.fields_by_name['geo_target_postal_code']) +_SEGMENTS.fields_by_name['geo_target_postal_code'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_postal_code'] +_SEGMENTS.oneofs_by_name['_geo_target_province'].fields.append( + _SEGMENTS.fields_by_name['geo_target_province']) +_SEGMENTS.fields_by_name['geo_target_province'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_province'] +_SEGMENTS.oneofs_by_name['_geo_target_region'].fields.append( + _SEGMENTS.fields_by_name['geo_target_region']) +_SEGMENTS.fields_by_name['geo_target_region'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_region'] +_SEGMENTS.oneofs_by_name['_geo_target_state'].fields.append( + _SEGMENTS.fields_by_name['geo_target_state']) +_SEGMENTS.fields_by_name['geo_target_state'].containing_oneof = _SEGMENTS.oneofs_by_name['_geo_target_state'] +_SEGMENTS.oneofs_by_name['_hotel_booking_window_days'].fields.append( + _SEGMENTS.fields_by_name['hotel_booking_window_days']) +_SEGMENTS.fields_by_name['hotel_booking_window_days'].containing_oneof = _SEGMENTS.oneofs_by_name['_hotel_booking_window_days'] +_SEGMENTS.oneofs_by_name['_hotel_center_id'].fields.append( + _SEGMENTS.fields_by_name['hotel_center_id']) +_SEGMENTS.fields_by_name['hotel_center_id'].containing_oneof = _SEGMENTS.oneofs_by_name['_hotel_center_id'] +_SEGMENTS.oneofs_by_name['_hotel_check_in_date'].fields.append( + _SEGMENTS.fields_by_name['hotel_check_in_date']) +_SEGMENTS.fields_by_name['hotel_check_in_date'].containing_oneof = _SEGMENTS.oneofs_by_name['_hotel_check_in_date'] +_SEGMENTS.oneofs_by_name['_hotel_city'].fields.append( + _SEGMENTS.fields_by_name['hotel_city']) +_SEGMENTS.fields_by_name['hotel_city'].containing_oneof = _SEGMENTS.oneofs_by_name['_hotel_city'] +_SEGMENTS.oneofs_by_name['_hotel_class'].fields.append( + _SEGMENTS.fields_by_name['hotel_class']) +_SEGMENTS.fields_by_name['hotel_class'].containing_oneof = _SEGMENTS.oneofs_by_name['_hotel_class'] +_SEGMENTS.oneofs_by_name['_hotel_country'].fields.append( + _SEGMENTS.fields_by_name['hotel_country']) +_SEGMENTS.fields_by_name['hotel_country'].containing_oneof = _SEGMENTS.oneofs_by_name['_hotel_country'] +_SEGMENTS.oneofs_by_name['_hotel_length_of_stay'].fields.append( + _SEGMENTS.fields_by_name['hotel_length_of_stay']) +_SEGMENTS.fields_by_name['hotel_length_of_stay'].containing_oneof = _SEGMENTS.oneofs_by_name['_hotel_length_of_stay'] +_SEGMENTS.oneofs_by_name['_hotel_rate_rule_id'].fields.append( + _SEGMENTS.fields_by_name['hotel_rate_rule_id']) +_SEGMENTS.fields_by_name['hotel_rate_rule_id'].containing_oneof = _SEGMENTS.oneofs_by_name['_hotel_rate_rule_id'] +_SEGMENTS.oneofs_by_name['_hotel_state'].fields.append( + _SEGMENTS.fields_by_name['hotel_state']) +_SEGMENTS.fields_by_name['hotel_state'].containing_oneof = _SEGMENTS.oneofs_by_name['_hotel_state'] +_SEGMENTS.oneofs_by_name['_hour'].fields.append( + _SEGMENTS.fields_by_name['hour']) +_SEGMENTS.fields_by_name['hour'].containing_oneof = _SEGMENTS.oneofs_by_name['_hour'] +_SEGMENTS.oneofs_by_name['_interaction_on_this_extension'].fields.append( + _SEGMENTS.fields_by_name['interaction_on_this_extension']) +_SEGMENTS.fields_by_name['interaction_on_this_extension'].containing_oneof = _SEGMENTS.oneofs_by_name['_interaction_on_this_extension'] +_SEGMENTS.oneofs_by_name['_month'].fields.append( + _SEGMENTS.fields_by_name['month']) +_SEGMENTS.fields_by_name['month'].containing_oneof = _SEGMENTS.oneofs_by_name['_month'] +_SEGMENTS.oneofs_by_name['_partner_hotel_id'].fields.append( + _SEGMENTS.fields_by_name['partner_hotel_id']) +_SEGMENTS.fields_by_name['partner_hotel_id'].containing_oneof = _SEGMENTS.oneofs_by_name['_partner_hotel_id'] +_SEGMENTS.oneofs_by_name['_product_aggregator_id'].fields.append( + _SEGMENTS.fields_by_name['product_aggregator_id']) +_SEGMENTS.fields_by_name['product_aggregator_id'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_aggregator_id'] +_SEGMENTS.oneofs_by_name['_product_bidding_category_level1'].fields.append( + _SEGMENTS.fields_by_name['product_bidding_category_level1']) +_SEGMENTS.fields_by_name['product_bidding_category_level1'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_bidding_category_level1'] +_SEGMENTS.oneofs_by_name['_product_bidding_category_level2'].fields.append( + _SEGMENTS.fields_by_name['product_bidding_category_level2']) +_SEGMENTS.fields_by_name['product_bidding_category_level2'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_bidding_category_level2'] +_SEGMENTS.oneofs_by_name['_product_bidding_category_level3'].fields.append( + _SEGMENTS.fields_by_name['product_bidding_category_level3']) +_SEGMENTS.fields_by_name['product_bidding_category_level3'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_bidding_category_level3'] +_SEGMENTS.oneofs_by_name['_product_bidding_category_level4'].fields.append( + _SEGMENTS.fields_by_name['product_bidding_category_level4']) +_SEGMENTS.fields_by_name['product_bidding_category_level4'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_bidding_category_level4'] +_SEGMENTS.oneofs_by_name['_product_bidding_category_level5'].fields.append( + _SEGMENTS.fields_by_name['product_bidding_category_level5']) +_SEGMENTS.fields_by_name['product_bidding_category_level5'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_bidding_category_level5'] +_SEGMENTS.oneofs_by_name['_product_brand'].fields.append( + _SEGMENTS.fields_by_name['product_brand']) +_SEGMENTS.fields_by_name['product_brand'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_brand'] +_SEGMENTS.oneofs_by_name['_product_country'].fields.append( + _SEGMENTS.fields_by_name['product_country']) +_SEGMENTS.fields_by_name['product_country'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_country'] +_SEGMENTS.oneofs_by_name['_product_custom_attribute0'].fields.append( + _SEGMENTS.fields_by_name['product_custom_attribute0']) +_SEGMENTS.fields_by_name['product_custom_attribute0'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_custom_attribute0'] +_SEGMENTS.oneofs_by_name['_product_custom_attribute1'].fields.append( + _SEGMENTS.fields_by_name['product_custom_attribute1']) +_SEGMENTS.fields_by_name['product_custom_attribute1'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_custom_attribute1'] +_SEGMENTS.oneofs_by_name['_product_custom_attribute2'].fields.append( + _SEGMENTS.fields_by_name['product_custom_attribute2']) +_SEGMENTS.fields_by_name['product_custom_attribute2'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_custom_attribute2'] +_SEGMENTS.oneofs_by_name['_product_custom_attribute3'].fields.append( + _SEGMENTS.fields_by_name['product_custom_attribute3']) +_SEGMENTS.fields_by_name['product_custom_attribute3'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_custom_attribute3'] +_SEGMENTS.oneofs_by_name['_product_custom_attribute4'].fields.append( + _SEGMENTS.fields_by_name['product_custom_attribute4']) +_SEGMENTS.fields_by_name['product_custom_attribute4'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_custom_attribute4'] +_SEGMENTS.oneofs_by_name['_product_item_id'].fields.append( + _SEGMENTS.fields_by_name['product_item_id']) +_SEGMENTS.fields_by_name['product_item_id'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_item_id'] +_SEGMENTS.oneofs_by_name['_product_language'].fields.append( + _SEGMENTS.fields_by_name['product_language']) +_SEGMENTS.fields_by_name['product_language'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_language'] +_SEGMENTS.oneofs_by_name['_product_merchant_id'].fields.append( + _SEGMENTS.fields_by_name['product_merchant_id']) +_SEGMENTS.fields_by_name['product_merchant_id'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_merchant_id'] +_SEGMENTS.oneofs_by_name['_product_store_id'].fields.append( + _SEGMENTS.fields_by_name['product_store_id']) +_SEGMENTS.fields_by_name['product_store_id'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_store_id'] +_SEGMENTS.oneofs_by_name['_product_title'].fields.append( + _SEGMENTS.fields_by_name['product_title']) +_SEGMENTS.fields_by_name['product_title'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_title'] +_SEGMENTS.oneofs_by_name['_product_type_l1'].fields.append( + _SEGMENTS.fields_by_name['product_type_l1']) +_SEGMENTS.fields_by_name['product_type_l1'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_type_l1'] +_SEGMENTS.oneofs_by_name['_product_type_l2'].fields.append( + _SEGMENTS.fields_by_name['product_type_l2']) +_SEGMENTS.fields_by_name['product_type_l2'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_type_l2'] +_SEGMENTS.oneofs_by_name['_product_type_l3'].fields.append( + _SEGMENTS.fields_by_name['product_type_l3']) +_SEGMENTS.fields_by_name['product_type_l3'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_type_l3'] +_SEGMENTS.oneofs_by_name['_product_type_l4'].fields.append( + _SEGMENTS.fields_by_name['product_type_l4']) +_SEGMENTS.fields_by_name['product_type_l4'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_type_l4'] +_SEGMENTS.oneofs_by_name['_product_type_l5'].fields.append( + _SEGMENTS.fields_by_name['product_type_l5']) +_SEGMENTS.fields_by_name['product_type_l5'].containing_oneof = _SEGMENTS.oneofs_by_name['_product_type_l5'] +_SEGMENTS.oneofs_by_name['_quarter'].fields.append( + _SEGMENTS.fields_by_name['quarter']) +_SEGMENTS.fields_by_name['quarter'].containing_oneof = _SEGMENTS.oneofs_by_name['_quarter'] +_SEGMENTS.oneofs_by_name['_webpage'].fields.append( + _SEGMENTS.fields_by_name['webpage']) +_SEGMENTS.fields_by_name['webpage'].containing_oneof = _SEGMENTS.oneofs_by_name['_webpage'] +_SEGMENTS.oneofs_by_name['_week'].fields.append( + _SEGMENTS.fields_by_name['week']) +_SEGMENTS.fields_by_name['week'].containing_oneof = _SEGMENTS.oneofs_by_name['_week'] +_SEGMENTS.oneofs_by_name['_year'].fields.append( + _SEGMENTS.fields_by_name['year']) +_SEGMENTS.fields_by_name['year'].containing_oneof = _SEGMENTS.oneofs_by_name['_year'] +_KEYWORD.fields_by_name['info'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_KEYWORD.oneofs_by_name['_ad_group_criterion'].fields.append( + _KEYWORD.fields_by_name['ad_group_criterion']) +_KEYWORD.fields_by_name['ad_group_criterion'].containing_oneof = _KEYWORD.oneofs_by_name['_ad_group_criterion'] +_BUDGETCAMPAIGNASSOCIATIONSTATUS.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_budget__campaign__association__status__pb2._BUDGETCAMPAIGNASSOCIATIONSTATUSENUM_BUDGETCAMPAIGNASSOCIATIONSTATUS +_BUDGETCAMPAIGNASSOCIATIONSTATUS.oneofs_by_name['_campaign'].fields.append( + _BUDGETCAMPAIGNASSOCIATIONSTATUS.fields_by_name['campaign']) +_BUDGETCAMPAIGNASSOCIATIONSTATUS.fields_by_name['campaign'].containing_oneof = _BUDGETCAMPAIGNASSOCIATIONSTATUS.oneofs_by_name['_campaign'] +DESCRIPTOR.message_types_by_name['Segments'] = _SEGMENTS +DESCRIPTOR.message_types_by_name['Keyword'] = _KEYWORD +DESCRIPTOR.message_types_by_name['BudgetCampaignAssociationStatus'] = _BUDGETCAMPAIGNASSOCIATIONSTATUS +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Segments = _reflection.GeneratedProtocolMessageType('Segments', (_message.Message,), { + 'DESCRIPTOR' : _SEGMENTS, + '__module__' : 'google.ads.googleads_v6.proto.common.segments_pb2' + , + '__doc__': """Segment only fields. + + Attributes: + ad_destination_type: + Ad Destination type. + ad_network_type: + Ad network type. + budget_campaign_association_status: + Budget campaign association status. + click_type: + Click type. + conversion_action: + Resource name of the conversion action. + conversion_action_category: + Conversion action category. + conversion_action_name: + Conversion action name. + conversion_adjustment: + This segments your conversion columns by the original + conversion and conversion value vs. the delta if conversions + were adjusted. False row has the data as originally stated; + While true row has the delta between data now and the data as + originally stated. Summing the two together results post- + adjustment data. + conversion_attribution_event_type: + Conversion attribution event type. + conversion_lag_bucket: + An enum value representing the number of days between the + impression and the conversion. + conversion_or_adjustment_lag_bucket: + An enum value representing the number of days between the + impression and the conversion or between the impression and + adjustments to the conversion. + date: + Date to which metrics apply. yyyy-MM-dd format, e.g., + 2018-04-17. + day_of_week: + Day of the week, e.g., MONDAY. + device: + Device to which metrics apply. + external_conversion_source: + External conversion source. + 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. + geo_target_district: + Resource name of the geo target constant that represents a + district. + geo_target_metro: + Resource name of the geo target constant that represents a + metro. + geo_target_most_specific_location: + Resource name of the geo target constant that represents the + most specific location. + geo_target_postal_code: + Resource name of the geo target constant that represents a + postal code. + geo_target_province: + Resource name of the geo target constant that represents a + province. + geo_target_region: + Resource name of the geo target constant that represents a + region. + geo_target_state: + Resource name of the geo target constant that represents a + state. + hotel_booking_window_days: + Hotel booking window in days. + hotel_center_id: + Hotel center ID. + hotel_check_in_date: + Hotel check-in date. Formatted as yyyy-MM-dd. + hotel_check_in_day_of_week: + Hotel check-in day of week. + hotel_city: + Hotel city. + hotel_class: + Hotel class. + hotel_country: + Hotel country. + hotel_date_selection_type: + Hotel date selection type. + hotel_length_of_stay: + Hotel length of stay. + hotel_rate_rule_id: + Hotel rate rule ID. + hotel_rate_type: + Hotel rate type. + hotel_price_bucket: + Hotel price bucket. + hotel_state: + Hotel state. + hour: + Hour of day as a number between 0 and 23, inclusive. + interaction_on_this_extension: + Only used with feed item metrics. Indicates whether the + interaction metrics occurred on the feed item itself or a + different extension or ad unit. + keyword: + Keyword criterion. + month: + Month as represented by the date of the first day of a month. + Formatted as yyyy-MM-dd. + month_of_year: + Month of the year, e.g., January. + partner_hotel_id: + Partner hotel ID. + placeholder_type: + Placeholder type. This is only used with feed item metrics. + product_aggregator_id: + Aggregator ID of the product. + product_bidding_category_level1: + Bidding category (level 1) of the product. + product_bidding_category_level2: + Bidding category (level 2) of the product. + product_bidding_category_level3: + Bidding category (level 3) of the product. + product_bidding_category_level4: + Bidding category (level 4) of the product. + product_bidding_category_level5: + Bidding category (level 5) of the product. + product_brand: + Brand of the product. + product_channel: + Channel of the product. + product_channel_exclusivity: + Channel exclusivity of the product. + product_condition: + Condition of the product. + product_country: + Resource name of the geo target constant for the country of + sale of the product. + product_custom_attribute0: + Custom attribute 0 of the product. + product_custom_attribute1: + Custom attribute 1 of the product. + product_custom_attribute2: + Custom attribute 2 of the product. + product_custom_attribute3: + Custom attribute 3 of the product. + product_custom_attribute4: + Custom attribute 4 of the product. + product_item_id: + Item ID of the product. + product_language: + Resource name of the language constant for the language of the + product. + product_merchant_id: + Merchant ID of the product. + product_store_id: + Store ID of the product. + product_title: + Title of the product. + product_type_l1: + Type (level 1) of the product. + product_type_l2: + Type (level 2) of the product. + product_type_l3: + Type (level 3) of the product. + product_type_l4: + Type (level 4) of the product. + product_type_l5: + Type (level 5) of the product. + quarter: + Quarter as represented by the date of the first day of a + quarter. Uses the calendar year for quarters, e.g., the second + quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. + search_engine_results_page_type: + Type of the search engine results page. + search_term_match_type: + Match type of the keyword that triggered the ad, including + variants. + slot: + Position of the ad. + webpage: + Resource name of the ad group criterion that represents + webpage criterion. + week: + Week as defined as Monday through Sunday, and represented by + the date of Monday. Formatted as yyyy-MM-dd. + year: + Year, formatted as yyyy. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Segments) + }) +_sym_db.RegisterMessage(Segments) + +Keyword = _reflection.GeneratedProtocolMessageType('Keyword', (_message.Message,), { + 'DESCRIPTOR' : _KEYWORD, + '__module__' : 'google.ads.googleads_v6.proto.common.segments_pb2' + , + '__doc__': """A Keyword criterion segment. + + Attributes: + ad_group_criterion: + The AdGroupCriterion resource name. + info: + Keyword info. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Keyword) + }) +_sym_db.RegisterMessage(Keyword) + +BudgetCampaignAssociationStatus = _reflection.GeneratedProtocolMessageType('BudgetCampaignAssociationStatus', (_message.Message,), { + 'DESCRIPTOR' : _BUDGETCAMPAIGNASSOCIATIONSTATUS, + '__module__' : 'google.ads.googleads_v6.proto.common.segments_pb2' + , + '__doc__': """A BudgetCampaignAssociationStatus segment. + + Attributes: + campaign: + The campaign resource name. + status: + Budget campaign association status. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.BudgetCampaignAssociationStatus) + }) +_sym_db.RegisterMessage(BudgetCampaignAssociationStatus) + + +DESCRIPTOR._options = None +_BUDGETCAMPAIGNASSOCIATIONSTATUS.fields_by_name['campaign']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/segments_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/segments_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/segments_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/simulation_pb2.py b/google/ads/google_ads/v6/proto/common/simulation_pb2.py new file mode 100644 index 000000000..6ac7404e5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/simulation_pb2.py @@ -0,0 +1,1355 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/simulation.proto + +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_v6/proto/common/simulation.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\017SimulationProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/common/simulation.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x1cgoogle/api/annotations.proto\"l\n\x1e\x42idModifierSimulationPointList\x12J\n\x06points\x18\x01 \x03(\x0b\x32:.google.ads.googleads.v6.common.BidModifierSimulationPoint\"b\n\x19\x43pcBidSimulationPointList\x12\x45\n\x06points\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v6.common.CpcBidSimulationPoint\"b\n\x19\x43pvBidSimulationPointList\x12\x45\n\x06points\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v6.common.CpvBidSimulationPoint\"h\n\x1cTargetCpaSimulationPointList\x12H\n\x06points\x18\x01 \x03(\x0b\x32\x38.google.ads.googleads.v6.common.TargetCpaSimulationPoint\"j\n\x1dTargetRoasSimulationPointList\x12I\n\x06points\x18\x01 \x03(\x0b\x32\x39.google.ads.googleads.v6.common.TargetRoasSimulationPoint\"p\n PercentCpcBidSimulationPointList\x12L\n\x06points\x18\x01 \x03(\x0b\x32<.google.ads.googleads.v6.common.PercentCpcBidSimulationPoint\"\xd2\x06\n\x1a\x42idModifierSimulationPoint\x12\x19\n\x0c\x62id_modifier\x18\x0f \x01(\x01H\x00\x88\x01\x01\x12!\n\x14\x62iddable_conversions\x18\x10 \x01(\x01H\x01\x88\x01\x01\x12\'\n\x1a\x62iddable_conversions_value\x18\x11 \x01(\x01H\x02\x88\x01\x01\x12\x13\n\x06\x63licks\x18\x12 \x01(\x03H\x03\x88\x01\x01\x12\x18\n\x0b\x63ost_micros\x18\x13 \x01(\x03H\x04\x88\x01\x01\x12\x18\n\x0bimpressions\x18\x14 \x01(\x03H\x05\x88\x01\x01\x12!\n\x14top_slot_impressions\x18\x15 \x01(\x03H\x06\x88\x01\x01\x12(\n\x1bparent_biddable_conversions\x18\x16 \x01(\x01H\x07\x88\x01\x01\x12.\n!parent_biddable_conversions_value\x18\x17 \x01(\x01H\x08\x88\x01\x01\x12\x1a\n\rparent_clicks\x18\x18 \x01(\x03H\t\x88\x01\x01\x12\x1f\n\x12parent_cost_micros\x18\x19 \x01(\x03H\n\x88\x01\x01\x12\x1f\n\x12parent_impressions\x18\x1a \x01(\x03H\x0b\x88\x01\x01\x12(\n\x1bparent_top_slot_impressions\x18\x1b \x01(\x03H\x0c\x88\x01\x01\x12*\n\x1dparent_required_budget_micros\x18\x1c \x01(\x03H\r\x88\x01\x01\x42\x0f\n\r_bid_modifierB\x17\n\x15_biddable_conversionsB\x1d\n\x1b_biddable_conversions_valueB\t\n\x07_clicksB\x0e\n\x0c_cost_microsB\x0e\n\x0c_impressionsB\x17\n\x15_top_slot_impressionsB\x1e\n\x1c_parent_biddable_conversionsB$\n\"_parent_biddable_conversions_valueB\x10\n\x0e_parent_clicksB\x15\n\x13_parent_cost_microsB\x15\n\x13_parent_impressionsB\x1e\n\x1c_parent_top_slot_impressionsB \n\x1e_parent_required_budget_micros\"\xfb\x02\n\x15\x43pcBidSimulationPoint\x12\x1b\n\x0e\x63pc_bid_micros\x18\x08 \x01(\x03H\x00\x88\x01\x01\x12!\n\x14\x62iddable_conversions\x18\t \x01(\x01H\x01\x88\x01\x01\x12\'\n\x1a\x62iddable_conversions_value\x18\n \x01(\x01H\x02\x88\x01\x01\x12\x13\n\x06\x63licks\x18\x0b \x01(\x03H\x03\x88\x01\x01\x12\x18\n\x0b\x63ost_micros\x18\x0c \x01(\x03H\x04\x88\x01\x01\x12\x18\n\x0bimpressions\x18\r \x01(\x03H\x05\x88\x01\x01\x12!\n\x14top_slot_impressions\x18\x0e \x01(\x03H\x06\x88\x01\x01\x42\x11\n\x0f_cpc_bid_microsB\x17\n\x15_biddable_conversionsB\x1d\n\x1b_biddable_conversions_valueB\t\n\x07_clicksB\x0e\n\x0c_cost_microsB\x0e\n\x0c_impressionsB\x17\n\x15_top_slot_impressions\"\xb9\x01\n\x15\x43pvBidSimulationPoint\x12\x1b\n\x0e\x63pv_bid_micros\x18\x05 \x01(\x03H\x00\x88\x01\x01\x12\x18\n\x0b\x63ost_micros\x18\x06 \x01(\x03H\x01\x88\x01\x01\x12\x18\n\x0bimpressions\x18\x07 \x01(\x03H\x02\x88\x01\x01\x12\x12\n\x05views\x18\x08 \x01(\x03H\x03\x88\x01\x01\x42\x11\n\x0f_cpv_bid_microsB\x0e\n\x0c_cost_microsB\x0e\n\x0c_impressionsB\x08\n\x06_views\"\x84\x03\n\x18TargetCpaSimulationPoint\x12\x1e\n\x11target_cpa_micros\x18\x08 \x01(\x03H\x00\x88\x01\x01\x12!\n\x14\x62iddable_conversions\x18\t \x01(\x01H\x01\x88\x01\x01\x12\'\n\x1a\x62iddable_conversions_value\x18\n \x01(\x01H\x02\x88\x01\x01\x12\x13\n\x06\x63licks\x18\x0b \x01(\x03H\x03\x88\x01\x01\x12\x18\n\x0b\x63ost_micros\x18\x0c \x01(\x03H\x04\x88\x01\x01\x12\x18\n\x0bimpressions\x18\r \x01(\x03H\x05\x88\x01\x01\x12!\n\x14top_slot_impressions\x18\x0e \x01(\x03H\x06\x88\x01\x01\x42\x14\n\x12_target_cpa_microsB\x17\n\x15_biddable_conversionsB\x1d\n\x1b_biddable_conversions_valueB\t\n\x07_clicksB\x0e\n\x0c_cost_microsB\x0e\n\x0c_impressionsB\x17\n\x15_top_slot_impressions\"\xf9\x02\n\x19TargetRoasSimulationPoint\x12\x18\n\x0btarget_roas\x18\x08 \x01(\x01H\x00\x88\x01\x01\x12!\n\x14\x62iddable_conversions\x18\t \x01(\x01H\x01\x88\x01\x01\x12\'\n\x1a\x62iddable_conversions_value\x18\n \x01(\x01H\x02\x88\x01\x01\x12\x13\n\x06\x63licks\x18\x0b \x01(\x03H\x03\x88\x01\x01\x12\x18\n\x0b\x63ost_micros\x18\x0c \x01(\x03H\x04\x88\x01\x01\x12\x18\n\x0bimpressions\x18\r \x01(\x03H\x05\x88\x01\x01\x12!\n\x14top_slot_impressions\x18\x0e \x01(\x03H\x06\x88\x01\x01\x42\x0e\n\x0c_target_roasB\x17\n\x15_biddable_conversionsB\x1d\n\x1b_biddable_conversions_valueB\t\n\x07_clicksB\x0e\n\x0c_cost_microsB\x0e\n\x0c_impressionsB\x17\n\x15_top_slot_impressions\"\x92\x03\n\x1cPercentCpcBidSimulationPoint\x12#\n\x16percent_cpc_bid_micros\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12!\n\x14\x62iddable_conversions\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\'\n\x1a\x62iddable_conversions_value\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x13\n\x06\x63licks\x18\x04 \x01(\x03H\x03\x88\x01\x01\x12\x18\n\x0b\x63ost_micros\x18\x05 \x01(\x03H\x04\x88\x01\x01\x12\x18\n\x0bimpressions\x18\x06 \x01(\x03H\x05\x88\x01\x01\x12!\n\x14top_slot_impressions\x18\x07 \x01(\x03H\x06\x88\x01\x01\x42\x19\n\x17_percent_cpc_bid_microsB\x17\n\x15_biddable_conversionsB\x1d\n\x1b_biddable_conversions_valueB\t\n\x07_clicksB\x0e\n\x0c_cost_microsB\x0e\n\x0c_impressionsB\x17\n\x15_top_slot_impressionsB\xea\x01\n\"com.google.ads.googleads.v6.commonB\x0fSimulationProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_BIDMODIFIERSIMULATIONPOINTLIST = _descriptor.Descriptor( + name='BidModifierSimulationPointList', + full_name='google.ads.googleads.v6.common.BidModifierSimulationPointList', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='points', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=119, + serialized_end=227, +) + + +_CPCBIDSIMULATIONPOINTLIST = _descriptor.Descriptor( + name='CpcBidSimulationPointList', + full_name='google.ads.googleads.v6.common.CpcBidSimulationPointList', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='points', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=229, + serialized_end=327, +) + + +_CPVBIDSIMULATIONPOINTLIST = _descriptor.Descriptor( + name='CpvBidSimulationPointList', + full_name='google.ads.googleads.v6.common.CpvBidSimulationPointList', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='points', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=329, + serialized_end=427, +) + + +_TARGETCPASIMULATIONPOINTLIST = _descriptor.Descriptor( + name='TargetCpaSimulationPointList', + full_name='google.ads.googleads.v6.common.TargetCpaSimulationPointList', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='points', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=429, + serialized_end=533, +) + + +_TARGETROASSIMULATIONPOINTLIST = _descriptor.Descriptor( + name='TargetRoasSimulationPointList', + full_name='google.ads.googleads.v6.common.TargetRoasSimulationPointList', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='points', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=535, + serialized_end=641, +) + + +_PERCENTCPCBIDSIMULATIONPOINTLIST = _descriptor.Descriptor( + name='PercentCpcBidSimulationPointList', + full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPointList', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='points', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPointList.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=643, + serialized_end=755, +) + + +_BIDMODIFIERSIMULATIONPOINT = _descriptor.Descriptor( + name='BidModifierSimulationPoint', + full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='bid_modifier', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.bid_modifier', index=0, + number=15, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.biddable_conversions', index=1, + number=16, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions_value', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.biddable_conversions_value', index=2, + number=17, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='clicks', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.clicks', index=3, + number=18, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_micros', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.cost_micros', index=4, + number=19, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='impressions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.impressions', index=5, + number=20, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='top_slot_impressions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.top_slot_impressions', index=6, + number=21, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_biddable_conversions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.parent_biddable_conversions', index=7, + number=22, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_biddable_conversions_value', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.parent_biddable_conversions_value', index=8, + number=23, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_clicks', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.parent_clicks', index=9, + number=24, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_cost_micros', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.parent_cost_micros', index=10, + number=25, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_impressions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.parent_impressions', index=11, + number=26, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_top_slot_impressions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.parent_top_slot_impressions', index=12, + number=27, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parent_required_budget_micros', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint.parent_required_budget_micros', index=13, + number=28, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_bid_modifier', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._bid_modifier', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._biddable_conversions', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions_value', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._biddable_conversions_value', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_clicks', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._clicks', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_micros', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._cost_micros', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_impressions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._impressions', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_top_slot_impressions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._top_slot_impressions', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_parent_biddable_conversions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._parent_biddable_conversions', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_parent_biddable_conversions_value', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._parent_biddable_conversions_value', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_parent_clicks', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._parent_clicks', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_parent_cost_micros', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._parent_cost_micros', + index=10, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_parent_impressions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._parent_impressions', + index=11, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_parent_top_slot_impressions', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._parent_top_slot_impressions', + index=12, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_parent_required_budget_micros', full_name='google.ads.googleads.v6.common.BidModifierSimulationPoint._parent_required_budget_micros', + index=13, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=758, + serialized_end=1608, +) + + +_CPCBIDSIMULATIONPOINT = _descriptor.Descriptor( + name='CpcBidSimulationPoint', + full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='cpc_bid_micros', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint.cpc_bid_micros', index=0, + number=8, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint.biddable_conversions', index=1, + number=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions_value', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint.biddable_conversions_value', index=2, + number=10, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='clicks', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint.clicks', index=3, + number=11, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_micros', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint.cost_micros', index=4, + number=12, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='impressions', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint.impressions', index=5, + number=13, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='top_slot_impressions', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint.top_slot_impressions', index=6, + number=14, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_cpc_bid_micros', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint._cpc_bid_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint._biddable_conversions', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions_value', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint._biddable_conversions_value', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_clicks', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint._clicks', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_micros', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint._cost_micros', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_impressions', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint._impressions', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_top_slot_impressions', full_name='google.ads.googleads.v6.common.CpcBidSimulationPoint._top_slot_impressions', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1611, + serialized_end=1990, +) + + +_CPVBIDSIMULATIONPOINT = _descriptor.Descriptor( + name='CpvBidSimulationPoint', + full_name='google.ads.googleads.v6.common.CpvBidSimulationPoint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='cpv_bid_micros', full_name='google.ads.googleads.v6.common.CpvBidSimulationPoint.cpv_bid_micros', index=0, + number=5, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_micros', full_name='google.ads.googleads.v6.common.CpvBidSimulationPoint.cost_micros', index=1, + number=6, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='impressions', full_name='google.ads.googleads.v6.common.CpvBidSimulationPoint.impressions', index=2, + number=7, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='views', full_name='google.ads.googleads.v6.common.CpvBidSimulationPoint.views', index=3, + number=8, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_cpv_bid_micros', full_name='google.ads.googleads.v6.common.CpvBidSimulationPoint._cpv_bid_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_micros', full_name='google.ads.googleads.v6.common.CpvBidSimulationPoint._cost_micros', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_impressions', full_name='google.ads.googleads.v6.common.CpvBidSimulationPoint._impressions', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_views', full_name='google.ads.googleads.v6.common.CpvBidSimulationPoint._views', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1993, + serialized_end=2178, +) + + +_TARGETCPASIMULATIONPOINT = _descriptor.Descriptor( + name='TargetCpaSimulationPoint', + full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_cpa_micros', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint.target_cpa_micros', index=0, + number=8, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint.biddable_conversions', index=1, + number=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions_value', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint.biddable_conversions_value', index=2, + number=10, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='clicks', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint.clicks', index=3, + number=11, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_micros', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint.cost_micros', index=4, + number=12, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='impressions', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint.impressions', index=5, + number=13, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='top_slot_impressions', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint.top_slot_impressions', index=6, + number=14, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_target_cpa_micros', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint._target_cpa_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint._biddable_conversions', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions_value', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint._biddable_conversions_value', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_clicks', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint._clicks', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_micros', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint._cost_micros', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_impressions', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint._impressions', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_top_slot_impressions', full_name='google.ads.googleads.v6.common.TargetCpaSimulationPoint._top_slot_impressions', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2181, + serialized_end=2569, +) + + +_TARGETROASSIMULATIONPOINT = _descriptor.Descriptor( + name='TargetRoasSimulationPoint', + full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_roas', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint.target_roas', index=0, + number=8, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint.biddable_conversions', index=1, + number=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions_value', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint.biddable_conversions_value', index=2, + number=10, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='clicks', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint.clicks', index=3, + number=11, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_micros', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint.cost_micros', index=4, + number=12, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='impressions', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint.impressions', index=5, + number=13, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='top_slot_impressions', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint.top_slot_impressions', index=6, + number=14, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_target_roas', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint._target_roas', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint._biddable_conversions', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions_value', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint._biddable_conversions_value', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_clicks', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint._clicks', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_micros', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint._cost_micros', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_impressions', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint._impressions', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_top_slot_impressions', full_name='google.ads.googleads.v6.common.TargetRoasSimulationPoint._top_slot_impressions', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2572, + serialized_end=2949, +) + + +_PERCENTCPCBIDSIMULATIONPOINT = _descriptor.Descriptor( + name='PercentCpcBidSimulationPoint', + full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='percent_cpc_bid_micros', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint.percent_cpc_bid_micros', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint.biddable_conversions', index=1, + number=2, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='biddable_conversions_value', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint.biddable_conversions_value', index=2, + number=3, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='clicks', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint.clicks', index=3, + number=4, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cost_micros', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint.cost_micros', index=4, + number=5, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='impressions', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint.impressions', index=5, + number=6, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='top_slot_impressions', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint.top_slot_impressions', index=6, + number=7, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_percent_cpc_bid_micros', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint._percent_cpc_bid_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint._biddable_conversions', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_biddable_conversions_value', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint._biddable_conversions_value', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_clicks', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint._clicks', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cost_micros', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint._cost_micros', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_impressions', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint._impressions', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_top_slot_impressions', full_name='google.ads.googleads.v6.common.PercentCpcBidSimulationPoint._top_slot_impressions', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2952, + serialized_end=3354, +) + +_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 +_PERCENTCPCBIDSIMULATIONPOINTLIST.fields_by_name['points'].message_type = _PERCENTCPCBIDSIMULATIONPOINT +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_bid_modifier'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['bid_modifier']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['bid_modifier'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_bid_modifier'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_biddable_conversions'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['biddable_conversions']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['biddable_conversions'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_biddable_conversions'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['biddable_conversions_value']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['biddable_conversions_value'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_clicks'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['clicks']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['clicks'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_clicks'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_cost_micros'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['cost_micros']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['cost_micros'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_cost_micros'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_impressions'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['impressions']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['impressions'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_impressions'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['top_slot_impressions']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['top_slot_impressions'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_biddable_conversions'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_biddable_conversions']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_biddable_conversions'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_biddable_conversions'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_biddable_conversions_value'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_biddable_conversions_value']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_biddable_conversions_value'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_biddable_conversions_value'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_clicks'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_clicks']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_clicks'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_clicks'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_cost_micros'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_cost_micros']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_cost_micros'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_cost_micros'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_impressions'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_impressions']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_impressions'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_impressions'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_top_slot_impressions'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_top_slot_impressions']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_top_slot_impressions'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_top_slot_impressions'] +_BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_required_budget_micros'].fields.append( + _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_required_budget_micros']) +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_required_budget_micros'].containing_oneof = _BIDMODIFIERSIMULATIONPOINT.oneofs_by_name['_parent_required_budget_micros'] +_CPCBIDSIMULATIONPOINT.oneofs_by_name['_cpc_bid_micros'].fields.append( + _CPCBIDSIMULATIONPOINT.fields_by_name['cpc_bid_micros']) +_CPCBIDSIMULATIONPOINT.fields_by_name['cpc_bid_micros'].containing_oneof = _CPCBIDSIMULATIONPOINT.oneofs_by_name['_cpc_bid_micros'] +_CPCBIDSIMULATIONPOINT.oneofs_by_name['_biddable_conversions'].fields.append( + _CPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions']) +_CPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions'].containing_oneof = _CPCBIDSIMULATIONPOINT.oneofs_by_name['_biddable_conversions'] +_CPCBIDSIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'].fields.append( + _CPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions_value']) +_CPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions_value'].containing_oneof = _CPCBIDSIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'] +_CPCBIDSIMULATIONPOINT.oneofs_by_name['_clicks'].fields.append( + _CPCBIDSIMULATIONPOINT.fields_by_name['clicks']) +_CPCBIDSIMULATIONPOINT.fields_by_name['clicks'].containing_oneof = _CPCBIDSIMULATIONPOINT.oneofs_by_name['_clicks'] +_CPCBIDSIMULATIONPOINT.oneofs_by_name['_cost_micros'].fields.append( + _CPCBIDSIMULATIONPOINT.fields_by_name['cost_micros']) +_CPCBIDSIMULATIONPOINT.fields_by_name['cost_micros'].containing_oneof = _CPCBIDSIMULATIONPOINT.oneofs_by_name['_cost_micros'] +_CPCBIDSIMULATIONPOINT.oneofs_by_name['_impressions'].fields.append( + _CPCBIDSIMULATIONPOINT.fields_by_name['impressions']) +_CPCBIDSIMULATIONPOINT.fields_by_name['impressions'].containing_oneof = _CPCBIDSIMULATIONPOINT.oneofs_by_name['_impressions'] +_CPCBIDSIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'].fields.append( + _CPCBIDSIMULATIONPOINT.fields_by_name['top_slot_impressions']) +_CPCBIDSIMULATIONPOINT.fields_by_name['top_slot_impressions'].containing_oneof = _CPCBIDSIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'] +_CPVBIDSIMULATIONPOINT.oneofs_by_name['_cpv_bid_micros'].fields.append( + _CPVBIDSIMULATIONPOINT.fields_by_name['cpv_bid_micros']) +_CPVBIDSIMULATIONPOINT.fields_by_name['cpv_bid_micros'].containing_oneof = _CPVBIDSIMULATIONPOINT.oneofs_by_name['_cpv_bid_micros'] +_CPVBIDSIMULATIONPOINT.oneofs_by_name['_cost_micros'].fields.append( + _CPVBIDSIMULATIONPOINT.fields_by_name['cost_micros']) +_CPVBIDSIMULATIONPOINT.fields_by_name['cost_micros'].containing_oneof = _CPVBIDSIMULATIONPOINT.oneofs_by_name['_cost_micros'] +_CPVBIDSIMULATIONPOINT.oneofs_by_name['_impressions'].fields.append( + _CPVBIDSIMULATIONPOINT.fields_by_name['impressions']) +_CPVBIDSIMULATIONPOINT.fields_by_name['impressions'].containing_oneof = _CPVBIDSIMULATIONPOINT.oneofs_by_name['_impressions'] +_CPVBIDSIMULATIONPOINT.oneofs_by_name['_views'].fields.append( + _CPVBIDSIMULATIONPOINT.fields_by_name['views']) +_CPVBIDSIMULATIONPOINT.fields_by_name['views'].containing_oneof = _CPVBIDSIMULATIONPOINT.oneofs_by_name['_views'] +_TARGETCPASIMULATIONPOINT.oneofs_by_name['_target_cpa_micros'].fields.append( + _TARGETCPASIMULATIONPOINT.fields_by_name['target_cpa_micros']) +_TARGETCPASIMULATIONPOINT.fields_by_name['target_cpa_micros'].containing_oneof = _TARGETCPASIMULATIONPOINT.oneofs_by_name['_target_cpa_micros'] +_TARGETCPASIMULATIONPOINT.oneofs_by_name['_biddable_conversions'].fields.append( + _TARGETCPASIMULATIONPOINT.fields_by_name['biddable_conversions']) +_TARGETCPASIMULATIONPOINT.fields_by_name['biddable_conversions'].containing_oneof = _TARGETCPASIMULATIONPOINT.oneofs_by_name['_biddable_conversions'] +_TARGETCPASIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'].fields.append( + _TARGETCPASIMULATIONPOINT.fields_by_name['biddable_conversions_value']) +_TARGETCPASIMULATIONPOINT.fields_by_name['biddable_conversions_value'].containing_oneof = _TARGETCPASIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'] +_TARGETCPASIMULATIONPOINT.oneofs_by_name['_clicks'].fields.append( + _TARGETCPASIMULATIONPOINT.fields_by_name['clicks']) +_TARGETCPASIMULATIONPOINT.fields_by_name['clicks'].containing_oneof = _TARGETCPASIMULATIONPOINT.oneofs_by_name['_clicks'] +_TARGETCPASIMULATIONPOINT.oneofs_by_name['_cost_micros'].fields.append( + _TARGETCPASIMULATIONPOINT.fields_by_name['cost_micros']) +_TARGETCPASIMULATIONPOINT.fields_by_name['cost_micros'].containing_oneof = _TARGETCPASIMULATIONPOINT.oneofs_by_name['_cost_micros'] +_TARGETCPASIMULATIONPOINT.oneofs_by_name['_impressions'].fields.append( + _TARGETCPASIMULATIONPOINT.fields_by_name['impressions']) +_TARGETCPASIMULATIONPOINT.fields_by_name['impressions'].containing_oneof = _TARGETCPASIMULATIONPOINT.oneofs_by_name['_impressions'] +_TARGETCPASIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'].fields.append( + _TARGETCPASIMULATIONPOINT.fields_by_name['top_slot_impressions']) +_TARGETCPASIMULATIONPOINT.fields_by_name['top_slot_impressions'].containing_oneof = _TARGETCPASIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'] +_TARGETROASSIMULATIONPOINT.oneofs_by_name['_target_roas'].fields.append( + _TARGETROASSIMULATIONPOINT.fields_by_name['target_roas']) +_TARGETROASSIMULATIONPOINT.fields_by_name['target_roas'].containing_oneof = _TARGETROASSIMULATIONPOINT.oneofs_by_name['_target_roas'] +_TARGETROASSIMULATIONPOINT.oneofs_by_name['_biddable_conversions'].fields.append( + _TARGETROASSIMULATIONPOINT.fields_by_name['biddable_conversions']) +_TARGETROASSIMULATIONPOINT.fields_by_name['biddable_conversions'].containing_oneof = _TARGETROASSIMULATIONPOINT.oneofs_by_name['_biddable_conversions'] +_TARGETROASSIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'].fields.append( + _TARGETROASSIMULATIONPOINT.fields_by_name['biddable_conversions_value']) +_TARGETROASSIMULATIONPOINT.fields_by_name['biddable_conversions_value'].containing_oneof = _TARGETROASSIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'] +_TARGETROASSIMULATIONPOINT.oneofs_by_name['_clicks'].fields.append( + _TARGETROASSIMULATIONPOINT.fields_by_name['clicks']) +_TARGETROASSIMULATIONPOINT.fields_by_name['clicks'].containing_oneof = _TARGETROASSIMULATIONPOINT.oneofs_by_name['_clicks'] +_TARGETROASSIMULATIONPOINT.oneofs_by_name['_cost_micros'].fields.append( + _TARGETROASSIMULATIONPOINT.fields_by_name['cost_micros']) +_TARGETROASSIMULATIONPOINT.fields_by_name['cost_micros'].containing_oneof = _TARGETROASSIMULATIONPOINT.oneofs_by_name['_cost_micros'] +_TARGETROASSIMULATIONPOINT.oneofs_by_name['_impressions'].fields.append( + _TARGETROASSIMULATIONPOINT.fields_by_name['impressions']) +_TARGETROASSIMULATIONPOINT.fields_by_name['impressions'].containing_oneof = _TARGETROASSIMULATIONPOINT.oneofs_by_name['_impressions'] +_TARGETROASSIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'].fields.append( + _TARGETROASSIMULATIONPOINT.fields_by_name['top_slot_impressions']) +_TARGETROASSIMULATIONPOINT.fields_by_name['top_slot_impressions'].containing_oneof = _TARGETROASSIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'] +_PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_percent_cpc_bid_micros'].fields.append( + _PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['percent_cpc_bid_micros']) +_PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['percent_cpc_bid_micros'].containing_oneof = _PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_percent_cpc_bid_micros'] +_PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_biddable_conversions'].fields.append( + _PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions']) +_PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions'].containing_oneof = _PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_biddable_conversions'] +_PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'].fields.append( + _PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions_value']) +_PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions_value'].containing_oneof = _PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_biddable_conversions_value'] +_PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_clicks'].fields.append( + _PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['clicks']) +_PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['clicks'].containing_oneof = _PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_clicks'] +_PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_cost_micros'].fields.append( + _PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['cost_micros']) +_PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['cost_micros'].containing_oneof = _PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_cost_micros'] +_PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_impressions'].fields.append( + _PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['impressions']) +_PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['impressions'].containing_oneof = _PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_impressions'] +_PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'].fields.append( + _PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['top_slot_impressions']) +_PERCENTCPCBIDSIMULATIONPOINT.fields_by_name['top_slot_impressions'].containing_oneof = _PERCENTCPCBIDSIMULATIONPOINT.oneofs_by_name['_top_slot_impressions'] +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['PercentCpcBidSimulationPointList'] = _PERCENTCPCBIDSIMULATIONPOINTLIST +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 +DESCRIPTOR.message_types_by_name['PercentCpcBidSimulationPoint'] = _PERCENTCPCBIDSIMULATIONPOINT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BidModifierSimulationPointList = _reflection.GeneratedProtocolMessageType('BidModifierSimulationPointList', (_message.Message,), { + 'DESCRIPTOR' : _BIDMODIFIERSIMULATIONPOINTLIST, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """A container for simulation points for simulations of type + BID\_MODIFIER. + + Attributes: + points: + Projected metrics for a series of bid modifier amounts. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.BidModifierSimulationPointList) + }) +_sym_db.RegisterMessage(BidModifierSimulationPointList) + +CpcBidSimulationPointList = _reflection.GeneratedProtocolMessageType('CpcBidSimulationPointList', (_message.Message,), { + 'DESCRIPTOR' : _CPCBIDSIMULATIONPOINTLIST, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """A container for simulation points for simulations of type CPC\_BID. + + Attributes: + points: + Projected metrics for a series of CPC bid amounts. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CpcBidSimulationPointList) + }) +_sym_db.RegisterMessage(CpcBidSimulationPointList) + +CpvBidSimulationPointList = _reflection.GeneratedProtocolMessageType('CpvBidSimulationPointList', (_message.Message,), { + 'DESCRIPTOR' : _CPVBIDSIMULATIONPOINTLIST, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """A container for simulation points for simulations of type CPV\_BID. + + Attributes: + points: + Projected metrics for a series of CPV bid amounts. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CpvBidSimulationPointList) + }) +_sym_db.RegisterMessage(CpvBidSimulationPointList) + +TargetCpaSimulationPointList = _reflection.GeneratedProtocolMessageType('TargetCpaSimulationPointList', (_message.Message,), { + 'DESCRIPTOR' : _TARGETCPASIMULATIONPOINTLIST, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """A container for simulation points for simulations of type TARGET\_CPA. + + Attributes: + points: + Projected metrics for a series of target CPA amounts. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.TargetCpaSimulationPointList) + }) +_sym_db.RegisterMessage(TargetCpaSimulationPointList) + +TargetRoasSimulationPointList = _reflection.GeneratedProtocolMessageType('TargetRoasSimulationPointList', (_message.Message,), { + 'DESCRIPTOR' : _TARGETROASSIMULATIONPOINTLIST, + '__module__' : 'google.ads.googleads_v6.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.v6.common.TargetRoasSimulationPointList) + }) +_sym_db.RegisterMessage(TargetRoasSimulationPointList) + +PercentCpcBidSimulationPointList = _reflection.GeneratedProtocolMessageType('PercentCpcBidSimulationPointList', (_message.Message,), { + 'DESCRIPTOR' : _PERCENTCPCBIDSIMULATIONPOINTLIST, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """A container for simulation points for simulations of type + PERCENT\_CPC\_BID. + + Attributes: + points: + Projected metrics for a series of percent CPC bid amounts. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.PercentCpcBidSimulationPointList) + }) +_sym_db.RegisterMessage(PercentCpcBidSimulationPointList) + +BidModifierSimulationPoint = _reflection.GeneratedProtocolMessageType('BidModifierSimulationPoint', (_message.Message,), { + 'DESCRIPTOR' : _BIDMODIFIERSIMULATIONPOINT, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """Projected metrics for a specific bid modifier amount. + + Attributes: + bid_modifier: + The simulated bid modifier upon which projected metrics are + based. + biddable_conversions: + Projected number of biddable conversions. Only search + advertising channel type supports this field. + biddable_conversions_value: + Projected total value of biddable conversions. Only search + advertising channel type supports this field. + 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. + parent_biddable_conversions: + Projected number of biddable conversions for the parent + resource. Only search advertising channel type supports this + field. + parent_biddable_conversions_value: + Projected total value of biddable conversions for the parent + resource. Only search advertising channel type supports this + field. + parent_clicks: + Projected number of clicks for the parent resource. + parent_cost_micros: + Projected cost in micros for the parent resource. + parent_impressions: + Projected number of impressions for the parent resource. + parent_top_slot_impressions: + Projected number of top slot impressions for the parent + 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.v6.common.BidModifierSimulationPoint) + }) +_sym_db.RegisterMessage(BidModifierSimulationPoint) + +CpcBidSimulationPoint = _reflection.GeneratedProtocolMessageType('CpcBidSimulationPoint', (_message.Message,), { + 'DESCRIPTOR' : _CPCBIDSIMULATIONPOINT, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """Projected metrics for a specific CPC bid amount. + + Attributes: + cpc_bid_micros: + The simulated CPC bid 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.v6.common.CpcBidSimulationPoint) + }) +_sym_db.RegisterMessage(CpcBidSimulationPoint) + +CpvBidSimulationPoint = _reflection.GeneratedProtocolMessageType('CpvBidSimulationPoint', (_message.Message,), { + 'DESCRIPTOR' : _CPVBIDSIMULATIONPOINT, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """Projected metrics for a specific CPV bid amount. + + Attributes: + cpv_bid_micros: + The simulated CPV bid upon which projected metrics are based. + cost_micros: + Projected cost in micros. + impressions: + Projected number of impressions. + views: + Projected number of views. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CpvBidSimulationPoint) + }) +_sym_db.RegisterMessage(CpvBidSimulationPoint) + +TargetCpaSimulationPoint = _reflection.GeneratedProtocolMessageType('TargetCpaSimulationPoint', (_message.Message,), { + 'DESCRIPTOR' : _TARGETCPASIMULATIONPOINT, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """Projected metrics for a specific target CPA amount. + + Attributes: + target_cpa_micros: + The simulated target CPA 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.v6.common.TargetCpaSimulationPoint) + }) +_sym_db.RegisterMessage(TargetCpaSimulationPoint) + +TargetRoasSimulationPoint = _reflection.GeneratedProtocolMessageType('TargetRoasSimulationPoint', (_message.Message,), { + 'DESCRIPTOR' : _TARGETROASSIMULATIONPOINT, + '__module__' : 'google.ads.googleads_v6.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.v6.common.TargetRoasSimulationPoint) + }) +_sym_db.RegisterMessage(TargetRoasSimulationPoint) + +PercentCpcBidSimulationPoint = _reflection.GeneratedProtocolMessageType('PercentCpcBidSimulationPoint', (_message.Message,), { + 'DESCRIPTOR' : _PERCENTCPCBIDSIMULATIONPOINT, + '__module__' : 'google.ads.googleads_v6.proto.common.simulation_pb2' + , + '__doc__': """Projected metrics for a specific percent CPC amount. Only Hotel + advertising channel type supports this field. + + Attributes: + percent_cpc_bid_micros: + The simulated percent CPC upon which projected metrics are + based. Percent CPC expressed as fraction of the advertised + price for some good or service. The value stored here is + 1,000,000 \* [fraction]. + biddable_conversions: + Projected number of biddable conversions. + biddable_conversions_value: + Projected total value of biddable conversions in local + currency. + 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. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.PercentCpcBidSimulationPoint) + }) +_sym_db.RegisterMessage(PercentCpcBidSimulationPoint) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/simulation_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/simulation_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/simulation_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/tag_snippet_pb2.py b/google/ads/google_ads/v6/proto/common/tag_snippet_pb2.py new file mode 100644 index 000000000..02ac5379c --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/tag_snippet_pb2.py @@ -0,0 +1,131 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/tag_snippet.proto + +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.v6.proto.enums import tracking_code_page_format_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_tracking__code__page__format__pb2 +from google.ads.google_ads.v6.proto.enums import tracking_code_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_tracking__code__type__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/common/tag_snippet.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\017TagSnippetProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/common/tag_snippet.proto\x12\x1egoogle.ads.googleads.v6.common\x1a\x43google/ads/googleads_v6/proto/enums/tracking_code_page_format.proto\x1a\n\x04rule\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v6.common.UserListRuleInfo\x12\x17\n\nstart_date\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x65nd_date\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\r\n\x0b_start_dateB\x0b\n\t_end_date\"\\\n\x1a\x45xpressionRuleUserListInfo\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v6.common.UserListRuleInfo\"\xcd\x03\n\x15RuleBasedUserListInfo\x12x\n\x14prepopulation_status\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v6.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus\x12[\n\x17\x63ombined_rule_user_list\x18\x02 \x01(\x0b\x32\x38.google.ads.googleads.v6.common.CombinedRuleUserListInfoH\x00\x12\x64\n\x1c\x64\x61te_specific_rule_user_list\x18\x03 \x01(\x0b\x32<.google.ads.googleads.v6.common.DateSpecificRuleUserListInfoH\x00\x12_\n\x19\x65xpression_rule_user_list\x18\x04 \x01(\x0b\x32:.google.ads.googleads.v6.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.v6.common.UserListLogicalRuleInfo\"\xda\x01\n\x17UserListLogicalRuleInfo\x12l\n\x08operator\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v6.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator\x12Q\n\rrule_operands\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v6.common.LogicalUserListOperandInfo\"B\n\x1aLogicalUserListOperandInfo\x12\x16\n\tuser_list\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_user_list\"X\n\x11\x42\x61sicUserListInfo\x12\x43\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x32.google.ads.googleads.v6.common.UserListActionInfo\"c\n\x12UserListActionInfo\x12\x1b\n\x11\x63onversion_action\x18\x03 \x01(\tH\x00\x12\x1c\n\x12remarketing_action\x18\x04 \x01(\tH\x00\x42\x12\n\x10user_list_actionB\xe9\x01\n\"com.google.ads.googleads.v6.commonB\x0eUserListsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_customer__match__upload__key__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__combined__rule__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__crm__data__source__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__date__rule__item__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__logical__rule__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__number__rule__item__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__prepopulation__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__rule__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__string__rule__item__operator__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_SIMILARUSERLISTINFO = _descriptor.Descriptor( + name='SimilarUserListInfo', + full_name='google.ads.googleads.v6.common.SimilarUserListInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='seed_user_list', full_name='google.ads.googleads.v6.common.SimilarUserListInfo.seed_user_list', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_seed_user_list', full_name='google.ads.googleads.v6.common.SimilarUserListInfo._seed_user_list', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=790, + serialized_end=859, +) + + +_CRMBASEDUSERLISTINFO = _descriptor.Descriptor( + name='CrmBasedUserListInfo', + full_name='google.ads.googleads.v6.common.CrmBasedUserListInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='app_id', full_name='google.ads.googleads.v6.common.CrmBasedUserListInfo.app_id', index=0, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='upload_key_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='data_source_type', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_app_id', full_name='google.ads.googleads.v6.common.CrmBasedUserListInfo._app_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=862, + serialized_end=1145, +) + + +_USERLISTRULEINFO = _descriptor.Descriptor( + name='UserListRuleInfo', + full_name='google.ads.googleads.v6.common.UserListRuleInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='rule_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='rule_item_groups', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1148, + serialized_end=1340, +) + + +_USERLISTRULEITEMGROUPINFO = _descriptor.Descriptor( + name='UserListRuleItemGroupInfo', + full_name='google.ads.googleads.v6.common.UserListRuleItemGroupInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='rule_items', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1342, + serialized_end=1443, +) + + +_USERLISTRULEITEMINFO = _descriptor.Descriptor( + name='UserListRuleItemInfo', + full_name='google.ads.googleads.v6.common.UserListRuleItemInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.common.UserListRuleItemInfo.name', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='number_rule_item', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='string_rule_item', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='date_rule_item', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='rule_item', full_name='google.ads.googleads.v6.common.UserListRuleItemInfo.rule_item', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.common.UserListRuleItemInfo._name', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1446, + serialized_end=1769, +) + + +_USERLISTDATERULEITEMINFO = _descriptor.Descriptor( + name='UserListDateRuleItemInfo', + full_name='google.ads.googleads.v6.common.UserListDateRuleItemInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operator', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.UserListDateRuleItemInfo.value', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='offset_in_days', full_name='google.ads.googleads.v6.common.UserListDateRuleItemInfo.offset_in_days', index=2, + number=5, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.UserListDateRuleItemInfo._value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_offset_in_days', full_name='google.ads.googleads.v6.common.UserListDateRuleItemInfo._offset_in_days', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1772, + serialized_end=1988, +) + + +_USERLISTNUMBERRULEITEMINFO = _descriptor.Descriptor( + name='UserListNumberRuleItemInfo', + full_name='google.ads.googleads.v6.common.UserListNumberRuleItemInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operator', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.UserListNumberRuleItemInfo.value', index=1, + number=3, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.UserListNumberRuleItemInfo._value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1991, + serialized_end=2165, +) + + +_USERLISTSTRINGRULEITEMINFO = _descriptor.Descriptor( + name='UserListStringRuleItemInfo', + full_name='google.ads.googleads.v6.common.UserListStringRuleItemInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operator', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value', full_name='google.ads.googleads.v6.common.UserListStringRuleItemInfo.value', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_value', full_name='google.ads.googleads.v6.common.UserListStringRuleItemInfo._value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2168, + serialized_end=2342, +) + + +_COMBINEDRULEUSERLISTINFO = _descriptor.Descriptor( + name='CombinedRuleUserListInfo', + full_name='google.ads.googleads.v6.common.CombinedRuleUserListInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='left_operand', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='right_operand', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='rule_operator', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2345, + serialized_end=2633, +) + + +_DATESPECIFICRULEUSERLISTINFO = _descriptor.Descriptor( + name='DateSpecificRuleUserListInfo', + full_name='google.ads.googleads.v6.common.DateSpecificRuleUserListInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='rule', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_date', full_name='google.ads.googleads.v6.common.DateSpecificRuleUserListInfo.start_date', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_date', full_name='google.ads.googleads.v6.common.DateSpecificRuleUserListInfo.end_date', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_start_date', full_name='google.ads.googleads.v6.common.DateSpecificRuleUserListInfo._start_date', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_end_date', full_name='google.ads.googleads.v6.common.DateSpecificRuleUserListInfo._end_date', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2636, + serialized_end=2806, +) + + +_EXPRESSIONRULEUSERLISTINFO = _descriptor.Descriptor( + name='ExpressionRuleUserListInfo', + full_name='google.ads.googleads.v6.common.ExpressionRuleUserListInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='rule', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2808, + serialized_end=2900, +) + + +_RULEBASEDUSERLISTINFO = _descriptor.Descriptor( + name='RuleBasedUserListInfo', + full_name='google.ads.googleads.v6.common.RuleBasedUserListInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='prepopulation_status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='combined_rule_user_list', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='date_specific_rule_user_list', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='expression_rule_user_list', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='rule_based_user_list', full_name='google.ads.googleads.v6.common.RuleBasedUserListInfo.rule_based_user_list', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2903, + serialized_end=3364, +) + + +_LOGICALUSERLISTINFO = _descriptor.Descriptor( + name='LogicalUserListInfo', + full_name='google.ads.googleads.v6.common.LogicalUserListInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='rules', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3366, + serialized_end=3459, +) + + +_USERLISTLOGICALRULEINFO = _descriptor.Descriptor( + name='UserListLogicalRuleInfo', + full_name='google.ads.googleads.v6.common.UserListLogicalRuleInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='operator', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='rule_operands', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3462, + serialized_end=3680, +) + + +_LOGICALUSERLISTOPERANDINFO = _descriptor.Descriptor( + name='LogicalUserListOperandInfo', + full_name='google.ads.googleads.v6.common.LogicalUserListOperandInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='user_list', full_name='google.ads.googleads.v6.common.LogicalUserListOperandInfo.user_list', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_user_list', full_name='google.ads.googleads.v6.common.LogicalUserListOperandInfo._user_list', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3682, + serialized_end=3748, +) + + +_BASICUSERLISTINFO = _descriptor.Descriptor( + name='BasicUserListInfo', + full_name='google.ads.googleads.v6.common.BasicUserListInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='actions', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3750, + serialized_end=3838, +) + + +_USERLISTACTIONINFO = _descriptor.Descriptor( + name='UserListActionInfo', + full_name='google.ads.googleads.v6.common.UserListActionInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='conversion_action', full_name='google.ads.googleads.v6.common.UserListActionInfo.conversion_action', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='remarketing_action', full_name='google.ads.googleads.v6.common.UserListActionInfo.remarketing_action', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='user_list_action', full_name='google.ads.googleads.v6.common.UserListActionInfo.user_list_action', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=3840, + serialized_end=3939, +) + +_SIMILARUSERLISTINFO.oneofs_by_name['_seed_user_list'].fields.append( + _SIMILARUSERLISTINFO.fields_by_name['seed_user_list']) +_SIMILARUSERLISTINFO.fields_by_name['seed_user_list'].containing_oneof = _SIMILARUSERLISTINFO.oneofs_by_name['_seed_user_list'] +_CRMBASEDUSERLISTINFO.fields_by_name['upload_key_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_user__list__crm__data__source__type__pb2._USERLISTCRMDATASOURCETYPEENUM_USERLISTCRMDATASOURCETYPE +_CRMBASEDUSERLISTINFO.oneofs_by_name['_app_id'].fields.append( + _CRMBASEDUSERLISTINFO.fields_by_name['app_id']) +_CRMBASEDUSERLISTINFO.fields_by_name['app_id'].containing_oneof = _CRMBASEDUSERLISTINFO.oneofs_by_name['_app_id'] +_USERLISTRULEINFO.fields_by_name['rule_type'].enum_type = google_dot_ads_dot_googleads__v6_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['number_rule_item'].message_type = _USERLISTNUMBERRULEITEMINFO +_USERLISTRULEITEMINFO.fields_by_name['string_rule_item'].message_type = _USERLISTSTRINGRULEITEMINFO +_USERLISTRULEITEMINFO.fields_by_name['date_rule_item'].message_type = _USERLISTDATERULEITEMINFO +_USERLISTRULEITEMINFO.oneofs_by_name['rule_item'].fields.append( + _USERLISTRULEITEMINFO.fields_by_name['number_rule_item']) +_USERLISTRULEITEMINFO.fields_by_name['number_rule_item'].containing_oneof = _USERLISTRULEITEMINFO.oneofs_by_name['rule_item'] +_USERLISTRULEITEMINFO.oneofs_by_name['rule_item'].fields.append( + _USERLISTRULEITEMINFO.fields_by_name['string_rule_item']) +_USERLISTRULEITEMINFO.fields_by_name['string_rule_item'].containing_oneof = _USERLISTRULEITEMINFO.oneofs_by_name['rule_item'] +_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'] +_USERLISTRULEITEMINFO.oneofs_by_name['_name'].fields.append( + _USERLISTRULEITEMINFO.fields_by_name['name']) +_USERLISTRULEITEMINFO.fields_by_name['name'].containing_oneof = _USERLISTRULEITEMINFO.oneofs_by_name['_name'] +_USERLISTDATERULEITEMINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__date__rule__item__operator__pb2._USERLISTDATERULEITEMOPERATORENUM_USERLISTDATERULEITEMOPERATOR +_USERLISTDATERULEITEMINFO.oneofs_by_name['_value'].fields.append( + _USERLISTDATERULEITEMINFO.fields_by_name['value']) +_USERLISTDATERULEITEMINFO.fields_by_name['value'].containing_oneof = _USERLISTDATERULEITEMINFO.oneofs_by_name['_value'] +_USERLISTDATERULEITEMINFO.oneofs_by_name['_offset_in_days'].fields.append( + _USERLISTDATERULEITEMINFO.fields_by_name['offset_in_days']) +_USERLISTDATERULEITEMINFO.fields_by_name['offset_in_days'].containing_oneof = _USERLISTDATERULEITEMINFO.oneofs_by_name['_offset_in_days'] +_USERLISTNUMBERRULEITEMINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__number__rule__item__operator__pb2._USERLISTNUMBERRULEITEMOPERATORENUM_USERLISTNUMBERRULEITEMOPERATOR +_USERLISTNUMBERRULEITEMINFO.oneofs_by_name['_value'].fields.append( + _USERLISTNUMBERRULEITEMINFO.fields_by_name['value']) +_USERLISTNUMBERRULEITEMINFO.fields_by_name['value'].containing_oneof = _USERLISTNUMBERRULEITEMINFO.oneofs_by_name['_value'] +_USERLISTSTRINGRULEITEMINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_user__list__string__rule__item__operator__pb2._USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR +_USERLISTSTRINGRULEITEMINFO.oneofs_by_name['_value'].fields.append( + _USERLISTSTRINGRULEITEMINFO.fields_by_name['value']) +_USERLISTSTRINGRULEITEMINFO.fields_by_name['value'].containing_oneof = _USERLISTSTRINGRULEITEMINFO.oneofs_by_name['_value'] +_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__v6_dot_proto_dot_enums_dot_user__list__combined__rule__operator__pb2._USERLISTCOMBINEDRULEOPERATORENUM_USERLISTCOMBINEDRULEOPERATOR +_DATESPECIFICRULEUSERLISTINFO.fields_by_name['rule'].message_type = _USERLISTRULEINFO +_DATESPECIFICRULEUSERLISTINFO.oneofs_by_name['_start_date'].fields.append( + _DATESPECIFICRULEUSERLISTINFO.fields_by_name['start_date']) +_DATESPECIFICRULEUSERLISTINFO.fields_by_name['start_date'].containing_oneof = _DATESPECIFICRULEUSERLISTINFO.oneofs_by_name['_start_date'] +_DATESPECIFICRULEUSERLISTINFO.oneofs_by_name['_end_date'].fields.append( + _DATESPECIFICRULEUSERLISTINFO.fields_by_name['end_date']) +_DATESPECIFICRULEUSERLISTINFO.fields_by_name['end_date'].containing_oneof = _DATESPECIFICRULEUSERLISTINFO.oneofs_by_name['_end_date'] +_EXPRESSIONRULEUSERLISTINFO.fields_by_name['rule'].message_type = _USERLISTRULEINFO +_RULEBASEDUSERLISTINFO.fields_by_name['prepopulation_status'].enum_type = google_dot_ads_dot_googleads__v6_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 +_RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'].fields.append( + _RULEBASEDUSERLISTINFO.fields_by_name['combined_rule_user_list']) +_RULEBASEDUSERLISTINFO.fields_by_name['combined_rule_user_list'].containing_oneof = _RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'] +_RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'].fields.append( + _RULEBASEDUSERLISTINFO.fields_by_name['date_specific_rule_user_list']) +_RULEBASEDUSERLISTINFO.fields_by_name['date_specific_rule_user_list'].containing_oneof = _RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'] +_RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'].fields.append( + _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__v6_dot_proto_dot_enums_dot_user__list__logical__rule__operator__pb2._USERLISTLOGICALRULEOPERATORENUM_USERLISTLOGICALRULEOPERATOR +_USERLISTLOGICALRULEINFO.fields_by_name['rule_operands'].message_type = _LOGICALUSERLISTOPERANDINFO +_LOGICALUSERLISTOPERANDINFO.oneofs_by_name['_user_list'].fields.append( + _LOGICALUSERLISTOPERANDINFO.fields_by_name['user_list']) +_LOGICALUSERLISTOPERANDINFO.fields_by_name['user_list'].containing_oneof = _LOGICALUSERLISTOPERANDINFO.oneofs_by_name['_user_list'] +_BASICUSERLISTINFO.fields_by_name['actions'].message_type = _USERLISTACTIONINFO +_USERLISTACTIONINFO.oneofs_by_name['user_list_action'].fields.append( + _USERLISTACTIONINFO.fields_by_name['conversion_action']) +_USERLISTACTIONINFO.fields_by_name['conversion_action'].containing_oneof = _USERLISTACTIONINFO.oneofs_by_name['user_list_action'] +_USERLISTACTIONINFO.oneofs_by_name['user_list_action'].fields.append( + _USERLISTACTIONINFO.fields_by_name['remarketing_action']) +_USERLISTACTIONINFO.fields_by_name['remarketing_action'].containing_oneof = _USERLISTACTIONINFO.oneofs_by_name['user_list_action'] +DESCRIPTOR.message_types_by_name['SimilarUserListInfo'] = _SIMILARUSERLISTINFO +DESCRIPTOR.message_types_by_name['CrmBasedUserListInfo'] = _CRMBASEDUSERLISTINFO +DESCRIPTOR.message_types_by_name['UserListRuleInfo'] = _USERLISTRULEINFO +DESCRIPTOR.message_types_by_name['UserListRuleItemGroupInfo'] = _USERLISTRULEITEMGROUPINFO +DESCRIPTOR.message_types_by_name['UserListRuleItemInfo'] = _USERLISTRULEITEMINFO +DESCRIPTOR.message_types_by_name['UserListDateRuleItemInfo'] = _USERLISTDATERULEITEMINFO +DESCRIPTOR.message_types_by_name['UserListNumberRuleItemInfo'] = _USERLISTNUMBERRULEITEMINFO +DESCRIPTOR.message_types_by_name['UserListStringRuleItemInfo'] = _USERLISTSTRINGRULEITEMINFO +DESCRIPTOR.message_types_by_name['CombinedRuleUserListInfo'] = _COMBINEDRULEUSERLISTINFO +DESCRIPTOR.message_types_by_name['DateSpecificRuleUserListInfo'] = _DATESPECIFICRULEUSERLISTINFO +DESCRIPTOR.message_types_by_name['ExpressionRuleUserListInfo'] = _EXPRESSIONRULEUSERLISTINFO +DESCRIPTOR.message_types_by_name['RuleBasedUserListInfo'] = _RULEBASEDUSERLISTINFO +DESCRIPTOR.message_types_by_name['LogicalUserListInfo'] = _LOGICALUSERLISTINFO +DESCRIPTOR.message_types_by_name['UserListLogicalRuleInfo'] = _USERLISTLOGICALRULEINFO +DESCRIPTOR.message_types_by_name['LogicalUserListOperandInfo'] = _LOGICALUSERLISTOPERANDINFO +DESCRIPTOR.message_types_by_name['BasicUserListInfo'] = _BASICUSERLISTINFO +DESCRIPTOR.message_types_by_name['UserListActionInfo'] = _USERLISTACTIONINFO +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +SimilarUserListInfo = _reflection.GeneratedProtocolMessageType('SimilarUserListInfo', (_message.Message,), { + 'DESCRIPTOR' : _SIMILARUSERLISTINFO, + '__module__' : 'google.ads.googleads_v6.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 Google. + + Attributes: + seed_user_list: + Seed UserList from which this list is derived. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.SimilarUserListInfo) + }) +_sym_db.RegisterMessage(SimilarUserListInfo) + +CrmBasedUserListInfo = _reflection.GeneratedProtocolMessageType('CrmBasedUserListInfo', (_message.Message,), { + 'DESCRIPTOR' : _CRMBASEDUSERLISTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """UserList of CRM users provided by the advertiser. + + Attributes: + app_id: + 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., "476943146" for "Flood-It! 2" whose + App Store link is http://itunes.apple.com/us/app/flood- + it!-2/id476943146). For Android, the ID string 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). Required + when creating CrmBasedUserList for uploading mobile + advertising IDs. + upload_key_type: + Matching key type of the list. Mixed data types are not + allowed on the same list. This field is required for an ADD + operation. + data_source_type: + Data source of the list. Default value is FIRST\_PARTY. Only + customers on the allow-list can create third-party sourced CRM + lists. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CrmBasedUserListInfo) + }) +_sym_db.RegisterMessage(CrmBasedUserListInfo) + +UserListRuleInfo = _reflection.GeneratedProtocolMessageType('UserListRuleInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTRULEINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """A client defined rule based on custom parameters sent by web sites or + uploaded by the advertiser. + + Attributes: + rule_type: + Rule type is used to determine how to group rule items. The + default is OR of ANDs (disjunctive normal form). That is, rule + items will be ANDed together within rule item groups and the + groups themselves will be ORed together. Currently AND of ORs + (conjunctive normal form) is only supported for + ExpressionRuleUserList. + rule_item_groups: + 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.v6.common.UserListRuleInfo) + }) +_sym_db.RegisterMessage(UserListRuleInfo) + +UserListRuleItemGroupInfo = _reflection.GeneratedProtocolMessageType('UserListRuleItemGroupInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTRULEITEMGROUPINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """A group of rule items. + + Attributes: + rule_items: + Rule items that will be grouped together based on rule\_type. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.UserListRuleItemGroupInfo) + }) +_sym_db.RegisterMessage(UserListRuleItemGroupInfo) + +UserListRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListRuleItemInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTRULEITEMINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """An atomic rule item. + + Attributes: + name: + Rule variable name. It should match the corresponding key name + fired by the pixel. A name must begin with US-ascii letters or + underscore or UTF8 code that is greater than 127 and consist + of US-ascii letters or digits or underscore or UTF8 code that + is greater than 127. For websites, there are two built-in + variable URL (name = 'url\_\_') and referrer URL (name = + 'ref\_url\_\_'). This field must be populated when creating a + new rule item. + rule_item: + An atomic rule item. + number_rule_item: + An atomic rule item composed of a number operation. + string_rule_item: + An atomic rule item composed of a string operation. + date_rule_item: + An atomic rule item composed of a date operation. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.UserListRuleItemInfo) + }) +_sym_db.RegisterMessage(UserListRuleItemInfo) + +UserListDateRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListDateRuleItemInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTDATERULEITEMINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """A rule item composed of a date operation. + + Attributes: + operator: + Date comparison operator. This field is required and must be + populated when creating new date rule item. + value: + String representing date value to be compared with the rule + variable. Supported date format is YYYY-MM-DD. Times are + reported in the customer's time zone. + offset_in_days: + The relative date value of the right hand side denoted by + 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.v6.common.UserListDateRuleItemInfo) + }) +_sym_db.RegisterMessage(UserListDateRuleItemInfo) + +UserListNumberRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListNumberRuleItemInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTNUMBERRULEITEMINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """A rule item composed of a number operation. + + Attributes: + operator: + Number comparison operator. This field is required and must be + populated when creating a new number rule item. + value: + Number value to be compared with the variable. This field is + required and must be populated when creating a new number rule + item. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.UserListNumberRuleItemInfo) + }) +_sym_db.RegisterMessage(UserListNumberRuleItemInfo) + +UserListStringRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListStringRuleItemInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTSTRINGRULEITEMINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """A rule item composed of a string operation. + + Attributes: + operator: + String comparison operator. This field is required and must be + populated when creating a new string rule item. + value: + The right hand side of the string rule item. For URLs or + referrer URLs, the value can not contain illegal URL chars + such as newlines, quotes, tabs, or parentheses. This field is + required and must be populated when creating a new string rule + item. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.UserListStringRuleItemInfo) + }) +_sym_db.RegisterMessage(UserListStringRuleItemInfo) + +CombinedRuleUserListInfo = _reflection.GeneratedProtocolMessageType('CombinedRuleUserListInfo', (_message.Message,), { + 'DESCRIPTOR' : _COMBINEDRULEUSERLISTINFO, + '__module__' : 'google.ads.googleads_v6.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 + operand have to be true; AND\_NOT where left operand is true but right + operand is false. + + Attributes: + left_operand: + Left operand of the combined rule. This field is required and + must be populated when creating new combined rule based user + list. + right_operand: + Right operand of the combined rule. This field is required and + must be populated when creating new combined rule based user + list. + rule_operator: + Operator to connect the two operands. Required for creating a + combined rule user list. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.CombinedRuleUserListInfo) + }) +_sym_db.RegisterMessage(CombinedRuleUserListInfo) + +DateSpecificRuleUserListInfo = _reflection.GeneratedProtocolMessageType('DateSpecificRuleUserListInfo', (_message.Message,), { + 'DESCRIPTOR' : _DATESPECIFICRULEUSERLISTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """Visitors of a page during specific dates. + + Attributes: + rule: + Boolean rule that defines visitor of a page. Required for + creating a date specific rule user list. + start_date: + Start date of users visit. If set to 2000-01-01, then the list + includes all users before end\_date. The date's format should + be YYYY-MM-DD. Required for creating a data specific rule + user list. + end_date: + End date of users visit. If set to 2037-12-30, then the list + includes all users after start\_date. The date's format should + be YYYY-MM-DD. Required for creating a data specific rule + user list. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.DateSpecificRuleUserListInfo) + }) +_sym_db.RegisterMessage(DateSpecificRuleUserListInfo) + +ExpressionRuleUserListInfo = _reflection.GeneratedProtocolMessageType('ExpressionRuleUserListInfo', (_message.Message,), { + 'DESCRIPTOR' : _EXPRESSIONRULEUSERLISTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """Visitors of a page. The page visit is defined by one boolean rule + expression. + + Attributes: + rule: + Boolean rule that defines this user list. The rule consists of + a list of rule item groups and each rule item group consists + of a list of rule items. All the rule item groups are ORed or + 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.v6.common.ExpressionRuleUserListInfo) + }) +_sym_db.RegisterMessage(ExpressionRuleUserListInfo) + +RuleBasedUserListInfo = _reflection.GeneratedProtocolMessageType('RuleBasedUserListInfo', (_message.Message,), { + 'DESCRIPTOR' : _RULEBASEDUSERLISTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """Representation of a userlist that is generated by a rule. + + Attributes: + prepopulation_status: + The status of pre-population. The field is default to NONE if + not set which means the previous users will not be considered. + If set to REQUESTED, past site visitors or app users who match + the list definition will be included in the list (works on the + Display Network only). This will only add past users from + within the last 30 days, depending on the list's membership + duration and the date when the remarketing tag is added. The + status will be updated to FINISHED once request is processed, + or FAILED if the request fails. + rule_based_user_list: + Subtypes of rule based user lists. + combined_rule_user_list: + User lists defined by combining two rules. There are two + operators: AND, where the left and right operands have to be + true; AND\_NOT where left operand is true but right operand is + false. + date_specific_rule_user_list: + Visitors of a page during specific dates. The visiting periods + are defined as follows: Between start\_date (inclusive) and + end\_date (inclusive); Before end\_date (exclusive) with + start\_date = 2000-01-01; After start\_date (exclusive) with + end\_date = 2037-12-30. + expression_rule_user_list: + Visitors of a page. The page visit is defined by one boolean + rule expression. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.RuleBasedUserListInfo) + }) +_sym_db.RegisterMessage(RuleBasedUserListInfo) + +LogicalUserListInfo = _reflection.GeneratedProtocolMessageType('LogicalUserListInfo', (_message.Message,), { + 'DESCRIPTOR' : _LOGICALUSERLISTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """Represents a user list that is a custom combination of user lists. + + Attributes: + rules: + Logical list rules that define this user list. The rules are + defined as a logical operator (ALL/ANY/NONE) and a list of + 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.v6.common.LogicalUserListInfo) + }) +_sym_db.RegisterMessage(LogicalUserListInfo) + +UserListLogicalRuleInfo = _reflection.GeneratedProtocolMessageType('UserListLogicalRuleInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTLOGICALRULEINFO, + '__module__' : 'google.ads.googleads_v6.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. + + Attributes: + operator: + The logical operator of the rule. + rule_operands: + The list of operands of the rule. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.UserListLogicalRuleInfo) + }) +_sym_db.RegisterMessage(UserListLogicalRuleInfo) + +LogicalUserListOperandInfo = _reflection.GeneratedProtocolMessageType('LogicalUserListOperandInfo', (_message.Message,), { + 'DESCRIPTOR' : _LOGICALUSERLISTOPERANDINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """Operand of logical user list that consists of a user list. + + Attributes: + user_list: + Resource name of a user list as an operand. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.LogicalUserListOperandInfo) + }) +_sym_db.RegisterMessage(LogicalUserListOperandInfo) + +BasicUserListInfo = _reflection.GeneratedProtocolMessageType('BasicUserListInfo', (_message.Message,), { + 'DESCRIPTOR' : _BASICUSERLISTINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """User list targeting as a collection of conversions or remarketing + actions. + + Attributes: + actions: + Actions associated with this user list. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.BasicUserListInfo) + }) +_sym_db.RegisterMessage(BasicUserListInfo) + +UserListActionInfo = _reflection.GeneratedProtocolMessageType('UserListActionInfo', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTACTIONINFO, + '__module__' : 'google.ads.googleads_v6.proto.common.user_lists_pb2' + , + '__doc__': """Represents an action type used for building remarketing user lists. + + Attributes: + user_list_action: + Subtypes of user list action. + conversion_action: + A conversion action that's not generated from remarketing. + remarketing_action: + A remarketing action. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.UserListActionInfo) + }) +_sym_db.RegisterMessage(UserListActionInfo) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/user_lists_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/user_lists_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/user_lists_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/common/value_pb2.py b/google/ads/google_ads/v6/proto/common/value_pb2.py new file mode 100644 index 000000000..ab6632824 --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/value_pb2.py @@ -0,0 +1,138 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/common/value.proto + +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_v6/proto/common/value.proto', + package='google.ads.googleads.v6.common', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.commonB\nValueProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Common\312\002\036Google\\Ads\\GoogleAds\\V6\\Common\352\002\"Google::Ads::GoogleAds::V6::Common', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n0google/ads/googleads_v6/proto/common/value.proto\x12\x1egoogle.ads.googleads.v6.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.v6.commonB\nValueProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Common\xea\x02\"Google::Ads::GoogleAds::V6::Commonb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_VALUE = _descriptor.Descriptor( + name='Value', + full_name='google.ads.googleads.v6.common.Value', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='boolean_value', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='int64_value', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='float_value', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='double_value', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='string_value', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='value', full_name='google.ads.googleads.v6.common.Value.value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=115, + serialized_end=250, +) + +_VALUE.oneofs_by_name['value'].fields.append( + _VALUE.fields_by_name['boolean_value']) +_VALUE.fields_by_name['boolean_value'].containing_oneof = _VALUE.oneofs_by_name['value'] +_VALUE.oneofs_by_name['value'].fields.append( + _VALUE.fields_by_name['int64_value']) +_VALUE.fields_by_name['int64_value'].containing_oneof = _VALUE.oneofs_by_name['value'] +_VALUE.oneofs_by_name['value'].fields.append( + _VALUE.fields_by_name['float_value']) +_VALUE.fields_by_name['float_value'].containing_oneof = _VALUE.oneofs_by_name['value'] +_VALUE.oneofs_by_name['value'].fields.append( + _VALUE.fields_by_name['double_value']) +_VALUE.fields_by_name['double_value'].containing_oneof = _VALUE.oneofs_by_name['value'] +_VALUE.oneofs_by_name['value'].fields.append( + _VALUE.fields_by_name['string_value']) +_VALUE.fields_by_name['string_value'].containing_oneof = _VALUE.oneofs_by_name['value'] +DESCRIPTOR.message_types_by_name['Value'] = _VALUE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Value = _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), { + 'DESCRIPTOR' : _VALUE, + '__module__' : 'google.ads.googleads_v6.proto.common.value_pb2' + , + '__doc__': """A generic data container. + + Attributes: + value: + A value. + boolean_value: + A boolean. + int64_value: + An int64. + float_value: + A float. + double_value: + A double. + string_value: + A string. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.common.Value) + }) +_sym_db.RegisterMessage(Value) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/common/value_pb2_grpc.py b/google/ads/google_ads/v6/proto/common/value_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/common/value_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v2/proto/enums/__init__.py b/google/ads/google_ads/v6/proto/enums/__init__.py similarity index 100% rename from google/ads/google_ads/v2/proto/enums/__init__.py rename to google/ads/google_ads/v6/proto/enums/__init__.py diff --git a/google/ads/google_ads/v6/proto/enums/access_reason_pb2.py b/google/ads/google_ads/v6/proto/enums/access_reason_pb2.py new file mode 100644 index 000000000..c6ac0420a --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/access_reason_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/access_reason.proto + +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_v6/proto/enums/access_reason.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\021AccessReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n7google/ads/googleads_v6/proto/enums/access_reason.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x11\x41\x63\x63\x65ssReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ACCESSREASONENUM_ACCESSREASON = _descriptor.EnumDescriptor( + name='AccessReason', + full_name='google.ads.googleads.v6.enums.AccessReasonEnum.AccessReason', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OWNED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SHARED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LICENSED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SUBSCRIBED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AFFILIATED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=141, + serialized_end=254, +) +_sym_db.RegisterEnumDescriptor(_ACCESSREASONENUM_ACCESSREASON) + + +_ACCESSREASONENUM = _descriptor.Descriptor( + name='AccessReasonEnum', + full_name='google.ads.googleads.v6.enums.AccessReasonEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ACCESSREASONENUM_ACCESSREASON, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=121, + serialized_end=254, +) + +_ACCESSREASONENUM_ACCESSREASON.containing_type = _ACCESSREASONENUM +DESCRIPTOR.message_types_by_name['AccessReasonEnum'] = _ACCESSREASONENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AccessReasonEnum = _reflection.GeneratedProtocolMessageType('AccessReasonEnum', (_message.Message,), { + 'DESCRIPTOR' : _ACCESSREASONENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.AccessReasonEnum) + }) +_sym_db.RegisterMessage(AccessReasonEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/access_reason_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/access_reason_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/access_reason_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/access_role_pb2.py b/google/ads/google_ads/v6/proto/enums/access_role_pb2.py new file mode 100644 index 000000000..42b04855f --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/access_role_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/access_role.proto + +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_v6/proto/enums/access_role.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\017AccessRoleProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/enums/access_role.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"t\n\x0e\x41\x63\x63\x65ssRoleEnum\"b\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\x12\x0e\n\nEMAIL_ONLY\x10\x05\x42\xe4\x01\n!com.google.ads.googleads.v6.enumsB\x0f\x41\x63\x63\x65ssRoleProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ACCESSROLEENUM_ACCESSROLE = _descriptor.EnumDescriptor( + name='AccessRole', + full_name='google.ads.googleads.v6.enums.AccessRoleEnum.AccessRole', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADMIN', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STANDARD', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='READ_ONLY', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EMAIL_ONLY', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=136, + serialized_end=234, +) +_sym_db.RegisterEnumDescriptor(_ACCESSROLEENUM_ACCESSROLE) + + +_ACCESSROLEENUM = _descriptor.Descriptor( + name='AccessRoleEnum', + full_name='google.ads.googleads.v6.enums.AccessRoleEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ACCESSROLEENUM_ACCESSROLE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=118, + serialized_end=234, +) + +_ACCESSROLEENUM_ACCESSROLE.containing_type = _ACCESSROLEENUM +DESCRIPTOR.message_types_by_name['AccessRoleEnum'] = _ACCESSROLEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AccessRoleEnum = _reflection.GeneratedProtocolMessageType('AccessRoleEnum', (_message.Message,), { + 'DESCRIPTOR' : _ACCESSROLEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.access_role_pb2' + , + '__doc__': """Container for enum describing possible access role for user.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.AccessRoleEnum) + }) +_sym_db.RegisterMessage(AccessRoleEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/access_role_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/access_role_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/access_role_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/account_budget_proposal_status_pb2.py b/google/ads/google_ads/v6/proto/enums/account_budget_proposal_status_pb2.py new file mode 100644 index 000000000..0daccee29 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/account_budget_proposal_status_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/account_budget_proposal_status.proto + +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_v6/proto/enums/account_budget_proposal_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB AccountBudgetProposalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nHgoogle/ads/googleads_v6/proto/enums/account_budget_proposal_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB AccountBudgetProposalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS = _descriptor.EnumDescriptor( + name='AccountBudgetProposalStatus', + full_name='google.ads.googleads.v6.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROVED_HELD', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROVED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANCELLED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REJECTED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=174, + serialized_end=308, +) +_sym_db.RegisterEnumDescriptor(_ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS) + + +_ACCOUNTBUDGETPROPOSALSTATUSENUM = _descriptor.Descriptor( + name='AccountBudgetProposalStatusEnum', + full_name='google.ads.googleads.v6.enums.AccountBudgetProposalStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=138, + serialized_end=308, +) + +_ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS.containing_type = _ACCOUNTBUDGETPROPOSALSTATUSENUM +DESCRIPTOR.message_types_by_name['AccountBudgetProposalStatusEnum'] = _ACCOUNTBUDGETPROPOSALSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AccountBudgetProposalStatusEnum = _reflection.GeneratedProtocolMessageType('AccountBudgetProposalStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _ACCOUNTBUDGETPROPOSALSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.account_budget_proposal_status_pb2' + , + '__doc__': """Message describing AccountBudgetProposal statuses.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.AccountBudgetProposalStatusEnum) + }) +_sym_db.RegisterMessage(AccountBudgetProposalStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/account_budget_proposal_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/account_budget_proposal_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/account_budget_proposal_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/account_budget_proposal_type_pb2.py b/google/ads/google_ads/v6/proto/enums/account_budget_proposal_type_pb2.py new file mode 100644 index 000000000..8260e3396 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/account_budget_proposal_type_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/account_budget_proposal_type.proto + +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_v6/proto/enums/account_budget_proposal_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\036AccountBudgetProposalTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nFgoogle/ads/googleads_v6/proto/enums/account_budget_proposal_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1e\x41\x63\x63ountBudgetProposalTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE = _descriptor.EnumDescriptor( + name='AccountBudgetProposalType', + full_name='google.ads.googleads.v6.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CREATE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPDATE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='END', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=169, + serialized_end=271, +) +_sym_db.RegisterEnumDescriptor(_ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE) + + +_ACCOUNTBUDGETPROPOSALTYPEENUM = _descriptor.Descriptor( + name='AccountBudgetProposalTypeEnum', + full_name='google.ads.googleads.v6.enums.AccountBudgetProposalTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=136, + serialized_end=271, +) + +_ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE.containing_type = _ACCOUNTBUDGETPROPOSALTYPEENUM +DESCRIPTOR.message_types_by_name['AccountBudgetProposalTypeEnum'] = _ACCOUNTBUDGETPROPOSALTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AccountBudgetProposalTypeEnum = _reflection.GeneratedProtocolMessageType('AccountBudgetProposalTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _ACCOUNTBUDGETPROPOSALTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.account_budget_proposal_type_pb2' + , + '__doc__': """Message describing AccountBudgetProposal types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.AccountBudgetProposalTypeEnum) + }) +_sym_db.RegisterMessage(AccountBudgetProposalTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/account_budget_proposal_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/account_budget_proposal_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/account_budget_proposal_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/account_budget_status_pb2.py b/google/ads/google_ads/v6/proto/enums/account_budget_status_pb2.py new file mode 100644 index 000000000..6045fd53d --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/account_budget_status_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/account_budget_status.proto + +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_v6/proto/enums/account_budget_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\030AccountBudgetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/enums/account_budget_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x18\x41\x63\x63ountBudgetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS = _descriptor.EnumDescriptor( + name='AccountBudgetStatus', + full_name='google.ads.googleads.v6.enums.AccountBudgetStatusEnum.AccountBudgetStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANCELLED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=248, +) +_sym_db.RegisterEnumDescriptor(_ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS) + + +_ACCOUNTBUDGETSTATUSENUM = _descriptor.Descriptor( + name='AccountBudgetStatusEnum', + full_name='google.ads.googleads.v6.enums.AccountBudgetStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=248, +) + +_ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS.containing_type = _ACCOUNTBUDGETSTATUSENUM +DESCRIPTOR.message_types_by_name['AccountBudgetStatusEnum'] = _ACCOUNTBUDGETSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AccountBudgetStatusEnum = _reflection.GeneratedProtocolMessageType('AccountBudgetStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _ACCOUNTBUDGETSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.account_budget_status_pb2' + , + '__doc__': """Message describing AccountBudget statuses.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.AccountBudgetStatusEnum) + }) +_sym_db.RegisterMessage(AccountBudgetStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/account_budget_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/account_budget_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/account_budget_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/account_link_status_pb2.py b/google/ads/google_ads/v6/proto/enums/account_link_status_pb2.py new file mode 100644 index 000000000..6c394e8f9 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/account_link_status_pb2.py @@ -0,0 +1,125 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/account_link_status.proto + +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_v6/proto/enums/account_link_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026AccountLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/enums/account_link_status.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\xa5\x01\n\x15\x41\x63\x63ountLinkStatusEnum\"\x8b\x01\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\x12\r\n\tREQUESTED\x10\x04\x12\x14\n\x10PENDING_APPROVAL\x10\x05\x12\x0c\n\x08REJECTED\x10\x06\x12\x0b\n\x07REVOKED\x10\x07\x42\xeb\x01\n!com.google.ads.googleads.v6.enumsB\x16\x41\x63\x63ountLinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ACCOUNTLINKSTATUSENUM_ACCOUNTLINKSTATUS = _descriptor.EnumDescriptor( + name='AccountLinkStatus', + full_name='google.ads.googleads.v6.enums.AccountLinkStatusEnum.AccountLinkStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REQUESTED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING_APPROVAL', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REJECTED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REVOKED', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=292, +) +_sym_db.RegisterEnumDescriptor(_ACCOUNTLINKSTATUSENUM_ACCOUNTLINKSTATUS) + + +_ACCOUNTLINKSTATUSENUM = _descriptor.Descriptor( + name='AccountLinkStatusEnum', + full_name='google.ads.googleads.v6.enums.AccountLinkStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ACCOUNTLINKSTATUSENUM_ACCOUNTLINKSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=292, +) + +_ACCOUNTLINKSTATUSENUM_ACCOUNTLINKSTATUS.containing_type = _ACCOUNTLINKSTATUSENUM +DESCRIPTOR.message_types_by_name['AccountLinkStatusEnum'] = _ACCOUNTLINKSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AccountLinkStatusEnum = _reflection.GeneratedProtocolMessageType('AccountLinkStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _ACCOUNTLINKSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.AccountLinkStatusEnum) + }) +_sym_db.RegisterMessage(AccountLinkStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/account_link_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/account_link_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/account_link_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/ad_customizer_placeholder_field_pb2.py b/google/ads/google_ads/v6/proto/enums/ad_customizer_placeholder_field_pb2.py new file mode 100644 index 000000000..edfd74562 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/ad_customizer_placeholder_field_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/ad_customizer_placeholder_field.proto + +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_v6/proto/enums/ad_customizer_placeholder_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB!AdCustomizerPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nIgoogle/ads/googleads_v6/proto/enums/ad_customizer_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB!AdCustomizerPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD = _descriptor.EnumDescriptor( + name='AdCustomizerPlaceholderField', + full_name='google.ads.googleads.v6.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INTEGER', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRING', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=175, + serialized_end=281, +) +_sym_db.RegisterEnumDescriptor(_ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD) + + +_ADCUSTOMIZERPLACEHOLDERFIELDENUM = _descriptor.Descriptor( + name='AdCustomizerPlaceholderFieldEnum', + full_name='google.ads.googleads.v6.enums.AdCustomizerPlaceholderFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=139, + serialized_end=281, +) + +_ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD.containing_type = _ADCUSTOMIZERPLACEHOLDERFIELDENUM +DESCRIPTOR.message_types_by_name['AdCustomizerPlaceholderFieldEnum'] = _ADCUSTOMIZERPLACEHOLDERFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdCustomizerPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('AdCustomizerPlaceholderFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADCUSTOMIZERPLACEHOLDERFIELDENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.ad_customizer_placeholder_field_pb2' + , + '__doc__': """Values for Ad Customizer placeholder fields.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.AdCustomizerPlaceholderFieldEnum) + }) +_sym_db.RegisterMessage(AdCustomizerPlaceholderFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/ad_destination_type_pb2.py b/google/ads/google_ads/v6/proto/enums/ad_destination_type_pb2.py new file mode 100644 index 000000000..da31e12e2 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/ad_destination_type_pb2.py @@ -0,0 +1,150 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/ad_destination_type.proto + +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_v6/proto/enums/ad_destination_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026AdDestinationTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/enums/ad_destination_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\x90\x02\n\x15\x41\x64\x44\x65stinationTypeEnum\"\xf6\x01\n\x11\x41\x64\x44\x65stinationType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0eNOT_APPLICABLE\x10\x02\x12\x0b\n\x07WEBSITE\x10\x03\x12\x11\n\rAPP_DEEP_LINK\x10\x04\x12\r\n\tAPP_STORE\x10\x05\x12\x0e\n\nPHONE_CALL\x10\x06\x12\x12\n\x0eMAP_DIRECTIONS\x10\x07\x12\x14\n\x10LOCATION_LISTING\x10\x08\x12\x0b\n\x07MESSAGE\x10\t\x12\r\n\tLEAD_FORM\x10\n\x12\x0b\n\x07YOUTUBE\x10\x0b\x12\x1d\n\x19UNMODELED_FOR_CONVERSIONS\x10\x0c\x42\xeb\x01\n!com.google.ads.googleads.v6.enumsB\x16\x41\x64\x44\x65stinationTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADDESTINATIONTYPEENUM_ADDESTINATIONTYPE = _descriptor.EnumDescriptor( + name='AdDestinationType', + full_name='google.ads.googleads.v6.enums.AdDestinationTypeEnum.AdDestinationType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_APPLICABLE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WEBSITE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APP_DEEP_LINK', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APP_STORE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_CALL', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MAP_DIRECTIONS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION_LISTING', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MESSAGE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEAD_FORM', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YOUTUBE', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNMODELED_FOR_CONVERSIONS', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=399, +) +_sym_db.RegisterEnumDescriptor(_ADDESTINATIONTYPEENUM_ADDESTINATIONTYPE) + + +_ADDESTINATIONTYPEENUM = _descriptor.Descriptor( + name='AdDestinationTypeEnum', + full_name='google.ads.googleads.v6.enums.AdDestinationTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADDESTINATIONTYPEENUM_ADDESTINATIONTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=399, +) + +_ADDESTINATIONTYPEENUM_ADDESTINATIONTYPE.containing_type = _ADDESTINATIONTYPEENUM +DESCRIPTOR.message_types_by_name['AdDestinationTypeEnum'] = _ADDESTINATIONTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdDestinationTypeEnum = _reflection.GeneratedProtocolMessageType('AdDestinationTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADDESTINATIONTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.ad_destination_type_pb2' + , + '__doc__': """Container for enumeration of Google Ads destination types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.AdDestinationTypeEnum) + }) +_sym_db.RegisterMessage(AdDestinationTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/ad_destination_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/ad_destination_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/ad_destination_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/ad_group_ad_rotation_mode_pb2.py b/google/ads/google_ads/v6/proto/enums/ad_group_ad_rotation_mode_pb2.py new file mode 100644 index 000000000..ced7e39e2 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/ad_group_ad_rotation_mode_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/ad_group_ad_rotation_mode.proto + +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_v6/proto/enums/ad_group_ad_rotation_mode.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\032AdGroupAdRotationModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/enums/ad_group_ad_rotation_mode.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1a\x41\x64GroupAdRotationModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE = _descriptor.EnumDescriptor( + name='AdGroupAdRotationMode', + full_name='google.ads.googleads.v6.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPTIMIZE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ROTATE_FOREVER', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=161, + serialized_end=248, +) +_sym_db.RegisterEnumDescriptor(_ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE) + + +_ADGROUPADROTATIONMODEENUM = _descriptor.Descriptor( + name='AdGroupAdRotationModeEnum', + full_name='google.ads.googleads.v6.enums.AdGroupAdRotationModeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=248, +) + +_ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE.containing_type = _ADGROUPADROTATIONMODEENUM +DESCRIPTOR.message_types_by_name['AdGroupAdRotationModeEnum'] = _ADGROUPADROTATIONMODEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupAdRotationModeEnum = _reflection.GeneratedProtocolMessageType('AdGroupAdRotationModeEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPADROTATIONMODEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.AdGroupAdRotationModeEnum) + }) +_sym_db.RegisterMessage(AdGroupAdRotationModeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/ad_group_ad_status_pb2.py b/google/ads/google_ads/v6/proto/enums/ad_group_ad_status_pb2.py new file mode 100644 index 000000000..15f695b14 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/ad_group_ad_status_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/ad_group_ad_status.proto + +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_v6/proto/enums/ad_group_ad_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\024AdGroupAdStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/enums/billing_setup_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x17\x42illingSetupStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS = _descriptor.EnumDescriptor( + name='BillingSetupStatus', + full_name='google.ads.googleads.v6.enums.BillingSetupStatusEnum.BillingSetupStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROVED_HELD', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROVED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANCELLED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=154, + serialized_end=265, +) +_sym_db.RegisterEnumDescriptor(_BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS) + + +_BILLINGSETUPSTATUSENUM = _descriptor.Descriptor( + name='BillingSetupStatusEnum', + full_name='google.ads.googleads.v6.enums.BillingSetupStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=265, +) + +_BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS.containing_type = _BILLINGSETUPSTATUSENUM +DESCRIPTOR.message_types_by_name['BillingSetupStatusEnum'] = _BILLINGSETUPSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BillingSetupStatusEnum = _reflection.GeneratedProtocolMessageType('BillingSetupStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _BILLINGSETUPSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.billing_setup_status_pb2' + , + '__doc__': """Message describing BillingSetup statuses.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.BillingSetupStatusEnum) + }) +_sym_db.RegisterMessage(BillingSetupStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/billing_setup_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/billing_setup_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/billing_setup_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/brand_safety_suitability_pb2.py b/google/ads/google_ads/v6/proto/enums/brand_safety_suitability_pb2.py new file mode 100644 index 000000000..fd4f1b549 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/brand_safety_suitability_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/brand_safety_suitability.proto + +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_v6/proto/enums/brand_safety_suitability.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\033BrandSafetySuitabilityProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/enums/brand_safety_suitability.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1b\x42randSafetySuitabilityProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY = _descriptor.EnumDescriptor( + name='BrandSafetySuitability', + full_name='google.ads.googleads.v6.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPANDED_INVENTORY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STANDARD_INVENTORY', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LIMITED_INVENTORY', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=162, + serialized_end=287, +) +_sym_db.RegisterEnumDescriptor(_BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY) + + +_BRANDSAFETYSUITABILITYENUM = _descriptor.Descriptor( + name='BrandSafetySuitabilityEnum', + full_name='google.ads.googleads.v6.enums.BrandSafetySuitabilityEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=287, +) + +_BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY.containing_type = _BRANDSAFETYSUITABILITYENUM +DESCRIPTOR.message_types_by_name['BrandSafetySuitabilityEnum'] = _BRANDSAFETYSUITABILITYENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BrandSafetySuitabilityEnum = _reflection.GeneratedProtocolMessageType('BrandSafetySuitabilityEnum', (_message.Message,), { + 'DESCRIPTOR' : _BRANDSAFETYSUITABILITYENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.BrandSafetySuitabilityEnum) + }) +_sym_db.RegisterMessage(BrandSafetySuitabilityEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/brand_safety_suitability_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/brand_safety_suitability_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/brand_safety_suitability_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/budget_campaign_association_status_pb2.py b/google/ads/google_ads/v6/proto/enums/budget_campaign_association_status_pb2.py new file mode 100644 index 000000000..7d6eaccc1 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_campaign_association_status_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/budget_campaign_association_status.proto + +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_v6/proto/enums/budget_campaign_association_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB$BudgetCampaignAssociationStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nLgoogle/ads/googleads_v6/proto/enums/budget_campaign_association_status.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\x80\x01\n#BudgetCampaignAssociationStatusEnum\"Y\n\x1f\x42udgetCampaignAssociationStatus\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\xf9\x01\n!com.google.ads.googleads.v6.enumsB$BudgetCampaignAssociationStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BUDGETCAMPAIGNASSOCIATIONSTATUSENUM_BUDGETCAMPAIGNASSOCIATIONSTATUS = _descriptor.EnumDescriptor( + name='BudgetCampaignAssociationStatus', + full_name='google.ads.googleads.v6.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=181, + serialized_end=270, +) +_sym_db.RegisterEnumDescriptor(_BUDGETCAMPAIGNASSOCIATIONSTATUSENUM_BUDGETCAMPAIGNASSOCIATIONSTATUS) + + +_BUDGETCAMPAIGNASSOCIATIONSTATUSENUM = _descriptor.Descriptor( + name='BudgetCampaignAssociationStatusEnum', + full_name='google.ads.googleads.v6.enums.BudgetCampaignAssociationStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BUDGETCAMPAIGNASSOCIATIONSTATUSENUM_BUDGETCAMPAIGNASSOCIATIONSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=142, + serialized_end=270, +) + +_BUDGETCAMPAIGNASSOCIATIONSTATUSENUM_BUDGETCAMPAIGNASSOCIATIONSTATUS.containing_type = _BUDGETCAMPAIGNASSOCIATIONSTATUSENUM +DESCRIPTOR.message_types_by_name['BudgetCampaignAssociationStatusEnum'] = _BUDGETCAMPAIGNASSOCIATIONSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BudgetCampaignAssociationStatusEnum = _reflection.GeneratedProtocolMessageType('BudgetCampaignAssociationStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _BUDGETCAMPAIGNASSOCIATIONSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.budget_campaign_association_status_pb2' + , + '__doc__': """Message describing the status of the association between the Budget + and the Campaign.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.BudgetCampaignAssociationStatusEnum) + }) +_sym_db.RegisterMessage(BudgetCampaignAssociationStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/budget_campaign_association_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/budget_campaign_association_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_campaign_association_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/budget_delivery_method_pb2.py b/google/ads/google_ads/v6/proto/enums/budget_delivery_method_pb2.py new file mode 100644 index 000000000..6de5bed3e --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_delivery_method_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/budget_delivery_method.proto + +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_v6/proto/enums/budget_delivery_method.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031BudgetDeliveryMethodProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/enums/budget_delivery_method.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x19\x42udgetDeliveryMethodProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD = _descriptor.EnumDescriptor( + name='BudgetDeliveryMethod', + full_name='google.ads.googleads.v6.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STANDARD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACCELERATED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=157, + serialized_end=240, +) +_sym_db.RegisterEnumDescriptor(_BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD) + + +_BUDGETDELIVERYMETHODENUM = _descriptor.Descriptor( + name='BudgetDeliveryMethodEnum', + full_name='google.ads.googleads.v6.enums.BudgetDeliveryMethodEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=240, +) + +_BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD.containing_type = _BUDGETDELIVERYMETHODENUM +DESCRIPTOR.message_types_by_name['BudgetDeliveryMethodEnum'] = _BUDGETDELIVERYMETHODENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BudgetDeliveryMethodEnum = _reflection.GeneratedProtocolMessageType('BudgetDeliveryMethodEnum', (_message.Message,), { + 'DESCRIPTOR' : _BUDGETDELIVERYMETHODENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.BudgetDeliveryMethodEnum) + }) +_sym_db.RegisterMessage(BudgetDeliveryMethodEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/budget_delivery_method_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/budget_delivery_method_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_delivery_method_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/budget_period_pb2.py b/google/ads/google_ads/v6/proto/enums/budget_period_pb2.py new file mode 100644 index 000000000..f3ec459e2 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_period_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/budget_period.proto + +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_v6/proto/enums/budget_period.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\021BudgetPeriodProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n7google/ads/googleads_v6/proto/enums/budget_period.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"^\n\x10\x42udgetPeriodEnum\"J\n\x0c\x42udgetPeriod\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x12\x11\n\rCUSTOM_PERIOD\x10\x05\x42\xe6\x01\n!com.google.ads.googleads.v6.enumsB\x11\x42udgetPeriodProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BUDGETPERIODENUM_BUDGETPERIOD = _descriptor.EnumDescriptor( + name='BudgetPeriod', + full_name='google.ads.googleads.v6.enums.BudgetPeriodEnum.BudgetPeriod', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DAILY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOM_PERIOD', index=3, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=140, + serialized_end=214, +) +_sym_db.RegisterEnumDescriptor(_BUDGETPERIODENUM_BUDGETPERIOD) + + +_BUDGETPERIODENUM = _descriptor.Descriptor( + name='BudgetPeriodEnum', + full_name='google.ads.googleads.v6.enums.BudgetPeriodEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BUDGETPERIODENUM_BUDGETPERIOD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=120, + serialized_end=214, +) + +_BUDGETPERIODENUM_BUDGETPERIOD.containing_type = _BUDGETPERIODENUM +DESCRIPTOR.message_types_by_name['BudgetPeriodEnum'] = _BUDGETPERIODENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BudgetPeriodEnum = _reflection.GeneratedProtocolMessageType('BudgetPeriodEnum', (_message.Message,), { + 'DESCRIPTOR' : _BUDGETPERIODENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.budget_period_pb2' + , + '__doc__': """Message describing Budget period.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.BudgetPeriodEnum) + }) +_sym_db.RegisterMessage(BudgetPeriodEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/budget_period_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/budget_period_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_period_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/budget_status_pb2.py b/google/ads/google_ads/v6/proto/enums/budget_status_pb2.py new file mode 100644 index 000000000..8998a0e52 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/budget_status.proto + +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_v6/proto/enums/budget_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\021BudgetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n7google/ads/googleads_v6/proto/enums/budget_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x11\x42udgetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BUDGETSTATUSENUM_BUDGETSTATUS = _descriptor.EnumDescriptor( + name='BudgetStatus', + full_name='google.ads.googleads.v6.enums.BudgetStatusEnum.BudgetStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=140, + serialized_end=210, +) +_sym_db.RegisterEnumDescriptor(_BUDGETSTATUSENUM_BUDGETSTATUS) + + +_BUDGETSTATUSENUM = _descriptor.Descriptor( + name='BudgetStatusEnum', + full_name='google.ads.googleads.v6.enums.BudgetStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BUDGETSTATUSENUM_BUDGETSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=120, + serialized_end=210, +) + +_BUDGETSTATUSENUM_BUDGETSTATUS.containing_type = _BUDGETSTATUSENUM +DESCRIPTOR.message_types_by_name['BudgetStatusEnum'] = _BUDGETSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BudgetStatusEnum = _reflection.GeneratedProtocolMessageType('BudgetStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _BUDGETSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.budget_status_pb2' + , + '__doc__': """Message describing a Budget status""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.BudgetStatusEnum) + }) +_sym_db.RegisterMessage(BudgetStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/budget_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/budget_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/budget_type_pb2.py b/google/ads/google_ads/v6/proto/enums/budget_type_pb2.py new file mode 100644 index 000000000..e6b320f83 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_type_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/budget_type.proto + +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_v6/proto/enums/budget_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\017BudgetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/enums/budget_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x0f\x42udgetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BUDGETTYPEENUM_BUDGETTYPE = _descriptor.EnumDescriptor( + name='BudgetType', + full_name='google.ads.googleads.v6.enums.BudgetTypeEnum.BudgetType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STANDARD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HOTEL_ADS_COMMISSION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIXED_CPA', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=136, + serialized_end=233, +) +_sym_db.RegisterEnumDescriptor(_BUDGETTYPEENUM_BUDGETTYPE) + + +_BUDGETTYPEENUM = _descriptor.Descriptor( + name='BudgetTypeEnum', + full_name='google.ads.googleads.v6.enums.BudgetTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BUDGETTYPEENUM_BUDGETTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=118, + serialized_end=233, +) + +_BUDGETTYPEENUM_BUDGETTYPE.containing_type = _BUDGETTYPEENUM +DESCRIPTOR.message_types_by_name['BudgetTypeEnum'] = _BUDGETTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BudgetTypeEnum = _reflection.GeneratedProtocolMessageType('BudgetTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _BUDGETTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.budget_type_pb2' + , + '__doc__': """Describes Budget types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.BudgetTypeEnum) + }) +_sym_db.RegisterMessage(BudgetTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/budget_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/budget_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/budget_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/call_conversion_reporting_state_pb2.py b/google/ads/google_ads/v6/proto/enums/call_conversion_reporting_state_pb2.py new file mode 100644 index 000000000..08b7b7001 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/call_conversion_reporting_state_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/call_conversion_reporting_state.proto + +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_v6/proto/enums/call_conversion_reporting_state.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB!CallConversionReportingStateProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nIgoogle/ads/googleads_v6/proto/enums/call_conversion_reporting_state.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB!CallConversionReportingStateProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE = _descriptor.EnumDescriptor( + name='CallConversionReportingState', + full_name='google.ads.googleads.v6.enums.CallConversionReportingStateEnum.CallConversionReportingState', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=176, + serialized_end=343, +) +_sym_db.RegisterEnumDescriptor(_CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE) + + +_CALLCONVERSIONREPORTINGSTATEENUM = _descriptor.Descriptor( + name='CallConversionReportingStateEnum', + full_name='google.ads.googleads.v6.enums.CallConversionReportingStateEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=139, + serialized_end=343, +) + +_CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE.containing_type = _CALLCONVERSIONREPORTINGSTATEENUM +DESCRIPTOR.message_types_by_name['CallConversionReportingStateEnum'] = _CALLCONVERSIONREPORTINGSTATEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CallConversionReportingStateEnum = _reflection.GeneratedProtocolMessageType('CallConversionReportingStateEnum', (_message.Message,), { + 'DESCRIPTOR' : _CALLCONVERSIONREPORTINGSTATEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.CallConversionReportingStateEnum) + }) +_sym_db.RegisterMessage(CallConversionReportingStateEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/call_conversion_reporting_state_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/call_conversion_reporting_state_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/call_conversion_reporting_state_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/call_placeholder_field_pb2.py b/google/ads/google_ads/v6/proto/enums/call_placeholder_field_pb2.py new file mode 100644 index 000000000..2ce7b13b5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/call_placeholder_field_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/call_placeholder_field.proto + +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_v6/proto/enums/call_placeholder_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031CallPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/enums/call_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x19\x43\x61llPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD = _descriptor.EnumDescriptor( + name='CallPlaceholderField', + full_name='google.ads.googleads.v6.enums.CallPlaceholderFieldEnum.CallPlaceholderField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COUNTRY_CODE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRACKED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_TYPE_ID', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_REPORTING_STATE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=159, + serialized_end=316, +) +_sym_db.RegisterEnumDescriptor(_CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD) + + +_CALLPLACEHOLDERFIELDENUM = _descriptor.Descriptor( + name='CallPlaceholderFieldEnum', + full_name='google.ads.googleads.v6.enums.CallPlaceholderFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=316, +) + +_CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD.containing_type = _CALLPLACEHOLDERFIELDENUM +DESCRIPTOR.message_types_by_name['CallPlaceholderFieldEnum'] = _CALLPLACEHOLDERFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CallPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('CallPlaceholderFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _CALLPLACEHOLDERFIELDENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.call_placeholder_field_pb2' + , + '__doc__': """Values for Call placeholder fields.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CallPlaceholderFieldEnum) + }) +_sym_db.RegisterMessage(CallPlaceholderFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/call_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/call_placeholder_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/call_placeholder_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/callout_placeholder_field_pb2.py b/google/ads/google_ads/v6/proto/enums/callout_placeholder_field_pb2.py new file mode 100644 index 000000000..58e99f5b6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/callout_placeholder_field_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/callout_placeholder_field.proto + +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_v6/proto/enums/callout_placeholder_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\034CalloutPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/enums/callout_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1c\x43\x61lloutPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD = _descriptor.EnumDescriptor( + name='CalloutPlaceholderField', + full_name='google.ads.googleads.v6.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALLOUT_TEXT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=163, + serialized_end=236, +) +_sym_db.RegisterEnumDescriptor(_CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD) + + +_CALLOUTPLACEHOLDERFIELDENUM = _descriptor.Descriptor( + name='CalloutPlaceholderFieldEnum', + full_name='google.ads.googleads.v6.enums.CalloutPlaceholderFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=236, +) + +_CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD.containing_type = _CALLOUTPLACEHOLDERFIELDENUM +DESCRIPTOR.message_types_by_name['CalloutPlaceholderFieldEnum'] = _CALLOUTPLACEHOLDERFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CalloutPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('CalloutPlaceholderFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _CALLOUTPLACEHOLDERFIELDENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.callout_placeholder_field_pb2' + , + '__doc__': """Values for Callout placeholder fields.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CalloutPlaceholderFieldEnum) + }) +_sym_db.RegisterMessage(CalloutPlaceholderFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/callout_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/callout_placeholder_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/callout_placeholder_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/campaign_criterion_status_pb2.py b/google/ads/google_ads/v6/proto/enums/campaign_criterion_status_pb2.py new file mode 100644 index 000000000..f99a6825c --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_criterion_status_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/campaign_criterion_status.proto + +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_v6/proto/enums/campaign_criterion_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\034CampaignCriterionStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/enums/campaign_criterion_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1c\x43\x61mpaignCriterionStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS = _descriptor.EnumDescriptor( + name='CampaignCriterionStatus', + full_name='google.ads.googleads.v6.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAUSED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=163, + serialized_end=256, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS) + + +_CAMPAIGNCRITERIONSTATUSENUM = _descriptor.Descriptor( + name='CampaignCriterionStatusEnum', + full_name='google.ads.googleads.v6.enums.CampaignCriterionStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=256, +) + +_CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS.containing_type = _CAMPAIGNCRITERIONSTATUSENUM +DESCRIPTOR.message_types_by_name['CampaignCriterionStatusEnum'] = _CAMPAIGNCRITERIONSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignCriterionStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignCriterionStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNCRITERIONSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.campaign_criterion_status_pb2' + , + '__doc__': """Message describing CampaignCriterion statuses.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CampaignCriterionStatusEnum) + }) +_sym_db.RegisterMessage(CampaignCriterionStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/campaign_criterion_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/campaign_criterion_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_criterion_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/campaign_draft_status_pb2.py b/google/ads/google_ads/v6/proto/enums/campaign_draft_status_pb2.py new file mode 100644 index 000000000..36e8606b5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_draft_status_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/campaign_draft_status.proto + +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_v6/proto/enums/campaign_draft_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\030CampaignDraftStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/enums/campaign_draft_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x18\x43\x61mpaignDraftStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNDRAFTSTATUSENUM_CAMPAIGNDRAFTSTATUS = _descriptor.EnumDescriptor( + name='CampaignDraftStatus', + full_name='google.ads.googleads.v6.enums.CampaignDraftStatusEnum.CampaignDraftStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROPOSED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTING', index=4, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTED', index=5, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTE_FAILED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=156, + serialized_end=283, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNDRAFTSTATUSENUM_CAMPAIGNDRAFTSTATUS) + + +_CAMPAIGNDRAFTSTATUSENUM = _descriptor.Descriptor( + name='CampaignDraftStatusEnum', + full_name='google.ads.googleads.v6.enums.CampaignDraftStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNDRAFTSTATUSENUM_CAMPAIGNDRAFTSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=283, +) + +_CAMPAIGNDRAFTSTATUSENUM_CAMPAIGNDRAFTSTATUS.containing_type = _CAMPAIGNDRAFTSTATUSENUM +DESCRIPTOR.message_types_by_name['CampaignDraftStatusEnum'] = _CAMPAIGNDRAFTSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignDraftStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignDraftStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNDRAFTSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.CampaignDraftStatusEnum) + }) +_sym_db.RegisterMessage(CampaignDraftStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/campaign_draft_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/campaign_draft_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_draft_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/campaign_experiment_status_pb2.py b/google/ads/google_ads/v6/proto/enums/campaign_experiment_status_pb2.py new file mode 100644 index 000000000..d8f93ad56 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_experiment_status_pb2.py @@ -0,0 +1,141 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/campaign_experiment_status.proto + +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_v6/proto/enums/campaign_experiment_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\035CampaignExperimentStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/enums/campaign_experiment_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1d\x43\x61mpaignExperimentStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS = _descriptor.EnumDescriptor( + name='CampaignExperimentStatus', + full_name='google.ads.googleads.v6.enums.CampaignExperimentStatusEnum.CampaignExperimentStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INITIALIZING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INITIALIZATION_FAILED', index=3, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=4, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GRADUATED', index=5, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=6, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTING', index=7, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION_FAILED', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTED', index=9, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENDED_MANUALLY', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=167, + serialized_end=380, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS) + + +_CAMPAIGNEXPERIMENTSTATUSENUM = _descriptor.Descriptor( + name='CampaignExperimentStatusEnum', + full_name='google.ads.googleads.v6.enums.CampaignExperimentStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=380, +) + +_CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS.containing_type = _CAMPAIGNEXPERIMENTSTATUSENUM +DESCRIPTOR.message_types_by_name['CampaignExperimentStatusEnum'] = _CAMPAIGNEXPERIMENTSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignExperimentStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNEXPERIMENTSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.CampaignExperimentStatusEnum) + }) +_sym_db.RegisterMessage(CampaignExperimentStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/campaign_experiment_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/campaign_experiment_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_experiment_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/campaign_experiment_traffic_split_type_pb2.py b/google/ads/google_ads/v6/proto/enums/campaign_experiment_traffic_split_type_pb2.py new file mode 100644 index 000000000..3195b598a --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_experiment_traffic_split_type_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/campaign_experiment_traffic_split_type.proto + +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_v6/proto/enums/campaign_experiment_traffic_split_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\'CampaignExperimentTrafficSplitTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nPgoogle/ads/googleads_v6/proto/enums/campaign_experiment_traffic_split_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\'CampaignExperimentTrafficSplitTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE = _descriptor.EnumDescriptor( + name='CampaignExperimentTrafficSplitType', + full_name='google.ads.googleads.v6.enums.CampaignExperimentTrafficSplitTypeEnum.CampaignExperimentTrafficSplitType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RANDOM_QUERY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COOKIE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=188, + serialized_end=284, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE) + + +_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM = _descriptor.Descriptor( + name='CampaignExperimentTrafficSplitTypeEnum', + full_name='google.ads.googleads.v6.enums.CampaignExperimentTrafficSplitTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=146, + serialized_end=284, +) + +_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE.containing_type = _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM +DESCRIPTOR.message_types_by_name['CampaignExperimentTrafficSplitTypeEnum'] = _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignExperimentTrafficSplitTypeEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentTrafficSplitTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.CampaignExperimentTrafficSplitTypeEnum) + }) +_sym_db.RegisterMessage(CampaignExperimentTrafficSplitTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/campaign_experiment_type_pb2.py b/google/ads/google_ads/v6/proto/enums/campaign_experiment_type_pb2.py new file mode 100644 index 000000000..c01d9f9f4 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_experiment_type_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/campaign_experiment_type.proto + +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_v6/proto/enums/campaign_experiment_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\033CampaignExperimentTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/enums/campaign_experiment_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1b\x43\x61mpaignExperimentTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE = _descriptor.EnumDescriptor( + name='CampaignExperimentType', + full_name='google.ads.googleads.v6.enums.CampaignExperimentTypeEnum.CampaignExperimentType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BASE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DRAFT', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPERIMENT', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=161, + serialized_end=252, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE) + + +_CAMPAIGNEXPERIMENTTYPEENUM = _descriptor.Descriptor( + name='CampaignExperimentTypeEnum', + full_name='google.ads.googleads.v6.enums.CampaignExperimentTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=252, +) + +_CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE.containing_type = _CAMPAIGNEXPERIMENTTYPEENUM +DESCRIPTOR.message_types_by_name['CampaignExperimentTypeEnum'] = _CAMPAIGNEXPERIMENTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignExperimentTypeEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNEXPERIMENTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.campaign_experiment_type_pb2' + , + '__doc__': """Container for enum describing campaign experiment type.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CampaignExperimentTypeEnum) + }) +_sym_db.RegisterMessage(CampaignExperimentTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/campaign_experiment_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/campaign_experiment_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_experiment_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/campaign_serving_status_pb2.py b/google/ads/google_ads/v6/proto/enums/campaign_serving_status_pb2.py new file mode 100644 index 000000000..cd07f28bd --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_serving_status_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/campaign_serving_status.proto + +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_v6/proto/enums/campaign_serving_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\032CampaignServingStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/enums/campaign_serving_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1a\x43\x61mpaignServingStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS = _descriptor.EnumDescriptor( + name='CampaignServingStatus', + full_name='google.ads.googleads.v6.enums.CampaignServingStatusEnum.CampaignServingStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SERVING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NONE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENDED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SUSPENDED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=160, + serialized_end=275, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS) + + +_CAMPAIGNSERVINGSTATUSENUM = _descriptor.Descriptor( + name='CampaignServingStatusEnum', + full_name='google.ads.googleads.v6.enums.CampaignServingStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=275, +) + +_CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS.containing_type = _CAMPAIGNSERVINGSTATUSENUM +DESCRIPTOR.message_types_by_name['CampaignServingStatusEnum'] = _CAMPAIGNSERVINGSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignServingStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignServingStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNSERVINGSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.campaign_serving_status_pb2' + , + '__doc__': """Message describing Campaign serving statuses.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CampaignServingStatusEnum) + }) +_sym_db.RegisterMessage(CampaignServingStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/campaign_serving_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/campaign_serving_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_serving_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/campaign_shared_set_status_pb2.py b/google/ads/google_ads/v6/proto/enums/campaign_shared_set_status_pb2.py new file mode 100644 index 000000000..d68a5e4e0 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_shared_set_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/campaign_shared_set_status.proto + +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_v6/proto/enums/campaign_shared_set_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\034CampaignSharedSetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/enums/campaign_shared_set_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1c\x43\x61mpaignSharedSetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS = _descriptor.EnumDescriptor( + name='CampaignSharedSetStatus', + full_name='google.ads.googleads.v6.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=164, + serialized_end=245, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS) + + +_CAMPAIGNSHAREDSETSTATUSENUM = _descriptor.Descriptor( + name='CampaignSharedSetStatusEnum', + full_name='google.ads.googleads.v6.enums.CampaignSharedSetStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=133, + serialized_end=245, +) + +_CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS.containing_type = _CAMPAIGNSHAREDSETSTATUSENUM +DESCRIPTOR.message_types_by_name['CampaignSharedSetStatusEnum'] = _CAMPAIGNSHAREDSETSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignSharedSetStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignSharedSetStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNSHAREDSETSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.CampaignSharedSetStatusEnum) + }) +_sym_db.RegisterMessage(CampaignSharedSetStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/campaign_shared_set_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/campaign_shared_set_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_shared_set_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/campaign_status_pb2.py b/google/ads/google_ads/v6/proto/enums/campaign_status_pb2.py new file mode 100644 index 000000000..b0ce6b935 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_status_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/campaign_status.proto + +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_v6/proto/enums/campaign_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\023CampaignStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/enums/campaign_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x13\x43\x61mpaignStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS = _descriptor.EnumDescriptor( + name='CampaignStatus', + full_name='google.ads.googleads.v6.enums.CampaignStatusEnum.CampaignStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAUSED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=228, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS) + + +_CAMPAIGNSTATUSENUM = _descriptor.Descriptor( + name='CampaignStatusEnum', + full_name='google.ads.googleads.v6.enums.CampaignStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=122, + serialized_end=228, +) + +_CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS.containing_type = _CAMPAIGNSTATUSENUM +DESCRIPTOR.message_types_by_name['CampaignStatusEnum'] = _CAMPAIGNSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.campaign_status_pb2' + , + '__doc__': """Container for enum describing possible statuses of a campaign.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CampaignStatusEnum) + }) +_sym_db.RegisterMessage(CampaignStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/campaign_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/campaign_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/campaign_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/change_client_type_pb2.py b/google/ads/google_ads/v6/proto/enums/change_client_type_pb2.py new file mode 100644 index 000000000..e64d34679 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/change_client_type_pb2.py @@ -0,0 +1,156 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/change_client_type.proto + +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_v6/proto/enums/change_client_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025ChangeClientTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/enums/custom_audience_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\x85\x01\n\x16\x43ustomAudienceTypeEnum\"k\n\x12\x43ustomAudienceType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04\x41UTO\x10\x02\x12\x0c\n\x08INTEREST\x10\x03\x12\x13\n\x0fPURCHASE_INTENT\x10\x04\x12\n\n\x06SEARCH\x10\x05\x42\xec\x01\n!com.google.ads.googleads.v6.enumsB\x17\x43ustomAudienceTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMAUDIENCETYPEENUM_CUSTOMAUDIENCETYPE = _descriptor.EnumDescriptor( + name='CustomAudienceType', + full_name='google.ads.googleads.v6.enums.CustomAudienceTypeEnum.CustomAudienceType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AUTO', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INTEREST', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PURCHASE_INTENT', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SEARCH', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=154, + serialized_end=261, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMAUDIENCETYPEENUM_CUSTOMAUDIENCETYPE) + + +_CUSTOMAUDIENCETYPEENUM = _descriptor.Descriptor( + name='CustomAudienceTypeEnum', + full_name='google.ads.googleads.v6.enums.CustomAudienceTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMAUDIENCETYPEENUM_CUSTOMAUDIENCETYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=261, +) + +_CUSTOMAUDIENCETYPEENUM_CUSTOMAUDIENCETYPE.containing_type = _CUSTOMAUDIENCETYPEENUM +DESCRIPTOR.message_types_by_name['CustomAudienceTypeEnum'] = _CUSTOMAUDIENCETYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomAudienceTypeEnum = _reflection.GeneratedProtocolMessageType('CustomAudienceTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMAUDIENCETYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.custom_audience_type_pb2' + , + '__doc__': """The types of custom audience.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CustomAudienceTypeEnum) + }) +_sym_db.RegisterMessage(CustomAudienceTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/custom_audience_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/custom_audience_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/custom_audience_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/custom_interest_member_type_pb2.py b/google/ads/google_ads/v6/proto/enums/custom_interest_member_type_pb2.py new file mode 100644 index 000000000..72bb71bb1 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/custom_interest_member_type_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/custom_interest_member_type.proto + +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_v6/proto/enums/custom_interest_member_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\035CustomInterestMemberTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/enums/custom_interest_member_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"n\n\x1c\x43ustomInterestMemberTypeEnum\"N\n\x18\x43ustomInterestMemberType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07KEYWORD\x10\x02\x12\x07\n\x03URL\x10\x03\x42\xf2\x01\n!com.google.ads.googleads.v6.enumsB\x1d\x43ustomInterestMemberTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMINTERESTMEMBERTYPEENUM_CUSTOMINTERESTMEMBERTYPE = _descriptor.EnumDescriptor( + name='CustomInterestMemberType', + full_name='google.ads.googleads.v6.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='KEYWORD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=166, + serialized_end=244, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMINTERESTMEMBERTYPEENUM_CUSTOMINTERESTMEMBERTYPE) + + +_CUSTOMINTERESTMEMBERTYPEENUM = _descriptor.Descriptor( + name='CustomInterestMemberTypeEnum', + full_name='google.ads.googleads.v6.enums.CustomInterestMemberTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMINTERESTMEMBERTYPEENUM_CUSTOMINTERESTMEMBERTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=244, +) + +_CUSTOMINTERESTMEMBERTYPEENUM_CUSTOMINTERESTMEMBERTYPE.containing_type = _CUSTOMINTERESTMEMBERTYPEENUM +DESCRIPTOR.message_types_by_name['CustomInterestMemberTypeEnum'] = _CUSTOMINTERESTMEMBERTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomInterestMemberTypeEnum = _reflection.GeneratedProtocolMessageType('CustomInterestMemberTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMINTERESTMEMBERTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.custom_interest_member_type_pb2' + , + '__doc__': """The types of custom interest member, either KEYWORD or URL.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CustomInterestMemberTypeEnum) + }) +_sym_db.RegisterMessage(CustomInterestMemberTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/custom_interest_member_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/custom_interest_member_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/custom_interest_member_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/custom_interest_status_pb2.py b/google/ads/google_ads/v6/proto/enums/custom_interest_status_pb2.py new file mode 100644 index 000000000..2f0393b45 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/custom_interest_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/custom_interest_status.proto + +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_v6/proto/enums/custom_interest_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031CustomInterestStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/enums/custom_interest_status.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"j\n\x18\x43ustomInterestStatusEnum\"N\n\x14\x43ustomInterestStatus\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.v6.enumsB\x19\x43ustomInterestStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMINTERESTSTATUSENUM_CUSTOMINTERESTSTATUS = _descriptor.EnumDescriptor( + name='CustomInterestStatus', + full_name='google.ads.googleads.v6.enums.CustomInterestStatusEnum.CustomInterestStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=157, + serialized_end=235, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMINTERESTSTATUSENUM_CUSTOMINTERESTSTATUS) + + +_CUSTOMINTERESTSTATUSENUM = _descriptor.Descriptor( + name='CustomInterestStatusEnum', + full_name='google.ads.googleads.v6.enums.CustomInterestStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMINTERESTSTATUSENUM_CUSTOMINTERESTSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=235, +) + +_CUSTOMINTERESTSTATUSENUM_CUSTOMINTERESTSTATUS.containing_type = _CUSTOMINTERESTSTATUSENUM +DESCRIPTOR.message_types_by_name['CustomInterestStatusEnum'] = _CUSTOMINTERESTSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomInterestStatusEnum = _reflection.GeneratedProtocolMessageType('CustomInterestStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMINTERESTSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.custom_interest_status_pb2' + , + '__doc__': """The status of custom interest.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CustomInterestStatusEnum) + }) +_sym_db.RegisterMessage(CustomInterestStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/custom_interest_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/custom_interest_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/custom_interest_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/custom_interest_type_pb2.py b/google/ads/google_ads/v6/proto/enums/custom_interest_type_pb2.py new file mode 100644 index 000000000..cadb4069a --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/custom_interest_type_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/custom_interest_type.proto + +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_v6/proto/enums/custom_interest_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\027CustomInterestTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/enums/custom_interest_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x17\x43ustomInterestTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE = _descriptor.EnumDescriptor( + name='CustomInterestType', + full_name='google.ads.googleads.v6.enums.CustomInterestTypeEnum.CustomInterestType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOM_AFFINITY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOM_INTENT', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=243, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE) + + +_CUSTOMINTERESTTYPEENUM = _descriptor.Descriptor( + name='CustomInterestTypeEnum', + full_name='google.ads.googleads.v6.enums.CustomInterestTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=243, +) + +_CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE.containing_type = _CUSTOMINTERESTTYPEENUM +DESCRIPTOR.message_types_by_name['CustomInterestTypeEnum'] = _CUSTOMINTERESTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomInterestTypeEnum = _reflection.GeneratedProtocolMessageType('CustomInterestTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMINTERESTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.custom_interest_type_pb2' + , + '__doc__': """The types of custom interest.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.CustomInterestTypeEnum) + }) +_sym_db.RegisterMessage(CustomInterestTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/custom_interest_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/custom_interest_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/custom_interest_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/custom_placeholder_field_pb2.py b/google/ads/google_ads/v6/proto/enums/custom_placeholder_field_pb2.py new file mode 100644 index 000000000..eebadc1d6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/custom_placeholder_field_pb2.py @@ -0,0 +1,197 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/custom_placeholder_field.proto + +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_v6/proto/enums/custom_placeholder_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\033CustomPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/enums/custom_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1b\x43ustomPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD = _descriptor.EnumDescriptor( + name='CustomPlaceholderField', + full_name='google.ads.googleads.v6.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ID', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ID2', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_TITLE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_SUBTITLE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_DESCRIPTION', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_ADDRESS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FORMATTED_PRICE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SALE_PRICE', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FORMATTED_SALE_PRICE', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_URL', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_CATEGORY', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_URLS', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_MOBILE_URLS', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRACKING_URL', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTEXTUAL_KEYWORDS', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANDROID_APP_LINK', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIMILAR_IDS', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_APP_LINK', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_APP_STORE_ID', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=163, + serialized_end=578, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD) + + +_CUSTOMPLACEHOLDERFIELDENUM = _descriptor.Descriptor( + name='CustomPlaceholderFieldEnum', + full_name='google.ads.googleads.v6.enums.CustomPlaceholderFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=578, +) + +_CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD.containing_type = _CUSTOMPLACEHOLDERFIELDENUM +DESCRIPTOR.message_types_by_name['CustomPlaceholderFieldEnum'] = _CUSTOMPLACEHOLDERFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('CustomPlaceholderFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMPLACEHOLDERFIELDENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.CustomPlaceholderFieldEnum) + }) +_sym_db.RegisterMessage(CustomPlaceholderFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/custom_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/custom_placeholder_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/custom_placeholder_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/customer_match_upload_key_type_pb2.py b/google/ads/google_ads/v6/proto/enums/customer_match_upload_key_type_pb2.py new file mode 100644 index 000000000..c009d1002 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/customer_match_upload_key_type_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/customer_match_upload_key_type.proto + +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_v6/proto/enums/customer_match_upload_key_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\037CustomerMatchUploadKeyTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nHgoogle/ads/googleads_v6/proto/enums/customer_match_upload_key_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1f\x43ustomerMatchUploadKeyTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE = _descriptor.EnumDescriptor( + name='CustomerMatchUploadKeyType', + full_name='google.ads.googleads.v6.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTACT_INFO', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CRM_ID', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MOBILE_ADVERTISING_ID', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=172, + serialized_end=287, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE) + + +_CUSTOMERMATCHUPLOADKEYTYPEENUM = _descriptor.Descriptor( + name='CustomerMatchUploadKeyTypeEnum', + full_name='google.ads.googleads.v6.enums.CustomerMatchUploadKeyTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=138, + serialized_end=287, +) + +_CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE.containing_type = _CUSTOMERMATCHUPLOADKEYTYPEENUM +DESCRIPTOR.message_types_by_name['CustomerMatchUploadKeyTypeEnum'] = _CUSTOMERMATCHUPLOADKEYTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomerMatchUploadKeyTypeEnum = _reflection.GeneratedProtocolMessageType('CustomerMatchUploadKeyTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMERMATCHUPLOADKEYTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.CustomerMatchUploadKeyTypeEnum) + }) +_sym_db.RegisterMessage(CustomerMatchUploadKeyTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/customer_match_upload_key_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/customer_match_upload_key_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/customer_match_upload_key_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py b/google/ads/google_ads/v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py new file mode 100644 index 000000000..3eacb3116 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py @@ -0,0 +1,131 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto + +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_v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB5CustomerPayPerConversionEligibilityFailureReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n`google/ads/googleads_v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB5CustomerPayPerConversionEligibilityFailureReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON = _descriptor.EnumDescriptor( + name='CustomerPayPerConversionEligibilityFailureReason', + full_name='google.ads.googleads.v6.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_ENOUGH_CONVERSIONS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_LAG_TOO_HIGH', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HAS_CAMPAIGN_WITH_SHARED_BUDGET', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HAS_UPLOAD_CLICKS_CONVERSION', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AVERAGE_DAILY_SPEND_TOO_HIGH', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANALYSIS_NOT_COMPLETE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OTHER', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=219, + serialized_end=499, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON) + + +_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM = _descriptor.Descriptor( + name='CustomerPayPerConversionEligibilityFailureReasonEnum', + full_name='google.ads.googleads.v6.enums.CustomerPayPerConversionEligibilityFailureReasonEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=162, + serialized_end=499, +) + +_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON.containing_type = _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM +DESCRIPTOR.message_types_by_name['CustomerPayPerConversionEligibilityFailureReasonEnum'] = _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomerPayPerConversionEligibilityFailureReasonEnum = _reflection.GeneratedProtocolMessageType('CustomerPayPerConversionEligibilityFailureReasonEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.CustomerPayPerConversionEligibilityFailureReasonEnum) + }) +_sym_db.RegisterMessage(CustomerPayPerConversionEligibilityFailureReasonEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/data_driven_model_status_pb2.py b/google/ads/google_ads/v6/proto/enums/data_driven_model_status_pb2.py new file mode 100644 index 000000000..34fbff678 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/data_driven_model_status_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/data_driven_model_status.proto + +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_v6/proto/enums/data_driven_model_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\032DataDrivenModelStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/enums/data_driven_model_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1a\x44\x61taDrivenModelStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS = _descriptor.EnumDescriptor( + name='DataDrivenModelStatus', + full_name='google.ads.googleads.v6.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AVAILABLE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STALE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPIRED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NEVER_GENERATED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=161, + serialized_end=274, +) +_sym_db.RegisterEnumDescriptor(_DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS) + + +_DATADRIVENMODELSTATUSENUM = _descriptor.Descriptor( + name='DataDrivenModelStatusEnum', + full_name='google.ads.googleads.v6.enums.DataDrivenModelStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=274, +) + +_DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS.containing_type = _DATADRIVENMODELSTATUSENUM +DESCRIPTOR.message_types_by_name['DataDrivenModelStatusEnum'] = _DATADRIVENMODELSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DataDrivenModelStatusEnum = _reflection.GeneratedProtocolMessageType('DataDrivenModelStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _DATADRIVENMODELSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.data_driven_model_status_pb2' + , + '__doc__': """Container for enum indicating data driven model status.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.DataDrivenModelStatusEnum) + }) +_sym_db.RegisterMessage(DataDrivenModelStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/data_driven_model_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/data_driven_model_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/data_driven_model_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/day_of_week_pb2.py b/google/ads/google_ads/v6/proto/enums/day_of_week_pb2.py new file mode 100644 index 000000000..cc52bdf29 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/day_of_week_pb2.py @@ -0,0 +1,130 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/day_of_week.proto + +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_v6/proto/enums/day_of_week.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\016DayOfWeekProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/enums/day_of_week.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x0e\x44\x61yOfWeekProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DAYOFWEEKENUM_DAYOFWEEK = _descriptor.EnumDescriptor( + name='DayOfWeek', + full_name='google.ads.googleads.v6.enums.DayOfWeekEnum.DayOfWeek', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MONDAY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TUESDAY', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WEDNESDAY', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='THURSDAY', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FRIDAY', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SATURDAY', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SUNDAY', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=137, + serialized_end=270, +) +_sym_db.RegisterEnumDescriptor(_DAYOFWEEKENUM_DAYOFWEEK) + + +_DAYOFWEEKENUM = _descriptor.Descriptor( + name='DayOfWeekEnum', + full_name='google.ads.googleads.v6.enums.DayOfWeekEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DAYOFWEEKENUM_DAYOFWEEK, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=119, + serialized_end=270, +) + +_DAYOFWEEKENUM_DAYOFWEEK.containing_type = _DAYOFWEEKENUM +DESCRIPTOR.message_types_by_name['DayOfWeekEnum'] = _DAYOFWEEKENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DayOfWeekEnum = _reflection.GeneratedProtocolMessageType('DayOfWeekEnum', (_message.Message,), { + 'DESCRIPTOR' : _DAYOFWEEKENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.DayOfWeekEnum) + }) +_sym_db.RegisterMessage(DayOfWeekEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/day_of_week_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/day_of_week_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/day_of_week_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/device_pb2.py b/google/ads/google_ads/v6/proto/enums/device_pb2.py new file mode 100644 index 000000000..a294c4569 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/device_pb2.py @@ -0,0 +1,121 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/device.proto + +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_v6/proto/enums/device.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\013DeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n0google/ads/googleads_v6/proto/enums/device.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x0b\x44\x65viceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DEVICEENUM_DEVICE = _descriptor.EnumDescriptor( + name='Device', + full_name='google.ads.googleads.v6.enums.DeviceEnum.Device', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MOBILE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TABLET', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESKTOP', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONNECTED_TV', index=5, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OTHER', index=6, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=127, + serialized_end=231, +) +_sym_db.RegisterEnumDescriptor(_DEVICEENUM_DEVICE) + + +_DEVICEENUM = _descriptor.Descriptor( + name='DeviceEnum', + full_name='google.ads.googleads.v6.enums.DeviceEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DEVICEENUM_DEVICE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=113, + serialized_end=231, +) + +_DEVICEENUM_DEVICE.containing_type = _DEVICEENUM +DESCRIPTOR.message_types_by_name['DeviceEnum'] = _DEVICEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DeviceEnum = _reflection.GeneratedProtocolMessageType('DeviceEnum', (_message.Message,), { + 'DESCRIPTOR' : _DEVICEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.device_pb2' + , + '__doc__': """Container for enumeration of Google Ads devices available for + targeting.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.DeviceEnum) + }) +_sym_db.RegisterMessage(DeviceEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/device_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/device_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/device_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/display_ad_format_setting_pb2.py b/google/ads/google_ads/v6/proto/enums/display_ad_format_setting_pb2.py new file mode 100644 index 000000000..ae646219e --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/display_ad_format_setting_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/display_ad_format_setting.proto + +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_v6/proto/enums/display_ad_format_setting.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\033DisplayAdFormatSettingProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/enums/display_ad_format_setting.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1b\x44isplayAdFormatSettingProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING = _descriptor.EnumDescriptor( + name='DisplayAdFormatSetting', + full_name='google.ads.googleads.v6.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ALL_FORMATS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NON_NATIVE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NATIVE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=163, + serialized_end=262, +) +_sym_db.RegisterEnumDescriptor(_DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING) + + +_DISPLAYADFORMATSETTINGENUM = _descriptor.Descriptor( + name='DisplayAdFormatSettingEnum', + full_name='google.ads.googleads.v6.enums.DisplayAdFormatSettingEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=133, + serialized_end=262, +) + +_DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING.containing_type = _DISPLAYADFORMATSETTINGENUM +DESCRIPTOR.message_types_by_name['DisplayAdFormatSettingEnum'] = _DISPLAYADFORMATSETTINGENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DisplayAdFormatSettingEnum = _reflection.GeneratedProtocolMessageType('DisplayAdFormatSettingEnum', (_message.Message,), { + 'DESCRIPTOR' : _DISPLAYADFORMATSETTINGENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.display_ad_format_setting_pb2' + , + '__doc__': """Container for display ad format settings.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.DisplayAdFormatSettingEnum) + }) +_sym_db.RegisterMessage(DisplayAdFormatSettingEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/display_ad_format_setting_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/display_ad_format_setting_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/display_ad_format_setting_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/display_upload_product_type_pb2.py b/google/ads/google_ads/v6/proto/enums/display_upload_product_type_pb2.py new file mode 100644 index 000000000..27b957e34 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/display_upload_product_type_pb2.py @@ -0,0 +1,150 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/display_upload_product_type.proto + +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_v6/proto/enums/display_upload_product_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\035DisplayUploadProductTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/enums/display_upload_product_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1d\x44isplayUploadProductTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE = _descriptor.EnumDescriptor( + name='DisplayUploadProductType', + full_name='google.ads.googleads.v6.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HTML5_UPLOAD_AD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HTML5_EDUCATION_AD', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HTML5_FLIGHT_AD', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HTML5_HOTEL_RENTAL_AD', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HTML5_JOB_AD', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HTML5_LOCAL_AD', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HTML5_REAL_ESTATE_AD', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HTML5_CUSTOM_AD', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HTML5_TRAVEL_AD', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HTML5_HOTEL_AD', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=168, + serialized_end=515, +) +_sym_db.RegisterEnumDescriptor(_DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE) + + +_DISPLAYUPLOADPRODUCTTYPEENUM = _descriptor.Descriptor( + name='DisplayUploadProductTypeEnum', + full_name='google.ads.googleads.v6.enums.DisplayUploadProductTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=135, + serialized_end=515, +) + +_DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE.containing_type = _DISPLAYUPLOADPRODUCTTYPEENUM +DESCRIPTOR.message_types_by_name['DisplayUploadProductTypeEnum'] = _DISPLAYUPLOADPRODUCTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DisplayUploadProductTypeEnum = _reflection.GeneratedProtocolMessageType('DisplayUploadProductTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _DISPLAYUPLOADPRODUCTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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 dynamic remarketing feed. See https://support.google.com/google- + ads/answer/6053288 for more info about dynamic remarketing. Other + product types are regarded as "static" and do not have this + requirement.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.DisplayUploadProductTypeEnum) + }) +_sym_db.RegisterMessage(DisplayUploadProductTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/display_upload_product_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/display_upload_product_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/display_upload_product_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/distance_bucket_pb2.py b/google/ads/google_ads/v6/proto/enums/distance_bucket_pb2.py new file mode 100644 index 000000000..c427c84b3 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/distance_bucket_pb2.py @@ -0,0 +1,231 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/distance_bucket.proto + +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_v6/proto/enums/distance_bucket.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\023DistanceBucketProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/enums/distance_bucket.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x13\x44istanceBucketProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DISTANCEBUCKETENUM_DISTANCEBUCKET = _descriptor.EnumDescriptor( + name='DistanceBucket', + full_name='google.ads.googleads.v6.enums.DistanceBucketEnum.DistanceBucket', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_700M', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_1KM', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_5KM', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_10KM', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_15KM', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_20KM', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_25KM', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_30KM', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_35KM', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_40KM', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_45KM', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_50KM', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_55KM', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_60KM', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_65KM', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BEYOND_65KM', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_0_7MILES', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_1MILE', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_5MILES', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_10MILES', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_15MILES', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_20MILES', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_25MILES', index=24, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_30MILES', index=25, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_35MILES', index=26, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WITHIN_40MILES', index=27, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BEYOND_40MILES', index=28, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.enums.DistanceBucketEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _DISTANCEBUCKETENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.DistanceBucketEnum) + }) +_sym_db.RegisterMessage(DistanceBucketEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/distance_bucket_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/distance_bucket_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/distance_bucket_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/dsa_page_feed_criterion_field_pb2.py b/google/ads/google_ads/v6/proto/enums/dsa_page_feed_criterion_field_pb2.py new file mode 100644 index 000000000..b9ae45dc6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/dsa_page_feed_criterion_field_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/dsa_page_feed_criterion_field.proto + +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_v6/proto/enums/dsa_page_feed_criterion_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\036DsaPageFeedCriterionFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nGgoogle/ads/googleads_v6/proto/enums/dsa_page_feed_criterion_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1e\x44saPageFeedCriterionFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD = _descriptor.EnumDescriptor( + name='DsaPageFeedCriterionField', + full_name='google.ads.googleads.v6.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAGE_URL', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LABEL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=169, + serialized_end=251, +) +_sym_db.RegisterEnumDescriptor(_DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD) + + +_DSAPAGEFEEDCRITERIONFIELDENUM = _descriptor.Descriptor( + name='DsaPageFeedCriterionFieldEnum', + full_name='google.ads.googleads.v6.enums.DsaPageFeedCriterionFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=136, + serialized_end=251, +) + +_DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD.containing_type = _DSAPAGEFEEDCRITERIONFIELDENUM +DESCRIPTOR.message_types_by_name['DsaPageFeedCriterionFieldEnum'] = _DSAPAGEFEEDCRITERIONFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DsaPageFeedCriterionFieldEnum = _reflection.GeneratedProtocolMessageType('DsaPageFeedCriterionFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _DSAPAGEFEEDCRITERIONFIELDENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.DsaPageFeedCriterionFieldEnum) + }) +_sym_db.RegisterMessage(DsaPageFeedCriterionFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/education_placeholder_field_pb2.py b/google/ads/google_ads/v6/proto/enums/education_placeholder_field_pb2.py new file mode 100644 index 000000000..9e494ce33 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/education_placeholder_field_pb2.py @@ -0,0 +1,182 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/education_placeholder_field.proto + +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_v6/proto/enums/education_placeholder_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\036EducationPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/enums/education_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1e\x45\x64ucationPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD = _descriptor.EnumDescriptor( + name='EducationPlaceholderField', + full_name='google.ads.googleads.v6.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROGRAM_ID', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION_ID', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROGRAM_NAME', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AREA_OF_STUDY', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROGRAM_DESCRIPTION', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SCHOOL_NAME', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADDRESS', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='THUMBNAIL_IMAGE_URL', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ALTERNATIVE_THUMBNAIL_IMAGE_URL', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_URLS', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_MOBILE_URLS', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRACKING_URL', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTEXTUAL_KEYWORDS', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANDROID_APP_LINK', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIMILAR_PROGRAM_IDS', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_APP_LINK', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_APP_STORE_ID', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=169, + serialized_end=582, +) +_sym_db.RegisterEnumDescriptor(_EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD) + + +_EDUCATIONPLACEHOLDERFIELDENUM = _descriptor.Descriptor( + name='EducationPlaceholderFieldEnum', + full_name='google.ads.googleads.v6.enums.EducationPlaceholderFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=135, + serialized_end=582, +) + +_EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD.containing_type = _EDUCATIONPLACEHOLDERFIELDENUM +DESCRIPTOR.message_types_by_name['EducationPlaceholderFieldEnum'] = _EDUCATIONPLACEHOLDERFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +EducationPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('EducationPlaceholderFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _EDUCATIONPLACEHOLDERFIELDENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.EducationPlaceholderFieldEnum) + }) +_sym_db.RegisterMessage(EducationPlaceholderFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/education_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/education_placeholder_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/education_placeholder_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/extension_setting_device_pb2.py b/google/ads/google_ads/v6/proto/enums/extension_setting_device_pb2.py new file mode 100644 index 000000000..0c69c1861 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/extension_setting_device_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/extension_setting_device.proto + +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_v6/proto/enums/extension_setting_device.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\033ExtensionSettingDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/enums/extension_setting_device.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1b\x45xtensionSettingDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE = _descriptor.EnumDescriptor( + name='ExtensionSettingDevice', + full_name='google.ads.googleads.v6.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MOBILE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESKTOP', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=161, + serialized_end=240, +) +_sym_db.RegisterEnumDescriptor(_EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE) + + +_EXTENSIONSETTINGDEVICEENUM = _descriptor.Descriptor( + name='ExtensionSettingDeviceEnum', + full_name='google.ads.googleads.v6.enums.ExtensionSettingDeviceEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=240, +) + +_EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE.containing_type = _EXTENSIONSETTINGDEVICEENUM +DESCRIPTOR.message_types_by_name['ExtensionSettingDeviceEnum'] = _EXTENSIONSETTINGDEVICEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ExtensionSettingDeviceEnum = _reflection.GeneratedProtocolMessageType('ExtensionSettingDeviceEnum', (_message.Message,), { + 'DESCRIPTOR' : _EXTENSIONSETTINGDEVICEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.extension_setting_device_pb2' + , + '__doc__': """Container for enum describing extension setting device types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.ExtensionSettingDeviceEnum) + }) +_sym_db.RegisterMessage(ExtensionSettingDeviceEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/extension_setting_device_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/extension_setting_device_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/extension_setting_device_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/extension_type_pb2.py b/google/ads/google_ads/v6/proto/enums/extension_type_pb2.py new file mode 100644 index 000000000..76ffaf983 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/extension_type_pb2.py @@ -0,0 +1,161 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/extension_type.proto + +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_v6/proto/enums/extension_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\022ExtensionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/enums/extension_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\xfe\x01\n\x11\x45xtensionTypeEnum\"\xe8\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\x12\t\n\x05IMAGE\x10\x10\x42\xe7\x01\n!com.google.ads.googleads.v6.enumsB\x12\x45xtensionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_EXTENSIONTYPEENUM_EXTENSIONTYPE = _descriptor.EnumDescriptor( + name='ExtensionType', + full_name='google.ads.googleads.v6.enums.ExtensionTypeEnum.ExtensionType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NONE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APP', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALL', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALLOUT', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MESSAGE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SITELINK', index=9, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRUCTURED_SNIPPET', index=10, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION', index=11, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AFFILIATE_LOCATION', index=12, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HOTEL_CALLOUT', index=13, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE', index=14, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=376, +) +_sym_db.RegisterEnumDescriptor(_EXTENSIONTYPEENUM_EXTENSIONTYPE) + + +_EXTENSIONTYPEENUM = _descriptor.Descriptor( + name='ExtensionTypeEnum', + full_name='google.ads.googleads.v6.enums.ExtensionTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _EXTENSIONTYPEENUM_EXTENSIONTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=122, + serialized_end=376, +) + +_EXTENSIONTYPEENUM_EXTENSIONTYPE.containing_type = _EXTENSIONTYPEENUM +DESCRIPTOR.message_types_by_name['ExtensionTypeEnum'] = _EXTENSIONTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ExtensionTypeEnum = _reflection.GeneratedProtocolMessageType('ExtensionTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _EXTENSIONTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.ExtensionTypeEnum) + }) +_sym_db.RegisterMessage(ExtensionTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/extension_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/extension_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/extension_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/external_conversion_source_pb2.py b/google/ads/google_ads/v6/proto/enums/external_conversion_source_pb2.py new file mode 100644 index 000000000..aedb3674c --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/external_conversion_source_pb2.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/external_conversion_source.proto + +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_v6/proto/enums/external_conversion_source.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\035ExternalConversionSourceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/enums/external_conversion_source.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\xed\x04\n\x1c\x45xternalConversionSourceEnum\"\xcc\x04\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\x12\x12\n\x0eSEARCH_ADS_360\x10\x19\x12\x11\n\rGOOGLE_HOSTED\x10\x1b\x12\x0e\n\nFLOODLIGHT\x10\x1d\x12\x1c\n\x18\x41NALYTICS_SEARCH_ADS_360\x10\x1f\x42\xf2\x01\n!com.google.ads.googleads.v6.enumsB\x1d\x45xternalConversionSourceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE = _descriptor.EnumDescriptor( + name='ExternalConversionSource', + full_name='google.ads.googleads.v6.enums.ExternalConversionSourceEnum.ExternalConversionSource', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WEBPAGE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANALYTICS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPLOAD', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_CALL_METRICS', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WEBSITE_CALL_METRICS', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STORE_VISITS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANDROID_IN_APP', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_IN_APP', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_FIRST_OPEN', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APP_UNSPECIFIED', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANDROID_FIRST_OPEN', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPLOAD_CALLS', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIREBASE', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CLICK_TO_CALL', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SALESFORCE', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STORE_SALES_CRM', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STORE_SALES_PAYMENT_NETWORK', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_PLAY', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='THIRD_PARTY_APP_ANALYTICS', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_ATTRIBUTION', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STORE_SALES_DIRECT_UPLOAD', index=22, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STORE_SALES', index=23, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SEARCH_ADS_360', index=24, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_HOSTED', index=25, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLOODLIGHT', index=26, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANALYTICS_SEARCH_ADS_360', index=27, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=167, + serialized_end=755, +) +_sym_db.RegisterEnumDescriptor(_EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE) + + +_EXTERNALCONVERSIONSOURCEENUM = _descriptor.Descriptor( + name='ExternalConversionSourceEnum', + full_name='google.ads.googleads.v6.enums.ExternalConversionSourceEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=755, +) + +_EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE.containing_type = _EXTERNALCONVERSIONSOURCEENUM +DESCRIPTOR.message_types_by_name['ExternalConversionSourceEnum'] = _EXTERNALCONVERSIONSOURCEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ExternalConversionSourceEnum = _reflection.GeneratedProtocolMessageType('ExternalConversionSourceEnum', (_message.Message,), { + 'DESCRIPTOR' : _EXTERNALCONVERSIONSOURCEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.ExternalConversionSourceEnum) + }) +_sym_db.RegisterMessage(ExternalConversionSourceEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/external_conversion_source_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/external_conversion_source_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/external_conversion_source_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_attribute_type_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_attribute_type_pb2.py new file mode 100644 index 000000000..69b6c4441 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_attribute_type_pb2.py @@ -0,0 +1,161 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_attribute_type.proto + +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_v6/proto/enums/feed_attribute_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026FeedAttributeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/enums/feed_attribute_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x16\x46\x65\x65\x64\x41ttributeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE = _descriptor.EnumDescriptor( + name='FeedAttributeType', + full_name='google.ads.googleads.v6.enums.FeedAttributeTypeEnum.FeedAttributeType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INT64', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOUBLE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRING', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BOOLEAN', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_TIME', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INT64_LIST', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOUBLE_LIST', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRING_LIST', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BOOLEAN_LIST', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_LIST', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_TIME_LIST', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=387, +) +_sym_db.RegisterEnumDescriptor(_FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE) + + +_FEEDATTRIBUTETYPEENUM = _descriptor.Descriptor( + name='FeedAttributeTypeEnum', + full_name='google.ads.googleads.v6.enums.FeedAttributeTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=387, +) + +_FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE.containing_type = _FEEDATTRIBUTETYPEENUM +DESCRIPTOR.message_types_by_name['FeedAttributeTypeEnum'] = _FEEDATTRIBUTETYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedAttributeTypeEnum = _reflection.GeneratedProtocolMessageType('FeedAttributeTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDATTRIBUTETYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedAttributeTypeEnum) + }) +_sym_db.RegisterMessage(FeedAttributeTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_attribute_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_attribute_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_attribute_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_quality_approval_status_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_item_quality_approval_status_pb2.py new file mode 100644 index 000000000..fd04b13ad --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_quality_approval_status_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_item_quality_approval_status.proto + +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_v6/proto/enums/feed_item_quality_approval_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\"FeedItemQualityApprovalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nKgoogle/ads/googleads_v6/proto/enums/feed_item_quality_approval_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\"FeedItemQualityApprovalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS = _descriptor.EnumDescriptor( + name='FeedItemQualityApprovalStatus', + full_name='google.ads.googleads.v6.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROVED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISAPPROVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=178, + serialized_end=270, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS) + + +_FEEDITEMQUALITYAPPROVALSTATUSENUM = _descriptor.Descriptor( + name='FeedItemQualityApprovalStatusEnum', + full_name='google.ads.googleads.v6.enums.FeedItemQualityApprovalStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=141, + serialized_end=270, +) + +_FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS.containing_type = _FEEDITEMQUALITYAPPROVALSTATUSENUM +DESCRIPTOR.message_types_by_name['FeedItemQualityApprovalStatusEnum'] = _FEEDITEMQUALITYAPPROVALSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemQualityApprovalStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemQualityApprovalStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMQUALITYAPPROVALSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedItemQualityApprovalStatusEnum) + }) +_sym_db.RegisterMessage(FeedItemQualityApprovalStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_quality_approval_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_item_quality_approval_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_quality_approval_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_quality_disapproval_reason_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_item_quality_disapproval_reason_pb2.py new file mode 100644 index 000000000..0ce22d885 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_quality_disapproval_reason_pb2.py @@ -0,0 +1,186 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_item_quality_disapproval_reason.proto + +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_v6/proto/enums/feed_item_quality_disapproval_reason.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB%FeedItemQualityDisapprovalReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nNgoogle/ads/googleads_v6/proto/enums/feed_item_quality_disapproval_reason.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB%FeedItemQualityDisapprovalReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON = _descriptor.EnumDescriptor( + name='FeedItemQualityDisapprovalReason', + full_name='google.ads.googleads.v6.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_REPETITIVE_HEADERS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_REPETITIVE_DESCRIPTION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_INCONSISTENT_ROWS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_UNSUPPORTED_LANGUAGE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_ROW_UNRATEABLE', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_ROW_PRICE_INVALID', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_TABLE_ROW_URL_INVALID', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRUCTURED_SNIPPETS_REPEATED_VALUES', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=185, + serialized_end=1008, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON) + + +_FEEDITEMQUALITYDISAPPROVALREASONENUM = _descriptor.Descriptor( + name='FeedItemQualityDisapprovalReasonEnum', + full_name='google.ads.googleads.v6.enums.FeedItemQualityDisapprovalReasonEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=144, + serialized_end=1008, +) + +_FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON.containing_type = _FEEDITEMQUALITYDISAPPROVALREASONENUM +DESCRIPTOR.message_types_by_name['FeedItemQualityDisapprovalReasonEnum'] = _FEEDITEMQUALITYDISAPPROVALREASONENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemQualityDisapprovalReasonEnum = _reflection.GeneratedProtocolMessageType('FeedItemQualityDisapprovalReasonEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMQUALITYDISAPPROVALREASONENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedItemQualityDisapprovalReasonEnum) + }) +_sym_db.RegisterMessage(FeedItemQualityDisapprovalReasonEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_set_status_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_item_set_status_pb2.py new file mode 100644 index 000000000..d4fb48a52 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_set_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_item_set_status.proto + +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_v6/proto/enums/feed_item_set_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026FeedItemSetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/enums/feed_item_set_status.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"d\n\x15\x46\x65\x65\x64ItemSetStatusEnum\"K\n\x11\x46\x65\x65\x64ItemSetStatus\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.v6.enumsB\x16\x46\x65\x65\x64ItemSetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMSETSTATUSENUM_FEEDITEMSETSTATUS = _descriptor.EnumDescriptor( + name='FeedItemSetStatus', + full_name='google.ads.googleads.v6.enums.FeedItemSetStatusEnum.FeedItemSetStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=152, + serialized_end=227, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMSETSTATUSENUM_FEEDITEMSETSTATUS) + + +_FEEDITEMSETSTATUSENUM = _descriptor.Descriptor( + name='FeedItemSetStatusEnum', + full_name='google.ads.googleads.v6.enums.FeedItemSetStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMSETSTATUSENUM_FEEDITEMSETSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=227, +) + +_FEEDITEMSETSTATUSENUM_FEEDITEMSETSTATUS.containing_type = _FEEDITEMSETSTATUSENUM +DESCRIPTOR.message_types_by_name['FeedItemSetStatusEnum'] = _FEEDITEMSETSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemSetStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemSetStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMSETSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.feed_item_set_status_pb2' + , + '__doc__': """Container for enum describing possible statuses of a feed item set.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.FeedItemSetStatusEnum) + }) +_sym_db.RegisterMessage(FeedItemSetStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_set_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_item_set_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_set_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_set_string_filter_type_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_item_set_string_filter_type_pb2.py new file mode 100644 index 000000000..7c6b68d88 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_set_string_filter_type_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_item_set_string_filter_type.proto + +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_v6/proto/enums/feed_item_set_string_filter_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB FeedItemSetStringFilterTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nJgoogle/ads/googleads_v6/proto/enums/feed_item_set_string_filter_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"i\n\x1f\x46\x65\x65\x64ItemSetStringFilterTypeEnum\"F\n\x1b\x46\x65\x65\x64ItemSetStringFilterType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x45XACT\x10\x02\x42\xf5\x01\n!com.google.ads.googleads.v6.enumsB FeedItemSetStringFilterTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMSETSTRINGFILTERTYPEENUM_FEEDITEMSETSTRINGFILTERTYPE = _descriptor.EnumDescriptor( + name='FeedItemSetStringFilterType', + full_name='google.ads.googleads.v6.enums.FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXACT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=174, + serialized_end=244, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMSETSTRINGFILTERTYPEENUM_FEEDITEMSETSTRINGFILTERTYPE) + + +_FEEDITEMSETSTRINGFILTERTYPEENUM = _descriptor.Descriptor( + name='FeedItemSetStringFilterTypeEnum', + full_name='google.ads.googleads.v6.enums.FeedItemSetStringFilterTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMSETSTRINGFILTERTYPEENUM_FEEDITEMSETSTRINGFILTERTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=139, + serialized_end=244, +) + +_FEEDITEMSETSTRINGFILTERTYPEENUM_FEEDITEMSETSTRINGFILTERTYPE.containing_type = _FEEDITEMSETSTRINGFILTERTYPEENUM +DESCRIPTOR.message_types_by_name['FeedItemSetStringFilterTypeEnum'] = _FEEDITEMSETSTRINGFILTERTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemSetStringFilterTypeEnum = _reflection.GeneratedProtocolMessageType('FeedItemSetStringFilterTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMSETSTRINGFILTERTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.feed_item_set_string_filter_type_pb2' + , + '__doc__': """The type of string matching to be used for a dynamic FeedItemSet + filter.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.FeedItemSetStringFilterTypeEnum) + }) +_sym_db.RegisterMessage(FeedItemSetStringFilterTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_set_string_filter_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_item_set_string_filter_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_set_string_filter_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_status_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_item_status_pb2.py new file mode 100644 index 000000000..aee639762 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_item_status.proto + +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_v6/proto/enums/feed_item_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\023FeedItemStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/enums/feed_item_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x13\x46\x65\x65\x64ItemStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMSTATUSENUM_FEEDITEMSTATUS = _descriptor.EnumDescriptor( + name='FeedItemStatus', + full_name='google.ads.googleads.v6.enums.FeedItemStatusEnum.FeedItemStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=145, + serialized_end=217, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMSTATUSENUM_FEEDITEMSTATUS) + + +_FEEDITEMSTATUSENUM = _descriptor.Descriptor( + name='FeedItemStatusEnum', + full_name='google.ads.googleads.v6.enums.FeedItemStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMSTATUSENUM_FEEDITEMSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=217, +) + +_FEEDITEMSTATUSENUM_FEEDITEMSTATUS.containing_type = _FEEDITEMSTATUSENUM +DESCRIPTOR.message_types_by_name['FeedItemStatusEnum'] = _FEEDITEMSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedItemStatusEnum) + }) +_sym_db.RegisterMessage(FeedItemStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_item_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_target_device_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_item_target_device_pb2.py new file mode 100644 index 000000000..a1719782a --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_target_device_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_item_target_device.proto + +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_v6/proto/enums/feed_item_target_device.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031FeedItemTargetDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/enums/feed_item_target_device.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x19\x46\x65\x65\x64ItemTargetDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE = _descriptor.EnumDescriptor( + name='FeedItemTargetDevice', + full_name='google.ads.googleads.v6.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MOBILE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=158, + serialized_end=222, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE) + + +_FEEDITEMTARGETDEVICEENUM = _descriptor.Descriptor( + name='FeedItemTargetDeviceEnum', + full_name='google.ads.googleads.v6.enums.FeedItemTargetDeviceEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=222, +) + +_FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE.containing_type = _FEEDITEMTARGETDEVICEENUM +DESCRIPTOR.message_types_by_name['FeedItemTargetDeviceEnum'] = _FEEDITEMTARGETDEVICEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemTargetDeviceEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetDeviceEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMTARGETDEVICEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedItemTargetDeviceEnum) + }) +_sym_db.RegisterMessage(FeedItemTargetDeviceEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_target_device_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_item_target_device_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_target_device_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_target_status_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_item_target_status_pb2.py new file mode 100644 index 000000000..0723d25fd --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_target_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_item_target_status.proto + +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_v6/proto/enums/feed_item_target_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031FeedItemTargetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/enums/feed_item_target_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x19\x46\x65\x65\x64ItemTargetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMTARGETSTATUSENUM_FEEDITEMTARGETSTATUS = _descriptor.EnumDescriptor( + name='FeedItemTargetStatus', + full_name='google.ads.googleads.v6.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.enums.FeedItemTargetStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _FEEDITEMTARGETSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedItemTargetStatusEnum) + }) +_sym_db.RegisterMessage(FeedItemTargetStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_target_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_item_target_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_target_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_target_type_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_item_target_type_pb2.py new file mode 100644 index 000000000..073ddbc91 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_target_type_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_item_target_type.proto + +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_v6/proto/enums/feed_item_target_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\027FeedItemTargetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/enums/feed_item_target_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x17\x46\x65\x65\x64ItemTargetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE = _descriptor.EnumDescriptor( + name='FeedItemTargetType', + full_name='google.ads.googleads.v6.enums.FeedItemTargetTypeEnum.FeedItemTargetType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_GROUP', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CRITERION', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=154, + serialized_end=247, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE) + + +_FEEDITEMTARGETTYPEENUM = _descriptor.Descriptor( + name='FeedItemTargetTypeEnum', + full_name='google.ads.googleads.v6.enums.FeedItemTargetTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=247, +) + +_FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE.containing_type = _FEEDITEMTARGETTYPEENUM +DESCRIPTOR.message_types_by_name['FeedItemTargetTypeEnum'] = _FEEDITEMTARGETTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemTargetTypeEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMTARGETTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedItemTargetTypeEnum) + }) +_sym_db.RegisterMessage(FeedItemTargetTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_target_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_item_target_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_target_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_validation_status_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_item_validation_status_pb2.py new file mode 100644 index 000000000..ad48a3200 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_validation_status_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_item_validation_status.proto + +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_v6/proto/enums/feed_item_validation_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\035FeedItemValidationStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/enums/feed_item_validation_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1d\x46\x65\x65\x64ItemValidationStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS = _descriptor.EnumDescriptor( + name='FeedItemValidationStatus', + full_name='google.ads.googleads.v6.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VALID', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=166, + serialized_end=259, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS) + + +_FEEDITEMVALIDATIONSTATUSENUM = _descriptor.Descriptor( + name='FeedItemValidationStatusEnum', + full_name='google.ads.googleads.v6.enums.FeedItemValidationStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=259, +) + +_FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS.containing_type = _FEEDITEMVALIDATIONSTATUSENUM +DESCRIPTOR.message_types_by_name['FeedItemValidationStatusEnum'] = _FEEDITEMVALIDATIONSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemValidationStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemValidationStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMVALIDATIONSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedItemValidationStatusEnum) + }) +_sym_db.RegisterMessage(FeedItemValidationStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_item_validation_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_item_validation_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_item_validation_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_link_status_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_link_status_pb2.py new file mode 100644 index 000000000..2e9721c92 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_link_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_link_status.proto + +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_v6/proto/enums/feed_link_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\023FeedLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/enums/feed_link_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x13\x46\x65\x65\x64LinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDLINKSTATUSENUM_FEEDLINKSTATUS = _descriptor.EnumDescriptor( + name='FeedLinkStatus', + full_name='google.ads.googleads.v6.enums.FeedLinkStatusEnum.FeedLinkStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=145, + serialized_end=217, +) +_sym_db.RegisterEnumDescriptor(_FEEDLINKSTATUSENUM_FEEDLINKSTATUS) + + +_FEEDLINKSTATUSENUM = _descriptor.Descriptor( + name='FeedLinkStatusEnum', + full_name='google.ads.googleads.v6.enums.FeedLinkStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDLINKSTATUSENUM_FEEDLINKSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=217, +) + +_FEEDLINKSTATUSENUM_FEEDLINKSTATUS.containing_type = _FEEDLINKSTATUSENUM +DESCRIPTOR.message_types_by_name['FeedLinkStatusEnum'] = _FEEDLINKSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedLinkStatusEnum = _reflection.GeneratedProtocolMessageType('FeedLinkStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDLINKSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedLinkStatusEnum) + }) +_sym_db.RegisterMessage(FeedLinkStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_link_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_link_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_link_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_mapping_criterion_type_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_mapping_criterion_type_pb2.py new file mode 100644 index 000000000..442d8ae91 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_mapping_criterion_type_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_mapping_criterion_type.proto + +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_v6/proto/enums/feed_mapping_criterion_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\035FeedMappingCriterionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/enums/feed_mapping_criterion_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1d\x46\x65\x65\x64MappingCriterionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE = _descriptor.EnumDescriptor( + name='FeedMappingCriterionType', + full_name='google.ads.googleads.v6.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION_EXTENSION_TARGETING', index=2, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DSA_PAGE_FEED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=167, + serialized_end=276, +) +_sym_db.RegisterEnumDescriptor(_FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE) + + +_FEEDMAPPINGCRITERIONTYPEENUM = _descriptor.Descriptor( + name='FeedMappingCriterionTypeEnum', + full_name='google.ads.googleads.v6.enums.FeedMappingCriterionTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=135, + serialized_end=276, +) + +_FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE.containing_type = _FEEDMAPPINGCRITERIONTYPEENUM +DESCRIPTOR.message_types_by_name['FeedMappingCriterionTypeEnum'] = _FEEDMAPPINGCRITERIONTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedMappingCriterionTypeEnum = _reflection.GeneratedProtocolMessageType('FeedMappingCriterionTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDMAPPINGCRITERIONTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedMappingCriterionTypeEnum) + }) +_sym_db.RegisterMessage(FeedMappingCriterionTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_mapping_criterion_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_mapping_criterion_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_mapping_criterion_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_mapping_status_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_mapping_status_pb2.py new file mode 100644 index 000000000..c0334a65c --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_mapping_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_mapping_status.proto + +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_v6/proto/enums/feed_mapping_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026FeedMappingStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/enums/feed_mapping_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x16\x46\x65\x65\x64MappingStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS = _descriptor.EnumDescriptor( + name='FeedMappingStatus', + full_name='google.ads.googleads.v6.enums.FeedMappingStatusEnum.FeedMappingStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=151, + serialized_end=226, +) +_sym_db.RegisterEnumDescriptor(_FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS) + + +_FEEDMAPPINGSTATUSENUM = _descriptor.Descriptor( + name='FeedMappingStatusEnum', + full_name='google.ads.googleads.v6.enums.FeedMappingStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=226, +) + +_FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS.containing_type = _FEEDMAPPINGSTATUSENUM +DESCRIPTOR.message_types_by_name['FeedMappingStatusEnum'] = _FEEDMAPPINGSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedMappingStatusEnum = _reflection.GeneratedProtocolMessageType('FeedMappingStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDMAPPINGSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FeedMappingStatusEnum) + }) +_sym_db.RegisterMessage(FeedMappingStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_mapping_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_mapping_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_mapping_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_origin_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_origin_pb2.py new file mode 100644 index 000000000..803b15e77 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_origin_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_origin.proto + +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_v6/proto/enums/feed_origin.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\017FeedOriginProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/enums/feed_origin.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x0f\x46\x65\x65\x64OriginProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDORIGINENUM_FEEDORIGIN = _descriptor.EnumDescriptor( + name='FeedOrigin', + full_name='google.ads.googleads.v6.enums.FeedOriginEnum.FeedOrigin', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USER', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=136, + serialized_end=200, +) +_sym_db.RegisterEnumDescriptor(_FEEDORIGINENUM_FEEDORIGIN) + + +_FEEDORIGINENUM = _descriptor.Descriptor( + name='FeedOriginEnum', + full_name='google.ads.googleads.v6.enums.FeedOriginEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDORIGINENUM_FEEDORIGIN, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=118, + serialized_end=200, +) + +_FEEDORIGINENUM_FEEDORIGIN.containing_type = _FEEDORIGINENUM +DESCRIPTOR.message_types_by_name['FeedOriginEnum'] = _FEEDORIGINENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedOriginEnum = _reflection.GeneratedProtocolMessageType('FeedOriginEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDORIGINENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.feed_origin_pb2' + , + '__doc__': """Container for enum describing possible values for a feed origin.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.FeedOriginEnum) + }) +_sym_db.RegisterMessage(FeedOriginEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_origin_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_origin_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_origin_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/feed_status_pb2.py b/google/ads/google_ads/v6/proto/enums/feed_status_pb2.py new file mode 100644 index 000000000..1332e88b5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/feed_status.proto + +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_v6/proto/enums/feed_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\017FeedStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/enums/feed_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x0f\x46\x65\x65\x64StatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDSTATUSENUM_FEEDSTATUS = _descriptor.EnumDescriptor( + name='FeedStatus', + full_name='google.ads.googleads.v6.enums.FeedStatusEnum.FeedStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=136, + serialized_end=204, +) +_sym_db.RegisterEnumDescriptor(_FEEDSTATUSENUM_FEEDSTATUS) + + +_FEEDSTATUSENUM = _descriptor.Descriptor( + name='FeedStatusEnum', + full_name='google.ads.googleads.v6.enums.FeedStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDSTATUSENUM_FEEDSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=118, + serialized_end=204, +) + +_FEEDSTATUSENUM_FEEDSTATUS.containing_type = _FEEDSTATUSENUM +DESCRIPTOR.message_types_by_name['FeedStatusEnum'] = _FEEDSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedStatusEnum = _reflection.GeneratedProtocolMessageType('FeedStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.feed_status_pb2' + , + '__doc__': """Container for enum describing possible statuses of a feed.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.FeedStatusEnum) + }) +_sym_db.RegisterMessage(FeedStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/feed_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/feed_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/feed_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/flight_placeholder_field_pb2.py b/google/ads/google_ads/v6/proto/enums/flight_placeholder_field_pb2.py new file mode 100644 index 000000000..5fc881256 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/flight_placeholder_field_pb2.py @@ -0,0 +1,182 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/flight_placeholder_field.proto + +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_v6/proto/enums/flight_placeholder_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\034FlightsPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/enums/flight_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1c\x46lightsPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD = _descriptor.EnumDescriptor( + name='FlightPlaceholderField', + full_name='google.ads.googleads.v6.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESTINATION_ID', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ORIGIN_ID', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLIGHT_DESCRIPTION', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ORIGIN_NAME', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESTINATION_NAME', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLIGHT_PRICE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FORMATTED_PRICE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLIGHT_SALE_PRICE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FORMATTED_SALE_PRICE', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_URL', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_URLS', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_MOBILE_URLS', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRACKING_URL', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANDROID_APP_LINK', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIMILAR_DESTINATION_IDS', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_APP_LINK', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_APP_STORE_ID', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=163, + serialized_end=566, +) +_sym_db.RegisterEnumDescriptor(_FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD) + + +_FLIGHTPLACEHOLDERFIELDENUM = _descriptor.Descriptor( + name='FlightPlaceholderFieldEnum', + full_name='google.ads.googleads.v6.enums.FlightPlaceholderFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=566, +) + +_FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD.containing_type = _FLIGHTPLACEHOLDERFIELDENUM +DESCRIPTOR.message_types_by_name['FlightPlaceholderFieldEnum'] = _FLIGHTPLACEHOLDERFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FlightPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('FlightPlaceholderFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _FLIGHTPLACEHOLDERFIELDENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FlightPlaceholderFieldEnum) + }) +_sym_db.RegisterMessage(FlightPlaceholderFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/flight_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/flight_placeholder_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/flight_placeholder_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/frequency_cap_event_type_pb2.py b/google/ads/google_ads/v6/proto/enums/frequency_cap_event_type_pb2.py new file mode 100644 index 000000000..9478c4bfa --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/frequency_cap_event_type_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/frequency_cap_event_type.proto + +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_v6/proto/enums/frequency_cap_event_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\032FrequencyCapEventTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/enums/frequency_cap_event_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1a\x46requencyCapEventTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE = _descriptor.EnumDescriptor( + name='FrequencyCapEventType', + full_name='google.ads.googleads.v6.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMPRESSION', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VIDEO_VIEW', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=160, + serialized_end=245, +) +_sym_db.RegisterEnumDescriptor(_FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE) + + +_FREQUENCYCAPEVENTTYPEENUM = _descriptor.Descriptor( + name='FrequencyCapEventTypeEnum', + full_name='google.ads.googleads.v6.enums.FrequencyCapEventTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=245, +) + +_FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE.containing_type = _FREQUENCYCAPEVENTTYPEENUM +DESCRIPTOR.message_types_by_name['FrequencyCapEventTypeEnum'] = _FREQUENCYCAPEVENTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FrequencyCapEventTypeEnum = _reflection.GeneratedProtocolMessageType('FrequencyCapEventTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _FREQUENCYCAPEVENTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FrequencyCapEventTypeEnum) + }) +_sym_db.RegisterMessage(FrequencyCapEventTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/frequency_cap_event_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/frequency_cap_event_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/frequency_cap_event_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/frequency_cap_level_pb2.py b/google/ads/google_ads/v6/proto/enums/frequency_cap_level_pb2.py new file mode 100644 index 000000000..05c0993a5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/frequency_cap_level_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/frequency_cap_level.proto + +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_v6/proto/enums/frequency_cap_level.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026FrequencyCapLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/enums/frequency_cap_level.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x16\x46requencyCapLevelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL = _descriptor.EnumDescriptor( + name='FrequencyCapLevel', + full_name='google.ads.googleads.v6.enums.FrequencyCapLevelEnum.FrequencyCapLevel', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_GROUP_AD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_GROUP', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=151, + serialized_end=245, +) +_sym_db.RegisterEnumDescriptor(_FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL) + + +_FREQUENCYCAPLEVELENUM = _descriptor.Descriptor( + name='FrequencyCapLevelEnum', + full_name='google.ads.googleads.v6.enums.FrequencyCapLevelEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=245, +) + +_FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL.containing_type = _FREQUENCYCAPLEVELENUM +DESCRIPTOR.message_types_by_name['FrequencyCapLevelEnum'] = _FREQUENCYCAPLEVELENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FrequencyCapLevelEnum = _reflection.GeneratedProtocolMessageType('FrequencyCapLevelEnum', (_message.Message,), { + 'DESCRIPTOR' : _FREQUENCYCAPLEVELENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FrequencyCapLevelEnum) + }) +_sym_db.RegisterMessage(FrequencyCapLevelEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/frequency_cap_level_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/frequency_cap_level_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/frequency_cap_level_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/frequency_cap_time_unit_pb2.py b/google/ads/google_ads/v6/proto/enums/frequency_cap_time_unit_pb2.py new file mode 100644 index 000000000..f2dbc0c70 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/frequency_cap_time_unit_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/frequency_cap_time_unit.proto + +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_v6/proto/enums/frequency_cap_time_unit.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031FrequencyCapTimeUnitProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/enums/frequency_cap_time_unit.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x19\x46requencyCapTimeUnitProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT = _descriptor.EnumDescriptor( + name='FrequencyCapTimeUnit', + full_name='google.ads.googleads.v6.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DAY', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WEEK', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MONTH', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=158, + serialized_end=240, +) +_sym_db.RegisterEnumDescriptor(_FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT) + + +_FREQUENCYCAPTIMEUNITENUM = _descriptor.Descriptor( + name='FrequencyCapTimeUnitEnum', + full_name='google.ads.googleads.v6.enums.FrequencyCapTimeUnitEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=240, +) + +_FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT.containing_type = _FREQUENCYCAPTIMEUNITENUM +DESCRIPTOR.message_types_by_name['FrequencyCapTimeUnitEnum'] = _FREQUENCYCAPTIMEUNITENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FrequencyCapTimeUnitEnum = _reflection.GeneratedProtocolMessageType('FrequencyCapTimeUnitEnum', (_message.Message,), { + 'DESCRIPTOR' : _FREQUENCYCAPTIMEUNITENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.FrequencyCapTimeUnitEnum) + }) +_sym_db.RegisterMessage(FrequencyCapTimeUnitEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/frequency_cap_time_unit_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/frequency_cap_time_unit_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/frequency_cap_time_unit_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/gender_type_pb2.py b/google/ads/google_ads/v6/proto/enums/gender_type_pb2.py new file mode 100644 index 000000000..18d3701c4 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/gender_type_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/gender_type.proto + +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_v6/proto/enums/gender_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\017GenderTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/enums/gender_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x0fGenderTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_GENDERTYPEENUM_GENDERTYPE = _descriptor.EnumDescriptor( + name='GenderType', + full_name='google.ads.googleads.v6.enums.GenderTypeEnum.GenderType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MALE', index=2, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEMALE', index=3, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNDETERMINED', index=4, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=136, + serialized_end=218, +) +_sym_db.RegisterEnumDescriptor(_GENDERTYPEENUM_GENDERTYPE) + + +_GENDERTYPEENUM = _descriptor.Descriptor( + name='GenderTypeEnum', + full_name='google.ads.googleads.v6.enums.GenderTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _GENDERTYPEENUM_GENDERTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=118, + serialized_end=218, +) + +_GENDERTYPEENUM_GENDERTYPE.containing_type = _GENDERTYPEENUM +DESCRIPTOR.message_types_by_name['GenderTypeEnum'] = _GENDERTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GenderTypeEnum = _reflection.GeneratedProtocolMessageType('GenderTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _GENDERTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.gender_type_pb2' + , + '__doc__': """Container for enum describing the type of demographic genders.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.GenderTypeEnum) + }) +_sym_db.RegisterMessage(GenderTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/gender_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/gender_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/gender_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/geo_target_constant_status_pb2.py b/google/ads/google_ads/v6/proto/enums/geo_target_constant_status_pb2.py new file mode 100644 index 000000000..fb667aa62 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/geo_target_constant_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/geo_target_constant_status.proto + +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_v6/proto/enums/geo_target_constant_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\034GeoTargetConstantStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/enums/geo_target_constant_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1cGeoTargetConstantStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS = _descriptor.EnumDescriptor( + name='GeoTargetConstantStatus', + full_name='google.ads.googleads.v6.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVAL_PLANNED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=164, + serialized_end=253, +) +_sym_db.RegisterEnumDescriptor(_GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS) + + +_GEOTARGETCONSTANTSTATUSENUM = _descriptor.Descriptor( + name='GeoTargetConstantStatusEnum', + full_name='google.ads.googleads.v6.enums.GeoTargetConstantStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=133, + serialized_end=253, +) + +_GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS.containing_type = _GEOTARGETCONSTANTSTATUSENUM +DESCRIPTOR.message_types_by_name['GeoTargetConstantStatusEnum'] = _GEOTARGETCONSTANTSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GeoTargetConstantStatusEnum = _reflection.GeneratedProtocolMessageType('GeoTargetConstantStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _GEOTARGETCONSTANTSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.GeoTargetConstantStatusEnum) + }) +_sym_db.RegisterMessage(GeoTargetConstantStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/geo_target_constant_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/geo_target_constant_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/geo_target_constant_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/geo_targeting_restriction_pb2.py b/google/ads/google_ads/v6/proto/enums/geo_targeting_restriction_pb2.py new file mode 100644 index 000000000..f6442e6fe --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/geo_targeting_restriction_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/geo_targeting_restriction.proto + +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_v6/proto/enums/geo_targeting_restriction.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\034GeoTargetingRestrictionProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/enums/geo_targeting_restriction.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1cGeoTargetingRestrictionProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION = _descriptor.EnumDescriptor( + name='GeoTargetingRestriction', + full_name='google.ads.googleads.v6.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION_OF_PRESENCE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=163, + serialized_end=244, +) +_sym_db.RegisterEnumDescriptor(_GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION) + + +_GEOTARGETINGRESTRICTIONENUM = _descriptor.Descriptor( + name='GeoTargetingRestrictionEnum', + full_name='google.ads.googleads.v6.enums.GeoTargetingRestrictionEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=244, +) + +_GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION.containing_type = _GEOTARGETINGRESTRICTIONENUM +DESCRIPTOR.message_types_by_name['GeoTargetingRestrictionEnum'] = _GEOTARGETINGRESTRICTIONENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GeoTargetingRestrictionEnum = _reflection.GeneratedProtocolMessageType('GeoTargetingRestrictionEnum', (_message.Message,), { + 'DESCRIPTOR' : _GEOTARGETINGRESTRICTIONENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.geo_targeting_restriction_pb2' + , + '__doc__': """Message describing feed item geo targeting restriction.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.GeoTargetingRestrictionEnum) + }) +_sym_db.RegisterMessage(GeoTargetingRestrictionEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/geo_targeting_restriction_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/geo_targeting_restriction_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/geo_targeting_restriction_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/geo_targeting_type_pb2.py b/google/ads/google_ads/v6/proto/enums/geo_targeting_type_pb2.py new file mode 100644 index 000000000..a047f2bf5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/geo_targeting_type_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/geo_targeting_type.proto + +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_v6/proto/enums/geo_targeting_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025GeoTargetingTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nB\xe9\x01\n!com.google.ads.googleads.v6.enumsB\x14InteractionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_INTERACTIONTYPEENUM_INTERACTIONTYPE = _descriptor.EnumDescriptor( + name='InteractionType', + full_name='google.ads.googleads.v6.enums.InteractionTypeEnum.InteractionType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALLS', index=2, number=8000, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=146, + serialized_end=205, +) +_sym_db.RegisterEnumDescriptor(_INTERACTIONTYPEENUM_INTERACTIONTYPE) + + +_INTERACTIONTYPEENUM = _descriptor.Descriptor( + name='InteractionTypeEnum', + full_name='google.ads.googleads.v6.enums.InteractionTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _INTERACTIONTYPEENUM_INTERACTIONTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=205, +) + +_INTERACTIONTYPEENUM_INTERACTIONTYPE.containing_type = _INTERACTIONTYPEENUM +DESCRIPTOR.message_types_by_name['InteractionTypeEnum'] = _INTERACTIONTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +InteractionTypeEnum = _reflection.GeneratedProtocolMessageType('InteractionTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _INTERACTIONTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.interaction_type_pb2' + , + '__doc__': """Container for enum describing possible interaction types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.InteractionTypeEnum) + }) +_sym_db.RegisterMessage(InteractionTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/interaction_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/interaction_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/interaction_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/invoice_type_pb2.py b/google/ads/google_ads/v6/proto/enums/invoice_type_pb2.py new file mode 100644 index 000000000..dbb036426 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/invoice_type_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/invoice_type.proto + +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_v6/proto/enums/invoice_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\020InvoiceTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/enums/invoice_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x10InvoiceTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_INVOICETYPEENUM_INVOICETYPE = _descriptor.EnumDescriptor( + name='InvoiceType', + full_name='google.ads.googleads.v6.enums.InvoiceTypeEnum.InvoiceType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CREDIT_MEMO', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVOICE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.enums.InvoiceTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _INVOICETYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.invoice_type_pb2' + , + '__doc__': """Container for enum describing the type of invoices.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.InvoiceTypeEnum) + }) +_sym_db.RegisterMessage(InvoiceTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/invoice_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/invoice_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/invoice_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/job_placeholder_field_pb2.py b/google/ads/google_ads/v6/proto/enums/job_placeholder_field_pb2.py new file mode 100644 index 000000000..3db4049b3 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/job_placeholder_field_pb2.py @@ -0,0 +1,182 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/job_placeholder_field.proto + +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_v6/proto/enums/job_placeholder_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031JobsPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/enums/job_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x19JobsPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD = _descriptor.EnumDescriptor( + name='JobPlaceholderField', + full_name='google.ads.googleads.v6.enums.JobPlaceholderFieldEnum.JobPlaceholderField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='JOB_ID', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION_ID', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TITLE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SUBTITLE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESCRIPTION', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_URL', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CATEGORY', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTEXTUAL_KEYWORDS', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADDRESS', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SALARY', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_URLS', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_MOBILE_URLS', index=13, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRACKING_URL', index=14, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANDROID_APP_LINK', index=15, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIMILAR_JOB_IDS', index=16, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_APP_LINK', index=17, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS_APP_STORE_ID', index=18, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=157, + serialized_end=498, +) +_sym_db.RegisterEnumDescriptor(_JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD) + + +_JOBPLACEHOLDERFIELDENUM = _descriptor.Descriptor( + name='JobPlaceholderFieldEnum', + full_name='google.ads.googleads.v6.enums.JobPlaceholderFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=498, +) + +_JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD.containing_type = _JOBPLACEHOLDERFIELDENUM +DESCRIPTOR.message_types_by_name['JobPlaceholderFieldEnum'] = _JOBPLACEHOLDERFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +JobPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('JobPlaceholderFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _JOBPLACEHOLDERFIELDENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.JobPlaceholderFieldEnum) + }) +_sym_db.RegisterMessage(JobPlaceholderFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/job_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/job_placeholder_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/job_placeholder_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/keyword_match_type_pb2.py b/google/ads/google_ads/v6/proto/enums/keyword_match_type_pb2.py new file mode 100644 index 000000000..609757baa --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/keyword_match_type_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/keyword_match_type.proto + +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_v6/proto/enums/keyword_match_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025KeywordMatchTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/enums/keyword_plan_network.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x17KeywordPlanNetworkProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK = _descriptor.EnumDescriptor( + name='KeywordPlanNetwork', + full_name='google.ads.googleads.v6.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_SEARCH', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_SEARCH_AND_PARTNERS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=254, +) +_sym_db.RegisterEnumDescriptor(_KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK) + + +_KEYWORDPLANNETWORKENUM = _descriptor.Descriptor( + name='KeywordPlanNetworkEnum', + full_name='google.ads.googleads.v6.enums.KeywordPlanNetworkEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=254, +) + +_KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK.containing_type = _KEYWORDPLANNETWORKENUM +DESCRIPTOR.message_types_by_name['KeywordPlanNetworkEnum'] = _KEYWORDPLANNETWORKENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordPlanNetworkEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanNetworkEnum', (_message.Message,), { + 'DESCRIPTOR' : _KEYWORDPLANNETWORKENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.keyword_plan_network_pb2' + , + '__doc__': """Container for enumeration of keyword plan forecastable network types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.KeywordPlanNetworkEnum) + }) +_sym_db.RegisterMessage(KeywordPlanNetworkEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/keyword_plan_network_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/keyword_plan_network_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/keyword_plan_network_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/label_status_pb2.py b/google/ads/google_ads/v6/proto/enums/label_status_pb2.py new file mode 100644 index 000000000..47e7a6a70 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/label_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/label_status.proto + +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_v6/proto/enums/label_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\020LabelStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/enums/label_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x10LabelStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LABELSTATUSENUM_LABELSTATUS = _descriptor.EnumDescriptor( + name='LabelStatus', + full_name='google.ads.googleads.v6.enums.LabelStatusEnum.LabelStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=138, + serialized_end=207, +) +_sym_db.RegisterEnumDescriptor(_LABELSTATUSENUM_LABELSTATUS) + + +_LABELSTATUSENUM = _descriptor.Descriptor( + name='LabelStatusEnum', + full_name='google.ads.googleads.v6.enums.LabelStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LABELSTATUSENUM_LABELSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=119, + serialized_end=207, +) + +_LABELSTATUSENUM_LABELSTATUS.containing_type = _LABELSTATUSENUM +DESCRIPTOR.message_types_by_name['LabelStatusEnum'] = _LABELSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LabelStatusEnum = _reflection.GeneratedProtocolMessageType('LabelStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _LABELSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.label_status_pb2' + , + '__doc__': """Container for enum describing possible status of a label.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.LabelStatusEnum) + }) +_sym_db.RegisterMessage(LabelStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/label_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/label_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/label_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/lead_form_call_to_action_type_pb2.py b/google/ads/google_ads/v6/proto/enums/lead_form_call_to_action_type_pb2.py new file mode 100644 index 000000000..ee9ff12a9 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/lead_form_call_to_action_type_pb2.py @@ -0,0 +1,165 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/lead_form_call_to_action_type.proto + +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_v6/proto/enums/lead_form_call_to_action_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\035LeadFormCallToActionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nGgoogle/ads/googleads_v6/proto/enums/lead_form_call_to_action_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\xab\x02\n\x1cLeadFormCallToActionTypeEnum\"\x8a\x02\n\x18LeadFormCallToActionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nLEARN_MORE\x10\x02\x12\r\n\tGET_QUOTE\x10\x03\x12\r\n\tAPPLY_NOW\x10\x04\x12\x0b\n\x07SIGN_UP\x10\x05\x12\x0e\n\nCONTACT_US\x10\x06\x12\r\n\tSUBSCRIBE\x10\x07\x12\x0c\n\x08\x44OWNLOAD\x10\x08\x12\x0c\n\x08\x42OOK_NOW\x10\t\x12\r\n\tGET_OFFER\x10\n\x12\x0c\n\x08REGISTER\x10\x0b\x12\x0c\n\x08GET_INFO\x10\x0c\x12\x10\n\x0cREQUEST_DEMO\x10\r\x12\x0c\n\x08JOIN_NOW\x10\x0e\x12\x0f\n\x0bGET_STARTED\x10\x0f\x42\xf2\x01\n!com.google.ads.googleads.v6.enumsB\x1dLeadFormCallToActionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LEADFORMCALLTOACTIONTYPEENUM_LEADFORMCALLTOACTIONTYPE = _descriptor.EnumDescriptor( + name='LeadFormCallToActionType', + full_name='google.ads.googleads.v6.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEARN_MORE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GET_QUOTE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPLY_NOW', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIGN_UP', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTACT_US', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SUBSCRIBE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOWNLOAD', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BOOK_NOW', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GET_OFFER', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REGISTER', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GET_INFO', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REQUEST_DEMO', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='JOIN_NOW', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GET_STARTED', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=170, + serialized_end=436, +) +_sym_db.RegisterEnumDescriptor(_LEADFORMCALLTOACTIONTYPEENUM_LEADFORMCALLTOACTIONTYPE) + + +_LEADFORMCALLTOACTIONTYPEENUM = _descriptor.Descriptor( + name='LeadFormCallToActionTypeEnum', + full_name='google.ads.googleads.v6.enums.LeadFormCallToActionTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LEADFORMCALLTOACTIONTYPEENUM_LEADFORMCALLTOACTIONTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=137, + serialized_end=436, +) + +_LEADFORMCALLTOACTIONTYPEENUM_LEADFORMCALLTOACTIONTYPE.containing_type = _LEADFORMCALLTOACTIONTYPEENUM +DESCRIPTOR.message_types_by_name['LeadFormCallToActionTypeEnum'] = _LEADFORMCALLTOACTIONTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LeadFormCallToActionTypeEnum = _reflection.GeneratedProtocolMessageType('LeadFormCallToActionTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _LEADFORMCALLTOACTIONTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.lead_form_call_to_action_type_pb2' + , + '__doc__': """Describes the type of call-to-action phrases in a lead form.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.LeadFormCallToActionTypeEnum) + }) +_sym_db.RegisterMessage(LeadFormCallToActionTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/lead_form_call_to_action_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/lead_form_call_to_action_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/lead_form_call_to_action_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/lead_form_desired_intent_pb2.py b/google/ads/google_ads/v6/proto/enums/lead_form_desired_intent_pb2.py new file mode 100644 index 000000000..fa931904c --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/lead_form_desired_intent_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/lead_form_desired_intent.proto + +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_v6/proto/enums/lead_form_desired_intent.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\032LeadFormDesiredIntentProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/enums/lead_form_desired_intent.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"s\n\x19LeadFormDesiredIntentEnum\"V\n\x15LeadFormDesiredIntent\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nLOW_INTENT\x10\x02\x12\x0f\n\x0bHIGH_INTENT\x10\x03\x42\xef\x01\n!com.google.ads.googleads.v6.enumsB\x1aLeadFormDesiredIntentProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LEADFORMDESIREDINTENTENUM_LEADFORMDESIREDINTENT = _descriptor.EnumDescriptor( + name='LeadFormDesiredIntent', + full_name='google.ads.googleads.v6.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOW_INTENT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HIGH_INTENT', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=160, + serialized_end=246, +) +_sym_db.RegisterEnumDescriptor(_LEADFORMDESIREDINTENTENUM_LEADFORMDESIREDINTENT) + + +_LEADFORMDESIREDINTENTENUM = _descriptor.Descriptor( + name='LeadFormDesiredIntentEnum', + full_name='google.ads.googleads.v6.enums.LeadFormDesiredIntentEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LEADFORMDESIREDINTENTENUM_LEADFORMDESIREDINTENT, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=246, +) + +_LEADFORMDESIREDINTENTENUM_LEADFORMDESIREDINTENT.containing_type = _LEADFORMDESIREDINTENTENUM +DESCRIPTOR.message_types_by_name['LeadFormDesiredIntentEnum'] = _LEADFORMDESIREDINTENTENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LeadFormDesiredIntentEnum = _reflection.GeneratedProtocolMessageType('LeadFormDesiredIntentEnum', (_message.Message,), { + 'DESCRIPTOR' : _LEADFORMDESIREDINTENTENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.lead_form_desired_intent_pb2' + , + '__doc__': """Describes the desired level of intent of generated leads.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.LeadFormDesiredIntentEnum) + }) +_sym_db.RegisterMessage(LeadFormDesiredIntentEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/lead_form_desired_intent_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/lead_form_desired_intent_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/lead_form_desired_intent_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/lead_form_field_user_input_type_pb2.py b/google/ads/google_ads/v6/proto/enums/lead_form_field_user_input_type_pb2.py new file mode 100644 index 000000000..576b9efb9 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/lead_form_field_user_input_type_pb2.py @@ -0,0 +1,395 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/lead_form_field_user_input_type.proto + +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_v6/proto/enums/lead_form_field_user_input_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\037LeadFormFieldUserInputTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nIgoogle/ads/googleads_v6/proto/enums/lead_form_field_user_input_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\xf1\n\n\x1eLeadFormFieldUserInputTypeEnum\"\xce\n\n\x1aLeadFormFieldUserInputType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\r\n\tFULL_NAME\x10\x02\x12\x0e\n\nGIVEN_NAME\x10\x06\x12\x0f\n\x0b\x46\x41MILY_NAME\x10\x07\x12\t\n\x05\x45MAIL\x10\x03\x12\x10\n\x0cPHONE_NUMBER\x10\x04\x12\x0f\n\x0bPOSTAL_CODE\x10\x05\x12\x08\n\x04\x43ITY\x10\t\x12\n\n\x06REGION\x10\n\x12\x0b\n\x07\x43OUNTRY\x10\x0b\x12\x0e\n\nWORK_EMAIL\x10\x0c\x12\x10\n\x0c\x43OMPANY_NAME\x10\r\x12\x0e\n\nWORK_PHONE\x10\x0e\x12\r\n\tJOB_TITLE\x10\x0f\x12\x12\n\rVEHICLE_MODEL\x10\xe9\x07\x12\x11\n\x0cVEHICLE_TYPE\x10\xea\x07\x12\x19\n\x14PREFERRED_DEALERSHIP\x10\xeb\x07\x12\x1e\n\x19VEHICLE_PURCHASE_TIMELINE\x10\xec\x07\x12\x16\n\x11VEHICLE_OWNERSHIP\x10\xed\x07\x12\x19\n\x14VEHICLE_PAYMENT_TYPE\x10\xf1\x07\x12\x16\n\x11VEHICLE_CONDITION\x10\xf2\x07\x12\x11\n\x0c\x43OMPANY_SIZE\x10\xee\x07\x12\x11\n\x0c\x41NNUAL_SALES\x10\xef\x07\x12\x16\n\x11YEARS_IN_BUSINESS\x10\xf0\x07\x12\x13\n\x0eJOB_DEPARTMENT\x10\xf3\x07\x12\r\n\x08JOB_ROLE\x10\xf4\x07\x12\x16\n\x11\x45\x44UCATION_PROGRAM\x10\xf5\x07\x12\x15\n\x10\x45\x44UCATION_COURSE\x10\xf6\x07\x12\x0c\n\x07PRODUCT\x10\xf8\x07\x12\x0c\n\x07SERVICE\x10\xf9\x07\x12\n\n\x05OFFER\x10\xfa\x07\x12\r\n\x08\x43\x41TEGORY\x10\xfb\x07\x12\x1d\n\x18PREFERRED_CONTACT_METHOD\x10\xfc\x07\x12\x17\n\x12PREFERRED_LOCATION\x10\xfd\x07\x12\x1b\n\x16PREFERRED_CONTACT_TIME\x10\xfe\x07\x12\x16\n\x11PURCHASE_TIMELINE\x10\xff\x07\x12\x18\n\x13YEARS_OF_EXPERIENCE\x10\x98\x08\x12\x11\n\x0cJOB_INDUSTRY\x10\x99\x08\x12\x17\n\x12LEVEL_OF_EDUCATION\x10\x9a\x08\x12\x12\n\rPROPERTY_TYPE\x10\x80\x08\x12\x16\n\x11REALTOR_HELP_GOAL\x10\x81\x08\x12\x17\n\x12PROPERTY_COMMUNITY\x10\x82\x08\x12\x10\n\x0bPRICE_RANGE\x10\x83\x08\x12\x17\n\x12NUMBER_OF_BEDROOMS\x10\x84\x08\x12\x17\n\x12\x46URNISHED_PROPERTY\x10\x85\x08\x12\x1a\n\x15PETS_ALLOWED_PROPERTY\x10\x86\x08\x12\x1a\n\x15NEXT_PLANNED_PURCHASE\x10\x87\x08\x12\x1a\n\x15\x45VENT_SIGNUP_INTEREST\x10\x89\x08\x12\x1e\n\x19PREFERRED_SHOPPING_PLACES\x10\x8a\x08\x12\x13\n\x0e\x46\x41VORITE_BRAND\x10\x8b\x08\x12+\n&TRANSPORTATION_COMMERCIAL_LICENSE_TYPE\x10\x8c\x08\x12\x1b\n\x16\x45VENT_BOOKING_INTEREST\x10\x8e\x08\x12\x18\n\x13\x44\x45STINATION_COUNTRY\x10\x8f\x08\x12\x15\n\x10\x44\x45STINATION_CITY\x10\x90\x08\x12\x16\n\x11\x44\x45PARTURE_COUNTRY\x10\x91\x08\x12\x13\n\x0e\x44\x45PARTURE_CITY\x10\x92\x08\x12\x13\n\x0e\x44\x45PARTURE_DATE\x10\x93\x08\x12\x10\n\x0bRETURN_DATE\x10\x94\x08\x12\x18\n\x13NUMBER_OF_TRAVELERS\x10\x95\x08\x12\x12\n\rTRAVEL_BUDGET\x10\x96\x08\x12\x19\n\x14TRAVEL_ACCOMMODATION\x10\x97\x08\x42\xf4\x01\n!com.google.ads.googleads.v6.enumsB\x1fLeadFormFieldUserInputTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LEADFORMFIELDUSERINPUTTYPEENUM_LEADFORMFIELDUSERINPUTTYPE = _descriptor.EnumDescriptor( + name='LeadFormFieldUserInputType', + full_name='google.ads.googleads.v6.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FULL_NAME', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GIVEN_NAME', index=3, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FAMILY_NAME', index=4, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EMAIL', index=5, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER', index=6, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='POSTAL_CODE', index=7, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CITY', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REGION', index=9, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COUNTRY', index=10, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORK_EMAIL', index=11, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COMPANY_NAME', index=12, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WORK_PHONE', index=13, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='JOB_TITLE', index=14, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VEHICLE_MODEL', index=15, number=1001, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VEHICLE_TYPE', index=16, number=1002, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PREFERRED_DEALERSHIP', index=17, number=1003, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VEHICLE_PURCHASE_TIMELINE', index=18, number=1004, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VEHICLE_OWNERSHIP', index=19, number=1005, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VEHICLE_PAYMENT_TYPE', index=20, number=1009, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VEHICLE_CONDITION', index=21, number=1010, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COMPANY_SIZE', index=22, number=1006, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANNUAL_SALES', index=23, number=1007, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YEARS_IN_BUSINESS', index=24, number=1008, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='JOB_DEPARTMENT', index=25, number=1011, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='JOB_ROLE', index=26, number=1012, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EDUCATION_PROGRAM', index=27, number=1013, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EDUCATION_COURSE', index=28, number=1014, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRODUCT', index=29, number=1016, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SERVICE', index=30, number=1017, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OFFER', index=31, number=1018, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CATEGORY', index=32, number=1019, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PREFERRED_CONTACT_METHOD', index=33, number=1020, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PREFERRED_LOCATION', index=34, number=1021, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PREFERRED_CONTACT_TIME', index=35, number=1022, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PURCHASE_TIMELINE', index=36, number=1023, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YEARS_OF_EXPERIENCE', index=37, number=1048, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='JOB_INDUSTRY', index=38, number=1049, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEVEL_OF_EDUCATION', index=39, number=1050, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROPERTY_TYPE', index=40, number=1024, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REALTOR_HELP_GOAL', index=41, number=1025, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROPERTY_COMMUNITY', index=42, number=1026, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_RANGE', index=43, number=1027, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NUMBER_OF_BEDROOMS', index=44, number=1028, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FURNISHED_PROPERTY', index=45, number=1029, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PETS_ALLOWED_PROPERTY', index=46, number=1030, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NEXT_PLANNED_PURCHASE', index=47, number=1031, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EVENT_SIGNUP_INTEREST', index=48, number=1033, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PREFERRED_SHOPPING_PLACES', index=49, number=1034, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FAVORITE_BRAND', index=50, number=1035, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRANSPORTATION_COMMERCIAL_LICENSE_TYPE', index=51, number=1036, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EVENT_BOOKING_INTEREST', index=52, number=1038, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESTINATION_COUNTRY', index=53, number=1039, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESTINATION_CITY', index=54, number=1040, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DEPARTURE_COUNTRY', index=55, number=1041, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DEPARTURE_CITY', index=56, number=1042, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DEPARTURE_DATE', index=57, number=1043, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RETURN_DATE', index=58, number=1044, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NUMBER_OF_TRAVELERS', index=59, number=1045, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRAVEL_BUDGET', index=60, number=1046, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRAVEL_ACCOMMODATION', index=61, number=1047, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=174, + serialized_end=1532, +) +_sym_db.RegisterEnumDescriptor(_LEADFORMFIELDUSERINPUTTYPEENUM_LEADFORMFIELDUSERINPUTTYPE) + + +_LEADFORMFIELDUSERINPUTTYPEENUM = _descriptor.Descriptor( + name='LeadFormFieldUserInputTypeEnum', + full_name='google.ads.googleads.v6.enums.LeadFormFieldUserInputTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LEADFORMFIELDUSERINPUTTYPEENUM_LEADFORMFIELDUSERINPUTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=139, + serialized_end=1532, +) + +_LEADFORMFIELDUSERINPUTTYPEENUM_LEADFORMFIELDUSERINPUTTYPE.containing_type = _LEADFORMFIELDUSERINPUTTYPEENUM +DESCRIPTOR.message_types_by_name['LeadFormFieldUserInputTypeEnum'] = _LEADFORMFIELDUSERINPUTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LeadFormFieldUserInputTypeEnum = _reflection.GeneratedProtocolMessageType('LeadFormFieldUserInputTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _LEADFORMFIELDUSERINPUTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.lead_form_field_user_input_type_pb2' + , + '__doc__': """Describes the input type of a lead form field.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.LeadFormFieldUserInputTypeEnum) + }) +_sym_db.RegisterMessage(LeadFormFieldUserInputTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/lead_form_field_user_input_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/lead_form_field_user_input_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/lead_form_field_user_input_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/lead_form_post_submit_call_to_action_type_pb2.py b/google/ads/google_ads/v6/proto/enums/lead_form_post_submit_call_to_action_type_pb2.py new file mode 100644 index 000000000..6065b4235 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/lead_form_post_submit_call_to_action_type_pb2.py @@ -0,0 +1,116 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/lead_form_post_submit_call_to_action_type.proto + +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_v6/proto/enums/lead_form_post_submit_call_to_action_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\'LeadFormPostSubmitCallToActionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nSgoogle/ads/googleads_v6/proto/enums/lead_form_post_submit_call_to_action_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\xa8\x01\n&LeadFormPostSubmitCallToActionTypeEnum\"~\n\"LeadFormPostSubmitCallToActionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nVISIT_SITE\x10\x02\x12\x0c\n\x08\x44OWNLOAD\x10\x03\x12\x0e\n\nLEARN_MORE\x10\x04\x12\x0c\n\x08SHOP_NOW\x10\x05\x42\xfc\x01\n!com.google.ads.googleads.v6.enumsB\'LeadFormPostSubmitCallToActionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LEADFORMPOSTSUBMITCALLTOACTIONTYPEENUM_LEADFORMPOSTSUBMITCALLTOACTIONTYPE = _descriptor.EnumDescriptor( + name='LeadFormPostSubmitCallToActionType', + full_name='google.ads.googleads.v6.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VISIT_SITE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOWNLOAD', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEARN_MORE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SHOP_NOW', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=191, + serialized_end=317, +) +_sym_db.RegisterEnumDescriptor(_LEADFORMPOSTSUBMITCALLTOACTIONTYPEENUM_LEADFORMPOSTSUBMITCALLTOACTIONTYPE) + + +_LEADFORMPOSTSUBMITCALLTOACTIONTYPEENUM = _descriptor.Descriptor( + name='LeadFormPostSubmitCallToActionTypeEnum', + full_name='google.ads.googleads.v6.enums.LeadFormPostSubmitCallToActionTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LEADFORMPOSTSUBMITCALLTOACTIONTYPEENUM_LEADFORMPOSTSUBMITCALLTOACTIONTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=149, + serialized_end=317, +) + +_LEADFORMPOSTSUBMITCALLTOACTIONTYPEENUM_LEADFORMPOSTSUBMITCALLTOACTIONTYPE.containing_type = _LEADFORMPOSTSUBMITCALLTOACTIONTYPEENUM +DESCRIPTOR.message_types_by_name['LeadFormPostSubmitCallToActionTypeEnum'] = _LEADFORMPOSTSUBMITCALLTOACTIONTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LeadFormPostSubmitCallToActionTypeEnum = _reflection.GeneratedProtocolMessageType('LeadFormPostSubmitCallToActionTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _LEADFORMPOSTSUBMITCALLTOACTIONTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.lead_form_post_submit_call_to_action_type_pb2' + , + '__doc__': """Describes the type of post-submit call-to-action phrases for a lead + form.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.LeadFormPostSubmitCallToActionTypeEnum) + }) +_sym_db.RegisterMessage(LeadFormPostSubmitCallToActionTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/lead_form_post_submit_call_to_action_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/lead_form_post_submit_call_to_action_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/lead_form_post_submit_call_to_action_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/legacy_app_install_ad_app_store_pb2.py b/google/ads/google_ads/v6/proto/enums/legacy_app_install_ad_app_store_pb2.py new file mode 100644 index 000000000..4607910c9 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/legacy_app_install_ad_app_store_pb2.py @@ -0,0 +1,121 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/legacy_app_install_ad_app_store.proto + +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_v6/proto/enums/legacy_app_install_ad_app_store.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\037LegacyAppInstallAdAppStoreProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nIgoogle/ads/googleads_v6/proto/enums/legacy_app_install_ad_app_store.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1fLegacyAppInstallAdAppStoreProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE = _descriptor.EnumDescriptor( + name='LegacyAppInstallAdAppStore', + full_name='google.ads.googleads.v6.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPLE_APP_STORE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_PLAY', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WINDOWS_STORE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WINDOWS_PHONE_STORE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CN_APP_STORE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=174, + serialized_end=332, +) +_sym_db.RegisterEnumDescriptor(_LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE) + + +_LEGACYAPPINSTALLADAPPSTOREENUM = _descriptor.Descriptor( + name='LegacyAppInstallAdAppStoreEnum', + full_name='google.ads.googleads.v6.enums.LegacyAppInstallAdAppStoreEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=139, + serialized_end=332, +) + +_LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE.containing_type = _LEGACYAPPINSTALLADAPPSTOREENUM +DESCRIPTOR.message_types_by_name['LegacyAppInstallAdAppStoreEnum'] = _LEGACYAPPINSTALLADAPPSTOREENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LegacyAppInstallAdAppStoreEnum = _reflection.GeneratedProtocolMessageType('LegacyAppInstallAdAppStoreEnum', (_message.Message,), { + 'DESCRIPTOR' : _LEGACYAPPINSTALLADAPPSTOREENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.LegacyAppInstallAdAppStoreEnum) + }) +_sym_db.RegisterMessage(LegacyAppInstallAdAppStoreEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/linked_account_type_pb2.py b/google/ads/google_ads/v6/proto/enums/linked_account_type_pb2.py new file mode 100644 index 000000000..adec21b21 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/linked_account_type_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/linked_account_type.proto + +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_v6/proto/enums/linked_account_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026LinkedAccountTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/enums/linked_account_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\x8b\x01\n\x15LinkedAccountTypeEnum\"r\n\x11LinkedAccountType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1d\n\x19THIRD_PARTY_APP_ANALYTICS\x10\x02\x12\x10\n\x0c\x44\x41TA_PARTNER\x10\x03\x12\x0e\n\nGOOGLE_ADS\x10\x04\x42\xeb\x01\n!com.google.ads.googleads.v6.enumsB\x16LinkedAccountTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LINKEDACCOUNTTYPEENUM_LINKEDACCOUNTTYPE = _descriptor.EnumDescriptor( + name='LinkedAccountType', + full_name='google.ads.googleads.v6.enums.LinkedAccountTypeEnum.LinkedAccountType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='THIRD_PARTY_APP_ANALYTICS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATA_PARTNER', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_ADS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=152, + serialized_end=266, +) +_sym_db.RegisterEnumDescriptor(_LINKEDACCOUNTTYPEENUM_LINKEDACCOUNTTYPE) + + +_LINKEDACCOUNTTYPEENUM = _descriptor.Descriptor( + name='LinkedAccountTypeEnum', + full_name='google.ads.googleads.v6.enums.LinkedAccountTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LINKEDACCOUNTTYPEENUM_LINKEDACCOUNTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=266, +) + +_LINKEDACCOUNTTYPEENUM_LINKEDACCOUNTTYPE.containing_type = _LINKEDACCOUNTTYPEENUM +DESCRIPTOR.message_types_by_name['LinkedAccountTypeEnum'] = _LINKEDACCOUNTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LinkedAccountTypeEnum = _reflection.GeneratedProtocolMessageType('LinkedAccountTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _LINKEDACCOUNTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.linked_account_type_pb2' + , + '__doc__': """Container for enum describing different types of Linked accounts.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.LinkedAccountTypeEnum) + }) +_sym_db.RegisterMessage(LinkedAccountTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/linked_account_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/linked_account_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/linked_account_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/listing_group_type_pb2.py b/google/ads/google_ads/v6/proto/enums/listing_group_type_pb2.py new file mode 100644 index 000000000..d760f89a1 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/listing_group_type_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/listing_group_type.proto + +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_v6/proto/enums/listing_group_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025ListingGroupTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/enums/location_source_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x17LocationSourceTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LOCATIONSOURCETYPEENUM_LOCATIONSOURCETYPE = _descriptor.EnumDescriptor( + name='LocationSourceType', + full_name='google.ads.googleads.v6.enums.LocationSourceTypeEnum.LocationSourceType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_MY_BUSINESS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AFFILIATE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.enums.LocationSourceTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _LOCATIONSOURCETYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.location_source_type_pb2' + , + '__doc__': """Used to distinguish the location source type.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.LocationSourceTypeEnum) + }) +_sym_db.RegisterMessage(LocationSourceTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/location_source_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/location_source_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/location_source_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/manager_link_status_pb2.py b/google/ads/google_ads/v6/proto/enums/manager_link_status_pb2.py new file mode 100644 index 000000000..adc054ec4 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/manager_link_status_pb2.py @@ -0,0 +1,121 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/manager_link_status.proto + +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_v6/proto/enums/manager_link_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026ManagerLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/enums/manager_link_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x16ManagerLinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MANAGERLINKSTATUSENUM_MANAGERLINKSTATUS = _descriptor.EnumDescriptor( + name='ManagerLinkStatus', + full_name='google.ads.googleads.v6.enums.ManagerLinkStatusEnum.ManagerLinkStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACTIVE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INACTIVE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REFUSED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANCELED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=152, + serialized_end=267, +) +_sym_db.RegisterEnumDescriptor(_MANAGERLINKSTATUSENUM_MANAGERLINKSTATUS) + + +_MANAGERLINKSTATUSENUM = _descriptor.Descriptor( + name='ManagerLinkStatusEnum', + full_name='google.ads.googleads.v6.enums.ManagerLinkStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MANAGERLINKSTATUSENUM_MANAGERLINKSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=267, +) + +_MANAGERLINKSTATUSENUM_MANAGERLINKSTATUS.containing_type = _MANAGERLINKSTATUSENUM +DESCRIPTOR.message_types_by_name['ManagerLinkStatusEnum'] = _MANAGERLINKSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ManagerLinkStatusEnum = _reflection.GeneratedProtocolMessageType('ManagerLinkStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _MANAGERLINKSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.ManagerLinkStatusEnum) + }) +_sym_db.RegisterMessage(ManagerLinkStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/manager_link_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/manager_link_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/manager_link_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/matching_function_context_type_pb2.py b/google/ads/google_ads/v6/proto/enums/matching_function_context_type_pb2.py new file mode 100644 index 000000000..a6329a4f6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/matching_function_context_type_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/matching_function_context_type.proto + +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_v6/proto/enums/matching_function_context_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB MatchingFunctionContextTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nHgoogle/ads/googleads_v6/proto/enums/matching_function_context_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB MatchingFunctionContextTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MATCHINGFUNCTIONCONTEXTTYPEENUM_MATCHINGFUNCTIONCONTEXTTYPE = _descriptor.EnumDescriptor( + name='MatchingFunctionContextType', + full_name='google.ads.googleads.v6.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ITEM_ID', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DEVICE_NAME', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=173, + serialized_end=267, +) +_sym_db.RegisterEnumDescriptor(_MATCHINGFUNCTIONCONTEXTTYPEENUM_MATCHINGFUNCTIONCONTEXTTYPE) + + +_MATCHINGFUNCTIONCONTEXTTYPEENUM = _descriptor.Descriptor( + name='MatchingFunctionContextTypeEnum', + full_name='google.ads.googleads.v6.enums.MatchingFunctionContextTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MATCHINGFUNCTIONCONTEXTTYPEENUM_MATCHINGFUNCTIONCONTEXTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=138, + serialized_end=267, +) + +_MATCHINGFUNCTIONCONTEXTTYPEENUM_MATCHINGFUNCTIONCONTEXTTYPE.containing_type = _MATCHINGFUNCTIONCONTEXTTYPEENUM +DESCRIPTOR.message_types_by_name['MatchingFunctionContextTypeEnum'] = _MATCHINGFUNCTIONCONTEXTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MatchingFunctionContextTypeEnum = _reflection.GeneratedProtocolMessageType('MatchingFunctionContextTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _MATCHINGFUNCTIONCONTEXTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.MatchingFunctionContextTypeEnum) + }) +_sym_db.RegisterMessage(MatchingFunctionContextTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/matching_function_context_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/matching_function_context_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/matching_function_context_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/matching_function_operator_pb2.py b/google/ads/google_ads/v6/proto/enums/matching_function_operator_pb2.py new file mode 100644 index 000000000..f48f0de74 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/matching_function_operator_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/matching_function_operator.proto + +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_v6/proto/enums/matching_function_operator.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\035MatchingFunctionOperatorProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/enums/matching_function_operator.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1dMatchingFunctionOperatorProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MATCHINGFUNCTIONOPERATORENUM_MATCHINGFUNCTIONOPERATOR = _descriptor.EnumDescriptor( + name='MatchingFunctionOperator', + full_name='google.ads.googleads.v6.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IN', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IDENTITY', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EQUALS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AND', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTAINS_ANY', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=166, + serialized_end=283, +) +_sym_db.RegisterEnumDescriptor(_MATCHINGFUNCTIONOPERATORENUM_MATCHINGFUNCTIONOPERATOR) + + +_MATCHINGFUNCTIONOPERATORENUM = _descriptor.Descriptor( + name='MatchingFunctionOperatorEnum', + full_name='google.ads.googleads.v6.enums.MatchingFunctionOperatorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MATCHINGFUNCTIONOPERATORENUM_MATCHINGFUNCTIONOPERATOR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=283, +) + +_MATCHINGFUNCTIONOPERATORENUM_MATCHINGFUNCTIONOPERATOR.containing_type = _MATCHINGFUNCTIONOPERATORENUM +DESCRIPTOR.message_types_by_name['MatchingFunctionOperatorEnum'] = _MATCHINGFUNCTIONOPERATORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MatchingFunctionOperatorEnum = _reflection.GeneratedProtocolMessageType('MatchingFunctionOperatorEnum', (_message.Message,), { + 'DESCRIPTOR' : _MATCHINGFUNCTIONOPERATORENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.matching_function_operator_pb2' + , + '__doc__': """Container for enum describing matching function operator.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.MatchingFunctionOperatorEnum) + }) +_sym_db.RegisterMessage(MatchingFunctionOperatorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/matching_function_operator_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/matching_function_operator_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/matching_function_operator_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/media_type_pb2.py b/google/ads/google_ads/v6/proto/enums/media_type_pb2.py new file mode 100644 index 000000000..f8677f62b --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/media_type_pb2.py @@ -0,0 +1,125 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/media_type.proto + +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_v6/proto/enums/media_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\016MediaTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n4google/ads/googleads_v6/proto/enums/media_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x0eMediaTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MEDIATYPEENUM_MEDIATYPE = _descriptor.EnumDescriptor( + name='MediaType', + full_name='google.ads.googleads.v6.enums.MediaTypeEnum.MediaType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ICON', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEDIA_BUNDLE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AUDIO', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VIDEO', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_IMAGE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=135, + serialized_end=256, +) +_sym_db.RegisterEnumDescriptor(_MEDIATYPEENUM_MEDIATYPE) + + +_MEDIATYPEENUM = _descriptor.Descriptor( + name='MediaTypeEnum', + full_name='google.ads.googleads.v6.enums.MediaTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MEDIATYPEENUM_MEDIATYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=118, + serialized_end=256, +) + +_MEDIATYPEENUM_MEDIATYPE.containing_type = _MEDIATYPEENUM +DESCRIPTOR.message_types_by_name['MediaTypeEnum'] = _MEDIATYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MediaTypeEnum = _reflection.GeneratedProtocolMessageType('MediaTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _MEDIATYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.media_type_pb2' + , + '__doc__': """Container for enum describing the types of media.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.MediaTypeEnum) + }) +_sym_db.RegisterMessage(MediaTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/media_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/media_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/media_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/merchant_center_link_status_pb2.py b/google/ads/google_ads/v6/proto/enums/merchant_center_link_status_pb2.py new file mode 100644 index 000000000..fb9741b4f --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/merchant_center_link_status_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/merchant_center_link_status.proto + +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_v6/proto/enums/merchant_center_link_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\035MerchantCenterLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/enums/merchant_center_link_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1dMerchantCenterLinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MERCHANTCENTERLINKSTATUSENUM_MERCHANTCENTERLINKSTATUS = _descriptor.EnumDescriptor( + name='MerchantCenterLinkStatus', + full_name='google.ads.googleads.v6.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PENDING', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=166, + serialized_end=248, +) +_sym_db.RegisterEnumDescriptor(_MERCHANTCENTERLINKSTATUSENUM_MERCHANTCENTERLINKSTATUS) + + +_MERCHANTCENTERLINKSTATUSENUM = _descriptor.Descriptor( + name='MerchantCenterLinkStatusEnum', + full_name='google.ads.googleads.v6.enums.MerchantCenterLinkStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MERCHANTCENTERLINKSTATUSENUM_MERCHANTCENTERLINKSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=248, +) + +_MERCHANTCENTERLINKSTATUSENUM_MERCHANTCENTERLINKSTATUS.containing_type = _MERCHANTCENTERLINKSTATUSENUM +DESCRIPTOR.message_types_by_name['MerchantCenterLinkStatusEnum'] = _MERCHANTCENTERLINKSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MerchantCenterLinkStatusEnum = _reflection.GeneratedProtocolMessageType('MerchantCenterLinkStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _MERCHANTCENTERLINKSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.MerchantCenterLinkStatusEnum) + }) +_sym_db.RegisterMessage(MerchantCenterLinkStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/merchant_center_link_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/merchant_center_link_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/merchant_center_link_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/message_placeholder_field_pb2.py b/google/ads/google_ads/v6/proto/enums/message_placeholder_field_pb2.py new file mode 100644 index 000000000..921bc9723 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/message_placeholder_field_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/message_placeholder_field.proto + +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_v6/proto/enums/message_placeholder_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\034MessagePlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/enums/message_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1cMessagePlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MESSAGEPLACEHOLDERFIELDENUM_MESSAGEPLACEHOLDERFIELD = _descriptor.EnumDescriptor( + name='MessagePlaceholderField', + full_name='google.ads.googleads.v6.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BUSINESS_NAME', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COUNTRY_CODE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MESSAGE_EXTENSION_TEXT', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MESSAGE_TEXT', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=165, + serialized_end=321, +) +_sym_db.RegisterEnumDescriptor(_MESSAGEPLACEHOLDERFIELDENUM_MESSAGEPLACEHOLDERFIELD) + + +_MESSAGEPLACEHOLDERFIELDENUM = _descriptor.Descriptor( + name='MessagePlaceholderFieldEnum', + full_name='google.ads.googleads.v6.enums.MessagePlaceholderFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MESSAGEPLACEHOLDERFIELDENUM_MESSAGEPLACEHOLDERFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=133, + serialized_end=321, +) + +_MESSAGEPLACEHOLDERFIELDENUM_MESSAGEPLACEHOLDERFIELD.containing_type = _MESSAGEPLACEHOLDERFIELDENUM +DESCRIPTOR.message_types_by_name['MessagePlaceholderFieldEnum'] = _MESSAGEPLACEHOLDERFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MessagePlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('MessagePlaceholderFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _MESSAGEPLACEHOLDERFIELDENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.message_placeholder_field_pb2' + , + '__doc__': """Values for Message placeholder fields.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.MessagePlaceholderFieldEnum) + }) +_sym_db.RegisterMessage(MessagePlaceholderFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/message_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/message_placeholder_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/message_placeholder_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/mime_type_pb2.py b/google/ads/google_ads/v6/proto/enums/mime_type_pb2.py new file mode 100644 index 000000000..c45a286b9 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/mime_type_pb2.py @@ -0,0 +1,155 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/mime_type.proto + +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_v6/proto/enums/mime_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\rMimeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n3google/ads/googleads_v6/proto/enums/mime_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\rMimeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MIMETYPEENUM_MIMETYPE = _descriptor.EnumDescriptor( + name='MimeType', + full_name='google.ads.googleads.v6.enums.MimeTypeEnum.MimeType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_JPEG', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_GIF', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_PNG', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TEXT_HTML', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PDF', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MSWORD', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MSEXCEL', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RTF', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AUDIO_WAV', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AUDIO_MP3', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HTML5_AD_ZIP', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=134, + serialized_end=337, +) +_sym_db.RegisterEnumDescriptor(_MIMETYPEENUM_MIMETYPE) + + +_MIMETYPEENUM = _descriptor.Descriptor( + name='MimeTypeEnum', + full_name='google.ads.googleads.v6.enums.MimeTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MIMETYPEENUM_MIMETYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=117, + serialized_end=337, +) + +_MIMETYPEENUM_MIMETYPE.containing_type = _MIMETYPEENUM +DESCRIPTOR.message_types_by_name['MimeTypeEnum'] = _MIMETYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MimeTypeEnum = _reflection.GeneratedProtocolMessageType('MimeTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _MIMETYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.mime_type_pb2' + , + '__doc__': """Container for enum describing the mime types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.MimeTypeEnum) + }) +_sym_db.RegisterMessage(MimeTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/mime_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/mime_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/mime_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/minute_of_hour_pb2.py b/google/ads/google_ads/v6/proto/enums/minute_of_hour_pb2.py new file mode 100644 index 000000000..fe8066b2f --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/minute_of_hour_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/minute_of_hour.proto + +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_v6/proto/enums/minute_of_hour.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\021MinuteOfHourProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/enums/minute_of_hour.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x11MinuteOfHourProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MINUTEOFHOURENUM_MINUTEOFHOUR = _descriptor.EnumDescriptor( + name='MinuteOfHour', + full_name='google.ads.googleads.v6.enums.MinuteOfHourEnum.MinuteOfHour', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ZERO', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIFTEEN', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='THIRTY', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FORTY_FIVE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=141, + serialized_end=236, +) +_sym_db.RegisterEnumDescriptor(_MINUTEOFHOURENUM_MINUTEOFHOUR) + + +_MINUTEOFHOURENUM = _descriptor.Descriptor( + name='MinuteOfHourEnum', + full_name='google.ads.googleads.v6.enums.MinuteOfHourEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MINUTEOFHOURENUM_MINUTEOFHOUR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=121, + serialized_end=236, +) + +_MINUTEOFHOURENUM_MINUTEOFHOUR.containing_type = _MINUTEOFHOURENUM +DESCRIPTOR.message_types_by_name['MinuteOfHourEnum'] = _MINUTEOFHOURENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MinuteOfHourEnum = _reflection.GeneratedProtocolMessageType('MinuteOfHourEnum', (_message.Message,), { + 'DESCRIPTOR' : _MINUTEOFHOURENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.minute_of_hour_pb2' + , + '__doc__': """Container for enumeration of quarter-hours.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.MinuteOfHourEnum) + }) +_sym_db.RegisterMessage(MinuteOfHourEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/minute_of_hour_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/minute_of_hour_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/minute_of_hour_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/mobile_app_vendor_pb2.py b/google/ads/google_ads/v6/proto/enums/mobile_app_vendor_pb2.py new file mode 100644 index 000000000..857618340 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/mobile_app_vendor_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/mobile_app_vendor.proto + +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_v6/proto/enums/mobile_app_vendor.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\024MobileAppVendorProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/enums/mobile_app_vendor.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x14MobileAppVendorProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MOBILEAPPVENDORENUM_MOBILEAPPVENDOR = _descriptor.EnumDescriptor( + name='MobileAppVendor', + full_name='google.ads.googleads.v6.enums.MobileAppVendorEnum.MobileAppVendor', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPLE_APP_STORE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_APP_STORE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.enums.MobileAppVendorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _MOBILEAPPVENDORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.MobileAppVendorEnum) + }) +_sym_db.RegisterMessage(MobileAppVendorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/mobile_app_vendor_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/mobile_app_vendor_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/mobile_app_vendor_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/mobile_device_type_pb2.py b/google/ads/google_ads/v6/proto/enums/mobile_device_type_pb2.py new file mode 100644 index 000000000..94d5cd65a --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/mobile_device_type_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/mobile_device_type.proto + +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_v6/proto/enums/mobile_device_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025MobileDeviceTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/enums/parental_status_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x17ParentalStatusTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE = _descriptor.EnumDescriptor( + name='ParentalStatusType', + full_name='google.ads.googleads.v6.enums.ParentalStatusTypeEnum.ParentalStatusType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PARENT', index=2, number=300, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_A_PARENT', index=3, number=301, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNDETERMINED', index=4, number=302, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=254, +) +_sym_db.RegisterEnumDescriptor(_PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE) + + +_PARENTALSTATUSTYPEENUM = _descriptor.Descriptor( + name='ParentalStatusTypeEnum', + full_name='google.ads.googleads.v6.enums.ParentalStatusTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=254, +) + +_PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE.containing_type = _PARENTALSTATUSTYPEENUM +DESCRIPTOR.message_types_by_name['ParentalStatusTypeEnum'] = _PARENTALSTATUSTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ParentalStatusTypeEnum = _reflection.GeneratedProtocolMessageType('ParentalStatusTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _PARENTALSTATUSTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.ParentalStatusTypeEnum) + }) +_sym_db.RegisterMessage(ParentalStatusTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/parental_status_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/parental_status_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/parental_status_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/payment_mode_pb2.py b/google/ads/google_ads/v6/proto/enums/payment_mode_pb2.py new file mode 100644 index 000000000..0dd0cf586 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/payment_mode_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/payment_mode.proto + +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_v6/proto/enums/payment_mode.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\020PaymentModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/enums/payment_mode.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x10PaymentModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PAYMENTMODEENUM_PAYMENTMODE = _descriptor.EnumDescriptor( + name='PaymentMode', + full_name='google.ads.googleads.v6.enums.PaymentModeEnum.PaymentMode', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CLICKS', index=2, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_VALUE', index=3, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSIONS', index=4, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GUEST_STAY', index=5, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=139, + serialized_end=249, +) +_sym_db.RegisterEnumDescriptor(_PAYMENTMODEENUM_PAYMENTMODE) + + +_PAYMENTMODEENUM = _descriptor.Descriptor( + name='PaymentModeEnum', + full_name='google.ads.googleads.v6.enums.PaymentModeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PAYMENTMODEENUM_PAYMENTMODE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=120, + serialized_end=249, +) + +_PAYMENTMODEENUM_PAYMENTMODE.containing_type = _PAYMENTMODEENUM +DESCRIPTOR.message_types_by_name['PaymentModeEnum'] = _PAYMENTMODEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PaymentModeEnum = _reflection.GeneratedProtocolMessageType('PaymentModeEnum', (_message.Message,), { + 'DESCRIPTOR' : _PAYMENTMODEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.payment_mode_pb2' + , + '__doc__': """Container for enum describing possible payment modes.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.PaymentModeEnum) + }) +_sym_db.RegisterMessage(PaymentModeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/payment_mode_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/payment_mode_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/payment_mode_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/placeholder_type_pb2.py b/google/ads/google_ads/v6/proto/enums/placeholder_type_pb2.py new file mode 100644 index 000000000..d8ff7f84b --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/placeholder_type_pb2.py @@ -0,0 +1,196 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/placeholder_type.proto + +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_v6/proto/enums/placeholder_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\024PlaceholderTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/enums/placeholder_type.proto\x12\x1dgoogle.ads.googleads.v6.enums\x1a\x1cgoogle/api/annotations.proto\"\x9b\x03\n\x13PlaceholderTypeEnum\"\x83\x03\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\x12\t\n\x05IMAGE\x10\x15\x42\xe9\x01\n!com.google.ads.googleads.v6.enumsB\x14PlaceholderTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE = _descriptor.EnumDescriptor( + name='PlaceholderType', + full_name='google.ads.googleads.v6.enums.PlaceholderTypeEnum.PlaceholderType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SITELINK', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APP', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AFFILIATE_LOCATION', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALLOUT', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRUCTURED_SNIPPET', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MESSAGE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_CUSTOMIZER', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_EDUCATION', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_FLIGHT', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_CUSTOM', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_HOTEL', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_REAL_ESTATE', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_TRAVEL', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_LOCAL', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_JOB', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=148, + serialized_end=535, +) +_sym_db.RegisterEnumDescriptor(_PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE) + + +_PLACEHOLDERTYPEENUM = _descriptor.Descriptor( + name='PlaceholderTypeEnum', + full_name='google.ads.googleads.v6.enums.PlaceholderTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=535, +) + +_PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE.containing_type = _PLACEHOLDERTYPEENUM +DESCRIPTOR.message_types_by_name['PlaceholderTypeEnum'] = _PLACEHOLDERTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PlaceholderTypeEnum = _reflection.GeneratedProtocolMessageType('PlaceholderTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _PLACEHOLDERTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.PlaceholderTypeEnum) + }) +_sym_db.RegisterMessage(PlaceholderTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/placeholder_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/placeholder_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/placeholder_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/placement_type_pb2.py b/google/ads/google_ads/v6/proto/enums/placement_type_pb2.py new file mode 100644 index 000000000..59934dd75 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/placement_type_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/placement_type.proto + +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_v6/proto/enums/placement_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\022PlacementTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/enums/placement_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x12PlacementTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PLACEMENTTYPEENUM_PLACEMENTTYPE = _descriptor.EnumDescriptor( + name='PlacementType', + full_name='google.ads.googleads.v6.enums.PlacementTypeEnum.PlacementType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WEBSITE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MOBILE_APP_CATEGORY', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MOBILE_APPLICATION', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YOUTUBE_VIDEO', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YOUTUBE_CHANNEL', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=291, +) +_sym_db.RegisterEnumDescriptor(_PLACEMENTTYPEENUM_PLACEMENTTYPE) + + +_PLACEMENTTYPEENUM = _descriptor.Descriptor( + name='PlacementTypeEnum', + full_name='google.ads.googleads.v6.enums.PlacementTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PLACEMENTTYPEENUM_PLACEMENTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=122, + serialized_end=291, +) + +_PLACEMENTTYPEENUM_PLACEMENTTYPE.containing_type = _PLACEMENTTYPEENUM +DESCRIPTOR.message_types_by_name['PlacementTypeEnum'] = _PLACEMENTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PlacementTypeEnum = _reflection.GeneratedProtocolMessageType('PlacementTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _PLACEMENTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.placement_type_pb2' + , + '__doc__': """Container for enum describing possible placement types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.PlacementTypeEnum) + }) +_sym_db.RegisterMessage(PlacementTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/placement_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/placement_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/placement_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/policy_approval_status_pb2.py b/google/ads/google_ads/v6/proto/enums/policy_approval_status_pb2.py new file mode 100644 index 000000000..7e3a7ef4d --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_approval_status_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/policy_approval_status.proto + +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_v6/proto/enums/policy_approval_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031PolicyApprovalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/enums/policy_approval_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x19PolicyApprovalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS = _descriptor.EnumDescriptor( + name='PolicyApprovalStatus', + full_name='google.ads.googleads.v6.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISAPPROVED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROVED_LIMITED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROVED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AREA_OF_INTEREST_ONLY', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=159, + serialized_end=291, +) +_sym_db.RegisterEnumDescriptor(_POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS) + + +_POLICYAPPROVALSTATUSENUM = _descriptor.Descriptor( + name='PolicyApprovalStatusEnum', + full_name='google.ads.googleads.v6.enums.PolicyApprovalStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=291, +) + +_POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS.containing_type = _POLICYAPPROVALSTATUSENUM +DESCRIPTOR.message_types_by_name['PolicyApprovalStatusEnum'] = _POLICYAPPROVALSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PolicyApprovalStatusEnum = _reflection.GeneratedProtocolMessageType('PolicyApprovalStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _POLICYAPPROVALSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.policy_approval_status_pb2' + , + '__doc__': """Container for enum describing possible policy approval statuses.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.PolicyApprovalStatusEnum) + }) +_sym_db.RegisterMessage(PolicyApprovalStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/policy_approval_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/policy_approval_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_approval_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/policy_review_status_pb2.py b/google/ads/google_ads/v6/proto/enums/policy_review_status_pb2.py new file mode 100644 index 000000000..64eefb801 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_review_status_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/policy_review_status.proto + +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_v6/proto/enums/policy_review_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\027PolicyReviewStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/enums/policy_review_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x17PolicyReviewStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS = _descriptor.EnumDescriptor( + name='PolicyReviewStatus', + full_name='google.ads.googleads.v6.enums.PolicyReviewStatusEnum.PolicyReviewStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REVIEW_IN_PROGRESS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REVIEWED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNDER_APPEAL', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ELIGIBLE_MAY_SERVE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=285, +) +_sym_db.RegisterEnumDescriptor(_POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS) + + +_POLICYREVIEWSTATUSENUM = _descriptor.Descriptor( + name='PolicyReviewStatusEnum', + full_name='google.ads.googleads.v6.enums.PolicyReviewStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=285, +) + +_POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS.containing_type = _POLICYREVIEWSTATUSENUM +DESCRIPTOR.message_types_by_name['PolicyReviewStatusEnum'] = _POLICYREVIEWSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PolicyReviewStatusEnum = _reflection.GeneratedProtocolMessageType('PolicyReviewStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _POLICYREVIEWSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.policy_review_status_pb2' + , + '__doc__': """Container for enum describing possible policy review statuses.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.PolicyReviewStatusEnum) + }) +_sym_db.RegisterMessage(PolicyReviewStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/policy_review_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/policy_review_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_review_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/policy_topic_entry_type_pb2.py b/google/ads/google_ads/v6/proto/enums/policy_topic_entry_type_pb2.py new file mode 100644 index 000000000..7a77f5471 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_topic_entry_type_pb2.py @@ -0,0 +1,125 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/policy_topic_entry_type.proto + +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_v6/proto/enums/policy_topic_entry_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031PolicyTopicEntryTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/enums/policy_topic_entry_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x19PolicyTopicEntryTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE = _descriptor.EnumDescriptor( + name='PolicyTopicEntryType', + full_name='google.ads.googleads.v6.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LIMITED', index=3, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FULLY_LIMITED', index=4, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESCRIPTIVE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BROADENING', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AREA_OF_INTEREST_ONLY', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=160, + serialized_end=320, +) +_sym_db.RegisterEnumDescriptor(_POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE) + + +_POLICYTOPICENTRYTYPEENUM = _descriptor.Descriptor( + name='PolicyTopicEntryTypeEnum', + full_name='google.ads.googleads.v6.enums.PolicyTopicEntryTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=320, +) + +_POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE.containing_type = _POLICYTOPICENTRYTYPEENUM +DESCRIPTOR.message_types_by_name['PolicyTopicEntryTypeEnum'] = _POLICYTOPICENTRYTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PolicyTopicEntryTypeEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEntryTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _POLICYTOPICENTRYTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.PolicyTopicEntryTypeEnum) + }) +_sym_db.RegisterMessage(PolicyTopicEntryTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/policy_topic_entry_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/policy_topic_entry_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_topic_entry_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py new file mode 100644 index 000000000..ff305f5ca --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py @@ -0,0 +1,121 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto + +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_v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB2PolicyTopicEvidenceDestinationMismatchUrlTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n]google/ads/googleads_v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB2PolicyTopicEvidenceDestinationMismatchUrlTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE = _descriptor.EnumDescriptor( + name='PolicyTopicEvidenceDestinationMismatchUrlType', + full_name='google.ads.googleads.v6.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISPLAY_URL', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_URL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_MOBILE_URL', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRACKING_URL', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MOBILE_TRACKING_URL', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=213, + serialized_end=387, +) +_sym_db.RegisterEnumDescriptor(_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE) + + +_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM = _descriptor.Descriptor( + name='PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', + full_name='google.ads.googleads.v6.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=159, + serialized_end=387, +) + +_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE.containing_type = _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM +DESCRIPTOR.message_types_by_name['PolicyTopicEvidenceDestinationMismatchUrlTypeEnum'] = _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PolicyTopicEvidenceDestinationMismatchUrlTypeEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) + }) +_sym_db.RegisterMessage(PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py new file mode 100644 index 000000000..244545502 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/policy_topic_evidence_destination_not_working_device.proto + +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_v6/proto/enums/policy_topic_evidence_destination_not_working_device.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB3PolicyTopicEvidenceDestinationNotWorkingDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n^google/ads/googleads_v6/proto/enums/policy_topic_evidence_destination_not_working_device.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB3PolicyTopicEvidenceDestinationNotWorkingDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE = _descriptor.EnumDescriptor( + name='PolicyTopicEvidenceDestinationNotWorkingDevice', + full_name='google.ads.googleads.v6.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESKTOP', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANDROID', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IOS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=214, + serialized_end=327, +) +_sym_db.RegisterEnumDescriptor(_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE) + + +_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM = _descriptor.Descriptor( + name='PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', + full_name='google.ads.googleads.v6.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=160, + serialized_end=327, +) + +_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE.containing_type = _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM +DESCRIPTOR.message_types_by_name['PolicyTopicEvidenceDestinationNotWorkingDeviceEnum'] = _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PolicyTopicEvidenceDestinationNotWorkingDeviceEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', (_message.Message,), { + 'DESCRIPTOR' : _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) + }) +_sym_db.RegisterMessage(PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py new file mode 100644 index 000000000..d5dc73b1e --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto + +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_v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB9PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nfgoogle/ads/googleads_v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB9PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPE = _descriptor.EnumDescriptor( + name='PolicyTopicEvidenceDestinationNotWorkingDnsErrorType', + full_name='google.ads.googleads.v6.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HOSTNAME_NOT_FOUND', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_CRAWLER_DNS_ISSUE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) + }) +_sym_db.RegisterMessage(PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/positive_geo_target_type_pb2.py b/google/ads/google_ads/v6/proto/enums/positive_geo_target_type_pb2.py new file mode 100644 index 000000000..579a08f73 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/positive_geo_target_type_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/positive_geo_target_type.proto + +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_v6/proto/enums/positive_geo_target_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\032PositiveGeoTargetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/enums/positive_geo_target_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1aPositiveGeoTargetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE = _descriptor.EnumDescriptor( + name='PositiveGeoTargetType', + full_name='google.ads.googleads.v6.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRESENCE_OR_INTEREST', index=2, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SEARCH_INTEREST', index=3, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRESENCE', index=4, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=161, + serialized_end=275, +) +_sym_db.RegisterEnumDescriptor(_POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE) + + +_POSITIVEGEOTARGETTYPEENUM = _descriptor.Descriptor( + name='PositiveGeoTargetTypeEnum', + full_name='google.ads.googleads.v6.enums.PositiveGeoTargetTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=275, +) + +_POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE.containing_type = _POSITIVEGEOTARGETTYPEENUM +DESCRIPTOR.message_types_by_name['PositiveGeoTargetTypeEnum'] = _POSITIVEGEOTARGETTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PositiveGeoTargetTypeEnum = _reflection.GeneratedProtocolMessageType('PositiveGeoTargetTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _POSITIVEGEOTARGETTYPEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.PositiveGeoTargetTypeEnum) + }) +_sym_db.RegisterMessage(PositiveGeoTargetTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/positive_geo_target_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/positive_geo_target_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/positive_geo_target_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/preferred_content_type_pb2.py b/google/ads/google_ads/v6/proto/enums/preferred_content_type_pb2.py new file mode 100644 index 000000000..057e65604 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/preferred_content_type_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/preferred_content_type.proto + +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_v6/proto/enums/preferred_content_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\031PreferredContentTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/enums/preferred_content_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x19PreferredContentTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE = _descriptor.EnumDescriptor( + name='PreferredContentType', + full_name='google.ads.googleads.v6.enums.PreferredContentTypeEnum.PreferredContentType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YOUTUBE_TOP_CONTENT', index=2, number=400, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=157, + serialized_end=235, +) +_sym_db.RegisterEnumDescriptor(_PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE) + + +_PREFERREDCONTENTTYPEENUM = _descriptor.Descriptor( + name='PreferredContentTypeEnum', + full_name='google.ads.googleads.v6.enums.PreferredContentTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=235, +) + +_PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE.containing_type = _PREFERREDCONTENTTYPEENUM +DESCRIPTOR.message_types_by_name['PreferredContentTypeEnum'] = _PREFERREDCONTENTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PreferredContentTypeEnum = _reflection.GeneratedProtocolMessageType('PreferredContentTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _PREFERREDCONTENTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.preferred_content_type_pb2' + , + '__doc__': """Container for enumeration of preferred content criterion type.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.PreferredContentTypeEnum) + }) +_sym_db.RegisterMessage(PreferredContentTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/preferred_content_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/preferred_content_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/preferred_content_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/price_extension_price_qualifier_pb2.py b/google/ads/google_ads/v6/proto/enums/price_extension_price_qualifier_pb2.py new file mode 100644 index 000000000..ca81948a3 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/price_extension_price_qualifier_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/price_extension_price_qualifier.proto + +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_v6/proto/enums/price_extension_price_qualifier.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB!PriceExtensionPriceQualifierProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nIgoogle/ads/googleads_v6/proto/enums/price_extension_price_qualifier.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB!PriceExtensionPriceQualifierProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER = _descriptor.EnumDescriptor( + name='PriceExtensionPriceQualifier', + full_name='google.ads.googleads.v6.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FROM', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UP_TO', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AVERAGE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=175, + serialized_end=269, +) +_sym_db.RegisterEnumDescriptor(_PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER) + + +_PRICEEXTENSIONPRICEQUALIFIERENUM = _descriptor.Descriptor( + name='PriceExtensionPriceQualifierEnum', + full_name='google.ads.googleads.v6.enums.PriceExtensionPriceQualifierEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=139, + serialized_end=269, +) + +_PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER.containing_type = _PRICEEXTENSIONPRICEQUALIFIERENUM +DESCRIPTOR.message_types_by_name['PriceExtensionPriceQualifierEnum'] = _PRICEEXTENSIONPRICEQUALIFIERENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PriceExtensionPriceQualifierEnum = _reflection.GeneratedProtocolMessageType('PriceExtensionPriceQualifierEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRICEEXTENSIONPRICEQUALIFIERENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.PriceExtensionPriceQualifierEnum) + }) +_sym_db.RegisterMessage(PriceExtensionPriceQualifierEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/price_extension_price_qualifier_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/price_extension_price_qualifier_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/price_extension_price_qualifier_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/price_extension_price_unit_pb2.py b/google/ads/google_ads/v6/proto/enums/price_extension_price_unit_pb2.py new file mode 100644 index 000000000..d7dd74c52 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/price_extension_price_unit_pb2.py @@ -0,0 +1,125 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/price_extension_price_unit.proto + +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_v6/proto/enums/price_extension_price_unit.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\034PriceExtensionPriceUnitProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/enums/price_extension_price_unit.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1cPriceExtensionPriceUnitProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT = _descriptor.EnumDescriptor( + name='PriceExtensionPriceUnit', + full_name='google.ads.googleads.v6.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PER_HOUR', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PER_DAY', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PER_WEEK', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PER_MONTH', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PER_YEAR', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PER_NIGHT', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=166, + serialized_end=306, +) +_sym_db.RegisterEnumDescriptor(_PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT) + + +_PRICEEXTENSIONPRICEUNITENUM = _descriptor.Descriptor( + name='PriceExtensionPriceUnitEnum', + full_name='google.ads.googleads.v6.enums.PriceExtensionPriceUnitEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=306, +) + +_PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT.containing_type = _PRICEEXTENSIONPRICEUNITENUM +DESCRIPTOR.message_types_by_name['PriceExtensionPriceUnitEnum'] = _PRICEEXTENSIONPRICEUNITENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PriceExtensionPriceUnitEnum = _reflection.GeneratedProtocolMessageType('PriceExtensionPriceUnitEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRICEEXTENSIONPRICEUNITENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.price_extension_price_unit_pb2' + , + '__doc__': """Container for enum describing price extension price unit.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.PriceExtensionPriceUnitEnum) + }) +_sym_db.RegisterMessage(PriceExtensionPriceUnitEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/price_extension_price_unit_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/price_extension_price_unit_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/price_extension_price_unit_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/price_extension_type_pb2.py b/google/ads/google_ads/v6/proto/enums/price_extension_type_pb2.py new file mode 100644 index 000000000..36e0ec2e3 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/price_extension_type_pb2.py @@ -0,0 +1,140 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/price_extension_type.proto + +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_v6/proto/enums/price_extension_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\027PriceExtensionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/enums/price_extension_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x17PriceExtensionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE = _descriptor.EnumDescriptor( + name='PriceExtensionType', + full_name='google.ads.googleads.v6.enums.PriceExtensionTypeEnum.PriceExtensionType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BRANDS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EVENTS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATIONS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NEIGHBORHOODS', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRODUCT_CATEGORIES', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRODUCT_TIERS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SERVICES', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SERVICE_CATEGORIES', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SERVICE_TIERS', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=363, +) +_sym_db.RegisterEnumDescriptor(_PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE) + + +_PRICEEXTENSIONTYPEENUM = _descriptor.Descriptor( + name='PriceExtensionTypeEnum', + full_name='google.ads.googleads.v6.enums.PriceExtensionTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=363, +) + +_PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE.containing_type = _PRICEEXTENSIONTYPEENUM +DESCRIPTOR.message_types_by_name['PriceExtensionTypeEnum'] = _PRICEEXTENSIONTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PriceExtensionTypeEnum = _reflection.GeneratedProtocolMessageType('PriceExtensionTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRICEEXTENSIONTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.price_extension_type_pb2' + , + '__doc__': """Container for enum describing types for a price extension.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.PriceExtensionTypeEnum) + }) +_sym_db.RegisterMessage(PriceExtensionTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/price_extension_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/price_extension_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/price_extension_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/price_placeholder_field_pb2.py b/google/ads/google_ads/v6/proto/enums/price_placeholder_field_pb2.py new file mode 100644 index 000000000..55b72ce88 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/price_placeholder_field_pb2.py @@ -0,0 +1,360 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/price_placeholder_field.proto + +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_v6/proto/enums/price_placeholder_field.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\032PricePlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/enums/price_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1aPricePlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD = _descriptor.EnumDescriptor( + name='PricePlaceholderField', + full_name='google.ads.googleads.v6.enums.PricePlaceholderFieldEnum.PricePlaceholderField', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TYPE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_QUALIFIER', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRACKING_TEMPLATE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LANGUAGE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_URL_SUFFIX', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_1_HEADER', index=7, number=100, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_1_DESCRIPTION', index=8, number=101, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_1_PRICE', index=9, number=102, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_1_UNIT', index=10, number=103, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_1_FINAL_URLS', index=11, number=104, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_1_FINAL_MOBILE_URLS', index=12, number=105, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_2_HEADER', index=13, number=200, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_2_DESCRIPTION', index=14, number=201, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_2_PRICE', index=15, number=202, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_2_UNIT', index=16, number=203, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_2_FINAL_URLS', index=17, number=204, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_2_FINAL_MOBILE_URLS', index=18, number=205, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_3_HEADER', index=19, number=300, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_3_DESCRIPTION', index=20, number=301, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_3_PRICE', index=21, number=302, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_3_UNIT', index=22, number=303, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_3_FINAL_URLS', index=23, number=304, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_3_FINAL_MOBILE_URLS', index=24, number=305, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_4_HEADER', index=25, number=400, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_4_DESCRIPTION', index=26, number=401, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_4_PRICE', index=27, number=402, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_4_UNIT', index=28, number=403, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_4_FINAL_URLS', index=29, number=404, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_4_FINAL_MOBILE_URLS', index=30, number=405, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_5_HEADER', index=31, number=500, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_5_DESCRIPTION', index=32, number=501, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_5_PRICE', index=33, number=502, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_5_UNIT', index=34, number=503, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_5_FINAL_URLS', index=35, number=504, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_5_FINAL_MOBILE_URLS', index=36, number=505, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_6_HEADER', index=37, number=600, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_6_DESCRIPTION', index=38, number=601, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_6_PRICE', index=39, number=602, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_6_UNIT', index=40, number=603, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_6_FINAL_URLS', index=41, number=604, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_6_FINAL_MOBILE_URLS', index=42, number=605, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_7_HEADER', index=43, number=700, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_7_DESCRIPTION', index=44, number=701, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_7_PRICE', index=45, number=702, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_7_UNIT', index=46, number=703, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_7_FINAL_URLS', index=47, number=704, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_7_FINAL_MOBILE_URLS', index=48, number=705, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_8_HEADER', index=49, number=800, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_8_DESCRIPTION', index=50, number=801, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_8_PRICE', index=51, number=802, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_8_UNIT', index=52, number=803, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_8_FINAL_URLS', index=53, number=804, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_8_FINAL_MOBILE_URLS', index=54, number=805, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=161, + serialized_end=1394, +) +_sym_db.RegisterEnumDescriptor(_PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD) + + +_PRICEPLACEHOLDERFIELDENUM = _descriptor.Descriptor( + name='PricePlaceholderFieldEnum', + full_name='google.ads.googleads.v6.enums.PricePlaceholderFieldEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=1394, +) + +_PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD.containing_type = _PRICEPLACEHOLDERFIELDENUM +DESCRIPTOR.message_types_by_name['PricePlaceholderFieldEnum'] = _PRICEPLACEHOLDERFIELDENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PricePlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('PricePlaceholderFieldEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRICEPLACEHOLDERFIELDENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.price_placeholder_field_pb2' + , + '__doc__': """Values for Price placeholder fields.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.PricePlaceholderFieldEnum) + }) +_sym_db.RegisterMessage(PricePlaceholderFieldEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/price_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/price_placeholder_field_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/price_placeholder_field_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/product_bidding_category_level_pb2.py b/google/ads/google_ads/v6/proto/enums/product_bidding_category_level_pb2.py new file mode 100644 index 000000000..300a46b60 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_bidding_category_level_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/product_bidding_category_level.proto + +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_v6/proto/enums/product_bidding_category_level.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB ProductBiddingCategoryLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nHgoogle/ads/googleads_v6/proto/enums/product_bidding_category_level.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB ProductBiddingCategoryLevelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL = _descriptor.EnumDescriptor( + name='ProductBiddingCategoryLevel', + full_name='google.ads.googleads.v6.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEVEL1', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEVEL2', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEVEL3', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEVEL4', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEVEL5', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=173, + serialized_end=292, +) +_sym_db.RegisterEnumDescriptor(_PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL) + + +_PRODUCTBIDDINGCATEGORYLEVELENUM = _descriptor.Descriptor( + name='ProductBiddingCategoryLevelEnum', + full_name='google.ads.googleads.v6.enums.ProductBiddingCategoryLevelEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=138, + serialized_end=292, +) + +_PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL.containing_type = _PRODUCTBIDDINGCATEGORYLEVELENUM +DESCRIPTOR.message_types_by_name['ProductBiddingCategoryLevelEnum'] = _PRODUCTBIDDINGCATEGORYLEVELENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ProductBiddingCategoryLevelEnum = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryLevelEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTBIDDINGCATEGORYLEVELENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.product_bidding_category_level_pb2' + , + '__doc__': """Level of a product bidding category.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.ProductBiddingCategoryLevelEnum) + }) +_sym_db.RegisterMessage(ProductBiddingCategoryLevelEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/product_bidding_category_level_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/product_bidding_category_level_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_bidding_category_level_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/product_bidding_category_status_pb2.py b/google/ads/google_ads/v6/proto/enums/product_bidding_category_status_pb2.py new file mode 100644 index 000000000..ea6d57410 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_bidding_category_status_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/product_bidding_category_status.proto + +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_v6/proto/enums/product_bidding_category_status.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB!ProductBiddingCategoryStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nIgoogle/ads/googleads_v6/proto/enums/product_bidding_category_status.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB!ProductBiddingCategoryStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS = _descriptor.EnumDescriptor( + name='ProductBiddingCategoryStatus', + full_name='google.ads.googleads.v6.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACTIVE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OBSOLETE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=174, + serialized_end=260, +) +_sym_db.RegisterEnumDescriptor(_PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS) + + +_PRODUCTBIDDINGCATEGORYSTATUSENUM = _descriptor.Descriptor( + name='ProductBiddingCategoryStatusEnum', + full_name='google.ads.googleads.v6.enums.ProductBiddingCategoryStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=138, + serialized_end=260, +) + +_PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS.containing_type = _PRODUCTBIDDINGCATEGORYSTATUSENUM +DESCRIPTOR.message_types_by_name['ProductBiddingCategoryStatusEnum'] = _PRODUCTBIDDINGCATEGORYSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ProductBiddingCategoryStatusEnum = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryStatusEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTBIDDINGCATEGORYSTATUSENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.product_bidding_category_status_pb2' + , + '__doc__': """Status of the product bidding category.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.ProductBiddingCategoryStatusEnum) + }) +_sym_db.RegisterMessage(ProductBiddingCategoryStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/product_bidding_category_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/product_bidding_category_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_bidding_category_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/product_channel_exclusivity_pb2.py b/google/ads/google_ads/v6/proto/enums/product_channel_exclusivity_pb2.py new file mode 100644 index 000000000..bc060b773 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_channel_exclusivity_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/product_channel_exclusivity.proto + +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_v6/proto/enums/product_channel_exclusivity.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\036ProductChannelExclusivityProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/enums/product_channel_exclusivity.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1eProductChannelExclusivityProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY = _descriptor.EnumDescriptor( + name='ProductChannelExclusivity', + full_name='google.ads.googleads.v6.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SINGLE_CHANNEL', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTI_CHANNEL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=168, + serialized_end=264, +) +_sym_db.RegisterEnumDescriptor(_PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY) + + +_PRODUCTCHANNELEXCLUSIVITYENUM = _descriptor.Descriptor( + name='ProductChannelExclusivityEnum', + full_name='google.ads.googleads.v6.enums.ProductChannelExclusivityEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=135, + serialized_end=264, +) + +_PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY.containing_type = _PRODUCTCHANNELEXCLUSIVITYENUM +DESCRIPTOR.message_types_by_name['ProductChannelExclusivityEnum'] = _PRODUCTCHANNELEXCLUSIVITYENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ProductChannelExclusivityEnum = _reflection.GeneratedProtocolMessageType('ProductChannelExclusivityEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTCHANNELEXCLUSIVITYENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.product_channel_exclusivity_pb2' + , + '__doc__': """Availability of a product offer.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.ProductChannelExclusivityEnum) + }) +_sym_db.RegisterMessage(ProductChannelExclusivityEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/product_channel_exclusivity_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/product_channel_exclusivity_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_channel_exclusivity_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/product_channel_pb2.py b/google/ads/google_ads/v6/proto/enums/product_channel_pb2.py new file mode 100644 index 000000000..93a3a1e15 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_channel_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/product_channel.proto + +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_v6/proto/enums/product_channel.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\023ProductChannelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/enums/product_channel.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x13ProductChannelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRODUCTCHANNELENUM_PRODUCTCHANNEL = _descriptor.EnumDescriptor( + name='ProductChannel', + full_name='google.ads.googleads.v6.enums.ProductChannelEnum.ProductChannel', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ONLINE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCAL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=213, +) +_sym_db.RegisterEnumDescriptor(_PRODUCTCHANNELENUM_PRODUCTCHANNEL) + + +_PRODUCTCHANNELENUM = _descriptor.Descriptor( + name='ProductChannelEnum', + full_name='google.ads.googleads.v6.enums.ProductChannelEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRODUCTCHANNELENUM_PRODUCTCHANNEL, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=122, + serialized_end=213, +) + +_PRODUCTCHANNELENUM_PRODUCTCHANNEL.containing_type = _PRODUCTCHANNELENUM +DESCRIPTOR.message_types_by_name['ProductChannelEnum'] = _PRODUCTCHANNELENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ProductChannelEnum = _reflection.GeneratedProtocolMessageType('ProductChannelEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTCHANNELENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.product_channel_pb2' + , + '__doc__': """Locality of a product offer.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.ProductChannelEnum) + }) +_sym_db.RegisterMessage(ProductChannelEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/product_channel_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/product_channel_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_channel_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/product_condition_pb2.py b/google/ads/google_ads/v6/proto/enums/product_condition_pb2.py new file mode 100644 index 000000000..784166fa5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_condition_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/product_condition.proto + +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_v6/proto/enums/product_condition.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025ProductConditionProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/enums/product_condition.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x15ProductConditionProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRODUCTCONDITIONENUM_PRODUCTCONDITION = _descriptor.EnumDescriptor( + name='ProductCondition', + full_name='google.ads.googleads.v6.enums.ProductConditionEnum.ProductCondition', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NEW', index=2, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REFURBISHED', index=3, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USED', index=4, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=148, + serialized_end=232, +) +_sym_db.RegisterEnumDescriptor(_PRODUCTCONDITIONENUM_PRODUCTCONDITION) + + +_PRODUCTCONDITIONENUM = _descriptor.Descriptor( + name='ProductConditionEnum', + full_name='google.ads.googleads.v6.enums.ProductConditionEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRODUCTCONDITIONENUM_PRODUCTCONDITION, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=232, +) + +_PRODUCTCONDITIONENUM_PRODUCTCONDITION.containing_type = _PRODUCTCONDITIONENUM +DESCRIPTOR.message_types_by_name['ProductConditionEnum'] = _PRODUCTCONDITIONENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ProductConditionEnum = _reflection.GeneratedProtocolMessageType('ProductConditionEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTCONDITIONENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.product_condition_pb2' + , + '__doc__': """Condition of a product offer.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.ProductConditionEnum) + }) +_sym_db.RegisterMessage(ProductConditionEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/product_condition_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/product_condition_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_condition_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/product_custom_attribute_index_pb2.py b/google/ads/google_ads/v6/proto/enums/product_custom_attribute_index_pb2.py new file mode 100644 index 000000000..6fe4dc0f2 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_custom_attribute_index_pb2.py @@ -0,0 +1,121 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/product_custom_attribute_index.proto + +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_v6/proto/enums/product_custom_attribute_index.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB ProductCustomAttributeIndexProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nHgoogle/ads/googleads_v6/proto/enums/product_custom_attribute_index.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB ProductCustomAttributeIndexProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX = _descriptor.EnumDescriptor( + name='ProductCustomAttributeIndex', + full_name='google.ads.googleads.v6.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEX0', index=2, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEX1', index=3, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEX2', index=4, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEX3', index=5, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INDEX4', index=6, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=173, + serialized_end=292, +) +_sym_db.RegisterEnumDescriptor(_PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX) + + +_PRODUCTCUSTOMATTRIBUTEINDEXENUM = _descriptor.Descriptor( + name='ProductCustomAttributeIndexEnum', + full_name='google.ads.googleads.v6.enums.ProductCustomAttributeIndexEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=138, + serialized_end=292, +) + +_PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX.containing_type = _PRODUCTCUSTOMATTRIBUTEINDEXENUM +DESCRIPTOR.message_types_by_name['ProductCustomAttributeIndexEnum'] = _PRODUCTCUSTOMATTRIBUTEINDEXENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ProductCustomAttributeIndexEnum = _reflection.GeneratedProtocolMessageType('ProductCustomAttributeIndexEnum', (_message.Message,), { + 'DESCRIPTOR' : _PRODUCTCUSTOMATTRIBUTEINDEXENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.product_custom_attribute_index_pb2' + , + '__doc__': """Container for enum describing the index of the product custom + attribute.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.ProductCustomAttributeIndexEnum) + }) +_sym_db.RegisterMessage(ProductCustomAttributeIndexEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/product_custom_attribute_index_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/product_custom_attribute_index_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_custom_attribute_index_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/product_type_level_pb2.py b/google/ads/google_ads/v6/proto/enums/product_type_level_pb2.py new file mode 100644 index 000000000..8ae2ef80e --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/product_type_level_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/product_type_level.proto + +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_v6/proto/enums/product_type_level.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025ProductTypeLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/enums/quality_score_bucket.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x17QualityScoreBucketProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET = _descriptor.EnumDescriptor( + name='QualityScoreBucket', + full_name='google.ads.googleads.v6.enums.QualityScoreBucketEnum.QualityScoreBucket', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BELOW_AVERAGE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AVERAGE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ABOVE_AVERAGE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=254, +) +_sym_db.RegisterEnumDescriptor(_QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET) + + +_QUALITYSCOREBUCKETENUM = _descriptor.Descriptor( + name='QualityScoreBucketEnum', + full_name='google.ads.googleads.v6.enums.QualityScoreBucketEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=254, +) + +_QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET.containing_type = _QUALITYSCOREBUCKETENUM +DESCRIPTOR.message_types_by_name['QualityScoreBucketEnum'] = _QUALITYSCOREBUCKETENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +QualityScoreBucketEnum = _reflection.GeneratedProtocolMessageType('QualityScoreBucketEnum', (_message.Message,), { + 'DESCRIPTOR' : _QUALITYSCOREBUCKETENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.quality_score_bucket_pb2' + , + '__doc__': """The relative performance compared to other advertisers.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.QualityScoreBucketEnum) + }) +_sym_db.RegisterMessage(QualityScoreBucketEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/quality_score_bucket_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/quality_score_bucket_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/quality_score_bucket_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/reach_plan_ad_length_pb2.py b/google/ads/google_ads/v6/proto/enums/reach_plan_ad_length_pb2.py new file mode 100644 index 000000000..b32166fde --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/reach_plan_ad_length_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/reach_plan_ad_length.proto + +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_v6/proto/enums/reach_plan_ad_length.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026ReachPlanAdLengthProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/enums/reach_plan_ad_length.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x16ReachPlanAdLengthProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_REACHPLANADLENGTHENUM_REACHPLANADLENGTH = _descriptor.EnumDescriptor( + name='ReachPlanAdLength', + full_name='google.ads.googleads.v6.enums.ReachPlanAdLengthEnum.ReachPlanAdLength', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIX_SECONDS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIFTEEN_OR_TWENTY_SECONDS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TWENTY_SECONDS_OR_MORE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.enums.ReachPlanAdLengthEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _REACHPLANADLENGTHENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.reach_plan_ad_length_pb2' + , + '__doc__': """Message describing length of a plannable video ad.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.ReachPlanAdLengthEnum) + }) +_sym_db.RegisterMessage(ReachPlanAdLengthEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/reach_plan_ad_length_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/reach_plan_ad_length_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/reach_plan_ad_length_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/reach_plan_age_range_pb2.py b/google/ads/google_ads/v6/proto/enums/reach_plan_age_range_pb2.py new file mode 100644 index 000000000..d86e15fe7 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/reach_plan_age_range_pb2.py @@ -0,0 +1,225 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/reach_plan_age_range.proto + +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_v6/proto/enums/reach_plan_age_range.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\026ReachPlanAgeRangeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/enums/reach_plan_age_range.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x16ReachPlanAgeRangeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_REACHPLANAGERANGEENUM_REACHPLANAGERANGE = _descriptor.EnumDescriptor( + name='ReachPlanAgeRange', + full_name='google.ads.googleads.v6.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_24', index=2, number=503001, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_34', index=3, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_44', index=4, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_49', index=5, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_54', index=6, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_64', index=7, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_65_UP', index=8, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_21_34', index=9, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_34', index=10, number=503002, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_44', index=11, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_49', index=12, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_54', index=13, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_64', index=14, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_65_UP', index=15, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_44', index=16, number=503003, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_49', index=17, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_54', index=18, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_64', index=19, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_65_UP', index=20, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_45_54', index=21, number=503004, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_45_64', index=22, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_45_65_UP', index=23, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_50_65_UP', index=24, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_55_64', index=25, number=503005, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_55_65_UP', index=26, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_65_UP', index=27, number=503006, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.enums.ReachPlanAgeRangeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _REACHPLANAGERANGEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.reach_plan_age_range_pb2' + , + '__doc__': """Message describing plannable age ranges.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.ReachPlanAgeRangeEnum) + }) +_sym_db.RegisterMessage(ReachPlanAgeRangeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/reach_plan_age_range_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/reach_plan_age_range_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/reach_plan_age_range_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/reach_plan_network_pb2.py b/google/ads/google_ads/v6/proto/enums/reach_plan_network_pb2.py new file mode 100644 index 000000000..2f07baeee --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/reach_plan_network_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/reach_plan_network.proto + +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_v6/proto/enums/reach_plan_network.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025ReachPlanNetworkProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + 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.v6.enumsB\rTimeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_TIMETYPEENUM_TIMETYPE = _descriptor.EnumDescriptor( + name='TimeType', + full_name='google.ads.googleads.v6.enums.TimeTypeEnum.TimeType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOW', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FOREVER', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=132, + serialized_end=194, +) +_sym_db.RegisterEnumDescriptor(_TIMETYPEENUM_TIMETYPE) + + +_TIMETYPEENUM = _descriptor.Descriptor( + name='TimeTypeEnum', + full_name='google.ads.googleads.v6.enums.TimeTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _TIMETYPEENUM_TIMETYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=116, + serialized_end=194, +) + +_TIMETYPEENUM_TIMETYPE.containing_type = _TIMETYPEENUM +DESCRIPTOR.message_types_by_name['TimeTypeEnum'] = _TIMETYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +TimeTypeEnum = _reflection.GeneratedProtocolMessageType('TimeTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _TIMETYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.time_type_pb2' + , + '__doc__': """Message describing time types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.TimeTypeEnum) + }) +_sym_db.RegisterMessage(TimeTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/time_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/time_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/time_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/tracking_code_page_format_pb2.py b/google/ads/google_ads/v6/proto/enums/tracking_code_page_format_pb2.py new file mode 100644 index 000000000..fd0308e45 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/tracking_code_page_format_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/tracking_code_page_format.proto + +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_v6/proto/enums/tracking_code_page_format.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\033TrackingCodePageFormatProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/enums/tracking_code_page_format.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1bTrackingCodePageFormatProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_TRACKINGCODEPAGEFORMATENUM_TRACKINGCODEPAGEFORMAT = _descriptor.EnumDescriptor( + name='TrackingCodePageFormat', + full_name='google.ads.googleads.v6.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HTML', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AMP', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=162, + serialized_end=235, +) +_sym_db.RegisterEnumDescriptor(_TRACKINGCODEPAGEFORMATENUM_TRACKINGCODEPAGEFORMAT) + + +_TRACKINGCODEPAGEFORMATENUM = _descriptor.Descriptor( + name='TrackingCodePageFormatEnum', + full_name='google.ads.googleads.v6.enums.TrackingCodePageFormatEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _TRACKINGCODEPAGEFORMATENUM_TRACKINGCODEPAGEFORMAT, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=235, +) + +_TRACKINGCODEPAGEFORMATENUM_TRACKINGCODEPAGEFORMAT.containing_type = _TRACKINGCODEPAGEFORMATENUM +DESCRIPTOR.message_types_by_name['TrackingCodePageFormatEnum'] = _TRACKINGCODEPAGEFORMATENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +TrackingCodePageFormatEnum = _reflection.GeneratedProtocolMessageType('TrackingCodePageFormatEnum', (_message.Message,), { + 'DESCRIPTOR' : _TRACKINGCODEPAGEFORMATENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.TrackingCodePageFormatEnum) + }) +_sym_db.RegisterMessage(TrackingCodePageFormatEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/tracking_code_page_format_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/tracking_code_page_format_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/tracking_code_page_format_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/tracking_code_type_pb2.py b/google/ads/google_ads/v6/proto/enums/tracking_code_type_pb2.py new file mode 100644 index 000000000..026c1b09c --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/tracking_code_type_pb2.py @@ -0,0 +1,116 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/tracking_code_type.proto + +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_v6/proto/enums/tracking_code_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025TrackingCodeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/enums/user_list_size_range.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x16UserListSizeRangeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_USERLISTSIZERANGEENUM_USERLISTSIZERANGE = _descriptor.EnumDescriptor( + name='UserListSizeRange', + full_name='google.ads.googleads.v6.enums.UserListSizeRangeEnum.UserListSizeRange', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LESS_THAN_FIVE_HUNDRED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LESS_THAN_ONE_THOUSAND', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ONE_THOUSAND_TO_TEN_THOUSAND', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TEN_THOUSAND_TO_FIFTY_THOUSAND', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ONE_MILLION_TO_TWO_MILLION', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TWO_MILLION_TO_THREE_MILLION', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='THREE_MILLION_TO_FIVE_MILLION', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIVE_MILLION_TO_TEN_MILLION', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TEN_MILLION_TO_TWENTY_MILLION', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TWENTY_MILLION_TO_THIRTY_MILLION', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='THIRTY_MILLION_TO_FIFTY_MILLION', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OVER_FIFTY_MILLION', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=154, + serialized_end=788, +) +_sym_db.RegisterEnumDescriptor(_USERLISTSIZERANGEENUM_USERLISTSIZERANGE) + + +_USERLISTSIZERANGEENUM = _descriptor.Descriptor( + name='UserListSizeRangeEnum', + full_name='google.ads.googleads.v6.enums.UserListSizeRangeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _USERLISTSIZERANGEENUM_USERLISTSIZERANGE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=788, +) + +_USERLISTSIZERANGEENUM_USERLISTSIZERANGE.containing_type = _USERLISTSIZERANGEENUM +DESCRIPTOR.message_types_by_name['UserListSizeRangeEnum'] = _USERLISTSIZERANGEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UserListSizeRangeEnum = _reflection.GeneratedProtocolMessageType('UserListSizeRangeEnum', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTSIZERANGEENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.enums.UserListSizeRangeEnum) + }) +_sym_db.RegisterMessage(UserListSizeRangeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/user_list_size_range_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/user_list_size_range_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/user_list_size_range_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/user_list_string_rule_item_operator_pb2.py b/google/ads/google_ads/v6/proto/enums/user_list_string_rule_item_operator_pb2.py new file mode 100644 index 000000000..c9e9479e7 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/user_list_string_rule_item_operator_pb2.py @@ -0,0 +1,135 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/user_list_string_rule_item_operator.proto + +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_v6/proto/enums/user_list_string_rule_item_operator.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB#UserListStringRuleItemOperatorProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nMgoogle/ads/googleads_v6/proto/enums/user_list_string_rule_item_operator.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB#UserListStringRuleItemOperatorProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR = _descriptor.EnumDescriptor( + name='UserListStringRuleItemOperator', + full_name='google.ads.googleads.v6.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONTAINS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EQUALS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STARTS_WITH', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENDS_WITH', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_EQUALS', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_CONTAINS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_STARTS_WITH', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_ENDS_WITH', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=182, + serialized_end=376, +) +_sym_db.RegisterEnumDescriptor(_USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR) + + +_USERLISTSTRINGRULEITEMOPERATORENUM = _descriptor.Descriptor( + name='UserListStringRuleItemOperatorEnum', + full_name='google.ads.googleads.v6.enums.UserListStringRuleItemOperatorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=143, + serialized_end=376, +) + +_USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR.containing_type = _USERLISTSTRINGRULEITEMOPERATORENUM +DESCRIPTOR.message_types_by_name['UserListStringRuleItemOperatorEnum'] = _USERLISTSTRINGRULEITEMOPERATORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UserListStringRuleItemOperatorEnum = _reflection.GeneratedProtocolMessageType('UserListStringRuleItemOperatorEnum', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTSTRINGRULEITEMOPERATORENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.user_list_string_rule_item_operator_pb2' + , + '__doc__': """Supported rule operator for string type.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.UserListStringRuleItemOperatorEnum) + }) +_sym_db.RegisterMessage(UserListStringRuleItemOperatorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/user_list_type_pb2.py b/google/ads/google_ads/v6/proto/enums/user_list_type_pb2.py new file mode 100644 index 000000000..420be804e --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/user_list_type_pb2.py @@ -0,0 +1,125 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/user_list_type.proto + +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_v6/proto/enums/user_list_type.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\021UserListTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/enums/user_list_type.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x11UserListTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_USERLISTTYPEENUM_USERLISTTYPE = _descriptor.EnumDescriptor( + name='UserListType', + full_name='google.ads.googleads.v6.enums.UserListTypeEnum.UserListType', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMARKETING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOGICAL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTERNAL_REMARKETING', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RULE_BASED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIMILAR', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CRM_BASED', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=143, + serialized_end=287, +) +_sym_db.RegisterEnumDescriptor(_USERLISTTYPEENUM_USERLISTTYPE) + + +_USERLISTTYPEENUM = _descriptor.Descriptor( + name='UserListTypeEnum', + full_name='google.ads.googleads.v6.enums.UserListTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _USERLISTTYPEENUM_USERLISTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=122, + serialized_end=287, +) + +_USERLISTTYPEENUM_USERLISTTYPE.containing_type = _USERLISTTYPEENUM +DESCRIPTOR.message_types_by_name['UserListTypeEnum'] = _USERLISTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UserListTypeEnum = _reflection.GeneratedProtocolMessageType('UserListTypeEnum', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTTYPEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.user_list_type_pb2' + , + '__doc__': """The user list types.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.UserListTypeEnum) + }) +_sym_db.RegisterMessage(UserListTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/user_list_type_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/user_list_type_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/user_list_type_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/vanity_pharma_display_url_mode_pb2.py b/google/ads/google_ads/v6/proto/enums/vanity_pharma_display_url_mode_pb2.py new file mode 100644 index 000000000..e820b6dd1 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/vanity_pharma_display_url_mode_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/vanity_pharma_display_url_mode.proto + +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_v6/proto/enums/vanity_pharma_display_url_mode.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\037VanityPharmaDisplayUrlModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nHgoogle/ads/googleads_v6/proto/enums/vanity_pharma_display_url_mode.proto\x12\x1dgoogle.ads.googleads.v6.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.v6.enumsB\x1fVanityPharmaDisplayUrlModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V6.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V6\\Enums\xea\x02!Google::Ads::GoogleAds::V6::Enumsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE = _descriptor.EnumDescriptor( + name='VanityPharmaDisplayUrlMode', + full_name='google.ads.googleads.v6.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MANUFACTURER_WEBSITE_URL', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WEBSITE_DESCRIPTION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=172, + serialized_end=285, +) +_sym_db.RegisterEnumDescriptor(_VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE) + + +_VANITYPHARMADISPLAYURLMODEENUM = _descriptor.Descriptor( + name='VanityPharmaDisplayUrlModeEnum', + full_name='google.ads.googleads.v6.enums.VanityPharmaDisplayUrlModeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=138, + serialized_end=285, +) + +_VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE.containing_type = _VANITYPHARMADISPLAYURLMODEENUM +DESCRIPTOR.message_types_by_name['VanityPharmaDisplayUrlModeEnum'] = _VANITYPHARMADISPLAYURLMODEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +VanityPharmaDisplayUrlModeEnum = _reflection.GeneratedProtocolMessageType('VanityPharmaDisplayUrlModeEnum', (_message.Message,), { + 'DESCRIPTOR' : _VANITYPHARMADISPLAYURLMODEENUM, + '__module__' : 'google.ads.googleads_v6.proto.enums.vanity_pharma_display_url_mode_pb2' + , + '__doc__': """The display mode for vanity pharma URLs.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.enums.VanityPharmaDisplayUrlModeEnum) + }) +_sym_db.RegisterMessage(VanityPharmaDisplayUrlModeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py b/google/ads/google_ads/v6/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/enums/vanity_pharma_text_pb2.py b/google/ads/google_ads/v6/proto/enums/vanity_pharma_text_pb2.py new file mode 100644 index 000000000..4b3b59bd6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/enums/vanity_pharma_text_pb2.py @@ -0,0 +1,157 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/enums/vanity_pharma_text.proto + +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_v6/proto/enums/vanity_pharma_text.proto', + package='google.ads.googleads.v6.enums', + syntax='proto3', + serialized_options=b'\n!com.google.ads.googleads.v6.enumsB\025VanityPharmaTextProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V6.Enums\312\002\035Google\\Ads\\GoogleAds\\V6\\Enums\352\002!Google::Ads::GoogleAds::V6::Enums', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/errors/ad_customizer_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x16\x41\x64\x43ustomizerErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR = _descriptor.EnumDescriptor( + name='AdCustomizerError', + full_name='google.ads.googleads.v6.errors.AdCustomizerErrorEnum.AdCustomizerError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COUNTDOWN_INVALID_DATE_FORMAT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COUNTDOWN_DATE_IN_PAST', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COUNTDOWN_INVALID_LOCALE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='COUNTDOWN_INVALID_START_DAYS_BEFORE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN_USER_LIST', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=361, +) +_sym_db.RegisterEnumDescriptor(_ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR) + + +_ADCUSTOMIZERERRORENUM = _descriptor.Descriptor( + name='AdCustomizerErrorEnum', + full_name='google.ads.googleads.v6.errors.AdCustomizerErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=361, +) + +_ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR.containing_type = _ADCUSTOMIZERERRORENUM +DESCRIPTOR.message_types_by_name['AdCustomizerErrorEnum'] = _ADCUSTOMIZERERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdCustomizerErrorEnum = _reflection.GeneratedProtocolMessageType('AdCustomizerErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADCUSTOMIZERERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.ad_customizer_error_pb2' + , + '__doc__': """Container for enum describing possible ad customizer errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AdCustomizerErrorEnum) + }) +_sym_db.RegisterMessage(AdCustomizerErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/ad_customizer_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/ad_customizer_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_customizer_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/ad_error_pb2.py b/google/ads/google_ads/v6/proto/errors/ad_error_pb2.py new file mode 100644 index 000000000..e727a2edc --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_error_pb2.py @@ -0,0 +1,815 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/ad_error.proto + +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_v6/proto/errors/ad_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\014AdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n3google/ads/googleads_v6/proto/errors/ad_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0c\x41\x64\x45rrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADERRORENUM_ADERROR = _descriptor.EnumDescriptor( + name='AdError', + full_name='google.ads.googleads.v6.errors.AdErrorEnum.AdError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROXIMATELY_TOO_LONG', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APPROXIMATELY_TOO_SHORT', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_SNIPPET', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_AD', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_BUSINESS_NAME_IF_URL_SET', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_FIELD', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_URL', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_WITHOUT_FINAL_URLS', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_WITH_FINAL_URLS', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_WITH_URL_DATA', index=16, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR', index=17, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_APPROVED_MOBILEADS', index=18, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS', index=19, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS', index=20, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_ELIGIBLE', index=21, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL', index=22, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DIMENSION_ALREADY_IN_UNION', index=23, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DIMENSION_MUST_BE_SET', index=24, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DIMENSION_NOT_IN_UNION', index=25, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISPLAY_URL_CANNOT_BE_SPECIFIED', index=26, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOMESTIC_PHONE_NUMBER_FORMAT', index=27, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EMERGENCY_PHONE_NUMBER', index=28, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EMPTY_FIELD', index=29, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID', index=30, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH', index=31, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ILLEGAL_AD_CUSTOMIZER_TAG_USE', index=32, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ILLEGAL_TAG_USE', index=33, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCONSISTENT_DIMENSIONS', index=34, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCONSISTENT_STATUS_IN_TEMPLATE_UNION', index=35, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCORRECT_LENGTH', index=36, number=37, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INELIGIBLE_FOR_UPGRADE', index=37, number=38, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_AD_ADDRESS_CAMPAIGN_TARGET', index=38, number=39, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_AD_TYPE', index=39, number=40, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE', index=40, number=41, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ATTRIBUTES_FOR_MOBILE_TEXT', index=41, number=42, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CALL_TO_ACTION_TEXT', index=42, number=43, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CHARACTER_FOR_URL', index=43, number=44, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_COUNTRY_CODE', index=44, number=45, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG', index=45, number=47, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_INPUT', index=46, number=48, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MARKUP_LANGUAGE', index=47, number=49, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MOBILE_CARRIER', index=48, number=50, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MOBILE_CARRIER_TARGET', index=49, number=51, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_NUMBER_OF_ELEMENTS', index=50, number=52, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PHONE_NUMBER_FORMAT', index=51, number=53, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID', index=52, number=54, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TEMPLATE_DATA', index=53, number=55, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TEMPLATE_ELEMENT_FIELD_TYPE', index=54, number=56, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TEMPLATE_ID', index=55, number=57, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LINE_TOO_WIDE', index=56, number=58, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_AD_CUSTOMIZER_MAPPING', index=57, number=59, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_ADDRESS_COMPONENT', index=58, number=60, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_ADVERTISEMENT_NAME', index=59, number=61, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_BUSINESS_NAME', index=60, number=62, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_DESCRIPTION1', index=61, number=63, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_DESCRIPTION2', index=62, number=64, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_DESTINATION_URL_TAG', index=63, number=65, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_LANDING_PAGE_URL_TAG', index=64, number=66, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_DIMENSION', index=65, number=67, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_DISPLAY_URL', index=66, number=68, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_HEADLINE', index=67, number=69, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_HEIGHT', index=68, number=70, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_IMAGE', index=69, number=71, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS', index=70, number=72, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_MARKUP_LANGUAGES', index=71, number=73, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_MOBILE_CARRIER', index=72, number=74, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_PHONE', index=73, number=75, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_REQUIRED_TEMPLATE_FIELDS', index=74, number=76, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_TEMPLATE_FIELD_VALUE', index=75, number=77, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_TEXT', index=76, number=78, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_VISIBLE_URL', index=77, number=79, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_WIDTH', index=78, number=80, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED', index=79, number=81, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MUST_USE_TEMP_AD_UNION_ID_ON_ADD', index=80, number=82, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_LONG', index=81, number=83, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_SHORT', index=82, number=84, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNION_DIMENSIONS_CANNOT_CHANGE', index=83, number=85, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN_ADDRESS_COMPONENT', index=84, number=86, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN_FIELD_NAME', index=85, number=87, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN_UNIQUE_NAME', index=86, number=88, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_DIMENSIONS', index=87, number=89, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_INVALID_SCHEME', index=88, number=90, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_INVALID_TOP_LEVEL_DOMAIN', index=89, number=91, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_MALFORMED', index=90, number=92, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_NO_HOST', index=91, number=93, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_NOT_EQUIVALENT', index=92, number=94, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_HOST_NAME_TOO_LONG', index=93, number=95, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_NO_SCHEME', index=94, number=96, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_NO_TOP_LEVEL_DOMAIN', index=95, number=97, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_PATH_NOT_ALLOWED', index=96, number=98, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_PORT_NOT_ALLOWED', index=97, number=99, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_QUERY_NOT_ALLOWED', index=98, number=100, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG', index=99, number=102, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE', index=100, number=103, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCONSISTENT_EXPANDABLE_SETTINGS', index=101, number=104, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FORMAT', index=102, number=105, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FIELD_TEXT', index=103, number=106, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ELEMENT_NOT_PRESENT', index=104, number=107, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_ERROR', index=105, number=108, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VALUE_NOT_IN_RANGE', index=106, number=109, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_NOT_PRESENT', index=107, number=110, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADDRESS_NOT_COMPLETE', index=108, number=111, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADDRESS_INVALID', index=109, number=112, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VIDEO_RETRIEVAL_ERROR', index=110, number=113, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AUDIO_ERROR', index=111, number=114, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_YOUTUBE_DISPLAY_URL', index=112, number=115, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_PRODUCT_IMAGES', index=113, number=116, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_PRODUCT_VIDEOS', index=114, number=117, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE', index=115, number=118, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=116, number=119, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', index=117, number=120, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISALLOWED_NUMBER_TYPE', index=118, number=121, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', index=119, number=122, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY', index=120, number=123, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PREMIUM_RATE_NUMBER_NOT_ALLOWED', index=121, number=124, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VANITY_PHONE_NUMBER_NOT_ALLOWED', index=122, number=125, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CALL_CONVERSION_TYPE_ID', index=123, number=126, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID', index=124, number=127, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_PATH2_WITHOUT_PATH1', index=125, number=128, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME', index=126, number=129, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_WITH_RESTRICTION_TYPE', index=127, number=130, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', index=128, number=131, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_IMAGE_OR_MEDIA_BUNDLE', index=129, number=132, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN', index=130, number=133, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE', index=131, number=134, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE', index=132, number=135, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PLACEHOLDER_DEFAULT_VALUE_MISSING', index=133, number=136, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE', index=134, number=137, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT', index=135, number=138, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION', index=136, number=139, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_AD_CUSTOMIZERS', index=137, number=141, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_AD_CUSTOMIZER_FORMAT', index=138, number=142, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NESTED_AD_CUSTOMIZER_SYNTAX', index=139, number=143, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_AD_CUSTOMIZER_SYNTAX', index=140, number=144, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG', index=141, number=145, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS', index=142, number=146, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID', index=143, number=147, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST', index=144, number=148, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND', index=145, number=149, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=134, + serialized_end=4963, +) +_sym_db.RegisterEnumDescriptor(_ADERRORENUM_ADERROR) + + +_ADERRORENUM = _descriptor.Descriptor( + name='AdErrorEnum', + full_name='google.ads.googleads.v6.errors.AdErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADERRORENUM_ADERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=118, + serialized_end=4963, +) + +_ADERRORENUM_ADERROR.containing_type = _ADERRORENUM +DESCRIPTOR.message_types_by_name['AdErrorEnum'] = _ADERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdErrorEnum = _reflection.GeneratedProtocolMessageType('AdErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.ad_error_pb2' + , + '__doc__': """Container for enum describing possible ad errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AdErrorEnum) + }) +_sym_db.RegisterMessage(AdErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/ad_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/ad_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/ad_group_ad_error_pb2.py b/google/ads/google_ads/v6/proto/errors/ad_group_ad_error_pb2.py new file mode 100644 index 000000000..b94f2a9c6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_group_ad_error_pb2.py @@ -0,0 +1,145 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/ad_group_ad_error.proto + +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_v6/proto/errors/ad_group_ad_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023AdGroupAdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCANNOT_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.v6.errorsB\x11\x41\x64GroupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADGROUPERRORENUM_ADGROUPERROR = _descriptor.EnumDescriptor( + name='AdGroupError', + full_name='google.ads.googleads.v6.errors.AdGroupErrorEnum.AdGroupError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_ADGROUP_NAME', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ADGROUP_NAME', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADVERTISER_NOT_ON_CONTENT_NETWORK', index=4, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_TOO_BIG', index=5, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH', index=6, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_ADGROUP_NAME', index=7, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADGROUP_LABEL_DOES_NOT_EXIST', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADGROUP_LABEL_ALREADY_EXISTS', index=9, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CONTENT_BID_CRITERION_TYPE_GROUP', index=10, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE', index=11, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY', index=12, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING', index=13, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER', index=14, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=145, + serialized_end=725, +) +_sym_db.RegisterEnumDescriptor(_ADGROUPERRORENUM_ADGROUPERROR) + + +_ADGROUPERRORENUM = _descriptor.Descriptor( + name='AdGroupErrorEnum', + full_name='google.ads.googleads.v6.errors.AdGroupErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADGROUPERRORENUM_ADGROUPERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=725, +) + +_ADGROUPERRORENUM_ADGROUPERROR.containing_type = _ADGROUPERRORENUM +DESCRIPTOR.message_types_by_name['AdGroupErrorEnum'] = _ADGROUPERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupErrorEnum = _reflection.GeneratedProtocolMessageType('AdGroupErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.ad_group_error_pb2' + , + '__doc__': """Container for enum describing possible ad group errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AdGroupErrorEnum) + }) +_sym_db.RegisterMessage(AdGroupErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/ad_group_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/ad_group_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_group_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/ad_group_feed_error_pb2.py b/google/ads/google_ads/v6/proto/errors/ad_group_feed_error_pb2.py new file mode 100644 index 000000000..ec2b31f80 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_group_feed_error_pb2.py @@ -0,0 +1,130 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/ad_group_feed_error.proto + +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_v6/proto/errors/ad_group_feed_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025AdGroupFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/errors/ad_group_feed_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x15\x41\x64GroupFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR = _descriptor.EnumDescriptor( + name='AdGroupFeedError', + full_name='google.ads.googleads.v6.errors.AdGroupFeedErrorEnum.AdGroupFeedError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_FOR_REMOVED_FEED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADGROUP_FEED_ALREADY_EXISTS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PLACEHOLDER_TYPE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_EXISTING_LOCATION_CUSTOMER_FEED', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=154, + serialized_end=477, +) +_sym_db.RegisterEnumDescriptor(_ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR) + + +_ADGROUPFEEDERRORENUM = _descriptor.Descriptor( + name='AdGroupFeedErrorEnum', + full_name='google.ads.googleads.v6.errors.AdGroupFeedErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=477, +) + +_ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR.containing_type = _ADGROUPFEEDERRORENUM +DESCRIPTOR.message_types_by_name['AdGroupFeedErrorEnum'] = _ADGROUPFEEDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupFeedErrorEnum = _reflection.GeneratedProtocolMessageType('AdGroupFeedErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPFEEDERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.AdGroupFeedErrorEnum) + }) +_sym_db.RegisterMessage(AdGroupFeedErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/ad_group_feed_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/ad_group_feed_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_group_feed_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/ad_parameter_error_pb2.py b/google/ads/google_ads/v6/proto/errors/ad_parameter_error_pb2.py new file mode 100644 index 000000000..b15921ee1 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_parameter_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/ad_parameter_error.proto + +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_v6/proto/errors/ad_parameter_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025AdParameterErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/errors/ad_parameter_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x15\x41\x64ParameterErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADPARAMETERERRORENUM_ADPARAMETERERROR = _descriptor.EnumDescriptor( + name='AdParameterError', + full_name='google.ads.googleads.v6.errors.AdParameterErrorEnum.AdParameterError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_GROUP_CRITERION_MUST_BE_KEYWORD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_INSERTION_TEXT_FORMAT', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=152, + serialized_end=275, +) +_sym_db.RegisterEnumDescriptor(_ADPARAMETERERRORENUM_ADPARAMETERERROR) + + +_ADPARAMETERERRORENUM = _descriptor.Descriptor( + name='AdParameterErrorEnum', + full_name='google.ads.googleads.v6.errors.AdParameterErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADPARAMETERERRORENUM_ADPARAMETERERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=275, +) + +_ADPARAMETERERRORENUM_ADPARAMETERERROR.containing_type = _ADPARAMETERERRORENUM +DESCRIPTOR.message_types_by_name['AdParameterErrorEnum'] = _ADPARAMETERERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdParameterErrorEnum = _reflection.GeneratedProtocolMessageType('AdParameterErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADPARAMETERERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.ad_parameter_error_pb2' + , + '__doc__': """Container for enum describing possible ad parameter errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AdParameterErrorEnum) + }) +_sym_db.RegisterMessage(AdParameterErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/ad_parameter_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/ad_parameter_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_parameter_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/ad_sharing_error_pb2.py b/google/ads/google_ads/v6/proto/errors/ad_sharing_error_pb2.py new file mode 100644 index 000000000..1978eed7d --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_sharing_error_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/ad_sharing_error.proto + +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_v6/proto/errors/ad_sharing_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023AdSharingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/errors/ad_sharing_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x13\x41\x64SharingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADSHARINGERRORENUM_ADSHARINGERROR = _descriptor.EnumDescriptor( + name='AdSharingError', + full_name='google.ads.googleads.v6.errors.AdSharingErrorEnum.AdSharingError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_GROUP_ALREADY_CONTAINS_AD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_AD_UNDER_AD_GROUP', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SHARE_INACTIVE_AD', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=149, + serialized_end=295, +) +_sym_db.RegisterEnumDescriptor(_ADSHARINGERRORENUM_ADSHARINGERROR) + + +_ADSHARINGERRORENUM = _descriptor.Descriptor( + name='AdSharingErrorEnum', + full_name='google.ads.googleads.v6.errors.AdSharingErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADSHARINGERRORENUM_ADSHARINGERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=295, +) + +_ADSHARINGERRORENUM_ADSHARINGERROR.containing_type = _ADSHARINGERRORENUM +DESCRIPTOR.message_types_by_name['AdSharingErrorEnum'] = _ADSHARINGERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdSharingErrorEnum = _reflection.GeneratedProtocolMessageType('AdSharingErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADSHARINGERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.ad_sharing_error_pb2' + , + '__doc__': """Container for enum describing possible ad sharing errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AdSharingErrorEnum) + }) +_sym_db.RegisterMessage(AdSharingErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/ad_sharing_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/ad_sharing_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/ad_sharing_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/adx_error_pb2.py b/google/ads/google_ads/v6/proto/errors/adx_error_pb2.py new file mode 100644 index 000000000..1906504f6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/adx_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/adx_error.proto + +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_v6/proto/errors/adx_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\rAdxErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n4google/ads/googleads_v6/proto/errors/adx_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\rAdxErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ADXERRORENUM_ADXERROR = _descriptor.EnumDescriptor( + name='AdxError', + full_name='google.ads.googleads.v6.errors.AdxErrorEnum.AdxError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_FEATURE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=134, + serialized_end=199, +) +_sym_db.RegisterEnumDescriptor(_ADXERRORENUM_ADXERROR) + + +_ADXERRORENUM = _descriptor.Descriptor( + name='AdxErrorEnum', + full_name='google.ads.googleads.v6.errors.AdxErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ADXERRORENUM_ADXERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=118, + serialized_end=199, +) + +_ADXERRORENUM_ADXERROR.containing_type = _ADXERRORENUM +DESCRIPTOR.message_types_by_name['AdxErrorEnum'] = _ADXERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdxErrorEnum = _reflection.GeneratedProtocolMessageType('AdxErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ADXERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.adx_error_pb2' + , + '__doc__': """Container for enum describing possible adx errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AdxErrorEnum) + }) +_sym_db.RegisterMessage(AdxErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/adx_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/adx_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/adx_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/asset_error_pb2.py b/google/ads/google_ads/v6/proto/errors/asset_error_pb2.py new file mode 100644 index 000000000..1bccd0600 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/asset_error_pb2.py @@ -0,0 +1,150 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/asset_error.proto + +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_v6/proto/errors/asset_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\017AssetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/errors/asset_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xae\x03\n\x0e\x41ssetErrorEnum\"\x9b\x03\n\nAssetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12,\n(CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE\x10\r\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\x12&\n\"FIELD_INCOMPATIBLE_WITH_ASSET_TYPE\x10\x07\x12\x1f\n\x1bINVALID_CALL_TO_ACTION_TEXT\x10\x08\x12(\n$LEAD_FORM_INVALID_FIELDS_COMBINATION\x10\t\x12\x1f\n\x1bLEAD_FORM_MISSING_AGREEMENT\x10\n\x12\x18\n\x14INVALID_ASSET_STATUS\x10\x0b\x12+\n\'FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE\x10\x0c\x42\xea\x01\n\"com.google.ads.googleads.v6.errorsB\x0f\x41ssetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ASSETERRORENUM_ASSETERROR = _descriptor.EnumDescriptor( + name='AssetError', + full_name='google.ads.googleads.v6.errors.AssetErrorEnum.AssetError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE', index=2, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_ASSET', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_ASSET_NAME', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ASSET_DATA_IS_MISSING', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_ASSET_NAME', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_INCOMPATIBLE_WITH_ASSET_TYPE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CALL_TO_ACTION_TEXT', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEAD_FORM_INVALID_FIELDS_COMBINATION', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LEAD_FORM_MISSING_AGREEMENT', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ASSET_STATUS', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=140, + serialized_end=551, +) +_sym_db.RegisterEnumDescriptor(_ASSETERRORENUM_ASSETERROR) + + +_ASSETERRORENUM = _descriptor.Descriptor( + name='AssetErrorEnum', + full_name='google.ads.googleads.v6.errors.AssetErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ASSETERRORENUM_ASSETERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=121, + serialized_end=551, +) + +_ASSETERRORENUM_ASSETERROR.containing_type = _ASSETERRORENUM +DESCRIPTOR.message_types_by_name['AssetErrorEnum'] = _ASSETERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AssetErrorEnum = _reflection.GeneratedProtocolMessageType('AssetErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ASSETERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.asset_error_pb2' + , + '__doc__': """Container for enum describing possible asset errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AssetErrorEnum) + }) +_sym_db.RegisterMessage(AssetErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/asset_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/asset_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/asset_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/asset_link_error_pb2.py b/google/ads/google_ads/v6/proto/errors/asset_link_error_pb2.py new file mode 100644 index 000000000..3946ede48 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/asset_link_error_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/asset_link_error.proto + +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_v6/proto/errors/asset_link_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023AssetLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/errors/asset_link_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\x82\x02\n\x12\x41ssetLinkErrorEnum\"\xeb\x01\n\x0e\x41ssetLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x17\n\x13PINNING_UNSUPPORTED\x10\x02\x12\x1a\n\x16UNSUPPORTED_FIELD_TYPE\x10\x03\x12+\n\'FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE\x10\x04\x12.\n*FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE\x10\x05\x12)\n%INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE\x10\x06\x42\xee\x01\n\"com.google.ads.googleads.v6.errorsB\x13\x41ssetLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ASSETLINKERRORENUM_ASSETLINKERROR = _descriptor.EnumDescriptor( + name='AssetLinkError', + full_name='google.ads.googleads.v6.errors.AssetLinkErrorEnum.AssetLinkError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PINNING_UNSUPPORTED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_FIELD_TYPE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=149, + serialized_end=384, +) +_sym_db.RegisterEnumDescriptor(_ASSETLINKERRORENUM_ASSETLINKERROR) + + +_ASSETLINKERRORENUM = _descriptor.Descriptor( + name='AssetLinkErrorEnum', + full_name='google.ads.googleads.v6.errors.AssetLinkErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ASSETLINKERRORENUM_ASSETLINKERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=384, +) + +_ASSETLINKERRORENUM_ASSETLINKERROR.containing_type = _ASSETLINKERRORENUM +DESCRIPTOR.message_types_by_name['AssetLinkErrorEnum'] = _ASSETLINKERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AssetLinkErrorEnum = _reflection.GeneratedProtocolMessageType('AssetLinkErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ASSETLINKERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.asset_link_error_pb2' + , + '__doc__': """Container for enum describing possible asset link errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AssetLinkErrorEnum) + }) +_sym_db.RegisterMessage(AssetLinkErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/asset_link_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/asset_link_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/asset_link_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/authentication_error_pb2.py b/google/ads/google_ads/v6/proto/errors/authentication_error_pb2.py new file mode 100644 index 000000000..e5a0faabe --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/authentication_error_pb2.py @@ -0,0 +1,185 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/authentication_error.proto + +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_v6/proto/errors/authentication_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\030AuthenticationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/errors/authentication_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x18\x41uthenticationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR = _descriptor.EnumDescriptor( + name='AuthenticationError', + full_name='google.ads.googleads.v6.errors.AuthenticationErrorEnum.AuthenticationError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AUTHENTICATION_ERROR', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CLIENT_CUSTOMER_ID_INVALID', index=3, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_FOUND', index=4, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_ACCOUNT_DELETED', index=5, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_ACCOUNT_COOKIE_INVALID', index=6, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_ACCOUNT_AUTHENTICATION_FAILED', index=7, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH', index=8, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOGIN_COOKIE_REQUIRED', index=9, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_ADS_USER', index=10, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OAUTH_TOKEN_INVALID', index=11, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OAUTH_TOKEN_EXPIRED', index=12, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OAUTH_TOKEN_DISABLED', index=13, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OAUTH_TOKEN_REVOKED', index=14, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OAUTH_TOKEN_HEADER_INVALID', index=15, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOGIN_COOKIE_INVALID', index=16, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USER_ID_INVALID', index=17, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TWO_STEP_VERIFICATION_NOT_ENROLLED', index=18, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADVANCED_PROTECTION_NOT_ENROLLED', index=19, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=158, + serialized_end=746, +) +_sym_db.RegisterEnumDescriptor(_AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR) + + +_AUTHENTICATIONERRORENUM = _descriptor.Descriptor( + name='AuthenticationErrorEnum', + full_name='google.ads.googleads.v6.errors.AuthenticationErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=746, +) + +_AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR.containing_type = _AUTHENTICATIONERRORENUM +DESCRIPTOR.message_types_by_name['AuthenticationErrorEnum'] = _AUTHENTICATIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AuthenticationErrorEnum = _reflection.GeneratedProtocolMessageType('AuthenticationErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _AUTHENTICATIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.authentication_error_pb2' + , + '__doc__': """Container for enum describing possible authentication errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AuthenticationErrorEnum) + }) +_sym_db.RegisterMessage(AuthenticationErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/authentication_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/authentication_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/authentication_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/authorization_error_pb2.py b/google/ads/google_ads/v6/proto/errors/authorization_error_pb2.py new file mode 100644 index 000000000..badcb52c8 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/authorization_error_pb2.py @@ -0,0 +1,155 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/authorization_error.proto + +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_v6/proto/errors/authorization_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\027AuthorizationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/errors/authorization_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xb6\x03\n\x16\x41uthorizationErrorEnum\"\x9b\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 DEVELOPER_TOKEN_NOT_ON_ALLOWLIST\x10\r\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.v6.errorsB\x17\x41uthorizationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR = _descriptor.EnumDescriptor( + name='AuthorizationError', + full_name='google.ads.googleads.v6.errors.AuthorizationErrorEnum.AuthorizationError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USER_PERMISSION_DENIED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DEVELOPER_TOKEN_NOT_ON_ALLOWLIST', index=3, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DEVELOPER_TOKEN_PROHIBITED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROJECT_DISABLED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AUTHORIZATION_ERROR', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACTION_NOT_PERMITTED', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPLETE_SIGNUP', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_ENABLED', index=9, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_TOS', index=10, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DEVELOPER_TOKEN_NOT_APPROVED', index=11, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION', index=12, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SERVICE_ACCESS_DENIED', index=13, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=156, + serialized_end=567, +) +_sym_db.RegisterEnumDescriptor(_AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR) + + +_AUTHORIZATIONERRORENUM = _descriptor.Descriptor( + name='AuthorizationErrorEnum', + full_name='google.ads.googleads.v6.errors.AuthorizationErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=567, +) + +_AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR.containing_type = _AUTHORIZATIONERRORENUM +DESCRIPTOR.message_types_by_name['AuthorizationErrorEnum'] = _AUTHORIZATIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AuthorizationErrorEnum = _reflection.GeneratedProtocolMessageType('AuthorizationErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _AUTHORIZATIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.authorization_error_pb2' + , + '__doc__': """Container for enum describing possible authorization errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.AuthorizationErrorEnum) + }) +_sym_db.RegisterMessage(AuthorizationErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/authorization_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/authorization_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/authorization_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/batch_job_error_pb2.py b/google/ads/google_ads/v6/proto/errors/batch_job_error_pb2.py new file mode 100644 index 000000000..ac254dd3a --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/batch_job_error_pb2.py @@ -0,0 +1,125 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/batch_job_error.proto + +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_v6/proto/errors/batch_job_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022BatchJobErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/errors/batch_job_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12\x42\x61tchJobErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BATCHJOBERRORENUM_BATCHJOBERROR = _descriptor.EnumDescriptor( + name='BatchJobError', + full_name='google.ads.googleads.v6.errors.BatchJobErrorEnum.BatchJobError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EMPTY_OPERATIONS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_SEQUENCE_TOKEN', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESULTS_NOT_READY', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PAGE_SIZE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAN_ONLY_REMOVE_PENDING_JOB', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.errors.BatchJobErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _BATCHJOBERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.batch_job_error_pb2' + , + '__doc__': """Container for enum describing possible batch job errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.BatchJobErrorEnum) + }) +_sym_db.RegisterMessage(BatchJobErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/batch_job_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/batch_job_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/batch_job_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/bidding_error_pb2.py b/google/ads/google_ads/v6/proto/errors/bidding_error_pb2.py new file mode 100644 index 000000000..32f62172b --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/bidding_error_pb2.py @@ -0,0 +1,215 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/bidding_error.proto + +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_v6/proto/errors/bidding_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\021BiddingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/errors/bidding_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x11\x42iddingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BIDDINGERRORENUM_BIDDINGERROR = _descriptor.EnumDescriptor( + name='BiddingError', + full_name='google.ads.googleads.v6.errors.BiddingErrorEnum.BiddingError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN', index=3, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE', index=4, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_BIDDING_STRATEGY_TYPE', index=5, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_BID', index=6, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE', index=7, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_TRACKING_NOT_ENABLED', index=8, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_ENOUGH_CONVERSIONS', index=9, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY', index=10, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY', index=11, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE', index=12, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER', index=13, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA', index=14, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS', index=15, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS', index=16, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION', index=17, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_TOO_SMALL', index=18, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_TOO_BIG', index=19, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_TOO_MANY_FRACTIONAL_DIGITS', index=20, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DOMAIN_NAME', index=21, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_COMPATIBLE_WITH_PAYMENT_MODE', index=22, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_COMPATIBLE_WITH_BUDGET_TYPE', index=23, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE', index=24, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET', index=25, number=37, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=1257, +) +_sym_db.RegisterEnumDescriptor(_BIDDINGERRORENUM_BIDDINGERROR) + + +_BIDDINGERRORENUM = _descriptor.Descriptor( + name='BiddingErrorEnum', + full_name='google.ads.googleads.v6.errors.BiddingErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BIDDINGERRORENUM_BIDDINGERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=1257, +) + +_BIDDINGERRORENUM_BIDDINGERROR.containing_type = _BIDDINGERRORENUM +DESCRIPTOR.message_types_by_name['BiddingErrorEnum'] = _BIDDINGERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BiddingErrorEnum = _reflection.GeneratedProtocolMessageType('BiddingErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _BIDDINGERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.bidding_error_pb2' + , + '__doc__': """Container for enum describing possible bidding errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.BiddingErrorEnum) + }) +_sym_db.RegisterMessage(BiddingErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/bidding_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/bidding_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/bidding_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/bidding_strategy_error_pb2.py b/google/ads/google_ads/v6/proto/errors/bidding_strategy_error_pb2.py new file mode 100644 index 000000000..219c81861 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/bidding_strategy_error_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/bidding_strategy_error.proto + +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_v6/proto/errors/bidding_strategy_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\031BiddingStrategyErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/errors/bidding_strategy_error.proto\x12\x1egoogle.ads.googleads.v6.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_v6/proto/errors/billing_setup_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x16\x42illingSetupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BILLINGSETUPERRORENUM_BILLINGSETUPERROR = _descriptor.EnumDescriptor( + name='BillingSetupError', + full_name='google.ads.googleads.v6.errors.BillingSetupErrorEnum.BillingSetupError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_USE_EXISTING_AND_NEW_ACCOUNT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_REMOVE_STARTED_BILLING_SETUP', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PAYMENTS_ACCOUNT', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_START_TIME_TYPE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='THIRD_PARTY_ALREADY_HAS_BILLING', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BILLING_SETUP_IN_PROGRESS', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_SIGNUP_PERMISSION', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CHANGE_OF_BILL_TO_IN_PROGRESS', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAYMENTS_PROFILE_NOT_FOUND', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAYMENTS_ACCOUNT_NOT_FOUND', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAYMENTS_PROFILE_INELIGIBLE', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAYMENTS_ACCOUNT_INELIGIBLE', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NEEDS_INTERNAL_APPROVAL', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH', index=18, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=858, +) +_sym_db.RegisterEnumDescriptor(_BILLINGSETUPERRORENUM_BILLINGSETUPERROR) + + +_BILLINGSETUPERRORENUM = _descriptor.Descriptor( + name='BillingSetupErrorEnum', + full_name='google.ads.googleads.v6.errors.BillingSetupErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BILLINGSETUPERRORENUM_BILLINGSETUPERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=858, +) + +_BILLINGSETUPERRORENUM_BILLINGSETUPERROR.containing_type = _BILLINGSETUPERRORENUM +DESCRIPTOR.message_types_by_name['BillingSetupErrorEnum'] = _BILLINGSETUPERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BillingSetupErrorEnum = _reflection.GeneratedProtocolMessageType('BillingSetupErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _BILLINGSETUPERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.billing_setup_error_pb2' + , + '__doc__': """Container for enum describing possible billing setup errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.BillingSetupErrorEnum) + }) +_sym_db.RegisterMessage(BillingSetupErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/billing_setup_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/billing_setup_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/billing_setup_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/campaign_budget_error_pb2.py b/google/ads/google_ads/v6/proto/errors/campaign_budget_error_pb2.py new file mode 100644 index 000000000..efa4e4e91 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_budget_error_pb2.py @@ -0,0 +1,175 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/campaign_budget_error.proto + +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_v6/proto/errors/campaign_budget_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\030CampaignBudgetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/errors/campaign_budget_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x18\x43\x61mpaignBudgetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR = _descriptor.EnumDescriptor( + name='CampaignBudgetError', + full_name='google.ads.googleads.v6.errors.CampaignBudgetErrorEnum.CampaignBudgetError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_BUDGET_CANNOT_BE_SHARED', index=2, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_BUDGET_REMOVED', index=3, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_BUDGET_IN_USE', index=4, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE', index=5, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_NAME', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MONEY_AMOUNT_IN_WRONG_CURRENCY', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MONEY_AMOUNT_TOO_LARGE', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NEGATIVE_MONEY_AMOUNT', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY', index=17, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=159, + serialized_end=930, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR) + + +_CAMPAIGNBUDGETERRORENUM = _descriptor.Descriptor( + name='CampaignBudgetErrorEnum', + full_name='google.ads.googleads.v6.errors.CampaignBudgetErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=930, +) + +_CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR.containing_type = _CAMPAIGNBUDGETERRORENUM +DESCRIPTOR.message_types_by_name['CampaignBudgetErrorEnum'] = _CAMPAIGNBUDGETERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignBudgetErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignBudgetErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNBUDGETERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.campaign_budget_error_pb2' + , + '__doc__': """Container for enum describing possible campaign budget errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CampaignBudgetErrorEnum) + }) +_sym_db.RegisterMessage(CampaignBudgetErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/campaign_budget_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/campaign_budget_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_budget_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/campaign_criterion_error_pb2.py b/google/ads/google_ads/v6/proto/errors/campaign_criterion_error_pb2.py new file mode 100644 index 000000000..a1cd95ea4 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_criterion_error_pb2.py @@ -0,0 +1,150 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/campaign_criterion_error.proto + +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_v6/proto/errors/campaign_criterion_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\033CampaignCriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/errors/campaign_criterion_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1b\x43\x61mpaignCriterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR = _descriptor.EnumDescriptor( + name='CampaignCriterionError', + full_name='google.ads.googleads.v6.errors.CampaignCriterionErrorEnum.CampaignCriterionError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONCRETE_TYPE_REQUIRED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PLACEMENT_URL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_EXCLUDE_CRITERIA_TYPE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_STATUS_FOR_CRITERIA_TYPE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_TARGET_AND_EXCLUDE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_OPERATIONS', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_ADD_EXISTING_FIELD', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_UPDATE_NEGATIVE_CRITERION', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=165, + serialized_end=635, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR) + + +_CAMPAIGNCRITERIONERRORENUM = _descriptor.Descriptor( + name='CampaignCriterionErrorEnum', + full_name='google.ads.googleads.v6.errors.CampaignCriterionErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=635, +) + +_CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR.containing_type = _CAMPAIGNCRITERIONERRORENUM +DESCRIPTOR.message_types_by_name['CampaignCriterionErrorEnum'] = _CAMPAIGNCRITERIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignCriterionErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignCriterionErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNCRITERIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.campaign_criterion_error_pb2' + , + '__doc__': """Container for enum describing possible campaign criterion errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CampaignCriterionErrorEnum) + }) +_sym_db.RegisterMessage(CampaignCriterionErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/campaign_criterion_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/campaign_criterion_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_criterion_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/campaign_draft_error_pb2.py b/google/ads/google_ads/v6/proto/errors/campaign_draft_error_pb2.py new file mode 100644 index 000000000..2a7de8035 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_draft_error_pb2.py @@ -0,0 +1,145 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/campaign_draft_error.proto + +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_v6/proto/errors/campaign_draft_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\027CampaignDraftErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/errors/campaign_draft_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x17\x43\x61mpaignDraftErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR = _descriptor.EnumDescriptor( + name='CampaignDraftError', + full_name='google.ads.googleads.v6.errors.CampaignDraftErrorEnum.CampaignDraftError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_DRAFT_NAME', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STATUS_TRANSITION_FROM_REMOVED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STATUS_TRANSITION_FROM_PROMOTED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_CANNOT_CREATE_DRAFT', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_CANNOT_CREATE_DRAFT', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DRAFT_CHANGE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STATUS_TRANSITION', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=157, + serialized_end=586, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR) + + +_CAMPAIGNDRAFTERRORENUM = _descriptor.Descriptor( + name='CampaignDraftErrorEnum', + full_name='google.ads.googleads.v6.errors.CampaignDraftErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=586, +) + +_CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR.containing_type = _CAMPAIGNDRAFTERRORENUM +DESCRIPTOR.message_types_by_name['CampaignDraftErrorEnum'] = _CAMPAIGNDRAFTERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignDraftErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignDraftErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNDRAFTERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.campaign_draft_error_pb2' + , + '__doc__': """Container for enum describing possible campaign draft errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CampaignDraftErrorEnum) + }) +_sym_db.RegisterMessage(CampaignDraftErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/campaign_draft_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/campaign_draft_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_draft_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/campaign_error_pb2.py b/google/ads/google_ads/v6/proto/errors/campaign_error_pb2.py new file mode 100644 index 000000000..7436058fc --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_error_pb2.py @@ -0,0 +1,295 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/campaign_error.proto + +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_v6/proto/errors/campaign_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022CampaignErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/errors/campaign_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12\x43\x61mpaignErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNERRORENUM_CAMPAIGNERROR = _descriptor.EnumDescriptor( + name='CampaignError', + full_name='google.ads.googleads.v6.errors.CampaignErrorEnum.CampaignError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_TARGET_CONTENT_NETWORK', index=2, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_TARGET_SEARCH_NETWORK', index=3, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH', index=4, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN', index=5, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK', index=6, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_TARGET_PARTNER_SEARCH_NETWORK', index=7, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS', index=9, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN', index=10, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_CAMPAIGN_NAME', index=11, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_CAMPAIGN_FIELD', index=12, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CAMPAIGN_NAME', index=13, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_AD_SERVING_OPTIMIZATION_STATUS', index=14, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TRACKING_URL', index=15, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING', index=16, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MAX_IMPRESSIONS_NOT_IN_RANGE', index=17, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TIME_UNIT_NOT_SUPPORTED', index=18, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED', index=19, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BUDGET_CANNOT_BE_SHARED', index=20, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_CANNOT_USE_SHARED_BUDGET', index=21, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS', index=22, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_LABEL_DOES_NOT_EXIST', index=23, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_LABEL_ALREADY_EXISTS', index=24, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_SHOPPING_SETTING', index=25, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_SHOPPING_SALES_COUNTRY', index=26, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE', index=27, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ADVERTISING_CHANNEL_SUB_TYPE', index=28, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED', index=29, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_AD_ROTATION_MODE', index=30, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED', index=31, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_DATE_TO_PAST', index=32, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_HOTEL_CUSTOMER_LINK', index=33, number=37, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_HOTEL_CUSTOMER_LINK', index=34, number=38, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_HOTEL_SETTING', index=35, number=39, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP', index=36, number=40, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APP_NOT_FOUND', index=37, number=41, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE', index=38, number=42, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS', index=39, number=43, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INSUFFICIENT_APP_INSTALLS_COUNT', index=40, number=44, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SENSITIVE_CATEGORY_APP', index=41, number=45, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=146, + serialized_end=1834, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNERRORENUM_CAMPAIGNERROR) + + +_CAMPAIGNERRORENUM = _descriptor.Descriptor( + name='CampaignErrorEnum', + full_name='google.ads.googleads.v6.errors.CampaignErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNERRORENUM_CAMPAIGNERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=1834, +) + +_CAMPAIGNERRORENUM_CAMPAIGNERROR.containing_type = _CAMPAIGNERRORENUM +DESCRIPTOR.message_types_by_name['CampaignErrorEnum'] = _CAMPAIGNERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.campaign_error_pb2' + , + '__doc__': """Container for enum describing possible campaign errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CampaignErrorEnum) + }) +_sym_db.RegisterMessage(CampaignErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/campaign_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/campaign_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/campaign_experiment_error_pb2.py b/google/ads/google_ads/v6/proto/errors/campaign_experiment_error_pb2.py new file mode 100644 index 000000000..9dfb4de32 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_experiment_error_pb2.py @@ -0,0 +1,145 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/campaign_experiment_error.proto + +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_v6/proto/errors/campaign_experiment_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\034CampaignExperimentErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/errors/campaign_experiment_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1c\x43\x61mpaignExperimentErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR = _descriptor.EnumDescriptor( + name='CampaignExperimentError', + full_name='google.ads.googleads.v6.errors.CampaignExperimentErrorEnum.CampaignExperimentError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_NAME', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TRANSITION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_CANNOT_CREATE_EXPERIMENT', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_CANNOT_CREATE_EXPERIMENT', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=167, + serialized_end=647, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR) + + +_CAMPAIGNEXPERIMENTERRORENUM = _descriptor.Descriptor( + name='CampaignExperimentErrorEnum', + full_name='google.ads.googleads.v6.errors.CampaignExperimentErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=135, + serialized_end=647, +) + +_CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR.containing_type = _CAMPAIGNEXPERIMENTERRORENUM +DESCRIPTOR.message_types_by_name['CampaignExperimentErrorEnum'] = _CAMPAIGNEXPERIMENTERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignExperimentErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNEXPERIMENTERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.campaign_experiment_error_pb2' + , + '__doc__': """Container for enum describing possible campaign experiment errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CampaignExperimentErrorEnum) + }) +_sym_db.RegisterMessage(CampaignExperimentErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/campaign_experiment_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/campaign_experiment_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_experiment_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/campaign_feed_error_pb2.py b/google/ads/google_ads/v6/proto/errors/campaign_feed_error_pb2.py new file mode 100644 index 000000000..758bd496f --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_feed_error_pb2.py @@ -0,0 +1,130 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/campaign_feed_error.proto + +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_v6/proto/errors/campaign_feed_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\026CampaignFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/errors/campaign_feed_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x16\x43\x61mpaignFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR = _descriptor.EnumDescriptor( + name='CampaignFeedError', + full_name='google.ads.googleads.v6.errors.CampaignFeedErrorEnum.CampaignFeedError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_FOR_REMOVED_FEED', index=3, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED', index=4, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED', index=5, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PLACEHOLDER_TYPE', index=6, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', index=7, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_EXISTING_LOCATION_CUSTOMER_FEED', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=493, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR) + + +_CAMPAIGNFEEDERRORENUM = _descriptor.Descriptor( + name='CampaignFeedErrorEnum', + full_name='google.ads.googleads.v6.errors.CampaignFeedErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=493, +) + +_CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR.containing_type = _CAMPAIGNFEEDERRORENUM +DESCRIPTOR.message_types_by_name['CampaignFeedErrorEnum'] = _CAMPAIGNFEEDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignFeedErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignFeedErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNFEEDERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.campaign_feed_error_pb2' + , + '__doc__': """Container for enum describing possible campaign feed errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CampaignFeedErrorEnum) + }) +_sym_db.RegisterMessage(CampaignFeedErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/campaign_feed_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/campaign_feed_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_feed_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/campaign_shared_set_error_pb2.py b/google/ads/google_ads/v6/proto/errors/campaign_shared_set_error_pb2.py new file mode 100644 index 000000000..029a573f0 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_shared_set_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/campaign_shared_set_error.proto + +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_v6/proto/errors/campaign_shared_set_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\033CampaignSharedSetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/errors/campaign_shared_set_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1b\x43\x61mpaignSharedSetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR = _descriptor.EnumDescriptor( + name='CampaignSharedSetError', + full_name='google.ads.googleads.v6.errors.CampaignSharedSetErrorEnum.CampaignSharedSetError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SHARED_SET_ACCESS_DENIED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=164, + serialized_end=248, +) +_sym_db.RegisterEnumDescriptor(_CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR) + + +_CAMPAIGNSHAREDSETERRORENUM = _descriptor.Descriptor( + name='CampaignSharedSetErrorEnum', + full_name='google.ads.googleads.v6.errors.CampaignSharedSetErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=248, +) + +_CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR.containing_type = _CAMPAIGNSHAREDSETERRORENUM +DESCRIPTOR.message_types_by_name['CampaignSharedSetErrorEnum'] = _CAMPAIGNSHAREDSETERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignSharedSetErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignSharedSetErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNSHAREDSETERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.CampaignSharedSetErrorEnum) + }) +_sym_db.RegisterMessage(CampaignSharedSetErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/campaign_shared_set_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/campaign_shared_set_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/campaign_shared_set_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/change_event_error_pb2.py b/google/ads/google_ads/v6/proto/errors/change_event_error_pb2.py new file mode 100644 index 000000000..7c669e283 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/change_event_error_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/change_event_error.proto + +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_v6/proto/errors/change_event_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025ChangeEventErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/errors/change_event_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xd4\x01\n\x14\x43hangeEventErrorEnum\"\xbb\x01\n\x10\x43hangeEventError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12START_DATE_TOO_OLD\x10\x02\x12\x1e\n\x1a\x43HANGE_DATE_RANGE_INFINITE\x10\x03\x12\x1e\n\x1a\x43HANGE_DATE_RANGE_NEGATIVE\x10\x04\x12\x17\n\x13LIMIT_NOT_SPECIFIED\x10\x05\x12\x18\n\x14INVALID_LIMIT_CLAUSE\x10\x06\x42\xf0\x01\n\"com.google.ads.googleads.v6.errorsB\x15\x43hangeEventErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CHANGEEVENTERRORENUM_CHANGEEVENTERROR = _descriptor.EnumDescriptor( + name='ChangeEventError', + full_name='google.ads.googleads.v6.errors.ChangeEventErrorEnum.ChangeEventError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='START_DATE_TOO_OLD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CHANGE_DATE_RANGE_INFINITE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CHANGE_DATE_RANGE_NEGATIVE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LIMIT_NOT_SPECIFIED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LIMIT_CLAUSE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=340, +) +_sym_db.RegisterEnumDescriptor(_CHANGEEVENTERRORENUM_CHANGEEVENTERROR) + + +_CHANGEEVENTERRORENUM = _descriptor.Descriptor( + name='ChangeEventErrorEnum', + full_name='google.ads.googleads.v6.errors.ChangeEventErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CHANGEEVENTERRORENUM_CHANGEEVENTERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=340, +) + +_CHANGEEVENTERRORENUM_CHANGEEVENTERROR.containing_type = _CHANGEEVENTERRORENUM +DESCRIPTOR.message_types_by_name['ChangeEventErrorEnum'] = _CHANGEEVENTERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ChangeEventErrorEnum = _reflection.GeneratedProtocolMessageType('ChangeEventErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CHANGEEVENTERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.change_event_error_pb2' + , + '__doc__': """Container for enum describing possible change event errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ChangeEventErrorEnum) + }) +_sym_db.RegisterMessage(ChangeEventErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/change_event_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/change_event_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/change_event_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/change_status_error_pb2.py b/google/ads/google_ads/v6/proto/errors/change_status_error_pb2.py new file mode 100644 index 000000000..56aea732e --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/change_status_error_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/change_status_error.proto + +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_v6/proto/errors/change_status_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\026ChangeStatusErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/errors/change_status_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xd6\x01\n\x15\x43hangeStatusErrorEnum\"\xbc\x01\n\x11\x43hangeStatusError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12START_DATE_TOO_OLD\x10\x03\x12\x1e\n\x1a\x43HANGE_DATE_RANGE_INFINITE\x10\x04\x12\x1e\n\x1a\x43HANGE_DATE_RANGE_NEGATIVE\x10\x05\x12\x17\n\x13LIMIT_NOT_SPECIFIED\x10\x06\x12\x18\n\x14INVALID_LIMIT_CLAUSE\x10\x07\x42\xf1\x01\n\"com.google.ads.googleads.v6.errorsB\x16\x43hangeStatusErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CHANGESTATUSERRORENUM_CHANGESTATUSERROR = _descriptor.EnumDescriptor( + name='ChangeStatusError', + full_name='google.ads.googleads.v6.errors.ChangeStatusErrorEnum.ChangeStatusError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='START_DATE_TOO_OLD', index=2, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CHANGE_DATE_RANGE_INFINITE', index=3, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CHANGE_DATE_RANGE_NEGATIVE', index=4, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LIMIT_NOT_SPECIFIED', index=5, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LIMIT_CLAUSE', index=6, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=343, +) +_sym_db.RegisterEnumDescriptor(_CHANGESTATUSERRORENUM_CHANGESTATUSERROR) + + +_CHANGESTATUSERRORENUM = _descriptor.Descriptor( + name='ChangeStatusErrorEnum', + full_name='google.ads.googleads.v6.errors.ChangeStatusErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CHANGESTATUSERRORENUM_CHANGESTATUSERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=343, +) + +_CHANGESTATUSERRORENUM_CHANGESTATUSERROR.containing_type = _CHANGESTATUSERRORENUM +DESCRIPTOR.message_types_by_name['ChangeStatusErrorEnum'] = _CHANGESTATUSERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ChangeStatusErrorEnum = _reflection.GeneratedProtocolMessageType('ChangeStatusErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CHANGESTATUSERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.change_status_error_pb2' + , + '__doc__': """Container for enum describing possible change status errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ChangeStatusErrorEnum) + }) +_sym_db.RegisterMessage(ChangeStatusErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/change_status_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/change_status_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/change_status_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/collection_size_error_pb2.py b/google/ads/google_ads/v6/proto/errors/collection_size_error_pb2.py new file mode 100644 index 000000000..ab27284c7 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/collection_size_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/collection_size_error.proto + +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_v6/proto/errors/collection_size_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\030CollectionSizeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/errors/collection_size_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x18\x43ollectionSizeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR = _descriptor.EnumDescriptor( + name='CollectionSizeError', + full_name='google.ads.googleads.v6.errors.CollectionSizeErrorEnum.CollectionSizeError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_FEW', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=157, + serialized_end=235, +) +_sym_db.RegisterEnumDescriptor(_COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR) + + +_COLLECTIONSIZEERRORENUM = _descriptor.Descriptor( + name='CollectionSizeErrorEnum', + full_name='google.ads.googleads.v6.errors.CollectionSizeErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=235, +) + +_COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR.containing_type = _COLLECTIONSIZEERRORENUM +DESCRIPTOR.message_types_by_name['CollectionSizeErrorEnum'] = _COLLECTIONSIZEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CollectionSizeErrorEnum = _reflection.GeneratedProtocolMessageType('CollectionSizeErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _COLLECTIONSIZEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.collection_size_error_pb2' + , + '__doc__': """Container for enum describing possible collection size errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CollectionSizeErrorEnum) + }) +_sym_db.RegisterMessage(CollectionSizeErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/collection_size_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/collection_size_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/collection_size_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/context_error_pb2.py b/google/ads/google_ads/v6/proto/errors/context_error_pb2.py new file mode 100644 index 000000000..71a64009d --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/context_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/context_error.proto + +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_v6/proto/errors/context_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\021ContextErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/errors/context_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x11\x43ontextErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CONTEXTERRORENUM_CONTEXTERROR = _descriptor.EnumDescriptor( + name='ContextError', + full_name='google.ads.googleads.v6.errors.ContextErrorEnum.ContextError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPERATION_NOT_PERMITTED_FOR_CONTEXT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=279, +) +_sym_db.RegisterEnumDescriptor(_CONTEXTERRORENUM_CONTEXTERROR) + + +_CONTEXTERRORENUM = _descriptor.Descriptor( + name='ContextErrorEnum', + full_name='google.ads.googleads.v6.errors.ContextErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CONTEXTERRORENUM_CONTEXTERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=279, +) + +_CONTEXTERRORENUM_CONTEXTERROR.containing_type = _CONTEXTERRORENUM +DESCRIPTOR.message_types_by_name['ContextErrorEnum'] = _CONTEXTERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ContextErrorEnum = _reflection.GeneratedProtocolMessageType('ContextErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CONTEXTERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.context_error_pb2' + , + '__doc__': """Container for enum describing possible context errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ContextErrorEnum) + }) +_sym_db.RegisterMessage(ContextErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/context_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/context_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/context_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/conversion_action_error_pb2.py b/google/ads/google_ads/v6/proto/errors/conversion_action_error_pb2.py new file mode 100644 index 000000000..d4857427d --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/conversion_action_error_pb2.py @@ -0,0 +1,145 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/conversion_action_error.proto + +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_v6/proto/errors/conversion_action_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\032ConversionActionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/errors/conversion_action_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xa5\x03\n\x19\x43onversionActionErrorEnum\"\x87\x03\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\n\x12\x18\n\x14UPDATE_NOT_SUPPORTED\x10\x0b\x42\xf5\x01\n\"com.google.ads.googleads.v6.errorsB\x1a\x43onversionActionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR = _descriptor.EnumDescriptor( + name='ConversionActionError', + full_name='google.ads.googleads.v6.errors.ConversionActionErrorEnum.ConversionActionError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_NAME', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_APP_ID', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATA_DRIVEN_MODEL_EXPIRED', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATA_DRIVEN_MODEL_STALE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATA_DRIVEN_MODEL_UNKNOWN', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CREATION_NOT_SUPPORTED', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPDATE_NOT_SUPPORTED', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=163, + serialized_end=554, +) +_sym_db.RegisterEnumDescriptor(_CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR) + + +_CONVERSIONACTIONERRORENUM = _descriptor.Descriptor( + name='ConversionActionErrorEnum', + full_name='google.ads.googleads.v6.errors.ConversionActionErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=133, + serialized_end=554, +) + +_CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR.containing_type = _CONVERSIONACTIONERRORENUM +DESCRIPTOR.message_types_by_name['ConversionActionErrorEnum'] = _CONVERSIONACTIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ConversionActionErrorEnum = _reflection.GeneratedProtocolMessageType('ConversionActionErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CONVERSIONACTIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.conversion_action_error_pb2' + , + '__doc__': """Container for enum describing possible conversion action errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ConversionActionErrorEnum) + }) +_sym_db.RegisterMessage(ConversionActionErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/conversion_action_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/conversion_action_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/conversion_action_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/conversion_adjustment_upload_error_pb2.py b/google/ads/google_ads/v6/proto/errors/conversion_adjustment_upload_error_pb2.py new file mode 100644 index 000000000..51d896e30 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/conversion_adjustment_upload_error_pb2.py @@ -0,0 +1,151 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/conversion_adjustment_upload_error.proto + +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_v6/proto/errors/conversion_adjustment_upload_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB$ConversionAdjustmentUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nMgoogle/ads/googleads_v6/proto/errors/conversion_adjustment_upload_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB$ConversionAdjustmentUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR = _descriptor.EnumDescriptor( + name='ConversionAdjustmentUploadError', + full_name='google.ads.googleads.v6.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_RECENT_CONVERSION_ACTION', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CONVERSION_ACTION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_ALREADY_RETRACTED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_NOT_FOUND', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_EXPIRED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADJUSTMENT_PRECEDES_CONVERSION', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MORE_RECENT_RESTATEMENT_FOUND', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_RECENT_CONVERSION', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_ADJUSTMENTS_IN_REQUEST', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_ADJUSTMENTS', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=184, + serialized_end=637, +) +_sym_db.RegisterEnumDescriptor(_CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR) + + +_CONVERSIONADJUSTMENTUPLOADERRORENUM = _descriptor.Descriptor( + name='ConversionAdjustmentUploadErrorEnum', + full_name='google.ads.googleads.v6.errors.ConversionAdjustmentUploadErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=144, + serialized_end=637, +) + +_CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR.containing_type = _CONVERSIONADJUSTMENTUPLOADERRORENUM +DESCRIPTOR.message_types_by_name['ConversionAdjustmentUploadErrorEnum'] = _CONVERSIONADJUSTMENTUPLOADERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ConversionAdjustmentUploadErrorEnum = _reflection.GeneratedProtocolMessageType('ConversionAdjustmentUploadErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CONVERSIONADJUSTMENTUPLOADERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.ConversionAdjustmentUploadErrorEnum) + }) +_sym_db.RegisterMessage(ConversionAdjustmentUploadErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/conversion_upload_error_pb2.py b/google/ads/google_ads/v6/proto/errors/conversion_upload_error_pb2.py new file mode 100644 index 000000000..155b7b836 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/conversion_upload_error_pb2.py @@ -0,0 +1,200 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/conversion_upload_error.proto + +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_v6/proto/errors/conversion_upload_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\032ConversionUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/errors/conversion_upload_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1a\x43onversionUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR = _descriptor.EnumDescriptor( + name='ConversionUploadError', + full_name='google.ads.googleads.v6.errors.ConversionUploadErrorEnum.ConversionUploadError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_CONVERSIONS_IN_REQUEST', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNPARSEABLE_GCLID', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_PRECEDES_GCLID', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPIRED_GCLID', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_RECENT_GCLID', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GCLID_NOT_FOUND', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNAUTHORIZED_CUSTOMER', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CONVERSION_ACTION', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_RECENT_CONVERSION_ACTION', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ORDER_ID_ALREADY_IN_USE', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_ORDER_ID', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_RECENT_CALL', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPIRED_CALL', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALL_NOT_FOUND', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_PRECEDES_CALL', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNPARSEABLE_CALLERS_PHONE_NUMBER', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=163, + serialized_end=985, +) +_sym_db.RegisterEnumDescriptor(_CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR) + + +_CONVERSIONUPLOADERRORENUM = _descriptor.Descriptor( + name='ConversionUploadErrorEnum', + full_name='google.ads.googleads.v6.errors.ConversionUploadErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=133, + serialized_end=985, +) + +_CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR.containing_type = _CONVERSIONUPLOADERRORENUM +DESCRIPTOR.message_types_by_name['ConversionUploadErrorEnum'] = _CONVERSIONUPLOADERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ConversionUploadErrorEnum = _reflection.GeneratedProtocolMessageType('ConversionUploadErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CONVERSIONUPLOADERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.conversion_upload_error_pb2' + , + '__doc__': """Container for enum describing possible conversion upload errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ConversionUploadErrorEnum) + }) +_sym_db.RegisterMessage(ConversionUploadErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/conversion_upload_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/conversion_upload_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/conversion_upload_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/country_code_error_pb2.py b/google/ads/google_ads/v6/proto/errors/country_code_error_pb2.py new file mode 100644 index 000000000..ad9564b4b --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/country_code_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/country_code_error.proto + +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_v6/proto/errors/country_code_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025CountryCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/errors/country_code_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x15\x43ountryCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_COUNTRYCODEERRORENUM_COUNTRYCODEERROR = _descriptor.EnumDescriptor( + name='CountryCodeError', + full_name='google.ads.googleads.v6.errors.CountryCodeErrorEnum.CountryCodeError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_COUNTRY_CODE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=151, + serialized_end=225, +) +_sym_db.RegisterEnumDescriptor(_COUNTRYCODEERRORENUM_COUNTRYCODEERROR) + + +_COUNTRYCODEERRORENUM = _descriptor.Descriptor( + name='CountryCodeErrorEnum', + full_name='google.ads.googleads.v6.errors.CountryCodeErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _COUNTRYCODEERRORENUM_COUNTRYCODEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=225, +) + +_COUNTRYCODEERRORENUM_COUNTRYCODEERROR.containing_type = _COUNTRYCODEERRORENUM +DESCRIPTOR.message_types_by_name['CountryCodeErrorEnum'] = _COUNTRYCODEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CountryCodeErrorEnum = _reflection.GeneratedProtocolMessageType('CountryCodeErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _COUNTRYCODEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.country_code_error_pb2' + , + '__doc__': """Container for enum describing country code errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CountryCodeErrorEnum) + }) +_sym_db.RegisterMessage(CountryCodeErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/country_code_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/country_code_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/country_code_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/criterion_error_pb2.py b/google/ads/google_ads/v6/proto/errors/criterion_error_pb2.py new file mode 100644 index 000000000..b68a62a2e --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/criterion_error_pb2.py @@ -0,0 +1,700 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/criterion_error.proto + +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_v6/proto/errors/criterion_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023CriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/errors/criterion_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xc4%\n\x12\x43riterionErrorEnum\"\xad%\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\x1d\n\x19INVALID_COMBINED_AUDIENCE\x10z\x12\x1b\n\x17INVALID_CUSTOM_AFFINITY\x10`\x12\x19\n\x15INVALID_CUSTOM_INTENT\x10\x61\x12\x1b\n\x17INVALID_CUSTOM_AUDIENCE\x10y\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\x37\n3CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS\x10{\x12!\n\x1dINVALID_LOCATION_GROUP_RADIUS\x10|\x12&\n\"INVALID_LOCATION_GROUP_RADIUS_UNIT\x10}\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\x31\n-CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS\x10~\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\x10x\x12@\ngoogle/ads/googleads_v6/proto/errors/currency_code_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x16\x43urrencyCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CURRENCYCODEERRORENUM_CURRENCYCODEERROR = _descriptor.EnumDescriptor( + name='CurrencyCodeError', + full_name='google.ads.googleads.v6.errors.CurrencyCodeErrorEnum.CurrencyCodeError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.errors.CurrencyCodeErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _CURRENCYCODEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.currency_code_error_pb2' + , + '__doc__': """Container for enum describing possible currency code errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CurrencyCodeErrorEnum) + }) +_sym_db.RegisterMessage(CurrencyCodeErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/currency_code_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/currency_code_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/currency_code_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/custom_audience_error_pb2.py b/google/ads/google_ads/v6/proto/errors/custom_audience_error_pb2.py new file mode 100644 index 000000000..6ca749e3a --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/custom_audience_error_pb2.py @@ -0,0 +1,135 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/custom_audience_error.proto + +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_v6/proto/errors/custom_audience_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\030CustomAudienceErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/errors/custom_audience_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xc5\x02\n\x17\x43ustomAudienceErrorEnum\"\xa9\x02\n\x13\x43ustomAudienceError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x11NAME_ALREADY_USED\x10\x02\x12\x1e\n\x1a\x43\x41NNOT_REMOVE_WHILE_IN_USE\x10\x03\x12\x1c\n\x18RESOURCE_ALREADY_REMOVED\x10\x04\x12-\n)MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED\x10\x05\x12\x17\n\x13INVALID_MEMBER_TYPE\x10\x06\x12(\n$MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH\x10\x07\x12\x14\n\x10POLICY_VIOLATION\x10\x08\x12\x17\n\x13INVALID_TYPE_CHANGE\x10\tB\xf3\x01\n\"com.google.ads.googleads.v6.errorsB\x18\x43ustomAudienceErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMAUDIENCEERRORENUM_CUSTOMAUDIENCEERROR = _descriptor.EnumDescriptor( + name='CustomAudienceError', + full_name='google.ads.googleads.v6.errors.CustomAudienceErrorEnum.CustomAudienceError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NAME_ALREADY_USED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_REMOVE_WHILE_IN_USE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESOURCE_ALREADY_REMOVED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MEMBER_TYPE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='POLICY_VIOLATION', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TYPE_CHANGE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=159, + serialized_end=456, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMAUDIENCEERRORENUM_CUSTOMAUDIENCEERROR) + + +_CUSTOMAUDIENCEERRORENUM = _descriptor.Descriptor( + name='CustomAudienceErrorEnum', + full_name='google.ads.googleads.v6.errors.CustomAudienceErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMAUDIENCEERRORENUM_CUSTOMAUDIENCEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=456, +) + +_CUSTOMAUDIENCEERRORENUM_CUSTOMAUDIENCEERROR.containing_type = _CUSTOMAUDIENCEERRORENUM +DESCRIPTOR.message_types_by_name['CustomAudienceErrorEnum'] = _CUSTOMAUDIENCEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomAudienceErrorEnum = _reflection.GeneratedProtocolMessageType('CustomAudienceErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMAUDIENCEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.custom_audience_error_pb2' + , + '__doc__': """Container for enum describing possible custom audience errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CustomAudienceErrorEnum) + }) +_sym_db.RegisterMessage(CustomAudienceErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/custom_audience_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/custom_audience_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/custom_audience_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/custom_interest_error_pb2.py b/google/ads/google_ads/v6/proto/errors/custom_interest_error_pb2.py new file mode 100644 index 000000000..f1bf789b2 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/custom_interest_error_pb2.py @@ -0,0 +1,130 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/custom_interest_error.proto + +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_v6/proto/errors/custom_interest_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\030CustomInterestErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/errors/custom_interest_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x18\x43ustomInterestErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR = _descriptor.EnumDescriptor( + name='CustomInterestError', + full_name='google.ads.googleads.v6.errors.CustomInterestErrorEnum.CustomInterestError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NAME_ALREADY_USED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TYPE_AND_PARAMETER_NOT_FOUND', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TYPE_AND_PARAMETER_ALREADY_EXISTED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CUSTOM_INTEREST_MEMBER_TYPE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_REMOVE_WHILE_IN_USE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CHANGE_TYPE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=159, + serialized_end=476, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR) + + +_CUSTOMINTERESTERRORENUM = _descriptor.Descriptor( + name='CustomInterestErrorEnum', + full_name='google.ads.googleads.v6.errors.CustomInterestErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=476, +) + +_CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR.containing_type = _CUSTOMINTERESTERRORENUM +DESCRIPTOR.message_types_by_name['CustomInterestErrorEnum'] = _CUSTOMINTERESTERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomInterestErrorEnum = _reflection.GeneratedProtocolMessageType('CustomInterestErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMINTERESTERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.custom_interest_error_pb2' + , + '__doc__': """Container for enum describing possible custom interest errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CustomInterestErrorEnum) + }) +_sym_db.RegisterMessage(CustomInterestErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/custom_interest_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/custom_interest_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/custom_interest_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/customer_client_link_error_pb2.py b/google/ads/google_ads/v6/proto/errors/customer_client_link_error_pb2.py new file mode 100644 index 000000000..f01717b29 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_client_link_error_pb2.py @@ -0,0 +1,135 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/customer_client_link_error.proto + +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_v6/proto/errors/customer_client_link_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\034CustomerClientLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/errors/customer_client_link_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1c\x43ustomerClientLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR = _descriptor.EnumDescriptor( + name='CustomerClientLinkError', + full_name='google.ads.googleads.v6.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CLIENT_ALREADY_INVITED_BY_THIS_MANAGER', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CLIENT_ALREADY_MANAGED_IN_HIERARCHY', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CYCLIC_LINK_NOT_ALLOWED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_HAS_TOO_MANY_ACCOUNTS', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CLIENT_HAS_TOO_MANY_INVITATIONS', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CLIENT_HAS_TOO_MANY_MANAGERS', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=168, + serialized_end=535, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR) + + +_CUSTOMERCLIENTLINKERRORENUM = _descriptor.Descriptor( + name='CustomerClientLinkErrorEnum', + full_name='google.ads.googleads.v6.errors.CustomerClientLinkErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=136, + serialized_end=535, +) + +_CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR.containing_type = _CUSTOMERCLIENTLINKERRORENUM +DESCRIPTOR.message_types_by_name['CustomerClientLinkErrorEnum'] = _CUSTOMERCLIENTLINKERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomerClientLinkErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerClientLinkErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMERCLIENTLINKERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.customer_client_link_error_pb2' + , + '__doc__': """Container for enum describing possible CustomeClientLink errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CustomerClientLinkErrorEnum) + }) +_sym_db.RegisterMessage(CustomerClientLinkErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/customer_client_link_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/customer_client_link_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_client_link_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/customer_error_pb2.py b/google/ads/google_ads/v6/proto/errors/customer_error_pb2.py new file mode 100644 index 000000000..a5520343d --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/customer_error.proto + +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_v6/proto/errors/customer_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022CustomerErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/errors/customer_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12\x43ustomerErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMERERRORENUM_CUSTOMERERROR = _descriptor.EnumDescriptor( + name='CustomerError', + full_name='google.ads.googleads.v6.errors.CustomerErrorEnum.CustomerError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STATUS_CHANGE_DISALLOWED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACCOUNT_NOT_SET_UP', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=243, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMERERRORENUM_CUSTOMERERROR) + + +_CUSTOMERERRORENUM = _descriptor.Descriptor( + name='CustomerErrorEnum', + full_name='google.ads.googleads.v6.errors.CustomerErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMERERRORENUM_CUSTOMERERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=243, +) + +_CUSTOMERERRORENUM_CUSTOMERERROR.containing_type = _CUSTOMERERRORENUM +DESCRIPTOR.message_types_by_name['CustomerErrorEnum'] = _CUSTOMERERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomerErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMERERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.customer_error_pb2' + , + '__doc__': """Container for enum describing possible customer errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CustomerErrorEnum) + }) +_sym_db.RegisterMessage(CustomerErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/customer_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/customer_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/customer_feed_error_pb2.py b/google/ads/google_ads/v6/proto/errors/customer_feed_error_pb2.py new file mode 100644 index 000000000..758e43bd8 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_feed_error_pb2.py @@ -0,0 +1,130 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/customer_feed_error.proto + +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_v6/proto/errors/customer_feed_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\026CustomerFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/errors/customer_feed_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x16\x43ustomerFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR = _descriptor.EnumDescriptor( + name='CustomerFeedError', + full_name='google.ads.googleads.v6.errors.CustomerFeedErrorEnum.CustomerFeedError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_FOR_REMOVED_FEED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_REMOVED_CUSTOMER_FEED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PLACEHOLDER_TYPE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=504, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR) + + +_CUSTOMERFEEDERRORENUM = _descriptor.Descriptor( + name='CustomerFeedErrorEnum', + full_name='google.ads.googleads.v6.errors.CustomerFeedErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=504, +) + +_CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR.containing_type = _CUSTOMERFEEDERRORENUM +DESCRIPTOR.message_types_by_name['CustomerFeedErrorEnum'] = _CUSTOMERFEEDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomerFeedErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerFeedErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMERFEEDERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.customer_feed_error_pb2' + , + '__doc__': """Container for enum describing possible customer feed errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CustomerFeedErrorEnum) + }) +_sym_db.RegisterMessage(CustomerFeedErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/customer_feed_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/customer_feed_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_feed_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/customer_manager_link_error_pb2.py b/google/ads/google_ads/v6/proto/errors/customer_manager_link_error_pb2.py new file mode 100644 index 000000000..ca44af0bd --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_manager_link_error_pb2.py @@ -0,0 +1,140 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/customer_manager_link_error.proto + +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_v6/proto/errors/customer_manager_link_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\035CustomerManagerLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nFgoogle/ads/googleads_v6/proto/errors/customer_manager_link_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1d\x43ustomerManagerLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR = _descriptor.EnumDescriptor( + name='CustomerManagerLinkError', + full_name='google.ads.googleads.v6.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_PENDING_INVITE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SAME_CLIENT_MORE_THAN_ONCE_PER_CALL', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_CHILD_FOUND', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=170, + serialized_end=601, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR) + + +_CUSTOMERMANAGERLINKERRORENUM = _descriptor.Descriptor( + name='CustomerManagerLinkErrorEnum', + full_name='google.ads.googleads.v6.errors.CustomerManagerLinkErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=137, + serialized_end=601, +) + +_CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR.containing_type = _CUSTOMERMANAGERLINKERRORENUM +DESCRIPTOR.message_types_by_name['CustomerManagerLinkErrorEnum'] = _CUSTOMERMANAGERLINKERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomerManagerLinkErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerManagerLinkErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMERMANAGERLINKERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.customer_manager_link_error_pb2' + , + '__doc__': """Container for enum describing possible CustomerManagerLink errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CustomerManagerLinkErrorEnum) + }) +_sym_db.RegisterMessage(CustomerManagerLinkErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/customer_manager_link_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/customer_manager_link_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_manager_link_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/customer_user_access_error_pb2.py b/google/ads/google_ads/v6/proto/errors/customer_user_access_error_pb2.py new file mode 100644 index 000000000..598da6402 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_user_access_error_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/customer_user_access_error.proto + +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_v6/proto/errors/customer_user_access_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\034CustomerUserAccessErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/errors/customer_user_access_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xe9\x01\n\x1b\x43ustomerUserAccessErrorEnum\"\xc9\x01\n\x17\x43ustomerUserAccessError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0fINVALID_USER_ID\x10\x02\x12\x16\n\x12REMOVAL_DISALLOWED\x10\x03\x12\x1a\n\x16\x44ISALLOWED_ACCESS_ROLE\x10\x04\x12\'\n#LAST_ADMIN_USER_OF_SERVING_CUSTOMER\x10\x05\x12\x1e\n\x1aLAST_ADMIN_USER_OF_MANAGER\x10\x06\x42\xf7\x01\n\"com.google.ads.googleads.v6.errorsB\x1c\x43ustomerUserAccessErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CUSTOMERUSERACCESSERRORENUM_CUSTOMERUSERACCESSERROR = _descriptor.EnumDescriptor( + name='CustomerUserAccessError', + full_name='google.ads.googleads.v6.errors.CustomerUserAccessErrorEnum.CustomerUserAccessError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_USER_ID', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVAL_DISALLOWED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISALLOWED_ACCESS_ROLE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LAST_ADMIN_USER_OF_SERVING_CUSTOMER', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LAST_ADMIN_USER_OF_MANAGER', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=168, + serialized_end=369, +) +_sym_db.RegisterEnumDescriptor(_CUSTOMERUSERACCESSERRORENUM_CUSTOMERUSERACCESSERROR) + + +_CUSTOMERUSERACCESSERRORENUM = _descriptor.Descriptor( + name='CustomerUserAccessErrorEnum', + full_name='google.ads.googleads.v6.errors.CustomerUserAccessErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CUSTOMERUSERACCESSERRORENUM_CUSTOMERUSERACCESSERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=136, + serialized_end=369, +) + +_CUSTOMERUSERACCESSERRORENUM_CUSTOMERUSERACCESSERROR.containing_type = _CUSTOMERUSERACCESSERRORENUM +DESCRIPTOR.message_types_by_name['CustomerUserAccessErrorEnum'] = _CUSTOMERUSERACCESSERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomerUserAccessErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerUserAccessErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMERUSERACCESSERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.customer_user_access_error_pb2' + , + '__doc__': """Container for enum describing possible CustomerUserAccess errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.CustomerUserAccessErrorEnum) + }) +_sym_db.RegisterMessage(CustomerUserAccessErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/customer_user_access_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/customer_user_access_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/customer_user_access_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/database_error_pb2.py b/google/ads/google_ads/v6/proto/errors/database_error_pb2.py new file mode 100644 index 000000000..af195f7c7 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/database_error_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/database_error.proto + +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_v6/proto/errors/database_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022DatabaseErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/errors/database_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12\x44\x61tabaseErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DATABASEERRORENUM_DATABASEERROR = _descriptor.EnumDescriptor( + name='DatabaseError', + full_name='google.ads.googleads.v6.errors.DatabaseErrorEnum.DatabaseError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONCURRENT_MODIFICATION', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATA_CONSTRAINT_VIOLATION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REQUEST_TOO_LARGE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=146, + serialized_end=274, +) +_sym_db.RegisterEnumDescriptor(_DATABASEERRORENUM_DATABASEERROR) + + +_DATABASEERRORENUM = _descriptor.Descriptor( + name='DatabaseErrorEnum', + full_name='google.ads.googleads.v6.errors.DatabaseErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DATABASEERRORENUM_DATABASEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=274, +) + +_DATABASEERRORENUM_DATABASEERROR.containing_type = _DATABASEERRORENUM +DESCRIPTOR.message_types_by_name['DatabaseErrorEnum'] = _DATABASEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DatabaseErrorEnum = _reflection.GeneratedProtocolMessageType('DatabaseErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _DATABASEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.database_error_pb2' + , + '__doc__': """Container for enum describing possible database errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.DatabaseErrorEnum) + }) +_sym_db.RegisterMessage(DatabaseErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/database_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/database_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/database_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/date_error_pb2.py b/google/ads/google_ads/v6/proto/errors/date_error_pb2.py new file mode 100644 index 000000000..f6c90525d --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/date_error_pb2.py @@ -0,0 +1,145 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/date_error.proto + +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_v6/proto/errors/date_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\016DateErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/errors/date_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0e\x44\x61teErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DATEERRORENUM_DATEERROR = _descriptor.EnumDescriptor( + name='DateError', + full_name='google.ads.googleads.v6.errors.DateErrorEnum.DateError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FIELD_VALUES_IN_DATE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FIELD_VALUES_IN_DATE_TIME', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STRING_DATE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STRING_DATE_TIME_MICROS', index=5, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STRING_DATE_TIME_SECONDS', index=6, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET', index=7, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EARLIER_THAN_MINIMUM_DATE', index=8, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LATER_THAN_MAXIMUM_DATE', index=9, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE', index=10, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL', index=11, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=138, + serialized_end=567, +) +_sym_db.RegisterEnumDescriptor(_DATEERRORENUM_DATEERROR) + + +_DATEERRORENUM = _descriptor.Descriptor( + name='DateErrorEnum', + full_name='google.ads.googleads.v6.errors.DateErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DATEERRORENUM_DATEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=120, + serialized_end=567, +) + +_DATEERRORENUM_DATEERROR.containing_type = _DATEERRORENUM +DESCRIPTOR.message_types_by_name['DateErrorEnum'] = _DATEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DateErrorEnum = _reflection.GeneratedProtocolMessageType('DateErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _DATEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.date_error_pb2' + , + '__doc__': """Container for enum describing possible date errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.DateErrorEnum) + }) +_sym_db.RegisterMessage(DateErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/date_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/date_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/date_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/date_range_error_pb2.py b/google/ads/google_ads/v6/proto/errors/date_range_error_pb2.py new file mode 100644 index 000000000..b71e31e1c --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/date_range_error_pb2.py @@ -0,0 +1,120 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/date_range_error.proto + +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_v6/proto/errors/date_range_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023DateRangeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/errors/date_range_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x13\x44\x61teRangeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DATERANGEERRORENUM_DATERANGEERROR = _descriptor.EnumDescriptor( + name='DateRangeError', + full_name='google.ads.googleads.v6.errors.DateRangeErrorEnum.DateRangeError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DATE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='START_DATE_AFTER_END_DATE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_DATE_TO_PAST', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AFTER_MAXIMUM_ALLOWABLE_DATE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=149, + serialized_end=356, +) +_sym_db.RegisterEnumDescriptor(_DATERANGEERRORENUM_DATERANGEERROR) + + +_DATERANGEERRORENUM = _descriptor.Descriptor( + name='DateRangeErrorEnum', + full_name='google.ads.googleads.v6.errors.DateRangeErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DATERANGEERRORENUM_DATERANGEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=356, +) + +_DATERANGEERRORENUM_DATERANGEERROR.containing_type = _DATERANGEERRORENUM +DESCRIPTOR.message_types_by_name['DateRangeErrorEnum'] = _DATERANGEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DateRangeErrorEnum = _reflection.GeneratedProtocolMessageType('DateRangeErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _DATERANGEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.date_range_error_pb2' + , + '__doc__': """Container for enum describing possible date range errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.DateRangeErrorEnum) + }) +_sym_db.RegisterMessage(DateRangeErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/date_range_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/date_range_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/date_range_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/distinct_error_pb2.py b/google/ads/google_ads/v6/proto/errors/distinct_error_pb2.py new file mode 100644 index 000000000..0c230b4bf --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/distinct_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/distinct_error.proto + +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_v6/proto/errors/distinct_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022DistinctErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/errors/distinct_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12\x44istinctErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DISTINCTERRORENUM_DISTINCTERROR = _descriptor.EnumDescriptor( + name='DistinctError', + full_name='google.ads.googleads.v6.errors.DistinctErrorEnum.DistinctError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_ELEMENT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_TYPE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=232, +) +_sym_db.RegisterEnumDescriptor(_DISTINCTERRORENUM_DISTINCTERROR) + + +_DISTINCTERRORENUM = _descriptor.Descriptor( + name='DistinctErrorEnum', + full_name='google.ads.googleads.v6.errors.DistinctErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DISTINCTERRORENUM_DISTINCTERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=232, +) + +_DISTINCTERRORENUM_DISTINCTERROR.containing_type = _DISTINCTERRORENUM +DESCRIPTOR.message_types_by_name['DistinctErrorEnum'] = _DISTINCTERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DistinctErrorEnum = _reflection.GeneratedProtocolMessageType('DistinctErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _DISTINCTERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.distinct_error_pb2' + , + '__doc__': """Container for enum describing possible distinct errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.DistinctErrorEnum) + }) +_sym_db.RegisterMessage(DistinctErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/distinct_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/distinct_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/distinct_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/enum_error_pb2.py b/google/ads/google_ads/v6/proto/errors/enum_error_pb2.py new file mode 100644 index 000000000..c0f56d910 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/enum_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/enum_error.proto + +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_v6/proto/errors/enum_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\016EnumErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/errors/enum_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0e\x45numErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ENUMERRORENUM_ENUMERROR = _descriptor.EnumDescriptor( + name='EnumError', + full_name='google.ads.googleads.v6.errors.EnumErrorEnum.EnumError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ENUM_VALUE_NOT_PERMITTED', index=2, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=136, + serialized_end=207, +) +_sym_db.RegisterEnumDescriptor(_ENUMERRORENUM_ENUMERROR) + + +_ENUMERRORENUM = _descriptor.Descriptor( + name='EnumErrorEnum', + full_name='google.ads.googleads.v6.errors.EnumErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ENUMERRORENUM_ENUMERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=119, + serialized_end=207, +) + +_ENUMERRORENUM_ENUMERROR.containing_type = _ENUMERRORENUM +DESCRIPTOR.message_types_by_name['EnumErrorEnum'] = _ENUMERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +EnumErrorEnum = _reflection.GeneratedProtocolMessageType('EnumErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _ENUMERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.enum_error_pb2' + , + '__doc__': """Container for enum describing possible enum errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.EnumErrorEnum) + }) +_sym_db.RegisterMessage(EnumErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/enum_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/enum_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/enum_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/errors_pb2.py b/google/ads/google_ads/v6/proto/errors/errors_pb2.py new file mode 100644 index 000000000..690f416a0 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/errors_pb2.py @@ -0,0 +1,2300 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/errors.proto + +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.v6.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2 +from google.ads.google_ads.v6.proto.common import value_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_value__pb2 +from google.ads.google_ads.v6.proto.errors import access_invitation_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_access__invitation__error__pb2 +from google.ads.google_ads.v6.proto.errors import account_budget_proposal_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2 +from google.ads.google_ads.v6.proto.errors import account_link_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_account__link__error__pb2 +from google.ads.google_ads.v6.proto.errors import ad_customizer_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__customizer__error__pb2 +from google.ads.google_ads.v6.proto.errors import ad_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__error__pb2 +from google.ads.google_ads.v6.proto.errors import ad_group_ad_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__ad__error__pb2 +from google.ads.google_ads.v6.proto.errors import ad_group_bid_modifier_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2 +from google.ads.google_ads.v6.proto.errors import ad_group_criterion_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2 +from google.ads.google_ads.v6.proto.errors import ad_group_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__error__pb2 +from google.ads.google_ads.v6.proto.errors import ad_group_feed_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__feed__error__pb2 +from google.ads.google_ads.v6.proto.errors import ad_parameter_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__parameter__error__pb2 +from google.ads.google_ads.v6.proto.errors import ad_sharing_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__sharing__error__pb2 +from google.ads.google_ads.v6.proto.errors import adx_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_adx__error__pb2 +from google.ads.google_ads.v6.proto.errors import asset_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_asset__error__pb2 +from google.ads.google_ads.v6.proto.errors import asset_link_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_asset__link__error__pb2 +from google.ads.google_ads.v6.proto.errors import authentication_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_authentication__error__pb2 +from google.ads.google_ads.v6.proto.errors import authorization_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_authorization__error__pb2 +from google.ads.google_ads.v6.proto.errors import batch_job_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_batch__job__error__pb2 +from google.ads.google_ads.v6.proto.errors import bidding_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_bidding__error__pb2 +from google.ads.google_ads.v6.proto.errors import bidding_strategy_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_bidding__strategy__error__pb2 +from google.ads.google_ads.v6.proto.errors import billing_setup_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_billing__setup__error__pb2 +from google.ads.google_ads.v6.proto.errors import campaign_budget_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__budget__error__pb2 +from google.ads.google_ads.v6.proto.errors import campaign_criterion_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__criterion__error__pb2 +from google.ads.google_ads.v6.proto.errors import campaign_draft_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__draft__error__pb2 +from google.ads.google_ads.v6.proto.errors import campaign_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__error__pb2 +from google.ads.google_ads.v6.proto.errors import campaign_experiment_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__experiment__error__pb2 +from google.ads.google_ads.v6.proto.errors import campaign_feed_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__feed__error__pb2 +from google.ads.google_ads.v6.proto.errors import campaign_shared_set_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2 +from google.ads.google_ads.v6.proto.errors import change_event_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_change__event__error__pb2 +from google.ads.google_ads.v6.proto.errors import change_status_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_change__status__error__pb2 +from google.ads.google_ads.v6.proto.errors import collection_size_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_collection__size__error__pb2 +from google.ads.google_ads.v6.proto.errors import context_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_context__error__pb2 +from google.ads.google_ads.v6.proto.errors import conversion_action_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_conversion__action__error__pb2 +from google.ads.google_ads.v6.proto.errors import conversion_adjustment_upload_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2 +from google.ads.google_ads.v6.proto.errors import conversion_upload_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_conversion__upload__error__pb2 +from google.ads.google_ads.v6.proto.errors import country_code_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_country__code__error__pb2 +from google.ads.google_ads.v6.proto.errors import criterion_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_criterion__error__pb2 +from google.ads.google_ads.v6.proto.errors import currency_code_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_currency__code__error__pb2 +from google.ads.google_ads.v6.proto.errors import custom_audience_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_custom__audience__error__pb2 +from google.ads.google_ads.v6.proto.errors import custom_interest_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_custom__interest__error__pb2 +from google.ads.google_ads.v6.proto.errors import customer_client_link_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__client__link__error__pb2 +from google.ads.google_ads.v6.proto.errors import customer_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__error__pb2 +from google.ads.google_ads.v6.proto.errors import customer_feed_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__feed__error__pb2 +from google.ads.google_ads.v6.proto.errors import customer_manager_link_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__manager__link__error__pb2 +from google.ads.google_ads.v6.proto.errors import customer_user_access_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__user__access__error__pb2 +from google.ads.google_ads.v6.proto.errors import database_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_database__error__pb2 +from google.ads.google_ads.v6.proto.errors import date_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_date__error__pb2 +from google.ads.google_ads.v6.proto.errors import date_range_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_date__range__error__pb2 +from google.ads.google_ads.v6.proto.errors import distinct_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_distinct__error__pb2 +from google.ads.google_ads.v6.proto.errors import enum_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_enum__error__pb2 +from google.ads.google_ads.v6.proto.errors import extension_feed_item_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_extension__feed__item__error__pb2 +from google.ads.google_ads.v6.proto.errors import extension_setting_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_extension__setting__error__pb2 +from google.ads.google_ads.v6.proto.errors import feed_attribute_reference_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2 +from google.ads.google_ads.v6.proto.errors import feed_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__error__pb2 +from google.ads.google_ads.v6.proto.errors import feed_item_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__error__pb2 +from google.ads.google_ads.v6.proto.errors import feed_item_set_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__set__error__pb2 +from google.ads.google_ads.v6.proto.errors import feed_item_set_link_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__set__link__error__pb2 +from google.ads.google_ads.v6.proto.errors import feed_item_target_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__target__error__pb2 +from google.ads.google_ads.v6.proto.errors import feed_item_validation_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__validation__error__pb2 +from google.ads.google_ads.v6.proto.errors import feed_mapping_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__mapping__error__pb2 +from google.ads.google_ads.v6.proto.errors import field_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_field__error__pb2 +from google.ads.google_ads.v6.proto.errors import field_mask_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_field__mask__error__pb2 +from google.ads.google_ads.v6.proto.errors import function_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_function__error__pb2 +from google.ads.google_ads.v6.proto.errors import function_parsing_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_function__parsing__error__pb2 +from google.ads.google_ads.v6.proto.errors import geo_target_constant_suggestion_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2 +from google.ads.google_ads.v6.proto.errors import header_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_header__error__pb2 +from google.ads.google_ads.v6.proto.errors import id_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_id__error__pb2 +from google.ads.google_ads.v6.proto.errors import image_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_image__error__pb2 +from google.ads.google_ads.v6.proto.errors import internal_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_internal__error__pb2 +from google.ads.google_ads.v6.proto.errors import invoice_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_invoice__error__pb2 +from google.ads.google_ads.v6.proto.errors import keyword_plan_ad_group_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2 +from google.ads.google_ads.v6.proto.errors import keyword_plan_ad_group_keyword_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__ad__group__keyword__error__pb2 +from google.ads.google_ads.v6.proto.errors import keyword_plan_campaign_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2 +from google.ads.google_ads.v6.proto.errors import keyword_plan_campaign_keyword_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__campaign__keyword__error__pb2 +from google.ads.google_ads.v6.proto.errors import keyword_plan_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__error__pb2 +from google.ads.google_ads.v6.proto.errors import keyword_plan_idea_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2 +from google.ads.google_ads.v6.proto.errors import label_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_label__error__pb2 +from google.ads.google_ads.v6.proto.errors import language_code_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_language__code__error__pb2 +from google.ads.google_ads.v6.proto.errors import list_operation_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_list__operation__error__pb2 +from google.ads.google_ads.v6.proto.errors import manager_link_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_manager__link__error__pb2 +from google.ads.google_ads.v6.proto.errors import media_bundle_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_media__bundle__error__pb2 +from google.ads.google_ads.v6.proto.errors import media_file_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_media__file__error__pb2 +from google.ads.google_ads.v6.proto.errors import media_upload_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_media__upload__error__pb2 +from google.ads.google_ads.v6.proto.errors import multiplier_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_multiplier__error__pb2 +from google.ads.google_ads.v6.proto.errors import mutate_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_mutate__error__pb2 +from google.ads.google_ads.v6.proto.errors import new_resource_creation_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_new__resource__creation__error__pb2 +from google.ads.google_ads.v6.proto.errors import not_allowlisted_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_not__allowlisted__error__pb2 +from google.ads.google_ads.v6.proto.errors import not_empty_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_not__empty__error__pb2 +from google.ads.google_ads.v6.proto.errors import null_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_null__error__pb2 +from google.ads.google_ads.v6.proto.errors import offline_user_data_job_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_offline__user__data__job__error__pb2 +from google.ads.google_ads.v6.proto.errors import operation_access_denied_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_operation__access__denied__error__pb2 +from google.ads.google_ads.v6.proto.errors import operator_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_operator__error__pb2 +from google.ads.google_ads.v6.proto.errors import partial_failure_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_partial__failure__error__pb2 +from google.ads.google_ads.v6.proto.errors import payments_account_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_payments__account__error__pb2 +from google.ads.google_ads.v6.proto.errors import policy_finding_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_policy__finding__error__pb2 +from google.ads.google_ads.v6.proto.errors import policy_validation_parameter_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2 +from google.ads.google_ads.v6.proto.errors import policy_violation_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_policy__violation__error__pb2 +from google.ads.google_ads.v6.proto.errors import query_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_query__error__pb2 +from google.ads.google_ads.v6.proto.errors import quota_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_quota__error__pb2 +from google.ads.google_ads.v6.proto.errors import range_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_range__error__pb2 +from google.ads.google_ads.v6.proto.errors import reach_plan_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_reach__plan__error__pb2 +from google.ads.google_ads.v6.proto.errors import recommendation_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_recommendation__error__pb2 +from google.ads.google_ads.v6.proto.errors import region_code_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_region__code__error__pb2 +from google.ads.google_ads.v6.proto.errors import request_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_request__error__pb2 +from google.ads.google_ads.v6.proto.errors import resource_access_denied_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_resource__access__denied__error__pb2 +from google.ads.google_ads.v6.proto.errors import resource_count_limit_exceeded_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2 +from google.ads.google_ads.v6.proto.errors import setting_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_setting__error__pb2 +from google.ads.google_ads.v6.proto.errors import shared_criterion_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_shared__criterion__error__pb2 +from google.ads.google_ads.v6.proto.errors import shared_set_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_shared__set__error__pb2 +from google.ads.google_ads.v6.proto.errors import size_limit_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_size__limit__error__pb2 +from google.ads.google_ads.v6.proto.errors import string_format_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_string__format__error__pb2 +from google.ads.google_ads.v6.proto.errors import string_length_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_string__length__error__pb2 +from google.ads.google_ads.v6.proto.errors import third_party_app_analytics_link_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_third__party__app__analytics__link__error__pb2 +from google.ads.google_ads.v6.proto.errors import time_zone_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_time__zone__error__pb2 +from google.ads.google_ads.v6.proto.errors import url_field_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_url__field__error__pb2 +from google.ads.google_ads.v6.proto.errors import user_data_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_user__data__error__pb2 +from google.ads.google_ads.v6.proto.errors import user_list_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_user__list__error__pb2 +from google.ads.google_ads.v6.proto.errors import youtube_video_registration_error_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_youtube__video__registration__error__pb2 +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/errors/errors.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\013ErrorsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n1google/ads/googleads_v6/proto/errors/errors.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x31google/ads/googleads_v6/proto/common/policy.proto\x1a\x30google/ads/googleads_v6/proto/common/value.proto\x1a\x42google/ads/googleads_v6/proto/errors/access_invitation_error.proto\x1aHgoogle/ads/googleads_v6/proto/errors/account_budget_proposal_error.proto\x1a=google/ads/googleads_v6/proto/errors/account_link_error.proto\x1a>google/ads/googleads_v6/proto/errors/ad_customizer_error.proto\x1a\x33google/ads/googleads_v6/proto/errors/ad_error.proto\x1agoogle/ads/googleads_v6/proto/errors/ad_group_feed_error.proto\x1a=google/ads/googleads_v6/proto/errors/ad_parameter_error.proto\x1a;google/ads/googleads_v6/proto/errors/ad_sharing_error.proto\x1a\x34google/ads/googleads_v6/proto/errors/adx_error.proto\x1a\x36google/ads/googleads_v6/proto/errors/asset_error.proto\x1a;google/ads/googleads_v6/proto/errors/asset_link_error.proto\x1a?google/ads/googleads_v6/proto/errors/authentication_error.proto\x1a>google/ads/googleads_v6/proto/errors/authorization_error.proto\x1a:google/ads/googleads_v6/proto/errors/batch_job_error.proto\x1a\x38google/ads/googleads_v6/proto/errors/bidding_error.proto\x1a\x41google/ads/googleads_v6/proto/errors/bidding_strategy_error.proto\x1a>google/ads/googleads_v6/proto/errors/billing_setup_error.proto\x1a@google/ads/googleads_v6/proto/errors/campaign_budget_error.proto\x1a\x43google/ads/googleads_v6/proto/errors/campaign_criterion_error.proto\x1a?google/ads/googleads_v6/proto/errors/campaign_draft_error.proto\x1a\x39google/ads/googleads_v6/proto/errors/campaign_error.proto\x1a\x44google/ads/googleads_v6/proto/errors/campaign_experiment_error.proto\x1a>google/ads/googleads_v6/proto/errors/campaign_feed_error.proto\x1a\x44google/ads/googleads_v6/proto/errors/campaign_shared_set_error.proto\x1a=google/ads/googleads_v6/proto/errors/change_event_error.proto\x1a>google/ads/googleads_v6/proto/errors/change_status_error.proto\x1a@google/ads/googleads_v6/proto/errors/collection_size_error.proto\x1a\x38google/ads/googleads_v6/proto/errors/context_error.proto\x1a\x42google/ads/googleads_v6/proto/errors/conversion_action_error.proto\x1aMgoogle/ads/googleads_v6/proto/errors/conversion_adjustment_upload_error.proto\x1a\x42google/ads/googleads_v6/proto/errors/conversion_upload_error.proto\x1a=google/ads/googleads_v6/proto/errors/country_code_error.proto\x1a:google/ads/googleads_v6/proto/errors/criterion_error.proto\x1a>google/ads/googleads_v6/proto/errors/currency_code_error.proto\x1a@google/ads/googleads_v6/proto/errors/custom_audience_error.proto\x1a@google/ads/googleads_v6/proto/errors/custom_interest_error.proto\x1a\x45google/ads/googleads_v6/proto/errors/customer_client_link_error.proto\x1a\x39google/ads/googleads_v6/proto/errors/customer_error.proto\x1a>google/ads/googleads_v6/proto/errors/customer_feed_error.proto\x1a\x46google/ads/googleads_v6/proto/errors/customer_manager_link_error.proto\x1a\x45google/ads/googleads_v6/proto/errors/customer_user_access_error.proto\x1a\x39google/ads/googleads_v6/proto/errors/database_error.proto\x1a\x35google/ads/googleads_v6/proto/errors/date_error.proto\x1a;google/ads/googleads_v6/proto/errors/date_range_error.proto\x1a\x39google/ads/googleads_v6/proto/errors/distinct_error.proto\x1a\x35google/ads/googleads_v6/proto/errors/enum_error.proto\x1a\x44google/ads/googleads_v6/proto/errors/extension_feed_item_error.proto\x1a\x42google/ads/googleads_v6/proto/errors/extension_setting_error.proto\x1aIgoogle/ads/googleads_v6/proto/errors/feed_attribute_reference_error.proto\x1a\x35google/ads/googleads_v6/proto/errors/feed_error.proto\x1a:google/ads/googleads_v6/proto/errors/feed_item_error.proto\x1a>google/ads/googleads_v6/proto/errors/feed_item_set_error.proto\x1a\x43google/ads/googleads_v6/proto/errors/feed_item_set_link_error.proto\x1a\x41google/ads/googleads_v6/proto/errors/feed_item_target_error.proto\x1a\x45google/ads/googleads_v6/proto/errors/feed_item_validation_error.proto\x1a=google/ads/googleads_v6/proto/errors/feed_mapping_error.proto\x1a\x36google/ads/googleads_v6/proto/errors/field_error.proto\x1a;google/ads/googleads_v6/proto/errors/field_mask_error.proto\x1a\x39google/ads/googleads_v6/proto/errors/function_error.proto\x1a\x41google/ads/googleads_v6/proto/errors/function_parsing_error.proto\x1aOgoogle/ads/googleads_v6/proto/errors/geo_target_constant_suggestion_error.proto\x1a\x37google/ads/googleads_v6/proto/errors/header_error.proto\x1a\x33google/ads/googleads_v6/proto/errors/id_error.proto\x1a\x36google/ads/googleads_v6/proto/errors/image_error.proto\x1a\x39google/ads/googleads_v6/proto/errors/internal_error.proto\x1a\x38google/ads/googleads_v6/proto/errors/invoice_error.proto\x1a\x46google/ads/googleads_v6/proto/errors/keyword_plan_ad_group_error.proto\x1aNgoogle/ads/googleads_v6/proto/errors/keyword_plan_ad_group_keyword_error.proto\x1a\x46google/ads/googleads_v6/proto/errors/keyword_plan_campaign_error.proto\x1aNgoogle/ads/googleads_v6/proto/errors/keyword_plan_campaign_keyword_error.proto\x1a=google/ads/googleads_v6/proto/errors/keyword_plan_error.proto\x1a\x42google/ads/googleads_v6/proto/errors/keyword_plan_idea_error.proto\x1a\x36google/ads/googleads_v6/proto/errors/label_error.proto\x1a>google/ads/googleads_v6/proto/errors/language_code_error.proto\x1a?google/ads/googleads_v6/proto/errors/list_operation_error.proto\x1a=google/ads/googleads_v6/proto/errors/manager_link_error.proto\x1a=google/ads/googleads_v6/proto/errors/media_bundle_error.proto\x1a;google/ads/googleads_v6/proto/errors/media_file_error.proto\x1a=google/ads/googleads_v6/proto/errors/media_upload_error.proto\x1a;google/ads/googleads_v6/proto/errors/multiplier_error.proto\x1a\x37google/ads/googleads_v6/proto/errors/mutate_error.proto\x1a\x46google/ads/googleads_v6/proto/errors/new_resource_creation_error.proto\x1a@google/ads/googleads_v6/proto/errors/not_allowlisted_error.proto\x1a:google/ads/googleads_v6/proto/errors/not_empty_error.proto\x1a\x35google/ads/googleads_v6/proto/errors/null_error.proto\x1a\x46google/ads/googleads_v6/proto/errors/offline_user_data_job_error.proto\x1aHgoogle/ads/googleads_v6/proto/errors/operation_access_denied_error.proto\x1a\x39google/ads/googleads_v6/proto/errors/operator_error.proto\x1a@google/ads/googleads_v6/proto/errors/partial_failure_error.proto\x1a\x41google/ads/googleads_v6/proto/errors/payments_account_error.proto\x1a?google/ads/googleads_v6/proto/errors/policy_finding_error.proto\x1aLgoogle/ads/googleads_v6/proto/errors/policy_validation_parameter_error.proto\x1a\x41google/ads/googleads_v6/proto/errors/policy_violation_error.proto\x1a\x36google/ads/googleads_v6/proto/errors/query_error.proto\x1a\x36google/ads/googleads_v6/proto/errors/quota_error.proto\x1a\x36google/ads/googleads_v6/proto/errors/range_error.proto\x1a;google/ads/googleads_v6/proto/errors/reach_plan_error.proto\x1a?google/ads/googleads_v6/proto/errors/recommendation_error.proto\x1agoogle/ads/googleads_v6/proto/errors/string_format_error.proto\x1a>google/ads/googleads_v6/proto/errors/string_length_error.proto\x1aOgoogle/ads/googleads_v6/proto/errors/third_party_app_analytics_link_error.proto\x1a:google/ads/googleads_v6/proto/errors/time_zone_error.proto\x1a:google/ads/googleads_v6/proto/errors/url_field_error.proto\x1a:google/ads/googleads_v6/proto/errors/user_data_error.proto\x1a:google/ads/googleads_v6/proto/errors/user_list_error.proto\x1aKgoogle/ads/googleads_v6/proto/errors/youtube_video_registration_error.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/api/annotations.proto\"R\n\x10GoogleAdsFailure\x12>\n\x06\x65rrors\x18\x01 \x03(\x0b\x32..google.ads.googleads.v6.errors.GoogleAdsError\"\x98\x02\n\x0eGoogleAdsError\x12=\n\nerror_code\x18\x01 \x01(\x0b\x32).google.ads.googleads.v6.errors.ErrorCode\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x36\n\x07trigger\x18\x03 \x01(\x0b\x32%.google.ads.googleads.v6.common.Value\x12?\n\x08location\x18\x04 \x01(\x0b\x32-.google.ads.googleads.v6.errors.ErrorLocation\x12=\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32,.google.ads.googleads.v6.errors.ErrorDetails\"\x8d\x61\n\tErrorCode\x12V\n\rrequest_error\x18\x01 \x01(\x0e\x32=.google.ads.googleads.v6.errors.RequestErrorEnum.RequestErrorH\x00\x12o\n\x16\x62idding_strategy_error\x18\x02 \x01(\x0e\x32M.google.ads.googleads.v6.errors.BiddingStrategyErrorEnum.BiddingStrategyErrorH\x00\x12Z\n\x0furl_field_error\x18\x03 \x01(\x0e\x32?.google.ads.googleads.v6.errors.UrlFieldErrorEnum.UrlFieldErrorH\x00\x12i\n\x14list_operation_error\x18\x04 \x01(\x0e\x32I.google.ads.googleads.v6.errors.ListOperationErrorEnum.ListOperationErrorH\x00\x12P\n\x0bquery_error\x18\x05 \x01(\x0e\x32\x39.google.ads.googleads.v6.errors.QueryErrorEnum.QueryErrorH\x00\x12S\n\x0cmutate_error\x18\x07 \x01(\x0e\x32;.google.ads.googleads.v6.errors.MutateErrorEnum.MutateErrorH\x00\x12]\n\x10\x66ield_mask_error\x18\x08 \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.FieldMaskErrorEnum.FieldMaskErrorH\x00\x12h\n\x13\x61uthorization_error\x18\t \x01(\x0e\x32I.google.ads.googleads.v6.errors.AuthorizationErrorEnum.AuthorizationErrorH\x00\x12Y\n\x0einternal_error\x18\n \x01(\x0e\x32?.google.ads.googleads.v6.errors.InternalErrorEnum.InternalErrorH\x00\x12P\n\x0bquota_error\x18\x0b \x01(\x0e\x32\x39.google.ads.googleads.v6.errors.QuotaErrorEnum.QuotaErrorH\x00\x12G\n\x08\x61\x64_error\x18\x0c \x01(\x0e\x32\x33.google.ads.googleads.v6.errors.AdErrorEnum.AdErrorH\x00\x12W\n\x0e\x61\x64_group_error\x18\r \x01(\x0e\x32=.google.ads.googleads.v6.errors.AdGroupErrorEnum.AdGroupErrorH\x00\x12l\n\x15\x63\x61mpaign_budget_error\x18\x0e \x01(\x0e\x32K.google.ads.googleads.v6.errors.CampaignBudgetErrorEnum.CampaignBudgetErrorH\x00\x12Y\n\x0e\x63\x61mpaign_error\x18\x0f \x01(\x0e\x32?.google.ads.googleads.v6.errors.CampaignErrorEnum.CampaignErrorH\x00\x12k\n\x14\x61uthentication_error\x18\x11 \x01(\x0e\x32K.google.ads.googleads.v6.errors.AuthenticationErrorEnum.AuthenticationErrorH\x00\x12s\n\x18\x61\x64_group_criterion_error\x18\x12 \x01(\x0e\x32O.google.ads.googleads.v6.errors.AdGroupCriterionErrorEnum.AdGroupCriterionErrorH\x00\x12\x66\n\x13\x61\x64_customizer_error\x18\x13 \x01(\x0e\x32G.google.ads.googleads.v6.errors.AdCustomizerErrorEnum.AdCustomizerErrorH\x00\x12^\n\x11\x61\x64_group_ad_error\x18\x15 \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.AdGroupAdErrorEnum.AdGroupAdErrorH\x00\x12]\n\x10\x61\x64_sharing_error\x18\x18 \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.AdSharingErrorEnum.AdSharingErrorH\x00\x12J\n\tadx_error\x18\x19 \x01(\x0e\x32\x35.google.ads.googleads.v6.errors.AdxErrorEnum.AdxErrorH\x00\x12P\n\x0b\x61sset_error\x18k \x01(\x0e\x32\x39.google.ads.googleads.v6.errors.AssetErrorEnum.AssetErrorH\x00\x12V\n\rbidding_error\x18\x1a \x01(\x0e\x32=.google.ads.googleads.v6.errors.BiddingErrorEnum.BiddingErrorH\x00\x12u\n\x18\x63\x61mpaign_criterion_error\x18\x1d \x01(\x0e\x32Q.google.ads.googleads.v6.errors.CampaignCriterionErrorEnum.CampaignCriterionErrorH\x00\x12l\n\x15\x63ollection_size_error\x18\x1f \x01(\x0e\x32K.google.ads.googleads.v6.errors.CollectionSizeErrorEnum.CollectionSizeErrorH\x00\x12\x63\n\x12\x63ountry_code_error\x18m \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.CountryCodeErrorEnum.CountryCodeErrorH\x00\x12\\\n\x0f\x63riterion_error\x18 \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.CriterionErrorEnum.CriterionErrorH\x00\x12Y\n\x0e\x63ustomer_error\x18Z \x01(\x0e\x32?.google.ads.googleads.v6.errors.CustomerErrorEnum.CustomerErrorH\x00\x12M\n\ndate_error\x18! \x01(\x0e\x32\x37.google.ads.googleads.v6.errors.DateErrorEnum.DateErrorH\x00\x12]\n\x10\x64\x61te_range_error\x18\" \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.DateRangeErrorEnum.DateRangeErrorH\x00\x12Y\n\x0e\x64istinct_error\x18# \x01(\x0e\x32?.google.ads.googleads.v6.errors.DistinctErrorEnum.DistinctErrorH\x00\x12\x85\x01\n\x1e\x66\x65\x65\x64_attribute_reference_error\x18$ \x01(\x0e\x32[.google.ads.googleads.v6.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceErrorH\x00\x12Y\n\x0e\x66unction_error\x18% \x01(\x0e\x32?.google.ads.googleads.v6.errors.FunctionErrorEnum.FunctionErrorH\x00\x12o\n\x16\x66unction_parsing_error\x18& \x01(\x0e\x32M.google.ads.googleads.v6.errors.FunctionParsingErrorEnum.FunctionParsingErrorH\x00\x12G\n\x08id_error\x18\' \x01(\x0e\x32\x33.google.ads.googleads.v6.errors.IdErrorEnum.IdErrorH\x00\x12P\n\x0bimage_error\x18( \x01(\x0e\x32\x39.google.ads.googleads.v6.errors.ImageErrorEnum.ImageErrorH\x00\x12\x66\n\x13language_code_error\x18n \x01(\x0e\x32G.google.ads.googleads.v6.errors.LanguageCodeErrorEnum.LanguageCodeErrorH\x00\x12\x63\n\x12media_bundle_error\x18* \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.MediaBundleErrorEnum.MediaBundleErrorH\x00\x12\x63\n\x12media_upload_error\x18t \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.MediaUploadErrorEnum.MediaUploadErrorH\x00\x12]\n\x10media_file_error\x18V \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.MediaFileErrorEnum.MediaFileErrorH\x00\x12_\n\x10multiplier_error\x18, \x01(\x0e\x32\x43.google.ads.googleads.v6.errors.MultiplierErrorEnum.MultiplierErrorH\x00\x12|\n\x1bnew_resource_creation_error\x18- \x01(\x0e\x32U.google.ads.googleads.v6.errors.NewResourceCreationErrorEnum.NewResourceCreationErrorH\x00\x12Z\n\x0fnot_empty_error\x18. \x01(\x0e\x32?.google.ads.googleads.v6.errors.NotEmptyErrorEnum.NotEmptyErrorH\x00\x12M\n\nnull_error\x18/ \x01(\x0e\x32\x37.google.ads.googleads.v6.errors.NullErrorEnum.NullErrorH\x00\x12Y\n\x0eoperator_error\x18\x30 \x01(\x0e\x32?.google.ads.googleads.v6.errors.OperatorErrorEnum.OperatorErrorH\x00\x12P\n\x0brange_error\x18\x31 \x01(\x0e\x32\x39.google.ads.googleads.v6.errors.RangeErrorEnum.RangeErrorH\x00\x12k\n\x14recommendation_error\x18: \x01(\x0e\x32K.google.ads.googleads.v6.errors.RecommendationErrorEnum.RecommendationErrorH\x00\x12`\n\x11region_code_error\x18\x33 \x01(\x0e\x32\x43.google.ads.googleads.v6.errors.RegionCodeErrorEnum.RegionCodeErrorH\x00\x12V\n\rsetting_error\x18\x34 \x01(\x0e\x32=.google.ads.googleads.v6.errors.SettingErrorEnum.SettingErrorH\x00\x12\x66\n\x13string_format_error\x18\x35 \x01(\x0e\x32G.google.ads.googleads.v6.errors.StringFormatErrorEnum.StringFormatErrorH\x00\x12\x66\n\x13string_length_error\x18\x36 \x01(\x0e\x32G.google.ads.googleads.v6.errors.StringLengthErrorEnum.StringLengthErrorH\x00\x12\x82\x01\n\x1doperation_access_denied_error\x18\x37 \x01(\x0e\x32Y.google.ads.googleads.v6.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedErrorH\x00\x12\x7f\n\x1cresource_access_denied_error\x18\x38 \x01(\x0e\x32W.google.ads.googleads.v6.errors.ResourceAccessDeniedErrorEnum.ResourceAccessDeniedErrorH\x00\x12\x92\x01\n#resource_count_limit_exceeded_error\x18\x39 \x01(\x0e\x32\x63.google.ads.googleads.v6.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededErrorH\x00\x12\x8b\x01\n youtube_video_registration_error\x18u \x01(\x0e\x32_.google.ads.googleads.v6.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationErrorH\x00\x12z\n\x1b\x61\x64_group_bid_modifier_error\x18; \x01(\x0e\x32S.google.ads.googleads.v6.errors.AdGroupBidModifierErrorEnum.AdGroupBidModifierErrorH\x00\x12V\n\rcontext_error\x18< \x01(\x0e\x32=.google.ads.googleads.v6.errors.ContextErrorEnum.ContextErrorH\x00\x12P\n\x0b\x66ield_error\x18= \x01(\x0e\x32\x39.google.ads.googleads.v6.errors.FieldErrorEnum.FieldErrorH\x00\x12]\n\x10shared_set_error\x18> \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.SharedSetErrorEnum.SharedSetErrorH\x00\x12o\n\x16shared_criterion_error\x18? \x01(\x0e\x32M.google.ads.googleads.v6.errors.SharedCriterionErrorEnum.SharedCriterionErrorH\x00\x12v\n\x19\x63\x61mpaign_shared_set_error\x18@ \x01(\x0e\x32Q.google.ads.googleads.v6.errors.CampaignSharedSetErrorEnum.CampaignSharedSetErrorH\x00\x12r\n\x17\x63onversion_action_error\x18\x41 \x01(\x0e\x32O.google.ads.googleads.v6.errors.ConversionActionErrorEnum.ConversionActionErrorH\x00\x12\x91\x01\n\"conversion_adjustment_upload_error\x18s \x01(\x0e\x32\x63.google.ads.googleads.v6.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadErrorH\x00\x12r\n\x17\x63onversion_upload_error\x18o \x01(\x0e\x32O.google.ads.googleads.v6.errors.ConversionUploadErrorEnum.ConversionUploadErrorH\x00\x12S\n\x0cheader_error\x18\x42 \x01(\x0e\x32;.google.ads.googleads.v6.errors.HeaderErrorEnum.HeaderErrorH\x00\x12Y\n\x0e\x64\x61tabase_error\x18\x43 \x01(\x0e\x32?.google.ads.googleads.v6.errors.DatabaseErrorEnum.DatabaseErrorH\x00\x12i\n\x14policy_finding_error\x18\x44 \x01(\x0e\x32I.google.ads.googleads.v6.errors.PolicyFindingErrorEnum.PolicyFindingErrorH\x00\x12M\n\nenum_error\x18\x46 \x01(\x0e\x32\x37.google.ads.googleads.v6.errors.EnumErrorEnum.EnumErrorH\x00\x12\x63\n\x12keyword_plan_error\x18G \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.KeywordPlanErrorEnum.KeywordPlanErrorH\x00\x12|\n\x1bkeyword_plan_campaign_error\x18H \x01(\x0e\x32U.google.ads.googleads.v6.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignErrorH\x00\x12\x93\x01\n#keyword_plan_campaign_keyword_error\x18\x84\x01 \x01(\x0e\x32\x63.google.ads.googleads.v6.errors.KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordErrorH\x00\x12z\n\x1bkeyword_plan_ad_group_error\x18J \x01(\x0e\x32S.google.ads.googleads.v6.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupErrorH\x00\x12\x91\x01\n#keyword_plan_ad_group_keyword_error\x18\x85\x01 \x01(\x0e\x32\x61.google.ads.googleads.v6.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordErrorH\x00\x12p\n\x17keyword_plan_idea_error\x18L \x01(\x0e\x32M.google.ads.googleads.v6.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaErrorH\x00\x12\x82\x01\n\x1d\x61\x63\x63ount_budget_proposal_error\x18M \x01(\x0e\x32Y.google.ads.googleads.v6.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalErrorH\x00\x12Z\n\x0fuser_list_error\x18N \x01(\x0e\x32?.google.ads.googleads.v6.errors.UserListErrorEnum.UserListErrorH\x00\x12\x64\n\x12\x63hange_event_error\x18\x88\x01 \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.ChangeEventErrorEnum.ChangeEventErrorH\x00\x12\x66\n\x13\x63hange_status_error\x18O \x01(\x0e\x32G.google.ads.googleads.v6.errors.ChangeStatusErrorEnum.ChangeStatusErrorH\x00\x12M\n\nfeed_error\x18P \x01(\x0e\x32\x37.google.ads.googleads.v6.errors.FeedErrorEnum.FeedErrorH\x00\x12\x95\x01\n$geo_target_constant_suggestion_error\x18Q \x01(\x0e\x32\x65.google.ads.googleads.v6.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionErrorH\x00\x12i\n\x14\x63\x61mpaign_draft_error\x18R \x01(\x0e\x32I.google.ads.googleads.v6.errors.CampaignDraftErrorEnum.CampaignDraftErrorH\x00\x12Z\n\x0f\x66\x65\x65\x64_item_error\x18S \x01(\x0e\x32?.google.ads.googleads.v6.errors.FeedItemErrorEnum.FeedItemErrorH\x00\x12P\n\x0blabel_error\x18T \x01(\x0e\x32\x39.google.ads.googleads.v6.errors.LabelErrorEnum.LabelErrorH\x00\x12\x66\n\x13\x62illing_setup_error\x18W \x01(\x0e\x32G.google.ads.googleads.v6.errors.BillingSetupErrorEnum.BillingSetupErrorH\x00\x12y\n\x1a\x63ustomer_client_link_error\x18X \x01(\x0e\x32S.google.ads.googleads.v6.errors.CustomerClientLinkErrorEnum.CustomerClientLinkErrorH\x00\x12|\n\x1b\x63ustomer_manager_link_error\x18[ \x01(\x0e\x32U.google.ads.googleads.v6.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkErrorH\x00\x12\x63\n\x12\x66\x65\x65\x64_mapping_error\x18\\ \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.FeedMappingErrorEnum.FeedMappingErrorH\x00\x12\x66\n\x13\x63ustomer_feed_error\x18] \x01(\x0e\x32G.google.ads.googleads.v6.errors.CustomerFeedErrorEnum.CustomerFeedErrorH\x00\x12\x64\n\x13\x61\x64_group_feed_error\x18^ \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.AdGroupFeedErrorEnum.AdGroupFeedErrorH\x00\x12\x66\n\x13\x63\x61mpaign_feed_error\x18` \x01(\x0e\x32G.google.ads.googleads.v6.errors.CampaignFeedErrorEnum.CampaignFeedErrorH\x00\x12l\n\x15\x63ustom_interest_error\x18\x61 \x01(\x0e\x32K.google.ads.googleads.v6.errors.CustomInterestErrorEnum.CustomInterestErrorH\x00\x12x\n\x19\x63\x61mpaign_experiment_error\x18\x62 \x01(\x0e\x32S.google.ads.googleads.v6.errors.CampaignExperimentErrorEnum.CampaignExperimentErrorH\x00\x12v\n\x19\x65xtension_feed_item_error\x18\x64 \x01(\x0e\x32Q.google.ads.googleads.v6.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemErrorH\x00\x12\x63\n\x12\x61\x64_parameter_error\x18\x65 \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.AdParameterErrorEnum.AdParameterErrorH\x00\x12y\n\x1a\x66\x65\x65\x64_item_validation_error\x18\x66 \x01(\x0e\x32S.google.ads.googleads.v6.errors.FeedItemValidationErrorEnum.FeedItemValidationErrorH\x00\x12r\n\x17\x65xtension_setting_error\x18g \x01(\x0e\x32O.google.ads.googleads.v6.errors.ExtensionSettingErrorEnum.ExtensionSettingErrorH\x00\x12\x65\n\x13\x66\x65\x65\x64_item_set_error\x18\x8c\x01 \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.FeedItemSetErrorEnum.FeedItemSetErrorH\x00\x12r\n\x18\x66\x65\x65\x64_item_set_link_error\x18\x8d\x01 \x01(\x0e\x32M.google.ads.googleads.v6.errors.FeedItemSetLinkErrorEnum.FeedItemSetLinkErrorH\x00\x12m\n\x16\x66\x65\x65\x64_item_target_error\x18h \x01(\x0e\x32K.google.ads.googleads.v6.errors.FeedItemTargetErrorEnum.FeedItemTargetErrorH\x00\x12o\n\x16policy_violation_error\x18i \x01(\x0e\x32M.google.ads.googleads.v6.errors.PolicyViolationErrorEnum.PolicyViolationErrorH\x00\x12l\n\x15partial_failure_error\x18p \x01(\x0e\x32K.google.ads.googleads.v6.errors.PartialFailureErrorEnum.PartialFailureErrorH\x00\x12\x8e\x01\n!policy_validation_parameter_error\x18r \x01(\x0e\x32\x61.google.ads.googleads.v6.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterErrorH\x00\x12]\n\x10size_limit_error\x18v \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.SizeLimitErrorEnum.SizeLimitErrorH\x00\x12z\n\x1boffline_user_data_job_error\x18w \x01(\x0e\x32S.google.ads.googleads.v6.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobErrorH\x00\x12m\n\x15not_allowlisted_error\x18\x89\x01 \x01(\x0e\x32K.google.ads.googleads.v6.errors.NotAllowlistedErrorEnum.NotAllowlistedErrorH\x00\x12\x63\n\x12manager_link_error\x18y \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.ManagerLinkErrorEnum.ManagerLinkErrorH\x00\x12\x66\n\x13\x63urrency_code_error\x18z \x01(\x0e\x32G.google.ads.googleads.v6.errors.CurrencyCodeErrorEnum.CurrencyCodeErrorH\x00\x12r\n\x17\x61\x63\x63\x65ss_invitation_error\x18| \x01(\x0e\x32O.google.ads.googleads.v6.errors.AccessInvitationErrorEnum.AccessInvitationErrorH\x00\x12]\n\x10reach_plan_error\x18} \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.ReachPlanErrorEnum.ReachPlanErrorH\x00\x12V\n\rinvoice_error\x18~ \x01(\x0e\x32=.google.ads.googleads.v6.errors.InvoiceErrorEnum.InvoiceErrorH\x00\x12o\n\x16payments_account_error\x18\x7f \x01(\x0e\x32M.google.ads.googleads.v6.errors.PaymentsAccountErrorEnum.PaymentsAccountErrorH\x00\x12[\n\x0ftime_zone_error\x18\x80\x01 \x01(\x0e\x32?.google.ads.googleads.v6.errors.TimeZoneErrorEnum.TimeZoneErrorH\x00\x12^\n\x10\x61sset_link_error\x18\x81\x01 \x01(\x0e\x32\x41.google.ads.googleads.v6.errors.AssetLinkErrorEnum.AssetLinkErrorH\x00\x12[\n\x0fuser_data_error\x18\x82\x01 \x01(\x0e\x32?.google.ads.googleads.v6.errors.UserDataErrorEnum.UserDataErrorH\x00\x12[\n\x0f\x62\x61tch_job_error\x18\x83\x01 \x01(\x0e\x32?.google.ads.googleads.v6.errors.BatchJobErrorEnum.BatchJobErrorH\x00\x12\x64\n\x12\x61\x63\x63ount_link_error\x18\x86\x01 \x01(\x0e\x32\x45.google.ads.googleads.v6.errors.AccountLinkErrorEnum.AccountLinkErrorH\x00\x12\x94\x01\n$third_party_app_analytics_link_error\x18\x87\x01 \x01(\x0e\x32\x63.google.ads.googleads.v6.errors.ThirdPartyAppAnalyticsLinkErrorEnum.ThirdPartyAppAnalyticsLinkErrorH\x00\x12z\n\x1a\x63ustomer_user_access_error\x18\x8a\x01 \x01(\x0e\x32S.google.ads.googleads.v6.errors.CustomerUserAccessErrorEnum.CustomerUserAccessErrorH\x00\x12m\n\x15\x63ustom_audience_error\x18\x8b\x01 \x01(\x0e\x32K.google.ads.googleads.v6.errors.CustomAudienceErrorEnum.CustomAudienceErrorH\x00\x42\x0c\n\nerror_code\"\xb2\x01\n\rErrorLocation\x12[\n\x13\x66ield_path_elements\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v6.errors.ErrorLocation.FieldPathElement\x1a\x44\n\x10\x46ieldPathElement\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12\x12\n\x05index\x18\x03 \x01(\x05H\x00\x88\x01\x01\x42\x08\n\x06_index\"\xae\x02\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.v6.errors.PolicyViolationDetails\x12T\n\x16policy_finding_details\x18\x03 \x01(\x0b\x32\x34.google.ads.googleads.v6.errors.PolicyFindingDetails\x12N\n\x13quota_error_details\x18\x04 \x01(\x0b\x32\x31.google.ads.googleads.v6.errors.QuotaErrorDetails\"\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.v6.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.v6.common.PolicyTopicEntry\"\xf8\x01\n\x11QuotaErrorDetails\x12T\n\nrate_scope\x18\x01 \x01(\x0e\x32@.google.ads.googleads.v6.errors.QuotaErrorDetails.QuotaRateScope\x12\x11\n\trate_name\x18\x02 \x01(\t\x12.\n\x0bretry_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"J\n\x0eQuotaRateScope\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x41\x43\x43OUNT\x10\x02\x12\r\n\tDEVELOPER\x10\x03\x42\xe6\x01\n\"com.google.ads.googleads.v6.errorsB\x0b\x45rrorsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_value__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_access__invitation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_account__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__customizer__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__ad__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__group__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__parameter__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__sharing__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_adx__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_asset__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_asset__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_authentication__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_authorization__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_batch__job__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_bidding__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_bidding__strategy__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_billing__setup__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__budget__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__draft__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__experiment__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_change__event__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_change__status__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_collection__size__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_context__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_conversion__action__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_conversion__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_country__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_currency__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_custom__audience__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_custom__interest__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__client__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__manager__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__user__access__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_database__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_date__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_date__range__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_distinct__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_enum__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_extension__feed__item__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_extension__setting__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__set__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__set__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__target__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__validation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__mapping__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_field__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_field__mask__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_function__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_function__parsing__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_header__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_id__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_image__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_internal__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_invoice__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__ad__group__keyword__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__campaign__keyword__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_label__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_language__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_list__operation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_manager__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_media__bundle__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_media__file__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_media__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_multiplier__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_mutate__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_new__resource__creation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_not__allowlisted__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_not__empty__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_null__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_offline__user__data__job__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_operation__access__denied__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_operator__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_partial__failure__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_payments__account__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_policy__finding__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_policy__violation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_query__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_quota__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_range__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_reach__plan__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_recommendation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_region__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_request__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_resource__access__denied__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_setting__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_shared__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_shared__set__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_size__limit__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_string__format__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_string__length__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_third__party__app__analytics__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_time__zone__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_url__field__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_user__data__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_user__list__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_youtube__video__registration__error__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_QUOTAERRORDETAILS_QUOTARATESCOPE = _descriptor.EnumDescriptor( + name='QuotaRateScope', + full_name='google.ads.googleads.v6.errors.QuotaErrorDetails.QuotaRateScope', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACCOUNT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DEVELOPER', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=21587, + serialized_end=21661, +) +_sym_db.RegisterEnumDescriptor(_QUOTAERRORDETAILS_QUOTARATESCOPE) + + +_GOOGLEADSFAILURE = _descriptor.Descriptor( + name='GoogleAdsFailure', + full_name='google.ads.googleads.v6.errors.GoogleAdsFailure', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='errors', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7841, + serialized_end=7923, +) + + +_GOOGLEADSERROR = _descriptor.Descriptor( + name='GoogleAdsError', + full_name='google.ads.googleads.v6.errors.GoogleAdsError', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='error_code', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='message', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='trigger', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='location', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='details', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7926, + serialized_end=8206, +) + + +_ERRORCODE = _descriptor.Descriptor( + name='ErrorCode', + full_name='google.ads.googleads.v6.errors.ErrorCode', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='request_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bidding_strategy_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_field_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='list_operation_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='query_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mutate_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='field_mask_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='authorization_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='internal_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='quota_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_budget_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='authentication_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_criterion_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_customizer_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_ad_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_sharing_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='adx_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='asset_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bidding_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_criterion_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='collection_size_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country_code_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='criterion_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='customer_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='date_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='date_range_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='distinct_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_attribute_reference_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='function_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='function_parsing_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='image_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='language_code_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='media_bundle_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='media_upload_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='media_file_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='multiplier_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='new_resource_creation_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='not_empty_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='null_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='operator_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='range_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='recommendation_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='region_code_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='setting_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='string_format_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='string_length_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='operation_access_denied_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='resource_access_denied_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='resource_count_limit_exceeded_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='youtube_video_registration_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_bid_modifier_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='context_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='field_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shared_set_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shared_criterion_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_shared_set_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_action_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_adjustment_upload_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='conversion_upload_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='header_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='database_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='policy_finding_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='enum_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='keyword_plan_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='keyword_plan_campaign_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='keyword_plan_campaign_keyword_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='keyword_plan_ad_group_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='keyword_plan_ad_group_keyword_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='keyword_plan_idea_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='account_budget_proposal_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='user_list_error', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='change_event_error', full_name='google.ads.googleads.v6.errors.ErrorCode.change_event_error', index=75, + number=136, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='change_status_error', full_name='google.ads.googleads.v6.errors.ErrorCode.change_status_error', index=76, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_error', full_name='google.ads.googleads.v6.errors.ErrorCode.feed_error', index=77, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_constant_suggestion_error', full_name='google.ads.googleads.v6.errors.ErrorCode.geo_target_constant_suggestion_error', index=78, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_draft_error', full_name='google.ads.googleads.v6.errors.ErrorCode.campaign_draft_error', index=79, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_item_error', full_name='google.ads.googleads.v6.errors.ErrorCode.feed_item_error', index=80, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='label_error', full_name='google.ads.googleads.v6.errors.ErrorCode.label_error', index=81, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='billing_setup_error', full_name='google.ads.googleads.v6.errors.ErrorCode.billing_setup_error', index=82, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='customer_client_link_error', full_name='google.ads.googleads.v6.errors.ErrorCode.customer_client_link_error', index=83, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='customer_manager_link_error', full_name='google.ads.googleads.v6.errors.ErrorCode.customer_manager_link_error', index=84, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_mapping_error', full_name='google.ads.googleads.v6.errors.ErrorCode.feed_mapping_error', index=85, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='customer_feed_error', full_name='google.ads.googleads.v6.errors.ErrorCode.customer_feed_error', index=86, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_feed_error', full_name='google.ads.googleads.v6.errors.ErrorCode.ad_group_feed_error', index=87, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_feed_error', full_name='google.ads.googleads.v6.errors.ErrorCode.campaign_feed_error', index=88, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='custom_interest_error', full_name='google.ads.googleads.v6.errors.ErrorCode.custom_interest_error', index=89, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_experiment_error', full_name='google.ads.googleads.v6.errors.ErrorCode.campaign_experiment_error', index=90, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='extension_feed_item_error', full_name='google.ads.googleads.v6.errors.ErrorCode.extension_feed_item_error', index=91, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_parameter_error', full_name='google.ads.googleads.v6.errors.ErrorCode.ad_parameter_error', index=92, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_item_validation_error', full_name='google.ads.googleads.v6.errors.ErrorCode.feed_item_validation_error', index=93, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='extension_setting_error', full_name='google.ads.googleads.v6.errors.ErrorCode.extension_setting_error', index=94, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_item_set_error', full_name='google.ads.googleads.v6.errors.ErrorCode.feed_item_set_error', index=95, + number=140, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_item_set_link_error', full_name='google.ads.googleads.v6.errors.ErrorCode.feed_item_set_link_error', index=96, + number=141, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_item_target_error', full_name='google.ads.googleads.v6.errors.ErrorCode.feed_item_target_error', index=97, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='policy_violation_error', full_name='google.ads.googleads.v6.errors.ErrorCode.policy_violation_error', index=98, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='partial_failure_error', full_name='google.ads.googleads.v6.errors.ErrorCode.partial_failure_error', index=99, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='policy_validation_parameter_error', full_name='google.ads.googleads.v6.errors.ErrorCode.policy_validation_parameter_error', index=100, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='size_limit_error', full_name='google.ads.googleads.v6.errors.ErrorCode.size_limit_error', index=101, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='offline_user_data_job_error', full_name='google.ads.googleads.v6.errors.ErrorCode.offline_user_data_job_error', index=102, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='not_allowlisted_error', full_name='google.ads.googleads.v6.errors.ErrorCode.not_allowlisted_error', index=103, + number=137, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='manager_link_error', full_name='google.ads.googleads.v6.errors.ErrorCode.manager_link_error', index=104, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='currency_code_error', full_name='google.ads.googleads.v6.errors.ErrorCode.currency_code_error', index=105, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='access_invitation_error', full_name='google.ads.googleads.v6.errors.ErrorCode.access_invitation_error', index=106, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='reach_plan_error', full_name='google.ads.googleads.v6.errors.ErrorCode.reach_plan_error', index=107, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='invoice_error', full_name='google.ads.googleads.v6.errors.ErrorCode.invoice_error', index=108, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='payments_account_error', full_name='google.ads.googleads.v6.errors.ErrorCode.payments_account_error', index=109, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='time_zone_error', full_name='google.ads.googleads.v6.errors.ErrorCode.time_zone_error', index=110, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='asset_link_error', full_name='google.ads.googleads.v6.errors.ErrorCode.asset_link_error', index=111, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='user_data_error', full_name='google.ads.googleads.v6.errors.ErrorCode.user_data_error', index=112, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='batch_job_error', full_name='google.ads.googleads.v6.errors.ErrorCode.batch_job_error', index=113, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='account_link_error', full_name='google.ads.googleads.v6.errors.ErrorCode.account_link_error', index=114, + number=134, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='third_party_app_analytics_link_error', full_name='google.ads.googleads.v6.errors.ErrorCode.third_party_app_analytics_link_error', index=115, + number=135, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='customer_user_access_error', full_name='google.ads.googleads.v6.errors.ErrorCode.customer_user_access_error', index=116, + number=138, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='custom_audience_error', full_name='google.ads.googleads.v6.errors.ErrorCode.custom_audience_error', index=117, + number=139, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='error_code', full_name='google.ads.googleads.v6.errors.ErrorCode.error_code', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=8209, + serialized_end=20638, +) + + +_ERRORLOCATION_FIELDPATHELEMENT = _descriptor.Descriptor( + name='FieldPathElement', + full_name='google.ads.googleads.v6.errors.ErrorLocation.FieldPathElement', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='field_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='index', full_name='google.ads.googleads.v6.errors.ErrorLocation.FieldPathElement.index', index=1, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_index', full_name='google.ads.googleads.v6.errors.ErrorLocation.FieldPathElement._index', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=20751, + serialized_end=20819, +) + +_ERRORLOCATION = _descriptor.Descriptor( + name='ErrorLocation', + full_name='google.ads.googleads.v6.errors.ErrorLocation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='field_path_elements', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_ERRORLOCATION_FIELDPATHELEMENT, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=20641, + serialized_end=20819, +) + + +_ERRORDETAILS = _descriptor.Descriptor( + name='ErrorDetails', + full_name='google.ads.googleads.v6.errors.ErrorDetails', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='unpublished_error_code', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='policy_violation_details', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='policy_finding_details', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='quota_error_details', full_name='google.ads.googleads.v6.errors.ErrorDetails.quota_error_details', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=20822, + serialized_end=21124, +) + + +_POLICYVIOLATIONDETAILS = _descriptor.Descriptor( + name='PolicyViolationDetails', + full_name='google.ads.googleads.v6.errors.PolicyViolationDetails', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='external_policy_description', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='key', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='external_policy_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='is_exemptible', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21127, + serialized_end=21306, +) + + +_POLICYFINDINGDETAILS = _descriptor.Descriptor( + name='PolicyFindingDetails', + full_name='google.ads.googleads.v6.errors.PolicyFindingDetails', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='policy_topic_entries', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21308, + serialized_end=21410, +) + + +_QUOTAERRORDETAILS = _descriptor.Descriptor( + name='QuotaErrorDetails', + full_name='google.ads.googleads.v6.errors.QuotaErrorDetails', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='rate_scope', full_name='google.ads.googleads.v6.errors.QuotaErrorDetails.rate_scope', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='rate_name', full_name='google.ads.googleads.v6.errors.QuotaErrorDetails.rate_name', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='retry_delay', full_name='google.ads.googleads.v6.errors.QuotaErrorDetails.retry_delay', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _QUOTAERRORDETAILS_QUOTARATESCOPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=21413, + serialized_end=21661, +) + +_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__v6_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__v6_dot_proto_dot_errors_dot_request__error__pb2._REQUESTERRORENUM_REQUESTERROR +_ERRORCODE.fields_by_name['bidding_strategy_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_dot_proto_dot_errors_dot_list__operation__error__pb2._LISTOPERATIONERRORENUM_LISTOPERATIONERROR +_ERRORCODE.fields_by_name['query_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_query__error__pb2._QUERYERRORENUM_QUERYERROR +_ERRORCODE.fields_by_name['mutate_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_mutate__error__pb2._MUTATEERRORENUM_MUTATEERROR +_ERRORCODE.fields_by_name['field_mask_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_field__mask__error__pb2._FIELDMASKERRORENUM_FIELDMASKERROR +_ERRORCODE.fields_by_name['authorization_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_authorization__error__pb2._AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR +_ERRORCODE.fields_by_name['internal_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_internal__error__pb2._INTERNALERRORENUM_INTERNALERROR +_ERRORCODE.fields_by_name['quota_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_quota__error__pb2._QUOTAERRORENUM_QUOTAERROR +_ERRORCODE.fields_by_name['ad_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_ad__error__pb2._ADERRORENUM_ADERROR +_ERRORCODE.fields_by_name['ad_group_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_errors_dot_campaign__budget__error__pb2._CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR +_ERRORCODE.fields_by_name['campaign_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_campaign__error__pb2._CAMPAIGNERRORENUM_CAMPAIGNERROR +_ERRORCODE.fields_by_name['authentication_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_ad__sharing__error__pb2._ADSHARINGERRORENUM_ADSHARINGERROR +_ERRORCODE.fields_by_name['adx_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_adx__error__pb2._ADXERRORENUM_ADXERROR +_ERRORCODE.fields_by_name['asset_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_asset__error__pb2._ASSETERRORENUM_ASSETERROR +_ERRORCODE.fields_by_name['bidding_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_bidding__error__pb2._BIDDINGERRORENUM_BIDDINGERROR +_ERRORCODE.fields_by_name['campaign_criterion_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_dot_proto_dot_errors_dot_country__code__error__pb2._COUNTRYCODEERRORENUM_COUNTRYCODEERROR +_ERRORCODE.fields_by_name['criterion_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_criterion__error__pb2._CRITERIONERRORENUM_CRITERIONERROR +_ERRORCODE.fields_by_name['customer_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__error__pb2._CUSTOMERERRORENUM_CUSTOMERERROR +_ERRORCODE.fields_by_name['date_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_date__error__pb2._DATEERRORENUM_DATEERROR +_ERRORCODE.fields_by_name['date_range_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_date__range__error__pb2._DATERANGEERRORENUM_DATERANGEERROR +_ERRORCODE.fields_by_name['distinct_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_dot_proto_dot_errors_dot_function__error__pb2._FUNCTIONERRORENUM_FUNCTIONERROR +_ERRORCODE.fields_by_name['function_parsing_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_function__parsing__error__pb2._FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR +_ERRORCODE.fields_by_name['id_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_id__error__pb2._IDERRORENUM_IDERROR +_ERRORCODE.fields_by_name['image_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_image__error__pb2._IMAGEERRORENUM_IMAGEERROR +_ERRORCODE.fields_by_name['language_code_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_media__file__error__pb2._MEDIAFILEERRORENUM_MEDIAFILEERROR +_ERRORCODE.fields_by_name['multiplier_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_dot_proto_dot_errors_dot_not__empty__error__pb2._NOTEMPTYERRORENUM_NOTEMPTYERROR +_ERRORCODE.fields_by_name['null_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_null__error__pb2._NULLERRORENUM_NULLERROR +_ERRORCODE.fields_by_name['operator_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_operator__error__pb2._OPERATORERRORENUM_OPERATORERROR +_ERRORCODE.fields_by_name['range_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_range__error__pb2._RANGEERRORENUM_RANGEERROR +_ERRORCODE.fields_by_name['recommendation_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_recommendation__error__pb2._RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR +_ERRORCODE.fields_by_name['region_code_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_region__code__error__pb2._REGIONCODEERRORENUM_REGIONCODEERROR +_ERRORCODE.fields_by_name['setting_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_setting__error__pb2._SETTINGERRORENUM_SETTINGERROR +_ERRORCODE.fields_by_name['string_format_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_context__error__pb2._CONTEXTERRORENUM_CONTEXTERROR +_ERRORCODE.fields_by_name['field_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_field__error__pb2._FIELDERRORENUM_FIELDERROR +_ERRORCODE.fields_by_name['shared_set_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_conversion__upload__error__pb2._CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR +_ERRORCODE.fields_by_name['header_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_header__error__pb2._HEADERERRORENUM_HEADERERROR +_ERRORCODE.fields_by_name['database_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_database__error__pb2._DATABASEERRORENUM_DATABASEERROR +_ERRORCODE.fields_by_name['policy_finding_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_policy__finding__error__pb2._POLICYFINDINGERRORENUM_POLICYFINDINGERROR +_ERRORCODE.fields_by_name['enum_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_enum__error__pb2._ENUMERRORENUM_ENUMERROR +_ERRORCODE.fields_by_name['keyword_plan_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_user__list__error__pb2._USERLISTERRORENUM_USERLISTERROR +_ERRORCODE.fields_by_name['change_event_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_change__event__error__pb2._CHANGEEVENTERRORENUM_CHANGEEVENTERROR +_ERRORCODE.fields_by_name['change_status_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_change__status__error__pb2._CHANGESTATUSERRORENUM_CHANGESTATUSERROR +_ERRORCODE.fields_by_name['feed_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_feed__item__error__pb2._FEEDITEMERRORENUM_FEEDITEMERROR +_ERRORCODE.fields_by_name['label_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_label__error__pb2._LABELERRORENUM_LABELERROR +_ERRORCODE.fields_by_name['billing_setup_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_extension__setting__error__pb2._EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR +_ERRORCODE.fields_by_name['feed_item_set_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__set__error__pb2._FEEDITEMSETERRORENUM_FEEDITEMSETERROR +_ERRORCODE.fields_by_name['feed_item_set_link_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_feed__item__set__link__error__pb2._FEEDITEMSETLINKERRORENUM_FEEDITEMSETLINKERROR +_ERRORCODE.fields_by_name['feed_item_target_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_offline__user__data__job__error__pb2._OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR +_ERRORCODE.fields_by_name['not_allowlisted_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_not__allowlisted__error__pb2._NOTALLOWLISTEDERRORENUM_NOTALLOWLISTEDERROR +_ERRORCODE.fields_by_name['manager_link_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_reach__plan__error__pb2._REACHPLANERRORENUM_REACHPLANERROR +_ERRORCODE.fields_by_name['invoice_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_invoice__error__pb2._INVOICEERRORENUM_INVOICEERROR +_ERRORCODE.fields_by_name['payments_account_error'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_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__v6_dot_proto_dot_errors_dot_batch__job__error__pb2._BATCHJOBERRORENUM_BATCHJOBERROR +_ERRORCODE.fields_by_name['account_link_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_account__link__error__pb2._ACCOUNTLINKERRORENUM_ACCOUNTLINKERROR +_ERRORCODE.fields_by_name['third_party_app_analytics_link_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_third__party__app__analytics__link__error__pb2._THIRDPARTYAPPANALYTICSLINKERRORENUM_THIRDPARTYAPPANALYTICSLINKERROR +_ERRORCODE.fields_by_name['customer_user_access_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_customer__user__access__error__pb2._CUSTOMERUSERACCESSERRORENUM_CUSTOMERUSERACCESSERROR +_ERRORCODE.fields_by_name['custom_audience_error'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_errors_dot_custom__audience__error__pb2._CUSTOMAUDIENCEERRORENUM_CUSTOMAUDIENCEERROR +_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'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['bidding_strategy_error']) +_ERRORCODE.fields_by_name['bidding_strategy_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['url_field_error']) +_ERRORCODE.fields_by_name['url_field_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['list_operation_error']) +_ERRORCODE.fields_by_name['list_operation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['query_error']) +_ERRORCODE.fields_by_name['query_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['mutate_error']) +_ERRORCODE.fields_by_name['mutate_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['field_mask_error']) +_ERRORCODE.fields_by_name['field_mask_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['authorization_error']) +_ERRORCODE.fields_by_name['authorization_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['internal_error']) +_ERRORCODE.fields_by_name['internal_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['quota_error']) +_ERRORCODE.fields_by_name['quota_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['ad_error']) +_ERRORCODE.fields_by_name['ad_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['ad_group_error']) +_ERRORCODE.fields_by_name['ad_group_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['campaign_budget_error']) +_ERRORCODE.fields_by_name['campaign_budget_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['campaign_error']) +_ERRORCODE.fields_by_name['campaign_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['authentication_error']) +_ERRORCODE.fields_by_name['authentication_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['ad_group_criterion_error']) +_ERRORCODE.fields_by_name['ad_group_criterion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['ad_customizer_error']) +_ERRORCODE.fields_by_name['ad_customizer_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['ad_group_ad_error']) +_ERRORCODE.fields_by_name['ad_group_ad_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['ad_sharing_error']) +_ERRORCODE.fields_by_name['ad_sharing_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['adx_error']) +_ERRORCODE.fields_by_name['adx_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['asset_error']) +_ERRORCODE.fields_by_name['asset_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['bidding_error']) +_ERRORCODE.fields_by_name['bidding_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['campaign_criterion_error']) +_ERRORCODE.fields_by_name['campaign_criterion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['collection_size_error']) +_ERRORCODE.fields_by_name['collection_size_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['country_code_error']) +_ERRORCODE.fields_by_name['country_code_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['criterion_error']) +_ERRORCODE.fields_by_name['criterion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['customer_error']) +_ERRORCODE.fields_by_name['customer_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['date_error']) +_ERRORCODE.fields_by_name['date_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['date_range_error']) +_ERRORCODE.fields_by_name['date_range_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['distinct_error']) +_ERRORCODE.fields_by_name['distinct_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['feed_attribute_reference_error']) +_ERRORCODE.fields_by_name['feed_attribute_reference_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['function_error']) +_ERRORCODE.fields_by_name['function_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['function_parsing_error']) +_ERRORCODE.fields_by_name['function_parsing_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['id_error']) +_ERRORCODE.fields_by_name['id_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['image_error']) +_ERRORCODE.fields_by_name['image_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['language_code_error']) +_ERRORCODE.fields_by_name['language_code_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['media_bundle_error']) +_ERRORCODE.fields_by_name['media_bundle_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['media_upload_error']) +_ERRORCODE.fields_by_name['media_upload_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['media_file_error']) +_ERRORCODE.fields_by_name['media_file_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['multiplier_error']) +_ERRORCODE.fields_by_name['multiplier_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['new_resource_creation_error']) +_ERRORCODE.fields_by_name['new_resource_creation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['not_empty_error']) +_ERRORCODE.fields_by_name['not_empty_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['null_error']) +_ERRORCODE.fields_by_name['null_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['operator_error']) +_ERRORCODE.fields_by_name['operator_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['range_error']) +_ERRORCODE.fields_by_name['range_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['recommendation_error']) +_ERRORCODE.fields_by_name['recommendation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['region_code_error']) +_ERRORCODE.fields_by_name['region_code_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['setting_error']) +_ERRORCODE.fields_by_name['setting_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['string_format_error']) +_ERRORCODE.fields_by_name['string_format_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['string_length_error']) +_ERRORCODE.fields_by_name['string_length_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['operation_access_denied_error']) +_ERRORCODE.fields_by_name['operation_access_denied_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['resource_access_denied_error']) +_ERRORCODE.fields_by_name['resource_access_denied_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['resource_count_limit_exceeded_error']) +_ERRORCODE.fields_by_name['resource_count_limit_exceeded_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['youtube_video_registration_error']) +_ERRORCODE.fields_by_name['youtube_video_registration_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['ad_group_bid_modifier_error']) +_ERRORCODE.fields_by_name['ad_group_bid_modifier_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['context_error']) +_ERRORCODE.fields_by_name['context_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['field_error']) +_ERRORCODE.fields_by_name['field_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['shared_set_error']) +_ERRORCODE.fields_by_name['shared_set_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['shared_criterion_error']) +_ERRORCODE.fields_by_name['shared_criterion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['campaign_shared_set_error']) +_ERRORCODE.fields_by_name['campaign_shared_set_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['conversion_action_error']) +_ERRORCODE.fields_by_name['conversion_action_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['conversion_adjustment_upload_error']) +_ERRORCODE.fields_by_name['conversion_adjustment_upload_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['conversion_upload_error']) +_ERRORCODE.fields_by_name['conversion_upload_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['header_error']) +_ERRORCODE.fields_by_name['header_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['database_error']) +_ERRORCODE.fields_by_name['database_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['policy_finding_error']) +_ERRORCODE.fields_by_name['policy_finding_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['enum_error']) +_ERRORCODE.fields_by_name['enum_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['keyword_plan_error']) +_ERRORCODE.fields_by_name['keyword_plan_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _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_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_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'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['account_budget_proposal_error']) +_ERRORCODE.fields_by_name['account_budget_proposal_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['user_list_error']) +_ERRORCODE.fields_by_name['user_list_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['change_event_error']) +_ERRORCODE.fields_by_name['change_event_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['change_status_error']) +_ERRORCODE.fields_by_name['change_status_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['feed_error']) +_ERRORCODE.fields_by_name['feed_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['geo_target_constant_suggestion_error']) +_ERRORCODE.fields_by_name['geo_target_constant_suggestion_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['campaign_draft_error']) +_ERRORCODE.fields_by_name['campaign_draft_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['feed_item_error']) +_ERRORCODE.fields_by_name['feed_item_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['label_error']) +_ERRORCODE.fields_by_name['label_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['billing_setup_error']) +_ERRORCODE.fields_by_name['billing_setup_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['customer_client_link_error']) +_ERRORCODE.fields_by_name['customer_client_link_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['customer_manager_link_error']) +_ERRORCODE.fields_by_name['customer_manager_link_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['feed_mapping_error']) +_ERRORCODE.fields_by_name['feed_mapping_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['customer_feed_error']) +_ERRORCODE.fields_by_name['customer_feed_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['ad_group_feed_error']) +_ERRORCODE.fields_by_name['ad_group_feed_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['campaign_feed_error']) +_ERRORCODE.fields_by_name['campaign_feed_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['custom_interest_error']) +_ERRORCODE.fields_by_name['custom_interest_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['campaign_experiment_error']) +_ERRORCODE.fields_by_name['campaign_experiment_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['extension_feed_item_error']) +_ERRORCODE.fields_by_name['extension_feed_item_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['ad_parameter_error']) +_ERRORCODE.fields_by_name['ad_parameter_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['feed_item_validation_error']) +_ERRORCODE.fields_by_name['feed_item_validation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['extension_setting_error']) +_ERRORCODE.fields_by_name['extension_setting_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['feed_item_set_error']) +_ERRORCODE.fields_by_name['feed_item_set_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['feed_item_set_link_error']) +_ERRORCODE.fields_by_name['feed_item_set_link_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['feed_item_target_error']) +_ERRORCODE.fields_by_name['feed_item_target_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_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['partial_failure_error']) +_ERRORCODE.fields_by_name['partial_failure_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['policy_validation_parameter_error']) +_ERRORCODE.fields_by_name['policy_validation_parameter_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_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_allowlisted_error']) +_ERRORCODE.fields_by_name['not_allowlisted_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'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['account_link_error']) +_ERRORCODE.fields_by_name['account_link_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['third_party_app_analytics_link_error']) +_ERRORCODE.fields_by_name['third_party_app_analytics_link_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['customer_user_access_error']) +_ERRORCODE.fields_by_name['customer_user_access_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['custom_audience_error']) +_ERRORCODE.fields_by_name['custom_audience_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORLOCATION_FIELDPATHELEMENT.containing_type = _ERRORLOCATION +_ERRORLOCATION_FIELDPATHELEMENT.oneofs_by_name['_index'].fields.append( + _ERRORLOCATION_FIELDPATHELEMENT.fields_by_name['index']) +_ERRORLOCATION_FIELDPATHELEMENT.fields_by_name['index'].containing_oneof = _ERRORLOCATION_FIELDPATHELEMENT.oneofs_by_name['_index'] +_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 +_ERRORDETAILS.fields_by_name['quota_error_details'].message_type = _QUOTAERRORDETAILS +_POLICYVIOLATIONDETAILS.fields_by_name['key'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2._POLICYVIOLATIONKEY +_POLICYFINDINGDETAILS.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY +_QUOTAERRORDETAILS.fields_by_name['rate_scope'].enum_type = _QUOTAERRORDETAILS_QUOTARATESCOPE +_QUOTAERRORDETAILS.fields_by_name['retry_delay'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION +_QUOTAERRORDETAILS_QUOTARATESCOPE.containing_type = _QUOTAERRORDETAILS +DESCRIPTOR.message_types_by_name['GoogleAdsFailure'] = _GOOGLEADSFAILURE +DESCRIPTOR.message_types_by_name['GoogleAdsError'] = _GOOGLEADSERROR +DESCRIPTOR.message_types_by_name['ErrorCode'] = _ERRORCODE +DESCRIPTOR.message_types_by_name['ErrorLocation'] = _ERRORLOCATION +DESCRIPTOR.message_types_by_name['ErrorDetails'] = _ERRORDETAILS +DESCRIPTOR.message_types_by_name['PolicyViolationDetails'] = _POLICYVIOLATIONDETAILS +DESCRIPTOR.message_types_by_name['PolicyFindingDetails'] = _POLICYFINDINGDETAILS +DESCRIPTOR.message_types_by_name['QuotaErrorDetails'] = _QUOTAERRORDETAILS +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GoogleAdsFailure = _reflection.GeneratedProtocolMessageType('GoogleAdsFailure', (_message.Message,), { + 'DESCRIPTOR' : _GOOGLEADSFAILURE, + '__module__' : 'google.ads.googleads_v6.proto.errors.errors_pb2' + , + '__doc__': """Describes how a GoogleAds API call failed. It's returned inside + google.rpc.Status.details when a call fails. + + Attributes: + errors: + The list of errors that occurred. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.GoogleAdsFailure) + }) +_sym_db.RegisterMessage(GoogleAdsFailure) + +GoogleAdsError = _reflection.GeneratedProtocolMessageType('GoogleAdsError', (_message.Message,), { + 'DESCRIPTOR' : _GOOGLEADSERROR, + '__module__' : 'google.ads.googleads_v6.proto.errors.errors_pb2' + , + '__doc__': """GoogleAds-specific error. + + Attributes: + error_code: + An enum value that indicates which error occurred. + message: + A human-readable description of the error. + trigger: + The value that triggered the error. + location: + Describes the part of the request proto that caused the error. + details: + 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.v6.errors.GoogleAdsError) + }) +_sym_db.RegisterMessage(GoogleAdsError) + +ErrorCode = _reflection.GeneratedProtocolMessageType('ErrorCode', (_message.Message,), { + 'DESCRIPTOR' : _ERRORCODE, + '__module__' : 'google.ads.googleads_v6.proto.errors.errors_pb2' + , + '__doc__': """The error reason represented by type and enum. + + Attributes: + error_code: + The list of error enums + request_error: + An error caused by the request + bidding_strategy_error: + An error with a Bidding Strategy mutate. + url_field_error: + An error with a URL field mutate. + list_operation_error: + An error with a list operation. + query_error: + An error with an AWQL query + mutate_error: + An error with a mutate + field_mask_error: + An error with a field mask + authorization_error: + An error encountered when trying to authorize a user. + internal_error: + An unexpected server-side error. + quota_error: + An error with the amonut of quota remaining. + ad_error: + An error with an Ad Group Ad mutate. + ad_group_error: + An error with an Ad Group mutate. + campaign_budget_error: + An error with a Campaign Budget mutate. + campaign_error: + An error with a Campaign mutate. + authentication_error: + Indicates failure to properly authenticate user. + ad_group_criterion_error: + Indicates failure to properly authenticate user. + ad_customizer_error: + The reasons for the ad customizer error + ad_group_ad_error: + The reasons for the ad group ad error + ad_sharing_error: + The reasons for the ad sharing error + adx_error: + The reasons for the adx error + asset_error: + The reasons for the asset error + bidding_error: + The reasons for the bidding errors + campaign_criterion_error: + The reasons for the campaign criterion error + collection_size_error: + The reasons for the collection size error + country_code_error: + The reasons for the country code error + criterion_error: + The reasons for the criterion error + customer_error: + The reasons for the customer error + date_error: + The reasons for the date error + date_range_error: + The reasons for the date range error + distinct_error: + The reasons for the distinct error + feed_attribute_reference_error: + The reasons for the feed attribute reference error + function_error: + The reasons for the function error + function_parsing_error: + The reasons for the function parsing error + id_error: + The reasons for the id error + image_error: + The reasons for the image error + language_code_error: + The reasons for the language code error + media_bundle_error: + The reasons for the media bundle error + media_upload_error: + The reasons for media uploading errors. + media_file_error: + The reasons for the media file error + multiplier_error: + The reasons for the multiplier error + new_resource_creation_error: + The reasons for the new resource creation error + not_empty_error: + The reasons for the not empty error + null_error: + The reasons for the null error + operator_error: + The reasons for the operator error + range_error: + The reasons for the range error + recommendation_error: + The reasons for error in applying a recommendation + region_code_error: + The reasons for the region code error + setting_error: + The reasons for the setting error + string_format_error: + The reasons for the string format error + string_length_error: + The reasons for the string length error + operation_access_denied_error: + The reasons for the operation access denied error + resource_access_denied_error: + The reasons for the resource access denied error + resource_count_limit_exceeded_error: + The reasons for the resource count limit exceeded error + youtube_video_registration_error: + The reasons for YouTube video registration errors. + ad_group_bid_modifier_error: + The reasons for the ad group bid modifier error + context_error: + The reasons for the context error + field_error: + The reasons for the field error + shared_set_error: + The reasons for the shared set error + shared_criterion_error: + The reasons for the shared criterion error + campaign_shared_set_error: + The reasons for the campaign shared set error + conversion_action_error: + The reasons for the conversion action error + conversion_adjustment_upload_error: + The reasons for the conversion adjustment upload error + conversion_upload_error: + The reasons for the conversion upload error + header_error: + The reasons for the header error. + database_error: + The reasons for the database error. + policy_finding_error: + The reasons for the policy finding error. + enum_error: + The reason for enum error. + keyword_plan_error: + The reason for keyword plan error. + keyword_plan_campaign_error: + The reason for keyword plan campaign 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_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: + The reasons for account budget proposal errors. + user_list_error: + The reasons for the user list error + change_event_error: + The reasons for the change event error + change_status_error: + The reasons for the change status error + feed_error: + The reasons for the feed error + geo_target_constant_suggestion_error: + The reasons for the geo target constant suggestion error. + campaign_draft_error: + The reasons for the campaign draft error + feed_item_error: + The reasons for the feed item error + label_error: + The reason for the label error. + billing_setup_error: + The reasons for the billing setup error + customer_client_link_error: + The reasons for the customer client link error + customer_manager_link_error: + The reasons for the customer manager link error + feed_mapping_error: + The reasons for the feed mapping error + customer_feed_error: + The reasons for the customer feed error + ad_group_feed_error: + The reasons for the ad group feed error + campaign_feed_error: + The reasons for the campaign feed error + custom_interest_error: + The reasons for the custom interest error + campaign_experiment_error: + The reasons for the campaign experiment error + extension_feed_item_error: + The reasons for the extension feed item error + ad_parameter_error: + The reasons for the ad parameter error + feed_item_validation_error: + The reasons for the feed item validation error + extension_setting_error: + The reasons for the extension setting error + feed_item_set_error: + The reasons for the feed item set error + feed_item_set_link_error: + The reasons for the feed item set link error + feed_item_target_error: + The reasons for the feed item target error + policy_violation_error: + The reasons for the policy violation 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_allowlisted_error: + The reasons for the not allowlisted 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 + account_link_error: + The reasons for the account link status change error + third_party_app_analytics_link_error: + The reasons for the third party app analytics link mutate + error + customer_user_access_error: + The reasons for the customer user access mutate error + custom_audience_error: + The reasons for the custom audience error + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ErrorCode) + }) +_sym_db.RegisterMessage(ErrorCode) + +ErrorLocation = _reflection.GeneratedProtocolMessageType('ErrorLocation', (_message.Message,), { + + 'FieldPathElement' : _reflection.GeneratedProtocolMessageType('FieldPathElement', (_message.Message,), { + 'DESCRIPTOR' : _ERRORLOCATION_FIELDPATHELEMENT, + '__module__' : 'google.ads.googleads_v6.proto.errors.errors_pb2' + , + '__doc__': """A part of a field path. + + Attributes: + field_name: + The name of a field or a oneof + index: + If field\_name is a repeated field, this is the element that + failed + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ErrorLocation.FieldPathElement) + }) + , + 'DESCRIPTOR' : _ERRORLOCATION, + '__module__' : 'google.ads.googleads_v6.proto.errors.errors_pb2' + , + '__doc__': """Describes the part of the request proto that caused the error. + + Attributes: + field_path_elements: + A field path that indicates which field was invalid in the + request. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ErrorLocation) + }) +_sym_db.RegisterMessage(ErrorLocation) +_sym_db.RegisterMessage(ErrorLocation.FieldPathElement) + +ErrorDetails = _reflection.GeneratedProtocolMessageType('ErrorDetails', (_message.Message,), { + 'DESCRIPTOR' : _ERRORDETAILS, + '__module__' : 'google.ads.googleads_v6.proto.errors.errors_pb2' + , + '__doc__': """Additional error details. + + Attributes: + unpublished_error_code: + The error code that should have been returned, but wasn't. + 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. + quota_error_details: + Details on the quota error, including the scope (account or + developer), the rate bucket name and the retry delay. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ErrorDetails) + }) +_sym_db.RegisterMessage(ErrorDetails) + +PolicyViolationDetails = _reflection.GeneratedProtocolMessageType('PolicyViolationDetails', (_message.Message,), { + 'DESCRIPTOR' : _POLICYVIOLATIONDETAILS, + '__module__' : 'google.ads.googleads_v6.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. + + Attributes: + external_policy_description: + Human readable description of policy violation. + key: + Unique identifier for this violation. If policy is exemptible, + this key may be used to request exemption. + external_policy_name: + Human readable name of the policy. + is_exemptible: + Whether user can file an exemption request for this violation. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.PolicyViolationDetails) + }) +_sym_db.RegisterMessage(PolicyViolationDetails) + +PolicyFindingDetails = _reflection.GeneratedProtocolMessageType('PolicyFindingDetails', (_message.Message,), { + 'DESCRIPTOR' : _POLICYFINDINGDETAILS, + '__module__' : 'google.ads.googleads_v6.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. + + Attributes: + policy_topic_entries: + The list of policy topics for the resource. Contains the + PROHIBITED or FULLY\_LIMITED policy topic entries that + prevented the resource from being saved (among any other + entries the resource may also have). + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.PolicyFindingDetails) + }) +_sym_db.RegisterMessage(PolicyFindingDetails) + +QuotaErrorDetails = _reflection.GeneratedProtocolMessageType('QuotaErrorDetails', (_message.Message,), { + 'DESCRIPTOR' : _QUOTAERRORDETAILS, + '__module__' : 'google.ads.googleads_v6.proto.errors.errors_pb2' + , + '__doc__': """Additional quota error details when there is QuotaError. + + Attributes: + rate_scope: + The rate scope of the quota limit. + rate_name: + The high level description of the quota bucket. Examples are + "Get requests for standard access" or "Requests per account". + retry_delay: + Backoff period that customers should wait before sending next + request. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.QuotaErrorDetails) + }) +_sym_db.RegisterMessage(QuotaErrorDetails) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/errors_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/errors_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/errors_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/extension_feed_item_error_pb2.py b/google/ads/google_ads/v6/proto/errors/extension_feed_item_error_pb2.py new file mode 100644 index 000000000..4b5064ad0 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/extension_feed_item_error_pb2.py @@ -0,0 +1,320 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/extension_feed_item_error.proto + +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_v6/proto/errors/extension_feed_item_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\033ExtensionFeedItemErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/errors/extension_feed_item_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xf6\r\n\x1a\x45xtensionFeedItemErrorEnum\"\xd7\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_ON_ALLOWLIST_FOR_CALLTRACKING\x10/\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.v6.errorsB\x1b\x45xtensionFeedItemErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR = _descriptor.EnumDescriptor( + name='ExtensionFeedItemError', + full_name='google.ads.googleads.v6.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VALUE_OUT_OF_RANGE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_LIST_TOO_LONG', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_WITH_FINAL_URLS', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_WITHOUT_FINAL_URLS', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PHONE_NUMBER', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PREMIUM_RATE_NUMBER_NOT_ALLOWED', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISALLOWED_NUMBER_TYPE', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VANITY_PHONE_NUMBER_NOT_ALLOWED', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CALL_CONVERSION_ACTION', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING', index=15, number=47, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_APP_ID', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUOTES_IN_REVIEW_EXTENSION_SNIPPET', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HYPHENS_IN_REVIEW_EXTENSION_SNIPPET', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REVIEW_EXTENSION_SOURCE_INELIGIBLE', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCONSISTENT_CURRENCY_CODES', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_EXTENSION_HAS_DUPLICATED_HEADERS', index=24, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION', index=25, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_EXTENSION_HAS_TOO_FEW_ITEMS', index=26, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_EXTENSION_HAS_TOO_MANY_ITEMS', index=27, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_VALUE', index=28, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE', index=29, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DEVICE_PREFERENCE', index=30, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_SCHEDULE_END', index=31, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE', index=32, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_SNIPPETS_HEADER', index=33, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_OPERATE_ON_REMOVED_FEED_ITEM', index=34, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY', index=35, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONFLICTING_CALL_CONVERSION_SETTINGS', index=36, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTENSION_TYPE_MISMATCH', index=37, number=37, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTENSION_SUBTYPE_REQUIRED', index=38, number=38, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTENSION_TYPE_UNSUPPORTED', index=39, number=39, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS', index=40, number=40, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES', index=41, number=41, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PRICE_FORMAT', index=42, number=42, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION_INVALID_TIME', index=43, number=43, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_DECIMAL_PLACES_SPECIFIED', index=44, number=44, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONCRETE_EXTENSION_TYPE_REQUIRED', index=45, number=45, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SCHEDULE_END_NOT_AFTER_START', index=46, number=46, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=166, + serialized_end=1917, +) +_sym_db.RegisterEnumDescriptor(_EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR) + + +_EXTENSIONFEEDITEMERRORENUM = _descriptor.Descriptor( + name='ExtensionFeedItemErrorEnum', + full_name='google.ads.googleads.v6.errors.ExtensionFeedItemErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=135, + serialized_end=1917, +) + +_EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR.containing_type = _EXTENSIONFEEDITEMERRORENUM +DESCRIPTOR.message_types_by_name['ExtensionFeedItemErrorEnum'] = _EXTENSIONFEEDITEMERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ExtensionFeedItemErrorEnum = _reflection.GeneratedProtocolMessageType('ExtensionFeedItemErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _EXTENSIONFEEDITEMERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.ExtensionFeedItemErrorEnum) + }) +_sym_db.RegisterMessage(ExtensionFeedItemErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/extension_feed_item_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/extension_feed_item_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/extension_feed_item_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/extension_setting_error_pb2.py b/google/ads/google_ads/v6/proto/errors/extension_setting_error_pb2.py new file mode 100644 index 000000000..3a586f1f8 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/extension_setting_error_pb2.py @@ -0,0 +1,420 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/extension_setting_error.proto + +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_v6/proto/errors/extension_setting_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\032ExtensionSettingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/errors/extension_setting_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xae\x14\n\x19\x45xtensionSettingErrorEnum\"\x90\x14\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_IN_ALLOWLIST_FOR_CALLTRACKING\x10\x45\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\x12\x13\n\x0f\x44ISALLOWED_TEXT\x10\x44\x42\xf5\x01\n\"com.google.ads.googleads.v6.errorsB\x1a\x45xtensionSettingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR = _descriptor.EnumDescriptor( + name='ExtensionSettingError', + full_name='google.ads.googleads.v6.errors.ExtensionSettingErrorEnum.ExtensionSettingError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTENSIONS_REQUIRED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_TYPE_EXTENSION_TYPE_MISMATCH', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FEED_TYPE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CHANGE_FEED_ITEM_ON_CREATE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_UPDATE_NEWLY_CREATED_EXTENSION', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VALUE_OUT_OF_RANGE', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_FIELD_WITH_FINAL_URLS', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_URLS_NOT_SET', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PHONE_NUMBER', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PREMIUM_RATE_NUMBER_NOT_ALLOWED', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISALLOWED_NUMBER_TYPE', index=24, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', index=25, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VANITY_PHONE_NUMBER_NOT_ALLOWED', index=26, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_COUNTRY_CODE', index=27, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CALL_CONVERSION_TYPE_ID', index=28, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING', index=29, number=69, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=30, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_APP_ID', index=31, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUOTES_IN_REVIEW_EXTENSION_SNIPPET', index=32, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HYPHENS_IN_REVIEW_EXTENSION_SNIPPET', index=33, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE', index=34, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT', index=35, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_FIELD', index=36, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCONSISTENT_CURRENCY_CODES', index=37, number=37, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_EXTENSION_HAS_DUPLICATED_HEADERS', index=38, number=38, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION', index=39, number=39, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_EXTENSION_HAS_TOO_FEW_ITEMS', index=40, number=40, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_EXTENSION_HAS_TOO_MANY_ITEMS', index=41, number=41, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_VALUE', index=42, number=42, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DEVICE_PREFERENCE', index=43, number=43, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_SCHEDULE_END', index=44, number=45, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE', index=45, number=47, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OVERLAPPING_SCHEDULES_NOT_ALLOWED', index=46, number=48, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SCHEDULE_END_NOT_AFTER_START', index=47, number=49, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_SCHEDULES_PER_DAY', index=48, number=50, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_EXTENSION_FEED_ITEM_EDIT', index=49, number=51, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_SNIPPETS_HEADER', index=50, number=52, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY', index=51, number=53, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_TARGETING_MISMATCH', index=52, number=54, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_OPERATE_ON_REMOVED_FEED', index=53, number=55, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTENSION_TYPE_REQUIRED', index=54, number=56, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION', index=55, number=57, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='START_DATE_AFTER_END_DATE', index=56, number=58, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PRICE_FORMAT', index=57, number=59, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION_INVALID_TIME', index=58, number=60, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT', index=59, number=61, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT', index=60, number=62, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_DECIMAL_PLACES_SPECIFIED', index=61, number=63, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LANGUAGE_CODE', index=62, number=64, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_LANGUAGE', index=63, number=65, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', index=64, number=66, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTENSION_SETTING_UPDATE_IS_A_NOOP', index=65, number=67, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISALLOWED_TEXT', index=66, number=68, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=163, + serialized_end=2739, +) +_sym_db.RegisterEnumDescriptor(_EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR) + + +_EXTENSIONSETTINGERRORENUM = _descriptor.Descriptor( + name='ExtensionSettingErrorEnum', + full_name='google.ads.googleads.v6.errors.ExtensionSettingErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=133, + serialized_end=2739, +) + +_EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR.containing_type = _EXTENSIONSETTINGERRORENUM +DESCRIPTOR.message_types_by_name['ExtensionSettingErrorEnum'] = _EXTENSIONSETTINGERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ExtensionSettingErrorEnum = _reflection.GeneratedProtocolMessageType('ExtensionSettingErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _EXTENSIONSETTINGERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.extension_setting_error_pb2' + , + '__doc__': """Container for enum describing validation errors of extension settings.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ExtensionSettingErrorEnum) + }) +_sym_db.RegisterMessage(ExtensionSettingErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/extension_setting_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/extension_setting_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/extension_setting_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/feed_attribute_reference_error_pb2.py b/google/ads/google_ads/v6/proto/errors/feed_attribute_reference_error_pb2.py new file mode 100644 index 000000000..73efa6f98 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_attribute_reference_error_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/feed_attribute_reference_error.proto + +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_v6/proto/errors/feed_attribute_reference_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB FeedAttributeReferenceErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nIgoogle/ads/googleads_v6/proto/errors/feed_attribute_reference_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB FeedAttributeReferenceErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR = _descriptor.EnumDescriptor( + name='FeedAttributeReferenceError', + full_name='google.ads.googleads.v6.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_REFERENCE_REMOVED_FEED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FEED_NAME', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FEED_ATTRIBUTE_NAME', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=176, + serialized_end=326, +) +_sym_db.RegisterEnumDescriptor(_FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR) + + +_FEEDATTRIBUTEREFERENCEERRORENUM = _descriptor.Descriptor( + name='FeedAttributeReferenceErrorEnum', + full_name='google.ads.googleads.v6.errors.FeedAttributeReferenceErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=140, + serialized_end=326, +) + +_FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR.containing_type = _FEEDATTRIBUTEREFERENCEERRORENUM +DESCRIPTOR.message_types_by_name['FeedAttributeReferenceErrorEnum'] = _FEEDATTRIBUTEREFERENCEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedAttributeReferenceErrorEnum = _reflection.GeneratedProtocolMessageType('FeedAttributeReferenceErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDATTRIBUTEREFERENCEERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.FeedAttributeReferenceErrorEnum) + }) +_sym_db.RegisterMessage(FeedAttributeReferenceErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/feed_attribute_reference_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/feed_attribute_reference_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_attribute_reference_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/feed_error_pb2.py b/google/ads/google_ads/v6/proto/errors/feed_error_pb2.py new file mode 100644 index 000000000..91ca48587 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_error_pb2.py @@ -0,0 +1,205 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/feed_error.proto + +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_v6/proto/errors/feed_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\016FeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/errors/feed_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0e\x46\x65\x65\x64\x45rrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDERRORENUM_FEEDERROR = _descriptor.EnumDescriptor( + name='FeedError', + full_name='google.ads.googleads.v6.errors.FeedErrorEnum.FeedError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ATTRIBUTE_NAMES_NOT_UNIQUE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_REMOVED', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ORIGIN_VALUE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ORIGIN_IS_NOT_USER', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_AUTH_TOKEN_FOR_EMAIL', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_EMAIL', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_FEED_NAME', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FEED_NAME', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_OAUTH_INFO', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_ATTRIBUTES', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_BUSINESS_ACCOUNT', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_AFFILIATE_CHAIN_ID', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_SYSTEM_FEED', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GMB_ACCESS_ERROR', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=138, + serialized_end=958, +) +_sym_db.RegisterEnumDescriptor(_FEEDERRORENUM_FEEDERROR) + + +_FEEDERRORENUM = _descriptor.Descriptor( + name='FeedErrorEnum', + full_name='google.ads.googleads.v6.errors.FeedErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDERRORENUM_FEEDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=120, + serialized_end=958, +) + +_FEEDERRORENUM_FEEDERROR.containing_type = _FEEDERRORENUM +DESCRIPTOR.message_types_by_name['FeedErrorEnum'] = _FEEDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedErrorEnum = _reflection.GeneratedProtocolMessageType('FeedErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.feed_error_pb2' + , + '__doc__': """Container for enum describing possible feed errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.FeedErrorEnum) + }) +_sym_db.RegisterMessage(FeedErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/feed_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/feed_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_error_pb2.py b/google/ads/google_ads/v6/proto/errors/feed_item_error_pb2.py new file mode 100644 index 000000000..91c3d7a45 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_error_pb2.py @@ -0,0 +1,140 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/feed_item_error.proto + +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_v6/proto/errors/feed_item_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022FeedItemErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/errors/feed_item_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12\x46\x65\x65\x64ItemErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMERRORENUM_FEEDITEMERROR = _descriptor.EnumDescriptor( + name='FeedItemError', + full_name='google.ads.googleads.v6.errors.FeedItemErrorEnum.FeedItemError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_OPERATE_ON_REMOVED_FEED_ITEM', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='KEY_ATTRIBUTES_NOT_FOUND', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_URL', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_KEY_ATTRIBUTES', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='KEY_ATTRIBUTES_NOT_UNIQUE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=147, + serialized_end=516, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMERRORENUM_FEEDITEMERROR) + + +_FEEDITEMERRORENUM = _descriptor.Descriptor( + name='FeedItemErrorEnum', + full_name='google.ads.googleads.v6.errors.FeedItemErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMERRORENUM_FEEDITEMERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=125, + serialized_end=516, +) + +_FEEDITEMERRORENUM_FEEDITEMERROR.containing_type = _FEEDITEMERRORENUM +DESCRIPTOR.message_types_by_name['FeedItemErrorEnum'] = _FEEDITEMERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.feed_item_error_pb2' + , + '__doc__': """Container for enum describing possible feed item errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.FeedItemErrorEnum) + }) +_sym_db.RegisterMessage(FeedItemErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/feed_item_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_set_error_pb2.py b/google/ads/google_ads/v6/proto/errors/feed_item_set_error_pb2.py new file mode 100644 index 000000000..be368ebba --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_set_error_pb2.py @@ -0,0 +1,125 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/feed_item_set_error.proto + +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_v6/proto/errors/feed_item_set_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025FeedItemSetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/errors/feed_item_set_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xfa\x01\n\x14\x46\x65\x65\x64ItemSetErrorEnum\"\xe1\x01\n\x10\x46\x65\x65\x64ItemSetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x19\n\x15\x46\x45\x45\x44_ITEM_SET_REMOVED\x10\x02\x12\x1f\n\x1b\x43\x41NNOT_CLEAR_DYNAMIC_FILTER\x10\x03\x12 \n\x1c\x43\x41NNOT_CREATE_DYNAMIC_FILTER\x10\x04\x12\x15\n\x11INVALID_FEED_TYPE\x10\x05\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x06\x12&\n\"WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE\x10\x07\x42\xf0\x01\n\"com.google.ads.googleads.v6.errorsB\x15\x46\x65\x65\x64ItemSetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMSETERRORENUM_FEEDITEMSETERROR = _descriptor.EnumDescriptor( + name='FeedItemSetError', + full_name='google.ads.googleads.v6.errors.FeedItemSetErrorEnum.FeedItemSetError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ITEM_SET_REMOVED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CLEAR_DYNAMIC_FILTER', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_DYNAMIC_FILTER', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FEED_TYPE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_NAME', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=154, + serialized_end=379, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMSETERRORENUM_FEEDITEMSETERROR) + + +_FEEDITEMSETERRORENUM = _descriptor.Descriptor( + name='FeedItemSetErrorEnum', + full_name='google.ads.googleads.v6.errors.FeedItemSetErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMSETERRORENUM_FEEDITEMSETERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=379, +) + +_FEEDITEMSETERRORENUM_FEEDITEMSETERROR.containing_type = _FEEDITEMSETERRORENUM +DESCRIPTOR.message_types_by_name['FeedItemSetErrorEnum'] = _FEEDITEMSETERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemSetErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemSetErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMSETERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.feed_item_set_error_pb2' + , + '__doc__': """Container for enum describing possible feed item set errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.FeedItemSetErrorEnum) + }) +_sym_db.RegisterMessage(FeedItemSetErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_set_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/feed_item_set_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_set_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_set_link_error_pb2.py b/google/ads/google_ads/v6/proto/errors/feed_item_set_link_error_pb2.py new file mode 100644 index 000000000..c4bf40fad --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_set_link_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/feed_item_set_link_error.proto + +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_v6/proto/errors/feed_item_set_link_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\031FeedItemSetLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/errors/feed_item_set_link_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\x8d\x01\n\x18\x46\x65\x65\x64ItemSetLinkErrorEnum\"q\n\x14\x46\x65\x65\x64ItemSetLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x14\n\x10\x46\x45\x45\x44_ID_MISMATCH\x10\x02\x12%\n!NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET\x10\x03\x42\xf4\x01\n\"com.google.ads.googleads.v6.errorsB\x19\x46\x65\x65\x64ItemSetLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMSETLINKERRORENUM_FEEDITEMSETLINKERROR = _descriptor.EnumDescriptor( + name='FeedItemSetLinkError', + full_name='google.ads.googleads.v6.errors.FeedItemSetLinkErrorEnum.FeedItemSetLinkError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ID_MISMATCH', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=162, + serialized_end=275, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMSETLINKERRORENUM_FEEDITEMSETLINKERROR) + + +_FEEDITEMSETLINKERRORENUM = _descriptor.Descriptor( + name='FeedItemSetLinkErrorEnum', + full_name='google.ads.googleads.v6.errors.FeedItemSetLinkErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMSETLINKERRORENUM_FEEDITEMSETLINKERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=275, +) + +_FEEDITEMSETLINKERRORENUM_FEEDITEMSETLINKERROR.containing_type = _FEEDITEMSETLINKERRORENUM +DESCRIPTOR.message_types_by_name['FeedItemSetLinkErrorEnum'] = _FEEDITEMSETLINKERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemSetLinkErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemSetLinkErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMSETLINKERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.feed_item_set_link_error_pb2' + , + '__doc__': """Container for enum describing possible feed item set link errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.FeedItemSetLinkErrorEnum) + }) +_sym_db.RegisterMessage(FeedItemSetLinkErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_set_link_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/feed_item_set_link_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_set_link_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2.py b/google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2.py new file mode 100644 index 000000000..915b8fd2f --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2.py @@ -0,0 +1,135 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/feed_item_target_error.proto + +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_v6/proto/errors/feed_item_target_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\030FeedItemTargetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/errors/feed_item_target_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x18\x46\x65\x65\x64ItemTargetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR = _descriptor.EnumDescriptor( + name='FeedItemTargetError', + full_name='google.ads.googleads.v6.errors.FeedItemTargetErrorEnum.FeedItemTargetError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MUST_SET_TARGET_ONEOF_ON_CREATE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ITEM_TARGET_ALREADY_EXISTS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ITEM_SCHEDULES_CANNOT_OVERLAP', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_SCHEDULES_PER_DAY', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_AD_SCHEDULE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_KEYWORD', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=160, + serialized_end=512, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR) + + +_FEEDITEMTARGETERRORENUM = _descriptor.Descriptor( + name='FeedItemTargetErrorEnum', + full_name='google.ads.googleads.v6.errors.FeedItemTargetErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=512, +) + +_FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR.containing_type = _FEEDITEMTARGETERRORENUM +DESCRIPTOR.message_types_by_name['FeedItemTargetErrorEnum'] = _FEEDITEMTARGETERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemTargetErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMTARGETERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.FeedItemTargetErrorEnum) + }) +_sym_db.RegisterMessage(FeedItemTargetErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_validation_error_pb2.py b/google/ads/google_ads/v6/proto/errors/feed_item_validation_error_pb2.py new file mode 100644 index 000000000..1fa2e2549 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_validation_error_pb2.py @@ -0,0 +1,581 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/feed_item_validation_error.proto + +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_v6/proto/errors/feed_item_validation_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\034FeedItemValidationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nEgoogle/ads/googleads_v6/proto/errors/feed_item_validation_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xe8\x19\n\x1b\x46\x65\x65\x64ItemValidationErrorEnum\"\xc8\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_IN_ALLOWLIST_FOR_CALLTRACKING\x10\x63\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.v6.errorsB\x1c\x46\x65\x65\x64ItemValidationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR = _descriptor.EnumDescriptor( + name='FeedItemValidationError', + full_name='google.ads.googleads.v6.errors.FeedItemValidationErrorEnum.FeedItemValidationError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRING_TOO_SHORT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRING_TOO_LONG', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VALUE_NOT_SPECIFIED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PHONE_NUMBER', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PREMIUM_RATE_NUMBER_NOT_ALLOWED', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DISALLOWED_NUMBER_TYPE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VALUE_OUT_OF_RANGE', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING', index=12, number=99, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_COUNTRY_CODE', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_APP_ID', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_ATTRIBUTES_FOR_FIELDS', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TYPE_ID', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_EMAIL_ADDRESS', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_HTTPS_URL', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_DELIVERY_ADDRESS', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='START_DATE_AFTER_END_DATE', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_FEED_ITEM_START_TIME', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_FEED_ITEM_END_TIME', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_FEED_ITEM_ID', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VANITY_PHONE_NUMBER_NOT_ALLOWED', index=24, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_REVIEW_EXTENSION_SNIPPET', index=25, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_NUMBER_FORMAT', index=26, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DATE_FORMAT', index=27, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PRICE_FORMAT', index=28, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN_PLACEHOLDER_FIELD', index=29, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE', index=30, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REVIEW_EXTENSION_SOURCE_INELIGIBLE', index=31, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='HYPHENS_IN_REVIEW_EXTENSION_SNIPPET', index=32, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET', index=33, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUOTES_IN_REVIEW_EXTENSION_SNIPPET', index=34, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FORM_ENCODED_PARAMS', index=35, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_URL_PARAMETER_NAME', index=36, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_GEOCODING_RESULT', index=37, number=37, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT', index=38, number=38, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', index=39, number=39, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PLACEHOLDER_FIELD_ID', index=40, number=40, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_URL_TAG', index=41, number=41, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LIST_TOO_LONG', index=42, number=42, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ATTRIBUTES_COMBINATION', index=43, number=43, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_VALUES', index=44, number=44, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CALL_CONVERSION_ACTION_ID', index=45, number=45, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_WITHOUT_FINAL_URLS', index=46, number=46, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APP_ID_DOESNT_EXIST_IN_APP_STORE', index=47, number=47, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FINAL_URL', index=48, number=48, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TRACKING_URL', index=49, number=49, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL', index=50, number=50, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LIST_TOO_SHORT', index=51, number=51, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_USER_ACTION', index=52, number=52, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TYPE_NAME', index=53, number=53, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_EVENT_CHANGE_STATUS', index=54, number=54, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_SNIPPETS_HEADER', index=55, number=55, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ANDROID_APP_LINK', index=56, number=56, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', index=57, number=57, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESERVED_KEYWORD_OTHER', index=58, number=58, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_OPTION_LABELS', index=59, number=59, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_OPTION_PREFILLS', index=60, number=60, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNEQUAL_LIST_LENGTHS', index=61, number=61, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCONSISTENT_CURRENCY_CODES', index=62, number=62, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_EXTENSION_HAS_DUPLICATED_HEADERS', index=63, number=63, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION', index=64, number=64, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PRICE_EXTENSION_HAS_TOO_FEW_ITEMS', index=65, number=65, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_VALUE', index=66, number=66, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FINAL_MOBILE_URL', index=67, number=67, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_KEYWORDLESS_AD_RULE_LABEL', index=68, number=68, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VALUE_TRACK_PARAMETER_NOT_SUPPORTED', index=69, number=69, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE', index=70, number=70, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_IOS_APP_LINK', index=71, number=71, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID', index=72, number=72, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION_INVALID_TIME', index=73, number=73, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF', index=74, number=74, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT', index=75, number=75, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_DECIMAL_PLACES_SPECIFIED', index=76, number=76, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AD_CUSTOMIZERS_NOT_ALLOWED', index=77, number=77, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LANGUAGE_CODE', index=78, number=78, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_LANGUAGE', index=79, number=79, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IF_FUNCTION_NOT_ALLOWED', index=80, number=80, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FINAL_URL_SUFFIX', index=81, number=81, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TAG_IN_FINAL_URL_SUFFIX', index=82, number=82, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FINAL_URL_SUFFIX_FORMAT', index=83, number=83, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', index=84, number=84, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED', index=85, number=85, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_DELIVERY_OPTION_IS_SET', index=86, number=86, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CONVERSION_REPORTING_STATE', index=87, number=87, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_SIZE_WRONG', index=88, number=88, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY', index=89, number=89, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY', index=90, number=90, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LATITUDE_VALUE', index=91, number=91, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LONGITUDE_VALUE', index=92, number=92, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_LABELS', index=93, number=93, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_IMAGE_URL', index=94, number=94, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_LATITUDE_VALUE', index=95, number=95, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_LONGITUDE_VALUE', index=96, number=96, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADDRESS_NOT_FOUND', index=97, number=97, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADDRESS_NOT_TARGETABLE', index=98, number=98, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=168, + serialized_end=3440, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR) + + +_FEEDITEMVALIDATIONERRORENUM = _descriptor.Descriptor( + name='FeedItemValidationErrorEnum', + full_name='google.ads.googleads.v6.errors.FeedItemValidationErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=136, + serialized_end=3440, +) + +_FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR.containing_type = _FEEDITEMVALIDATIONERRORENUM +DESCRIPTOR.message_types_by_name['FeedItemValidationErrorEnum'] = _FEEDITEMVALIDATIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemValidationErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemValidationErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDITEMVALIDATIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.FeedItemValidationErrorEnum) + }) +_sym_db.RegisterMessage(FeedItemValidationErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/feed_item_validation_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/feed_item_validation_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_item_validation_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/feed_mapping_error_pb2.py b/google/ads/google_ads/v6/proto/errors/feed_mapping_error_pb2.py new file mode 100644 index 000000000..cef68cb15 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_mapping_error_pb2.py @@ -0,0 +1,180 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/feed_mapping_error.proto + +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_v6/proto/errors/feed_mapping_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025FeedMappingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/errors/feed_mapping_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x15\x46\x65\x65\x64MappingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR = _descriptor.EnumDescriptor( + name='FeedMappingError', + full_name='google.ads.googleads.v6.errors.FeedMappingErrorEnum.FeedMappingError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PLACEHOLDER_FIELD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CRITERION_FIELD', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PLACEHOLDER_TYPE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CRITERION_TYPE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_ATTRIBUTE_FIELD_MAPPINGS', index=6, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ATTRIBUTE_TYPE_MISMATCH', index=7, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE', index=9, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE', index=10, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD', index=11, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD', index=12, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS', index=13, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS', index=14, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED', index=15, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED', index=16, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE', index=17, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD', index=18, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=914, +) +_sym_db.RegisterEnumDescriptor(_FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR) + + +_FEEDMAPPINGERRORENUM = _descriptor.Descriptor( + name='FeedMappingErrorEnum', + full_name='google.ads.googleads.v6.errors.FeedMappingErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=914, +) + +_FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR.containing_type = _FEEDMAPPINGERRORENUM +DESCRIPTOR.message_types_by_name['FeedMappingErrorEnum'] = _FEEDMAPPINGERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedMappingErrorEnum = _reflection.GeneratedProtocolMessageType('FeedMappingErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FEEDMAPPINGERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.feed_mapping_error_pb2' + , + '__doc__': """Container for enum describing possible feed item errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.FeedMappingErrorEnum) + }) +_sym_db.RegisterMessage(FeedMappingErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/feed_mapping_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/feed_mapping_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/feed_mapping_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/field_error_pb2.py b/google/ads/google_ads/v6/proto/errors/field_error_pb2.py new file mode 100644 index 000000000..622f4fa5f --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/field_error_pb2.py @@ -0,0 +1,130 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/field_error.proto + +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_v6/proto/errors/field_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\017FieldErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/errors/field_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xd8\x01\n\x0e\x46ieldErrorEnum\"\xc5\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\x11\n\rBLOCKED_VALUE\x10\tB\xea\x01\n\"com.google.ads.googleads.v6.errorsB\x0f\x46ieldErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FIELDERRORENUM_FIELDERROR = _descriptor.EnumDescriptor( + name='FieldError', + full_name='google.ads.googleads.v6.errors.FieldErrorEnum.FieldError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REQUIRED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMMUTABLE_FIELD', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_VALUE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VALUE_MUST_BE_UNSET', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REQUIRED_NONEMPTY_LIST', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_CANNOT_BE_CLEARED', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BLOCKED_VALUE', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=140, + serialized_end=337, +) +_sym_db.RegisterEnumDescriptor(_FIELDERRORENUM_FIELDERROR) + + +_FIELDERRORENUM = _descriptor.Descriptor( + name='FieldErrorEnum', + full_name='google.ads.googleads.v6.errors.FieldErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FIELDERRORENUM_FIELDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=121, + serialized_end=337, +) + +_FIELDERRORENUM_FIELDERROR.containing_type = _FIELDERRORENUM +DESCRIPTOR.message_types_by_name['FieldErrorEnum'] = _FIELDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FieldErrorEnum = _reflection.GeneratedProtocolMessageType('FieldErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FIELDERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.field_error_pb2' + , + '__doc__': """Container for enum describing possible field errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.FieldErrorEnum) + }) +_sym_db.RegisterMessage(FieldErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/field_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/field_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/field_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/field_mask_error_pb2.py b/google/ads/google_ads/v6/proto/errors/field_mask_error_pb2.py new file mode 100644 index 000000000..4d5f7b014 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/field_mask_error_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/field_mask_error.proto + +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_v6/proto/errors/field_mask_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023FieldMaskErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/errors/field_mask_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x13\x46ieldMaskErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FIELDMASKERRORENUM_FIELDMASKERROR = _descriptor.EnumDescriptor( + name='FieldMaskError', + full_name='google.ads.googleads.v6.errors.FieldMaskErrorEnum.FieldMaskError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_MASK_MISSING', index=2, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_MASK_NOT_ALLOWED', index=3, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_NOT_FOUND', index=4, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_HAS_SUBFIELDS', index=5, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=149, + serialized_end=293, +) +_sym_db.RegisterEnumDescriptor(_FIELDMASKERRORENUM_FIELDMASKERROR) + + +_FIELDMASKERRORENUM = _descriptor.Descriptor( + name='FieldMaskErrorEnum', + full_name='google.ads.googleads.v6.errors.FieldMaskErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FIELDMASKERRORENUM_FIELDMASKERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=293, +) + +_FIELDMASKERRORENUM_FIELDMASKERROR.containing_type = _FIELDMASKERRORENUM +DESCRIPTOR.message_types_by_name['FieldMaskErrorEnum'] = _FIELDMASKERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FieldMaskErrorEnum = _reflection.GeneratedProtocolMessageType('FieldMaskErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FIELDMASKERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.field_mask_error_pb2' + , + '__doc__': """Container for enum describing possible field mask errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.FieldMaskErrorEnum) + }) +_sym_db.RegisterMessage(FieldMaskErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/field_mask_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/field_mask_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/field_mask_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/function_error_pb2.py b/google/ads/google_ads/v6/proto/errors/function_error_pb2.py new file mode 100644 index 000000000..09afbb51b --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/function_error_pb2.py @@ -0,0 +1,175 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/function_error.proto + +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_v6/proto/errors/function_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022FunctionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/errors/function_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12\x46unctionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FUNCTIONERRORENUM_FUNCTIONERROR = _descriptor.EnumDescriptor( + name='FunctionError', + full_name='google.ads.googleads.v6.errors.FunctionErrorEnum.FunctionError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FUNCTION_FORMAT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATA_TYPE_MISMATCH', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CONJUNCTION_OPERANDS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_NUMBER_OF_OPERANDS', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_OPERAND_TYPE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_OPERATOR', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_REQUEST_CONTEXT_TYPE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FUNCTION_FOR_CALL_PLACEHOLDER', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FUNCTION_FOR_PLACEHOLDER', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_OPERAND', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_CONSTANT_OPERAND_VALUE', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CONSTANT_OPERAND_VALUE', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_NESTING', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLE_FEED_IDS_NOT_SUPPORTED', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ATTRIBUTE_NAME', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=146, + serialized_end=701, +) +_sym_db.RegisterEnumDescriptor(_FUNCTIONERRORENUM_FUNCTIONERROR) + + +_FUNCTIONERRORENUM = _descriptor.Descriptor( + name='FunctionErrorEnum', + full_name='google.ads.googleads.v6.errors.FunctionErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FUNCTIONERRORENUM_FUNCTIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=701, +) + +_FUNCTIONERRORENUM_FUNCTIONERROR.containing_type = _FUNCTIONERRORENUM +DESCRIPTOR.message_types_by_name['FunctionErrorEnum'] = _FUNCTIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FunctionErrorEnum = _reflection.GeneratedProtocolMessageType('FunctionErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FUNCTIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.function_error_pb2' + , + '__doc__': """Container for enum describing possible function errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.FunctionErrorEnum) + }) +_sym_db.RegisterMessage(FunctionErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/function_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/function_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/function_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/function_parsing_error_pb2.py b/google/ads/google_ads/v6/proto/errors/function_parsing_error_pb2.py new file mode 100644 index 000000000..4753d94d3 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/function_parsing_error_pb2.py @@ -0,0 +1,150 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/function_parsing_error.proto + +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_v6/proto/errors/function_parsing_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\031FunctionParsingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/errors/function_parsing_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x19\x46unctionParsingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR = _descriptor.EnumDescriptor( + name='FunctionParsingError', + full_name='google.ads.googleads.v6.errors.FunctionParsingErrorEnum.FunctionParsingError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_MORE_INPUT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_CHARACTER', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNEXPECTED_SEPARATOR', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNMATCHED_LEFT_BRACKET', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNMATCHED_RIGHT_BRACKET', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_NESTED_FUNCTIONS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_RIGHT_HAND_OPERAND', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_OPERATOR_NAME', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_OPERANDS', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_OPERANDS', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=161, + serialized_end=518, +) +_sym_db.RegisterEnumDescriptor(_FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR) + + +_FUNCTIONPARSINGERRORENUM = _descriptor.Descriptor( + name='FunctionParsingErrorEnum', + full_name='google.ads.googleads.v6.errors.FunctionParsingErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=518, +) + +_FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR.containing_type = _FUNCTIONPARSINGERRORENUM +DESCRIPTOR.message_types_by_name['FunctionParsingErrorEnum'] = _FUNCTIONPARSINGERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FunctionParsingErrorEnum = _reflection.GeneratedProtocolMessageType('FunctionParsingErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _FUNCTIONPARSINGERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.function_parsing_error_pb2' + , + '__doc__': """Container for enum describing possible function parsing errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.FunctionParsingErrorEnum) + }) +_sym_db.RegisterMessage(FunctionParsingErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/function_parsing_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/function_parsing_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/function_parsing_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/geo_target_constant_suggestion_error_pb2.py b/google/ads/google_ads/v6/proto/errors/geo_target_constant_suggestion_error_pb2.py new file mode 100644 index 000000000..ea1e98646 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/geo_target_constant_suggestion_error_pb2.py @@ -0,0 +1,116 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/geo_target_constant_suggestion_error.proto + +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_v6/proto/errors/geo_target_constant_suggestion_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB%GeoTargetConstantSuggestionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nOgoogle/ads/googleads_v6/proto/errors/geo_target_constant_suggestion_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB%GeoTargetConstantSuggestionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR = _descriptor.EnumDescriptor( + name='GeoTargetConstantSuggestionError', + full_name='google.ads.googleads.v6.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION_NAME_SIZE_LIMIT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LOCATION_NAME_LIMIT', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_COUNTRY_CODE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REQUEST_PARAMETERS_UNSET', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=187, + serialized_end=362, +) +_sym_db.RegisterEnumDescriptor(_GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR) + + +_GEOTARGETCONSTANTSUGGESTIONERRORENUM = _descriptor.Descriptor( + name='GeoTargetConstantSuggestionErrorEnum', + full_name='google.ads.googleads.v6.errors.GeoTargetConstantSuggestionErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=146, + serialized_end=362, +) + +_GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR.containing_type = _GEOTARGETCONSTANTSUGGESTIONERRORENUM +DESCRIPTOR.message_types_by_name['GeoTargetConstantSuggestionErrorEnum'] = _GEOTARGETCONSTANTSUGGESTIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GeoTargetConstantSuggestionErrorEnum = _reflection.GeneratedProtocolMessageType('GeoTargetConstantSuggestionErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _GEOTARGETCONSTANTSUGGESTIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.GeoTargetConstantSuggestionErrorEnum) + }) +_sym_db.RegisterMessage(GeoTargetConstantSuggestionErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/header_error_pb2.py b/google/ads/google_ads/v6/proto/errors/header_error_pb2.py new file mode 100644 index 000000000..bd62b2e9e --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/header_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/header_error.proto + +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_v6/proto/errors/header_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\020HeaderErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n7google/ads/googleads_v6/proto/errors/header_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x10HeaderErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_HEADERERRORENUM_HEADERERROR = _descriptor.EnumDescriptor( + name='HeaderError', + full_name='google.ads.googleads.v6.errors.HeaderErrorEnum.HeaderError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LOGIN_CUSTOMER_ID', index=2, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LINKED_CUSTOMER_ID', index=3, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=140, + serialized_end=246, +) +_sym_db.RegisterEnumDescriptor(_HEADERERRORENUM_HEADERERROR) + + +_HEADERERRORENUM = _descriptor.Descriptor( + name='HeaderErrorEnum', + full_name='google.ads.googleads.v6.errors.HeaderErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _HEADERERRORENUM_HEADERERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=121, + serialized_end=246, +) + +_HEADERERRORENUM_HEADERERROR.containing_type = _HEADERERRORENUM +DESCRIPTOR.message_types_by_name['HeaderErrorEnum'] = _HEADERERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +HeaderErrorEnum = _reflection.GeneratedProtocolMessageType('HeaderErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _HEADERERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.header_error_pb2' + , + '__doc__': """Container for enum describing possible header errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.HeaderErrorEnum) + }) +_sym_db.RegisterMessage(HeaderErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/header_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/header_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/header_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/id_error_pb2.py b/google/ads/google_ads/v6/proto/errors/id_error_pb2.py new file mode 100644 index 000000000..f2344cf7b --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/id_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/id_error.proto + +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_v6/proto/errors/id_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\014IdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n3google/ads/googleads_v6/proto/errors/id_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0cIdErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_IDERRORENUM_IDERROR = _descriptor.EnumDescriptor( + name='IdError', + full_name='google.ads.googleads.v6.errors.IdErrorEnum.IdError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_FOUND', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=132, + serialized_end=186, +) +_sym_db.RegisterEnumDescriptor(_IDERRORENUM_IDERROR) + + +_IDERRORENUM = _descriptor.Descriptor( + name='IdErrorEnum', + full_name='google.ads.googleads.v6.errors.IdErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _IDERRORENUM_IDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=117, + serialized_end=186, +) + +_IDERRORENUM_IDERROR.containing_type = _IDERRORENUM +DESCRIPTOR.message_types_by_name['IdErrorEnum'] = _IDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +IdErrorEnum = _reflection.GeneratedProtocolMessageType('IdErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _IDERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.id_error_pb2' + , + '__doc__': """Container for enum describing possible id errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.IdErrorEnum) + }) +_sym_db.RegisterMessage(IdErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/id_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/id_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/id_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/image_error_pb2.py b/google/ads/google_ads/v6/proto/errors/image_error_pb2.py new file mode 100644 index 000000000..61066edc1 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/image_error_pb2.py @@ -0,0 +1,290 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/image_error.proto + +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_v6/proto/errors/image_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\017ImageErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/errors/image_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xc2\x08\n\x0eImageErrorEnum\"\xaf\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\'\x12\x16\n\x12\x46ORMAT_NOT_ALLOWED\x10(B\xea\x01\n\"com.google.ads.googleads.v6.errorsB\x0fImageErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_IMAGEERRORENUM_IMAGEERROR = _descriptor.EnumDescriptor( + name='ImageError', + full_name='google.ads.googleads.v6.errors.ImageErrorEnum.ImageError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_IMAGE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STORAGE_ERROR', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_REQUEST', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNEXPECTED_SIZE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANIMATED_NOT_ALLOWED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANIMATION_TOO_LONG', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SERVER_ERROR', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CMYK_JPEG_NOT_ALLOWED', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_NOT_ALLOWED', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_WITHOUT_CLICKTAG', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_ERROR_AFTER_FIXING_CLICK_TAG', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANIMATED_VISUAL_EFFECT', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_ERROR', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LAYOUT_PROBLEM', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROBLEM_READING_IMAGE_FILE', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ERROR_STORING_IMAGE', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ASPECT_RATIO_NOT_ALLOWED', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_HAS_NETWORK_OBJECTS', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_HAS_NETWORK_METHODS', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_HAS_URL', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_HAS_MOUSE_TRACKING', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_HAS_RANDOM_NUM', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_SELF_TARGETS', index=24, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_BAD_GETURL_TARGET', index=25, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_VERSION_NOT_SUPPORTED', index=26, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_WITHOUT_HARD_CODED_CLICK_URL', index=27, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FLASH_FILE', index=28, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FAILED_TO_FIX_CLICK_TAG_IN_FLASH', index=29, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_ACCESSES_NETWORK_RESOURCES', index=30, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_EXTERNAL_JS_CALL', index=31, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_EXTERNAL_FS_CALL', index=32, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FILE_TOO_LARGE', index=33, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_DATA_TOO_LARGE', index=34, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_PROCESSING_ERROR', index=35, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_TOO_SMALL', index=36, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_INPUT', index=37, number=37, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROBLEM_READING_FILE', index=38, number=38, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_CONSTRAINTS_VIOLATED', index=39, number=39, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FORMAT_NOT_ALLOWED', index=40, number=40, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=140, + serialized_end=1211, +) +_sym_db.RegisterEnumDescriptor(_IMAGEERRORENUM_IMAGEERROR) + + +_IMAGEERRORENUM = _descriptor.Descriptor( + name='ImageErrorEnum', + full_name='google.ads.googleads.v6.errors.ImageErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _IMAGEERRORENUM_IMAGEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=121, + serialized_end=1211, +) + +_IMAGEERRORENUM_IMAGEERROR.containing_type = _IMAGEERRORENUM +DESCRIPTOR.message_types_by_name['ImageErrorEnum'] = _IMAGEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ImageErrorEnum = _reflection.GeneratedProtocolMessageType('ImageErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _IMAGEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.image_error_pb2' + , + '__doc__': """Container for enum describing possible image errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ImageErrorEnum) + }) +_sym_db.RegisterMessage(ImageErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/image_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/image_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/image_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/internal_error_pb2.py b/google/ads/google_ads/v6/proto/errors/internal_error_pb2.py new file mode 100644 index 000000000..b3d718061 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/internal_error_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/internal_error.proto + +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_v6/proto/errors/internal_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022InternalErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/errors/internal_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12InternalErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_INTERNALERRORENUM_INTERNALERROR = _descriptor.EnumDescriptor( + name='InternalError', + full_name='google.ads.googleads.v6.errors.InternalErrorEnum.InternalError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INTERNAL_ERROR', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ERROR_CODE_NOT_PUBLISHED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TRANSIENT_ERROR', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DEADLINE_EXCEEDED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=146, + serialized_end=285, +) +_sym_db.RegisterEnumDescriptor(_INTERNALERRORENUM_INTERNALERROR) + + +_INTERNALERRORENUM = _descriptor.Descriptor( + name='InternalErrorEnum', + full_name='google.ads.googleads.v6.errors.InternalErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _INTERNALERRORENUM_INTERNALERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=285, +) + +_INTERNALERRORENUM_INTERNALERROR.containing_type = _INTERNALERRORENUM +DESCRIPTOR.message_types_by_name['InternalErrorEnum'] = _INTERNALERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +InternalErrorEnum = _reflection.GeneratedProtocolMessageType('InternalErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _INTERNALERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.internal_error_pb2' + , + '__doc__': """Container for enum describing possible internal errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.InternalErrorEnum) + }) +_sym_db.RegisterMessage(InternalErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/internal_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/internal_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/internal_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/invoice_error_pb2.py b/google/ads/google_ads/v6/proto/errors/invoice_error_pb2.py new file mode 100644 index 000000000..f7d0546e7 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/invoice_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/invoice_error.proto + +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_v6/proto/errors/invoice_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\021InvoiceErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/errors/invoice_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x11InvoiceErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_INVOICEERRORENUM_INVOICEERROR = _descriptor.EnumDescriptor( + name='InvoiceError', + full_name='google.ads.googleads.v6.errors.InvoiceErrorEnum.InvoiceError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YEAR_MONTH_TOO_OLD', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_INVOICED_CUSTOMER', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.errors.InvoiceErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _INVOICEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.invoice_error_pb2' + , + '__doc__': """Container for enum describing possible invoice errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.InvoiceErrorEnum) + }) +_sym_db.RegisterMessage(InvoiceErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/invoice_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/invoice_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/invoice_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_error_pb2.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_error_pb2.py new file mode 100644 index 000000000..fdb13bb90 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_error_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/keyword_plan_ad_group_error.proto + +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_v6/proto/errors/keyword_plan_ad_group_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\034KeywordPlanAdGroupErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nFgoogle/ads/googleads_v6/proto/errors/keyword_plan_ad_group_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1cKeywordPlanAdGroupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR = _descriptor.EnumDescriptor( + name='KeywordPlanAdGroupError', + full_name='google.ads.googleads.v6.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_NAME', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_NAME', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=167, + serialized_end=260, +) +_sym_db.RegisterEnumDescriptor(_KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR) + + +_KEYWORDPLANADGROUPERRORENUM = _descriptor.Descriptor( + name='KeywordPlanAdGroupErrorEnum', + full_name='google.ads.googleads.v6.errors.KeywordPlanAdGroupErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=136, + serialized_end=260, +) + +_KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR.containing_type = _KEYWORDPLANADGROUPERRORENUM +DESCRIPTOR.message_types_by_name['KeywordPlanAdGroupErrorEnum'] = _KEYWORDPLANADGROUPERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordPlanAdGroupErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanAdGroupErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _KEYWORDPLANADGROUPERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.KeywordPlanAdGroupErrorEnum) + }) +_sym_db.RegisterMessage(KeywordPlanAdGroupErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_keyword_error_pb2.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_keyword_error_pb2.py new file mode 100644 index 000000000..88a7d831f --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_keyword_error_pb2.py @@ -0,0 +1,131 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/keyword_plan_ad_group_keyword_error.proto + +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_v6/proto/errors/keyword_plan_ad_group_keyword_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB#KeywordPlanAdGroupKeywordErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nNgoogle/ads/googleads_v6/proto/errors/keyword_plan_ad_group_keyword_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB#KeywordPlanAdGroupKeywordErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_KEYWORDPLANADGROUPKEYWORDERRORENUM_KEYWORDPLANADGROUPKEYWORDERROR = _descriptor.EnumDescriptor( + name='KeywordPlanAdGroupKeywordError', + full_name='google.ads.googleads.v6.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_KEYWORD_MATCH_TYPE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_KEYWORD', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='KEYWORD_TEXT_TOO_LONG', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='KEYWORD_HAS_INVALID_CHARS', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='KEYWORD_HAS_TOO_MANY_WORDS', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_KEYWORD_TEXT', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NEGATIVE_KEYWORD_HAS_CPC_BID', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.errors.KeywordPlanAdGroupKeywordErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _KEYWORDPLANADGROUPKEYWORDERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.KeywordPlanAdGroupKeywordErrorEnum) + }) +_sym_db.RegisterMessage(KeywordPlanAdGroupKeywordErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_keyword_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_keyword_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_ad_group_keyword_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_error_pb2.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_error_pb2.py new file mode 100644 index 000000000..8bb6c1b05 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_error_pb2.py @@ -0,0 +1,126 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/keyword_plan_campaign_error.proto + +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_v6/proto/errors/keyword_plan_campaign_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\035KeywordPlanCampaignErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nFgoogle/ads/googleads_v6/proto/errors/keyword_plan_campaign_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1dKeywordPlanCampaignErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR = _descriptor.EnumDescriptor( + name='KeywordPlanCampaignError', + full_name='google.ads.googleads.v6.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_NAME', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LANGUAGES', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_GEOS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_NAME', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MAX_GEOS_EXCEEDED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MAX_LANGUAGES_EXCEEDED', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=170, + serialized_end=356, +) +_sym_db.RegisterEnumDescriptor(_KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR) + + +_KEYWORDPLANCAMPAIGNERRORENUM = _descriptor.Descriptor( + name='KeywordPlanCampaignErrorEnum', + full_name='google.ads.googleads.v6.errors.KeywordPlanCampaignErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=137, + serialized_end=356, +) + +_KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR.containing_type = _KEYWORDPLANCAMPAIGNERRORENUM +DESCRIPTOR.message_types_by_name['KeywordPlanCampaignErrorEnum'] = _KEYWORDPLANCAMPAIGNERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordPlanCampaignErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _KEYWORDPLANCAMPAIGNERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.KeywordPlanCampaignErrorEnum) + }) +_sym_db.RegisterMessage(KeywordPlanCampaignErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_keyword_error_pb2.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_keyword_error_pb2.py new file mode 100644 index 000000000..bca1a92d0 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_keyword_error_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/keyword_plan_campaign_keyword_error.proto + +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_v6/proto/errors/keyword_plan_campaign_keyword_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB$KeywordPlanCampaignKeywordErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nNgoogle/ads/googleads_v6/proto/errors/keyword_plan_campaign_keyword_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB$KeywordPlanCampaignKeywordErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_KEYWORDPLANCAMPAIGNKEYWORDERRORENUM_KEYWORDPLANCAMPAIGNKEYWORDERROR = _descriptor.EnumDescriptor( + name='KeywordPlanCampaignKeywordError', + full_name='google.ads.googleads.v6.errors.KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_KEYWORD_IS_POSITIVE', index=2, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.errors.KeywordPlanCampaignKeywordErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _KEYWORDPLANCAMPAIGNKEYWORDERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.KeywordPlanCampaignKeywordErrorEnum) + }) +_sym_db.RegisterMessage(KeywordPlanCampaignKeywordErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_keyword_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_keyword_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_campaign_keyword_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_error_pb2.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_error_pb2.py new file mode 100644 index 000000000..b094abedc --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_error_pb2.py @@ -0,0 +1,167 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/keyword_plan_error.proto + +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_v6/proto/errors/keyword_plan_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025KeywordPlanErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/errors/keyword_plan_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x15KeywordPlanErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_KEYWORDPLANERRORENUM_KEYWORDPLANERROR = _descriptor.EnumDescriptor( + name='KeywordPlanError', + full_name='google.ads.googleads.v6.errors.KeywordPlanErrorEnum.KeywordPlanError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_MULTIPLIER_OUT_OF_RANGE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_TOO_HIGH', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_TOO_LOW', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_TOO_MANY_FRACTIONAL_DIGITS', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DAILY_BUDGET_TOO_LOW', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_VALUE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='KEYWORD_PLAN_HAS_NO_KEYWORDS', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='KEYWORD_PLAN_NOT_ENABLED', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='KEYWORD_PLAN_NOT_FOUND', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_BID', index=12, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_FORECAST_PERIOD', index=13, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FORECAST_DATE_RANGE', index=14, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_NAME', index=15, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=584, +) +_sym_db.RegisterEnumDescriptor(_KEYWORDPLANERRORENUM_KEYWORDPLANERROR) + + +_KEYWORDPLANERRORENUM = _descriptor.Descriptor( + name='KeywordPlanErrorEnum', + full_name='google.ads.googleads.v6.errors.KeywordPlanErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _KEYWORDPLANERRORENUM_KEYWORDPLANERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=584, +) + +_KEYWORDPLANERRORENUM_KEYWORDPLANERROR.containing_type = _KEYWORDPLANERRORENUM +DESCRIPTOR.message_types_by_name['KeywordPlanErrorEnum'] = _KEYWORDPLANERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordPlanErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _KEYWORDPLANERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.KeywordPlanErrorEnum) + }) +_sym_db.RegisterMessage(KeywordPlanErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_idea_error_pb2.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_idea_error_pb2.py new file mode 100644 index 000000000..f9714dd68 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_idea_error_pb2.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/keyword_plan_idea_error.proto + +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_v6/proto/errors/keyword_plan_idea_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\031KeywordPlanIdeaErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nBgoogle/ads/googleads_v6/proto/errors/keyword_plan_idea_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x19KeywordPlanIdeaErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR = _descriptor.EnumDescriptor( + name='KeywordPlanIdeaError', + full_name='google.ads.googleads.v6.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_CRAWL_ERROR', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_VALUE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=160, + serialized_end=252, +) +_sym_db.RegisterEnumDescriptor(_KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR) + + +_KEYWORDPLANIDEAERRORENUM = _descriptor.Descriptor( + name='KeywordPlanIdeaErrorEnum', + full_name='google.ads.googleads.v6.errors.KeywordPlanIdeaErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=252, +) + +_KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR.containing_type = _KEYWORDPLANIDEAERRORENUM +DESCRIPTOR.message_types_by_name['KeywordPlanIdeaErrorEnum'] = _KEYWORDPLANIDEAERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordPlanIdeaErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanIdeaErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _KEYWORDPLANIDEAERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.keyword_plan_idea_error_pb2' + , + '__doc__': """Container for enum describing possible errors from + KeywordPlanIdeaService.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.KeywordPlanIdeaErrorEnum) + }) +_sym_db.RegisterMessage(KeywordPlanIdeaErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/keyword_plan_idea_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/keyword_plan_idea_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/keyword_plan_idea_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/label_error_pb2.py b/google/ads/google_ads/v6/proto/errors/label_error_pb2.py new file mode 100644 index 000000000..62245a19f --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/label_error_pb2.py @@ -0,0 +1,140 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/label_error.proto + +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_v6/proto/errors/label_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\017LabelErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/errors/label_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0fLabelErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LABELERRORENUM_LABELERROR = _descriptor.EnumDescriptor( + name='LabelError', + full_name='google.ads.googleads.v6.errors.LabelErrorEnum.LabelError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_APPLY_INACTIVE_LABEL', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXCEEDED_LABEL_LIMIT_PER_TYPE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_RESOURCE_FOR_MANAGER_LABEL', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_NAME', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LABEL_NAME', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_ATTACH_LABEL_TO_DRAFT', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=140, + serialized_end=527, +) +_sym_db.RegisterEnumDescriptor(_LABELERRORENUM_LABELERROR) + + +_LABELERRORENUM = _descriptor.Descriptor( + name='LabelErrorEnum', + full_name='google.ads.googleads.v6.errors.LabelErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LABELERRORENUM_LABELERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=121, + serialized_end=527, +) + +_LABELERRORENUM_LABELERROR.containing_type = _LABELERRORENUM +DESCRIPTOR.message_types_by_name['LabelErrorEnum'] = _LABELERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LabelErrorEnum = _reflection.GeneratedProtocolMessageType('LabelErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _LABELERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.label_error_pb2' + , + '__doc__': """Container for enum describing possible label errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.LabelErrorEnum) + }) +_sym_db.RegisterMessage(LabelErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/label_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/label_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/label_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/language_code_error_pb2.py b/google/ads/google_ads/v6/proto/errors/language_code_error_pb2.py new file mode 100644 index 000000000..6f11e198f --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/language_code_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/language_code_error.proto + +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_v6/proto/errors/language_code_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\026LanguageCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/errors/language_code_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x16LanguageCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LANGUAGECODEERRORENUM_LANGUAGECODEERROR = _descriptor.EnumDescriptor( + name='LanguageCodeError', + full_name='google.ads.googleads.v6.errors.LanguageCodeErrorEnum.LanguageCodeError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LANGUAGE_CODE_NOT_FOUND', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_LANGUAGE_CODE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=154, + serialized_end=259, +) +_sym_db.RegisterEnumDescriptor(_LANGUAGECODEERRORENUM_LANGUAGECODEERROR) + + +_LANGUAGECODEERRORENUM = _descriptor.Descriptor( + name='LanguageCodeErrorEnum', + full_name='google.ads.googleads.v6.errors.LanguageCodeErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LANGUAGECODEERRORENUM_LANGUAGECODEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=259, +) + +_LANGUAGECODEERRORENUM_LANGUAGECODEERROR.containing_type = _LANGUAGECODEERRORENUM +DESCRIPTOR.message_types_by_name['LanguageCodeErrorEnum'] = _LANGUAGECODEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LanguageCodeErrorEnum = _reflection.GeneratedProtocolMessageType('LanguageCodeErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _LANGUAGECODEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.language_code_error_pb2' + , + '__doc__': """Container for enum describing language code errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.LanguageCodeErrorEnum) + }) +_sym_db.RegisterMessage(LanguageCodeErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/language_code_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/language_code_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/language_code_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/list_operation_error_pb2.py b/google/ads/google_ads/v6/proto/errors/list_operation_error_pb2.py new file mode 100644 index 000000000..176d1f2dd --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/list_operation_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/list_operation_error.proto + +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_v6/proto/errors/list_operation_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\027ListOperationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/errors/list_operation_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x17ListOperationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LISTOPERATIONERRORENUM_LISTOPERATIONERROR = _descriptor.EnumDescriptor( + name='ListOperationError', + full_name='google.ads.googleads.v6.errors.ListOperationErrorEnum.ListOperationError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REQUIRED_FIELD_MISSING', index=2, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_VALUES', index=3, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=255, +) +_sym_db.RegisterEnumDescriptor(_LISTOPERATIONERRORENUM_LISTOPERATIONERROR) + + +_LISTOPERATIONERRORENUM = _descriptor.Descriptor( + name='ListOperationErrorEnum', + full_name='google.ads.googleads.v6.errors.ListOperationErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LISTOPERATIONERRORENUM_LISTOPERATIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=255, +) + +_LISTOPERATIONERRORENUM_LISTOPERATIONERROR.containing_type = _LISTOPERATIONERRORENUM +DESCRIPTOR.message_types_by_name['ListOperationErrorEnum'] = _LISTOPERATIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ListOperationErrorEnum = _reflection.GeneratedProtocolMessageType('ListOperationErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _LISTOPERATIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.list_operation_error_pb2' + , + '__doc__': """Container for enum describing possible list operation errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ListOperationErrorEnum) + }) +_sym_db.RegisterMessage(ListOperationErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/list_operation_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/list_operation_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/list_operation_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/manager_link_error_pb2.py b/google/ads/google_ads/v6/proto/errors/manager_link_error_pb2.py new file mode 100644 index 000000000..39884806e --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/manager_link_error_pb2.py @@ -0,0 +1,180 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/manager_link_error.proto + +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_v6/proto/errors/manager_link_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025ManagerLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/errors/manager_link_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x15ManagerLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MANAGERLINKERRORENUM_MANAGERLINKERROR = _descriptor.EnumDescriptor( + name='ManagerLinkError', + full_name='google.ads.googleads.v6.errors.ManagerLinkErrorEnum.ManagerLinkError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_MANAGERS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_INVITES', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ALREADY_INVITED_BY_THIS_MANAGER', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ALREADY_MANAGED_BY_THIS_MANAGER', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ALREADY_MANAGED_IN_HIERARCHY', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_CHILD_FOUND', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CLIENT_HAS_NO_ADMIN_USER', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MAX_DEPTH_EXCEEDED', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CYCLE_NOT_ALLOWED', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_ACCOUNTS', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_ACCOUNTS_AT_MANAGER', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NON_OWNER_USER_CANNOT_MODIFY_LINK', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CLIENT_OUTSIDE_TREE', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STATUS_CHANGE', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CHANGE', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=709, +) +_sym_db.RegisterEnumDescriptor(_MANAGERLINKERRORENUM_MANAGERLINKERROR) + + +_MANAGERLINKERRORENUM = _descriptor.Descriptor( + name='ManagerLinkErrorEnum', + full_name='google.ads.googleads.v6.errors.ManagerLinkErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MANAGERLINKERRORENUM_MANAGERLINKERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=709, +) + +_MANAGERLINKERRORENUM_MANAGERLINKERROR.containing_type = _MANAGERLINKERRORENUM +DESCRIPTOR.message_types_by_name['ManagerLinkErrorEnum'] = _MANAGERLINKERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ManagerLinkErrorEnum = _reflection.GeneratedProtocolMessageType('ManagerLinkErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _MANAGERLINKERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.manager_link_error_pb2' + , + '__doc__': """Container for enum describing possible ManagerLink errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ManagerLinkErrorEnum) + }) +_sym_db.RegisterMessage(ManagerLinkErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/manager_link_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/manager_link_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/manager_link_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/media_bundle_error_pb2.py b/google/ads/google_ads/v6/proto/errors/media_bundle_error_pb2.py new file mode 100644 index 000000000..a44d1d0b2 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/media_bundle_error_pb2.py @@ -0,0 +1,205 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/media_bundle_error.proto + +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_v6/proto/errors/media_bundle_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025MediaBundleErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/errors/media_bundle_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x15MediaBundleErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR = _descriptor.EnumDescriptor( + name='MediaBundleError', + full_name='google.ads.googleads.v6.errors.MediaBundleErrorEnum.MediaBundleError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_REQUEST', index=2, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DOUBLECLICK_BUNDLE_NOT_ALLOWED', index=3, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTERNAL_URL_NOT_ALLOWED', index=4, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FILE_TOO_LARGE', index=5, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED', index=6, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_INPUT', index=7, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MEDIA_BUNDLE', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MEDIA_BUNDLE_ENTRY', index=9, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MIME_TYPE', index=10, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PATH', index=11, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_URL_REFERENCE', index=12, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEDIA_DATA_TOO_LARGE', index=13, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY', index=14, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SERVER_ERROR', index=15, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STORAGE_ERROR', index=16, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SWIFFY_BUNDLE_NOT_ALLOWED', index=17, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_FILES', index=18, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNEXPECTED_SIZE', index=19, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT', index=20, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_HTML5_FEATURE', index=21, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT', index=22, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOM_EXIT_NOT_ALLOWED', index=23, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=824, +) +_sym_db.RegisterEnumDescriptor(_MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR) + + +_MEDIABUNDLEERRORENUM = _descriptor.Descriptor( + name='MediaBundleErrorEnum', + full_name='google.ads.googleads.v6.errors.MediaBundleErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=824, +) + +_MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR.containing_type = _MEDIABUNDLEERRORENUM +DESCRIPTOR.message_types_by_name['MediaBundleErrorEnum'] = _MEDIABUNDLEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MediaBundleErrorEnum = _reflection.GeneratedProtocolMessageType('MediaBundleErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _MEDIABUNDLEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.media_bundle_error_pb2' + , + '__doc__': """Container for enum describing possible media bundle errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.MediaBundleErrorEnum) + }) +_sym_db.RegisterMessage(MediaBundleErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/media_bundle_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/media_bundle_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/media_bundle_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/media_file_error_pb2.py b/google/ads/google_ads/v6/proto/errors/media_file_error_pb2.py new file mode 100644 index 000000000..4f0f010ad --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/media_file_error_pb2.py @@ -0,0 +1,210 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/media_file_error.proto + +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_v6/proto/errors/media_file_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023MediaFileErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/errors/media_file_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x13MediaFileErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MEDIAFILEERRORENUM_MEDIAFILEERROR = _descriptor.EnumDescriptor( + name='MediaFileError', + full_name='google.ads.googleads.v6.errors.MediaFileErrorEnum.MediaFileError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_CREATE_STANDARD_ICON', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_MEDIA', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EMPTY_FIELD', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESOURCE_REFERENCED_IN_MULTIPLE_OPS', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MEDIA_FILE_ID', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MEDIA_SUB_TYPE', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MEDIA_FILE_TYPE', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MIME_TYPE', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_REFERENCE_ID', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_YOU_TUBE_ID', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEDIA_FILE_FAILED_TRANSCODING', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEDIA_NOT_TRANSCODED', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_FIELDS_SPECIFIED', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NULL_REFERENCE_ID_AND_MEDIA_ID', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_LONG', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_TYPE', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YOU_TUBE_SERVICE_UNAVAILABLE', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='YOU_TUBE_VIDEO_NOT_FOUND', index=24, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=149, + serialized_end=917, +) +_sym_db.RegisterEnumDescriptor(_MEDIAFILEERRORENUM_MEDIAFILEERROR) + + +_MEDIAFILEERRORENUM = _descriptor.Descriptor( + name='MediaFileErrorEnum', + full_name='google.ads.googleads.v6.errors.MediaFileErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MEDIAFILEERRORENUM_MEDIAFILEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=917, +) + +_MEDIAFILEERRORENUM_MEDIAFILEERROR.containing_type = _MEDIAFILEERRORENUM +DESCRIPTOR.message_types_by_name['MediaFileErrorEnum'] = _MEDIAFILEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MediaFileErrorEnum = _reflection.GeneratedProtocolMessageType('MediaFileErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _MEDIAFILEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.media_file_error_pb2' + , + '__doc__': """Container for enum describing possible media file errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.MediaFileErrorEnum) + }) +_sym_db.RegisterMessage(MediaFileErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/media_file_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/media_file_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/media_file_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/media_upload_error_pb2.py b/google/ads/google_ads/v6/proto/errors/media_upload_error_pb2.py new file mode 100644 index 000000000..b33650598 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/media_upload_error_pb2.py @@ -0,0 +1,260 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/media_upload_error.proto + +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_v6/proto/errors/media_upload_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\025MediaUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/errors/media_upload_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xe2\x08\n\x14MediaUploadErrorEnum\"\xc9\x08\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\x12\x1a\n\x16\x41NIMATED_VISUAL_EFFECT\x10\t\x12\x16\n\x12\x41NIMATION_TOO_LONG\x10\n\x12\x1c\n\x18\x41SPECT_RATIO_NOT_ALLOWED\x10\x0b\x12%\n!AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE\x10\x0c\x12\x19\n\x15\x43MYK_JPEG_NOT_ALLOWED\x10\r\x12\x15\n\x11\x46LASH_NOT_ALLOWED\x10\x0e\x12\x17\n\x13\x46RAME_RATE_TOO_HIGH\x10\x0f\x12.\n*GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED\x10\x10\x12\x1e\n\x1aIMAGE_CONSTRAINTS_VIOLATED\x10\x11\x12\x18\n\x14INVALID_MEDIA_BUNDLE\x10\x12\x12\x1e\n\x1aINVALID_MEDIA_BUNDLE_ENTRY\x10\x13\x12\x15\n\x11INVALID_MIME_TYPE\x10\x14\x12\x10\n\x0cINVALID_PATH\x10\x15\x12\x12\n\x0eLAYOUT_PROBLEM\x10\x16\x12\x11\n\rMALFORMED_URL\x10\x17\x12\x1c\n\x18MEDIA_BUNDLE_NOT_ALLOWED\x10\x18\x12/\n+MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE\x10\x19\x12\x31\n-MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS\x10\x1a\x12\"\n\x1eTOO_MANY_FILES_IN_MEDIA_BUNDLE\x10\x1b\x12/\n+UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT\x10\x1c\x12\x1d\n\x19UNSUPPORTED_HTML5_FEATURE\x10\x1d\x12)\n%URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT\x10\x1e\x12\x1c\n\x18VIDEO_FILE_NAME_TOO_LONG\x10\x1f\x12\'\n#VIDEO_MULTIPLE_FILES_WITH_SAME_NAME\x10 \x12%\n!VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE\x10!\x12(\n$CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API\x10\"B\xf0\x01\n\"com.google.ads.googleads.v6.errorsB\x15MediaUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR = _descriptor.EnumDescriptor( + name='MediaUploadError', + full_name='google.ads.googleads.v6.errors.MediaUploadErrorEnum.MediaUploadError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FILE_TOO_BIG', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNPARSEABLE_IMAGE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANIMATED_IMAGE_NOT_ALLOWED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FORMAT_NOT_ALLOWED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTERNAL_URL_NOT_ALLOWED', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_URL_REFERENCE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANIMATED_VISUAL_EFFECT', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ANIMATION_TOO_LONG', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ASPECT_RATIO_NOT_ALLOWED', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CMYK_JPEG_NOT_ALLOWED', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FLASH_NOT_ALLOWED', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FRAME_RATE_TOO_HIGH', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='IMAGE_CONSTRAINTS_VIOLATED', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MEDIA_BUNDLE', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MEDIA_BUNDLE_ENTRY', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MIME_TYPE', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PATH', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LAYOUT_PROBLEM', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MALFORMED_URL', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEDIA_BUNDLE_NOT_ALLOWED', index=24, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE', index=25, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS', index=26, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_FILES_IN_MEDIA_BUNDLE', index=27, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT', index=28, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_HTML5_FEATURE', index=29, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT', index=30, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VIDEO_FILE_NAME_TOO_LONG', index=31, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VIDEO_MULTIPLE_FILES_WITH_SAME_NAME', index=32, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE', index=33, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API', index=34, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=1250, +) +_sym_db.RegisterEnumDescriptor(_MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR) + + +_MEDIAUPLOADERRORENUM = _descriptor.Descriptor( + name='MediaUploadErrorEnum', + full_name='google.ads.googleads.v6.errors.MediaUploadErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=1250, +) + +_MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR.containing_type = _MEDIAUPLOADERRORENUM +DESCRIPTOR.message_types_by_name['MediaUploadErrorEnum'] = _MEDIAUPLOADERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MediaUploadErrorEnum = _reflection.GeneratedProtocolMessageType('MediaUploadErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _MEDIAUPLOADERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.media_upload_error_pb2' + , + '__doc__': """Container for enum describing possible media uploading errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.MediaUploadErrorEnum) + }) +_sym_db.RegisterMessage(MediaUploadErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/media_upload_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/media_upload_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/media_upload_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/multiplier_error_pb2.py b/google/ads/google_ads/v6/proto/errors/multiplier_error_pb2.py new file mode 100644 index 000000000..7f610f3f6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/multiplier_error_pb2.py @@ -0,0 +1,155 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/multiplier_error.proto + +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_v6/proto/errors/multiplier_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\024MultiplierErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/errors/multiplier_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x14MultiplierErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MULTIPLIERERRORENUM_MULTIPLIERERROR = _descriptor.EnumDescriptor( + name='MultiplierError', + full_name='google.ads.googleads.v6.errors.MultiplierErrorEnum.MultiplierError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLIER_TOO_HIGH', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLIER_TOO_LOW', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_FRACTIONAL_DIGITS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_MULTIPLIER_SPECIFIED', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=150, + serialized_end=717, +) +_sym_db.RegisterEnumDescriptor(_MULTIPLIERERRORENUM_MULTIPLIERERROR) + + +_MULTIPLIERERRORENUM = _descriptor.Descriptor( + name='MultiplierErrorEnum', + full_name='google.ads.googleads.v6.errors.MultiplierErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MULTIPLIERERRORENUM_MULTIPLIERERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=717, +) + +_MULTIPLIERERRORENUM_MULTIPLIERERROR.containing_type = _MULTIPLIERERRORENUM +DESCRIPTOR.message_types_by_name['MultiplierErrorEnum'] = _MULTIPLIERERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MultiplierErrorEnum = _reflection.GeneratedProtocolMessageType('MultiplierErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _MULTIPLIERERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.multiplier_error_pb2' + , + '__doc__': """Container for enum describing possible multiplier errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.MultiplierErrorEnum) + }) +_sym_db.RegisterMessage(MultiplierErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/multiplier_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/multiplier_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/multiplier_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/mutate_error_pb2.py b/google/ads/google_ads/v6/proto/errors/mutate_error_pb2.py new file mode 100644 index 000000000..3f070c629 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/mutate_error_pb2.py @@ -0,0 +1,135 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/mutate_error.proto + +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_v6/proto/errors/mutate_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\020MutateErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n7google/ads/googleads_v6/proto/errors/mutate_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x10MutateErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MUTATEERRORENUM_MUTATEERROR = _descriptor.EnumDescriptor( + name='MutateError', + full_name='google.ads.googleads.v6.errors.MutateErrorEnum.MutateError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESOURCE_NOT_FOUND', index=2, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ID_EXISTS_IN_MULTIPLE_MUTATES', index=3, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCONSISTENT_FIELD_VALUES', index=4, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MUTATE_NOT_ALLOWED', index=5, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESOURCE_NOT_IN_GOOGLE_ADS', index=6, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESOURCE_ALREADY_EXISTS', index=7, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY', index=8, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESOURCE_READ_ONLY', index=9, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=142, + serialized_end=429, +) +_sym_db.RegisterEnumDescriptor(_MUTATEERRORENUM_MUTATEERROR) + + +_MUTATEERRORENUM = _descriptor.Descriptor( + name='MutateErrorEnum', + full_name='google.ads.googleads.v6.errors.MutateErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MUTATEERRORENUM_MUTATEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=122, + serialized_end=429, +) + +_MUTATEERRORENUM_MUTATEERROR.containing_type = _MUTATEERRORENUM +DESCRIPTOR.message_types_by_name['MutateErrorEnum'] = _MUTATEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MutateErrorEnum = _reflection.GeneratedProtocolMessageType('MutateErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _MUTATEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.mutate_error_pb2' + , + '__doc__': """Container for enum describing possible mutate errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.MutateErrorEnum) + }) +_sym_db.RegisterMessage(MutateErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/mutate_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/mutate_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/mutate_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/new_resource_creation_error_pb2.py b/google/ads/google_ads/v6/proto/errors/new_resource_creation_error_pb2.py new file mode 100644 index 000000000..f1a4b0750 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/new_resource_creation_error_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/new_resource_creation_error.proto + +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_v6/proto/errors/new_resource_creation_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\035NewResourceCreationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nFgoogle/ads/googleads_v6/proto/errors/new_resource_creation_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1dNewResourceCreationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR = _descriptor.EnumDescriptor( + name='NewResourceCreationError', + full_name='google.ads.googleads.v6.errors.NewResourceCreationErrorEnum.NewResourceCreationError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_ID_FOR_CREATE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_TEMP_IDS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TEMP_ID_RESOURCE_HAD_ERRORS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=170, + serialized_end=313, +) +_sym_db.RegisterEnumDescriptor(_NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR) + + +_NEWRESOURCECREATIONERRORENUM = _descriptor.Descriptor( + name='NewResourceCreationErrorEnum', + full_name='google.ads.googleads.v6.errors.NewResourceCreationErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=137, + serialized_end=313, +) + +_NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR.containing_type = _NEWRESOURCECREATIONERRORENUM +DESCRIPTOR.message_types_by_name['NewResourceCreationErrorEnum'] = _NEWRESOURCECREATIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +NewResourceCreationErrorEnum = _reflection.GeneratedProtocolMessageType('NewResourceCreationErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _NEWRESOURCECREATIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.NewResourceCreationErrorEnum) + }) +_sym_db.RegisterMessage(NewResourceCreationErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/new_resource_creation_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/new_resource_creation_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/new_resource_creation_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/not_allowlisted_error_pb2.py b/google/ads/google_ads/v6/proto/errors/not_allowlisted_error_pb2.py new file mode 100644 index 000000000..f21bdc41c --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/not_allowlisted_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/not_allowlisted_error.proto + +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_v6/proto/errors/not_allowlisted_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\030NotAllowlistedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/errors/not_allowlisted_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"}\n\x17NotAllowlistedErrorEnum\"b\n\x13NotAllowlistedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12-\n)CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE\x10\x02\x42\xf3\x01\n\"com.google.ads.googleads.v6.errorsB\x18NotAllowlistedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_NOTALLOWLISTEDERRORENUM_NOTALLOWLISTEDERROR = _descriptor.EnumDescriptor( + name='NotAllowlistedError', + full_name='google.ads.googleads.v6.errors.NotAllowlistedErrorEnum.NotAllowlistedError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=157, + serialized_end=255, +) +_sym_db.RegisterEnumDescriptor(_NOTALLOWLISTEDERRORENUM_NOTALLOWLISTEDERROR) + + +_NOTALLOWLISTEDERRORENUM = _descriptor.Descriptor( + name='NotAllowlistedErrorEnum', + full_name='google.ads.googleads.v6.errors.NotAllowlistedErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _NOTALLOWLISTEDERRORENUM_NOTALLOWLISTEDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=255, +) + +_NOTALLOWLISTEDERRORENUM_NOTALLOWLISTEDERROR.containing_type = _NOTALLOWLISTEDERRORENUM +DESCRIPTOR.message_types_by_name['NotAllowlistedErrorEnum'] = _NOTALLOWLISTEDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +NotAllowlistedErrorEnum = _reflection.GeneratedProtocolMessageType('NotAllowlistedErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _NOTALLOWLISTEDERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.not_allowlisted_error_pb2' + , + '__doc__': """Container for enum describing possible not allowlisted errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.NotAllowlistedErrorEnum) + }) +_sym_db.RegisterMessage(NotAllowlistedErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/not_allowlisted_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/not_allowlisted_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/not_allowlisted_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/not_empty_error_pb2.py b/google/ads/google_ads/v6/proto/errors/not_empty_error_pb2.py new file mode 100644 index 000000000..6efd2f741 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/not_empty_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/not_empty_error.proto + +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_v6/proto/errors/not_empty_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022NotEmptyErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/errors/not_empty_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12NotEmptyErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_NOTEMPTYERRORENUM_NOTEMPTYERROR = _descriptor.EnumDescriptor( + name='NotEmptyError', + full_name='google.ads.googleads.v6.errors.NotEmptyErrorEnum.NotEmptyError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EMPTY_LIST', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=145, + serialized_end=206, +) +_sym_db.RegisterEnumDescriptor(_NOTEMPTYERRORENUM_NOTEMPTYERROR) + + +_NOTEMPTYERRORENUM = _descriptor.Descriptor( + name='NotEmptyErrorEnum', + full_name='google.ads.googleads.v6.errors.NotEmptyErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _NOTEMPTYERRORENUM_NOTEMPTYERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=206, +) + +_NOTEMPTYERRORENUM_NOTEMPTYERROR.containing_type = _NOTEMPTYERRORENUM +DESCRIPTOR.message_types_by_name['NotEmptyErrorEnum'] = _NOTEMPTYERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +NotEmptyErrorEnum = _reflection.GeneratedProtocolMessageType('NotEmptyErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _NOTEMPTYERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.not_empty_error_pb2' + , + '__doc__': """Container for enum describing possible not empty errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.NotEmptyErrorEnum) + }) +_sym_db.RegisterMessage(NotEmptyErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/not_empty_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/not_empty_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/not_empty_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/null_error_pb2.py b/google/ads/google_ads/v6/proto/errors/null_error_pb2.py new file mode 100644 index 000000000..53635dad3 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/null_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/null_error.proto + +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_v6/proto/errors/null_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\016NullErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n5google/ads/googleads_v6/proto/errors/null_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0eNullErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_NULLERRORENUM_NULLERROR = _descriptor.EnumDescriptor( + name='NullError', + full_name='google.ads.googleads.v6.errors.NullErrorEnum.NullError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NULL_CONTENT', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=136, + serialized_end=195, +) +_sym_db.RegisterEnumDescriptor(_NULLERRORENUM_NULLERROR) + + +_NULLERRORENUM = _descriptor.Descriptor( + name='NullErrorEnum', + full_name='google.ads.googleads.v6.errors.NullErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _NULLERRORENUM_NULLERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=119, + serialized_end=195, +) + +_NULLERRORENUM_NULLERROR.containing_type = _NULLERRORENUM +DESCRIPTOR.message_types_by_name['NullErrorEnum'] = _NULLERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +NullErrorEnum = _reflection.GeneratedProtocolMessageType('NullErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _NULLERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.null_error_pb2' + , + '__doc__': """Container for enum describing possible null errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.NullErrorEnum) + }) +_sym_db.RegisterMessage(NullErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/null_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/null_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/null_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/offline_user_data_job_error_pb2.py b/google/ads/google_ads/v6/proto/errors/offline_user_data_job_error_pb2.py new file mode 100644 index 000000000..b3122fb1c --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/offline_user_data_job_error_pb2.py @@ -0,0 +1,245 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/offline_user_data_job_error.proto + +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_v6/proto/errors/offline_user_data_job_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\034OfflineUserDataJobErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nFgoogle/ads/googleads_v6/proto/errors/offline_user_data_job_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xa8\x08\n\x1bOfflineUserDataJobErrorEnum\"\x88\x08\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 \n\x1cNOT_ON_ALLOWLIST_FOR_USER_ID\x10!\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_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT\x10\x1f\x12,\n(NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES\x10 \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\x12:\n6ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST\x10\"\x12&\n\"LIFETIME_VALUE_BUCKET_NOT_IN_RANGE\x10#\x12/\n+INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES\x10$B\xf7\x01\n\"com.google.ads.googleads.v6.errorsB\x1cOfflineUserDataJobErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR = _descriptor.EnumDescriptor( + name='OfflineUserDataJobError', + full_name='google.ads.googleads.v6.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_USER_LIST_ID', index=2, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_USER_LIST_TYPE', index=3, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_ON_ALLOWLIST_FOR_USER_ID', index=4, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_UPLOAD_KEY_TYPE', index=5, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_USER_IDENTIFIER', index=6, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MOBILE_ID_FORMAT', index=7, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_USER_IDENTIFIERS', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT', index=9, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES', index=10, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PARTNER_ID', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ENCODING', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_COUNTRY_CODE', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_USER_IDENTIFIER', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FUTURE_TRANSACTION_TIME', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CONVERSION_ACTION', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MOBILE_ID_NOT_SUPPORTED', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_OPERATION_ORDER', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONFLICTING_OPERATION', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTERNAL_UPDATE_ID_ALREADY_EXISTS', index=20, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='JOB_ALREADY_STARTED', index=21, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVE_NOT_SUPPORTED', index=22, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVE_ALL_NOT_SUPPORTED', index=23, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_SHA256_FORMAT', index=24, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOM_KEY_DISABLED', index=25, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOM_KEY_NOT_PREDEFINED', index=26, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOM_KEY_NOT_SET', index=27, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS', index=28, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST', index=29, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LIFETIME_VALUE_BUCKET_NOT_IN_RANGE', index=30, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES', index=31, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=169, + serialized_end=1201, +) +_sym_db.RegisterEnumDescriptor(_OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR) + + +_OFFLINEUSERDATAJOBERRORENUM = _descriptor.Descriptor( + name='OfflineUserDataJobErrorEnum', + full_name='google.ads.googleads.v6.errors.OfflineUserDataJobErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=137, + serialized_end=1201, +) + +_OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR.containing_type = _OFFLINEUSERDATAJOBERRORENUM +DESCRIPTOR.message_types_by_name['OfflineUserDataJobErrorEnum'] = _OFFLINEUSERDATAJOBERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +OfflineUserDataJobErrorEnum = _reflection.GeneratedProtocolMessageType('OfflineUserDataJobErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _OFFLINEUSERDATAJOBERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.OfflineUserDataJobErrorEnum) + }) +_sym_db.RegisterMessage(OfflineUserDataJobErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/offline_user_data_job_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/offline_user_data_job_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/offline_user_data_job_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/operation_access_denied_error_pb2.py b/google/ads/google_ads/v6/proto/errors/operation_access_denied_error_pb2.py new file mode 100644 index 000000000..77d96e63a --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/operation_access_denied_error_pb2.py @@ -0,0 +1,145 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/operation_access_denied_error.proto + +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_v6/proto/errors/operation_access_denied_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\037OperationAccessDeniedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nHgoogle/ads/googleads_v6/proto/errors/operation_access_denied_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x1fOperationAccessDeniedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR = _descriptor.EnumDescriptor( + name='OperationAccessDeniedError', + full_name='google.ads.googleads.v6.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACTION_NOT_PERMITTED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CREATE_OPERATION_NOT_PERMITTED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REMOVE_OPERATION_NOT_PERMITTED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPDATE_OPERATION_NOT_PERMITTED', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CREATE_AS_REMOVED_NOT_PERMITTED', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MUTATE_NOT_PERMITTED_FOR_CUSTOMER', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=174, + serialized_end=630, +) +_sym_db.RegisterEnumDescriptor(_OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR) + + +_OPERATIONACCESSDENIEDERRORENUM = _descriptor.Descriptor( + name='OperationAccessDeniedErrorEnum', + full_name='google.ads.googleads.v6.errors.OperationAccessDeniedErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=139, + serialized_end=630, +) + +_OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR.containing_type = _OPERATIONACCESSDENIEDERRORENUM +DESCRIPTOR.message_types_by_name['OperationAccessDeniedErrorEnum'] = _OPERATIONACCESSDENIEDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +OperationAccessDeniedErrorEnum = _reflection.GeneratedProtocolMessageType('OperationAccessDeniedErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _OPERATIONACCESSDENIEDERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.OperationAccessDeniedErrorEnum) + }) +_sym_db.RegisterMessage(OperationAccessDeniedErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/operation_access_denied_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/operation_access_denied_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/operation_access_denied_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/operator_error_pb2.py b/google/ads/google_ads/v6/proto/errors/operator_error_pb2.py new file mode 100644 index 000000000..dfaea0594 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/operator_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/operator_error.proto + +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_v6/proto/errors/operator_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022OperatorErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/errors/operator_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12OperatorErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_OPERATORERRORENUM_OPERATORERROR = _descriptor.EnumDescriptor( + name='OperatorError', + full_name='google.ads.googleads.v6.errors.OperatorErrorEnum.OperatorError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPERATOR_NOT_SUPPORTED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=217, +) +_sym_db.RegisterEnumDescriptor(_OPERATORERRORENUM_OPERATORERROR) + + +_OPERATORERRORENUM = _descriptor.Descriptor( + name='OperatorErrorEnum', + full_name='google.ads.googleads.v6.errors.OperatorErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _OPERATORERRORENUM_OPERATORERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=217, +) + +_OPERATORERRORENUM_OPERATORERROR.containing_type = _OPERATORERRORENUM +DESCRIPTOR.message_types_by_name['OperatorErrorEnum'] = _OPERATORERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +OperatorErrorEnum = _reflection.GeneratedProtocolMessageType('OperatorErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _OPERATORERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.operator_error_pb2' + , + '__doc__': """Container for enum describing possible operator errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.OperatorErrorEnum) + }) +_sym_db.RegisterMessage(OperatorErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/operator_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/operator_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/operator_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/partial_failure_error_pb2.py b/google/ads/google_ads/v6/proto/errors/partial_failure_error_pb2.py new file mode 100644 index 000000000..69c78304b --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/partial_failure_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/partial_failure_error.proto + +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_v6/proto/errors/partial_failure_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\030PartialFailureErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/errors/partial_failure_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x18PartialFailureErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR = _descriptor.EnumDescriptor( + name='PartialFailureError', + full_name='google.ads.googleads.v6.errors.PartialFailureErrorEnum.PartialFailureError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PARTIAL_FAILURE_MODE_REQUIRED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=157, + serialized_end=243, +) +_sym_db.RegisterEnumDescriptor(_PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR) + + +_PARTIALFAILUREERRORENUM = _descriptor.Descriptor( + name='PartialFailureErrorEnum', + full_name='google.ads.googleads.v6.errors.PartialFailureErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=243, +) + +_PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR.containing_type = _PARTIALFAILUREERRORENUM +DESCRIPTOR.message_types_by_name['PartialFailureErrorEnum'] = _PARTIALFAILUREERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PartialFailureErrorEnum = _reflection.GeneratedProtocolMessageType('PartialFailureErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _PARTIALFAILUREERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.partial_failure_error_pb2' + , + '__doc__': """Container for enum describing possible partial failure errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.PartialFailureErrorEnum) + }) +_sym_db.RegisterMessage(PartialFailureErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/partial_failure_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/partial_failure_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/partial_failure_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/payments_account_error_pb2.py b/google/ads/google_ads/v6/proto/errors/payments_account_error_pb2.py new file mode 100644 index 000000000..641725a18 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/payments_account_error_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/payments_account_error.proto + +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_v6/proto/errors/payments_account_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\031PaymentsAccountErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/errors/payments_account_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x19PaymentsAccountErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PAYMENTSACCOUNTERRORENUM_PAYMENTSACCOUNTERROR = _descriptor.EnumDescriptor( + name='PaymentsAccountError', + full_name='google.ads.googleads.v6.errors.PaymentsAccountErrorEnum.PaymentsAccountError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_SUPPORTED_FOR_MANAGER_CUSTOMER', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.errors.PaymentsAccountErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _PAYMENTSACCOUNTERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.PaymentsAccountErrorEnum) + }) +_sym_db.RegisterMessage(PaymentsAccountErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/payments_account_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/payments_account_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/payments_account_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/policy_finding_error_pb2.py b/google/ads/google_ads/v6/proto/errors/policy_finding_error_pb2.py new file mode 100644 index 000000000..bc9aa95f8 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/policy_finding_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/policy_finding_error.proto + +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_v6/proto/errors/policy_finding_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\027PolicyFindingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/errors/policy_finding_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x17PolicyFindingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYFINDINGERRORENUM_POLICYFINDINGERROR = _descriptor.EnumDescriptor( + name='PolicyFindingError', + full_name='google.ads.googleads.v6.errors.PolicyFindingErrorEnum.PolicyFindingError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='POLICY_FINDING', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='POLICY_TOPIC_NOT_FOUND', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=155, + serialized_end=253, +) +_sym_db.RegisterEnumDescriptor(_POLICYFINDINGERRORENUM_POLICYFINDINGERROR) + + +_POLICYFINDINGERRORENUM = _descriptor.Descriptor( + name='PolicyFindingErrorEnum', + full_name='google.ads.googleads.v6.errors.PolicyFindingErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POLICYFINDINGERRORENUM_POLICYFINDINGERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=129, + serialized_end=253, +) + +_POLICYFINDINGERRORENUM_POLICYFINDINGERROR.containing_type = _POLICYFINDINGERRORENUM +DESCRIPTOR.message_types_by_name['PolicyFindingErrorEnum'] = _POLICYFINDINGERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PolicyFindingErrorEnum = _reflection.GeneratedProtocolMessageType('PolicyFindingErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _POLICYFINDINGERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.policy_finding_error_pb2' + , + '__doc__': """Container for enum describing possible policy finding errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.PolicyFindingErrorEnum) + }) +_sym_db.RegisterMessage(PolicyFindingErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/policy_finding_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/policy_finding_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/policy_finding_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/policy_validation_parameter_error_pb2.py b/google/ads/google_ads/v6/proto/errors/policy_validation_parameter_error_pb2.py new file mode 100644 index 000000000..88cf9de86 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/policy_validation_parameter_error_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/policy_validation_parameter_error.proto + +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_v6/proto/errors/policy_validation_parameter_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB#PolicyValidationParameterErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nLgoogle/ads/googleads_v6/proto/errors/policy_validation_parameter_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB#PolicyValidationParameterErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR = _descriptor.EnumDescriptor( + name='PolicyValidationParameterError', + full_name='google.ads.googleads.v6.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=182, + serialized_end=433, +) +_sym_db.RegisterEnumDescriptor(_POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR) + + +_POLICYVALIDATIONPARAMETERERRORENUM = _descriptor.Descriptor( + name='PolicyValidationParameterErrorEnum', + full_name='google.ads.googleads.v6.errors.PolicyValidationParameterErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=143, + serialized_end=433, +) + +_POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR.containing_type = _POLICYVALIDATIONPARAMETERERRORENUM +DESCRIPTOR.message_types_by_name['PolicyValidationParameterErrorEnum'] = _POLICYVALIDATIONPARAMETERERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PolicyValidationParameterErrorEnum = _reflection.GeneratedProtocolMessageType('PolicyValidationParameterErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _POLICYVALIDATIONPARAMETERERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.PolicyValidationParameterErrorEnum) + }) +_sym_db.RegisterMessage(PolicyValidationParameterErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/policy_validation_parameter_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/policy_validation_parameter_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/policy_validation_parameter_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/policy_violation_error_pb2.py b/google/ads/google_ads/v6/proto/errors/policy_violation_error_pb2.py new file mode 100644 index 000000000..6cece4566 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/policy_violation_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/policy_violation_error.proto + +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_v6/proto/errors/policy_violation_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\031PolicyViolationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/errors/policy_violation_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x19PolicyViolationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR = _descriptor.EnumDescriptor( + name='PolicyViolationError', + full_name='google.ads.googleads.v6.errors.PolicyViolationErrorEnum.PolicyViolationError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='POLICY_ERROR', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=159, + serialized_end=229, +) +_sym_db.RegisterEnumDescriptor(_POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR) + + +_POLICYVIOLATIONERRORENUM = _descriptor.Descriptor( + name='PolicyViolationErrorEnum', + full_name='google.ads.googleads.v6.errors.PolicyViolationErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=229, +) + +_POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR.containing_type = _POLICYVIOLATIONERRORENUM +DESCRIPTOR.message_types_by_name['PolicyViolationErrorEnum'] = _POLICYVIOLATIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PolicyViolationErrorEnum = _reflection.GeneratedProtocolMessageType('PolicyViolationErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _POLICYVIOLATIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.policy_violation_error_pb2' + , + '__doc__': """Container for enum describing possible policy violation errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.PolicyViolationErrorEnum) + }) +_sym_db.RegisterMessage(PolicyViolationErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/policy_violation_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/policy_violation_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/policy_violation_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/query_error_pb2.py b/google/ads/google_ads/v6/proto/errors/query_error_pb2.py new file mode 100644 index 000000000..a1be26066 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/query_error_pb2.py @@ -0,0 +1,360 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/query_error.proto + +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_v6/proto/errors/query_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\017QueryErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/errors/query_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0fQueryErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_QUERYERRORENUM_QUERYERROR = _descriptor.EnumDescriptor( + name='QueryError', + full_name='google.ads.googleads.v6.errors.QueryErrorEnum.QueryError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='QUERY_ERROR', index=2, number=50, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_ENUM_CONSTANT', index=3, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_ESCAPE_SEQUENCE', index=4, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_FIELD_NAME', index=5, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_LIMIT_VALUE', index=6, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_NUMBER', index=7, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_OPERATOR', index=8, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_PARAMETER_NAME', index=9, number=61, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_PARAMETER_VALUE', index=10, number=62, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_RESOURCE_TYPE_IN_FROM_CLAUSE', index=11, number=45, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_SYMBOL', index=12, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BAD_VALUE', index=13, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_RANGE_TOO_WIDE', index=14, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DATE_RANGE_TOO_NARROW', index=15, number=60, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_AND', index=16, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_BY', index=17, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE', index=18, number=37, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_FILTERS_ON_DATE_RANGE', index=19, number=55, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_FROM', index=20, number=44, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_LIST', index=21, number=41, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE', index=22, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_SELECT', index=23, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_SINGLE_VALUE', index=24, number=42, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXPECTED_VALUE_WITH_BETWEEN_OPERATOR', index=25, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DATE_FORMAT', index=26, number=38, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_STRING_VALUE', index=27, number=57, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_VALUE_WITH_BETWEEN_OPERATOR', index=28, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_VALUE_WITH_DURING_OPERATOR', index=29, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_VALUE_WITH_LIKE_OPERATOR', index=30, number=56, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPERATOR_FIELD_MISMATCH', index=31, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_EMPTY_LIST_IN_CONDITION', index=32, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_ENUM_CONSTANT', index=33, number=54, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE', index=34, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE', index=35, number=40, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_FIELD_IN_SELECT_CLAUSE', index=36, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_FIELD_IN_WHERE_CLAUSE', index=37, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE', index=38, number=43, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE', index=39, number=48, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE', index=40, number=58, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE', index=41, number=49, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE', index=42, number=51, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE', index=43, number=53, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='LIMIT_VALUE_TOO_LOW', index=44, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_NEWLINE_IN_STRING', index=45, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_VALUE_COMBINATION_IN_LIST', index=46, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR', index=47, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='STRING_NOT_TERMINATED', index=48, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_SEGMENTS', index=49, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNEXPECTED_END_OF_QUERY', index=50, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNEXPECTED_FROM_CLAUSE', index=51, number=47, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNRECOGNIZED_FIELD', index=52, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNEXPECTED_INPUT', index=53, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REQUESTED_METRICS_FOR_MANAGER', index=54, number=59, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=140, + serialized_end=1868, +) +_sym_db.RegisterEnumDescriptor(_QUERYERRORENUM_QUERYERROR) + + +_QUERYERRORENUM = _descriptor.Descriptor( + name='QueryErrorEnum', + full_name='google.ads.googleads.v6.errors.QueryErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _QUERYERRORENUM_QUERYERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=121, + serialized_end=1868, +) + +_QUERYERRORENUM_QUERYERROR.containing_type = _QUERYERRORENUM +DESCRIPTOR.message_types_by_name['QueryErrorEnum'] = _QUERYERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +QueryErrorEnum = _reflection.GeneratedProtocolMessageType('QueryErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _QUERYERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.query_error_pb2' + , + '__doc__': """Container for enum describing possible query errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.QueryErrorEnum) + }) +_sym_db.RegisterMessage(QueryErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/query_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/query_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/query_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/quota_error_pb2.py b/google/ads/google_ads/v6/proto/errors/quota_error_pb2.py new file mode 100644 index 000000000..f1839cf97 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/quota_error_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/quota_error.proto + +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_v6/proto/errors/quota_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\017QuotaErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/errors/quota_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0fQuotaErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_QUOTAERRORENUM_QUOTAERROR = _descriptor.EnumDescriptor( + name='QuotaError', + full_name='google.ads.googleads.v6.errors.QuotaErrorEnum.QuotaError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESOURCE_EXHAUSTED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ACCESS_PROHIBITED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESOURCE_TEMPORARILY_EXHAUSTED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=139, + serialized_end=264, +) +_sym_db.RegisterEnumDescriptor(_QUOTAERRORENUM_QUOTAERROR) + + +_QUOTAERRORENUM = _descriptor.Descriptor( + name='QuotaErrorEnum', + full_name='google.ads.googleads.v6.errors.QuotaErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _QUOTAERRORENUM_QUOTAERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=121, + serialized_end=264, +) + +_QUOTAERRORENUM_QUOTAERROR.containing_type = _QUOTAERRORENUM +DESCRIPTOR.message_types_by_name['QuotaErrorEnum'] = _QUOTAERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +QuotaErrorEnum = _reflection.GeneratedProtocolMessageType('QuotaErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _QUOTAERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.quota_error_pb2' + , + '__doc__': """Container for enum describing possible quota errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.QuotaErrorEnum) + }) +_sym_db.RegisterMessage(QuotaErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/quota_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/quota_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/quota_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/range_error_pb2.py b/google/ads/google_ads/v6/proto/errors/range_error_pb2.py new file mode 100644 index 000000000..69e95ea7a --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/range_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/range_error.proto + +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_v6/proto/errors/range_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\017RangeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/errors/range_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x0fRangeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_RANGEERRORENUM_RANGEERROR = _descriptor.EnumDescriptor( + name='RangeError', + full_name='google.ads.googleads.v6.errors.RangeErrorEnum.RangeError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_LOW', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_HIGH', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=138, + serialized_end=207, +) +_sym_db.RegisterEnumDescriptor(_RANGEERRORENUM_RANGEERROR) + + +_RANGEERRORENUM = _descriptor.Descriptor( + name='RangeErrorEnum', + full_name='google.ads.googleads.v6.errors.RangeErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _RANGEERRORENUM_RANGEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=120, + serialized_end=207, +) + +_RANGEERRORENUM_RANGEERROR.containing_type = _RANGEERRORENUM +DESCRIPTOR.message_types_by_name['RangeErrorEnum'] = _RANGEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +RangeErrorEnum = _reflection.GeneratedProtocolMessageType('RangeErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _RANGEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.range_error_pb2' + , + '__doc__': """Container for enum describing possible range errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.RangeErrorEnum) + }) +_sym_db.RegisterMessage(RangeErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/range_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/range_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/range_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/reach_plan_error_pb2.py b/google/ads/google_ads/v6/proto/errors/reach_plan_error_pb2.py new file mode 100644 index 000000000..698a73387 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/reach_plan_error_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/reach_plan_error.proto + +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_v6/proto/errors/reach_plan_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023ReachPlanErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/errors/reach_plan_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"g\n\x12ReachPlanErrorEnum\"Q\n\x0eReachPlanError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1dNOT_FORECASTABLE_MISSING_RATE\x10\x02\x42\xee\x01\n\"com.google.ads.googleads.v6.errorsB\x13ReachPlanErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_REACHPLANERRORENUM_REACHPLANERROR = _descriptor.EnumDescriptor( + name='ReachPlanError', + full_name='google.ads.googleads.v6.errors.ReachPlanErrorEnum.ReachPlanError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NOT_FORECASTABLE_MISSING_RATE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=147, + serialized_end=228, +) +_sym_db.RegisterEnumDescriptor(_REACHPLANERRORENUM_REACHPLANERROR) + + +_REACHPLANERRORENUM = _descriptor.Descriptor( + name='ReachPlanErrorEnum', + full_name='google.ads.googleads.v6.errors.ReachPlanErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _REACHPLANERRORENUM_REACHPLANERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=125, + serialized_end=228, +) + +_REACHPLANERRORENUM_REACHPLANERROR.containing_type = _REACHPLANERRORENUM +DESCRIPTOR.message_types_by_name['ReachPlanErrorEnum'] = _REACHPLANERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ReachPlanErrorEnum = _reflection.GeneratedProtocolMessageType('ReachPlanErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _REACHPLANERRORENUM, + '__module__' : 'google.ads.googleads_v6.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.v6.errors.ReachPlanErrorEnum) + }) +_sym_db.RegisterMessage(ReachPlanErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/reach_plan_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/reach_plan_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/reach_plan_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/recommendation_error_pb2.py b/google/ads/google_ads/v6/proto/errors/recommendation_error_pb2.py new file mode 100644 index 000000000..ee5e1ed07 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/recommendation_error_pb2.py @@ -0,0 +1,166 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/recommendation_error.proto + +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_v6/proto/errors/recommendation_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\030RecommendationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/errors/recommendation_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x18RecommendationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR = _descriptor.EnumDescriptor( + name='RecommendationError', + full_name='google.ads.googleads.v6.errors.RecommendationErrorEnum.RecommendationError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BUDGET_AMOUNT_TOO_SMALL', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='BUDGET_AMOUNT_TOO_LARGE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_BUDGET_AMOUNT', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='POLICY_ERROR', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_BID_AMOUNT', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADGROUP_KEYWORD_LIMIT', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RECOMMENDATION_ALREADY_APPLIED', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RECOMMENDATION_INVALIDATED', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_OPERATIONS', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NO_OPERATIONS', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DIFFERENT_TYPES_NOT_SUPPORTED', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_RESOURCE_NAME', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RECOMMENDATION_ALREADY_DISMISSED', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_APPLY_REQUEST', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=158, + serialized_end=604, +) +_sym_db.RegisterEnumDescriptor(_RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR) + + +_RECOMMENDATIONERRORENUM = _descriptor.Descriptor( + name='RecommendationErrorEnum', + full_name='google.ads.googleads.v6.errors.RecommendationErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=604, +) + +_RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR.containing_type = _RECOMMENDATIONERRORENUM +DESCRIPTOR.message_types_by_name['RecommendationErrorEnum'] = _RECOMMENDATIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +RecommendationErrorEnum = _reflection.GeneratedProtocolMessageType('RecommendationErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _RECOMMENDATIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.recommendation_error_pb2' + , + '__doc__': """Container for enum describing possible errors from applying a + recommendation.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.RecommendationErrorEnum) + }) +_sym_db.RegisterMessage(RecommendationErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/recommendation_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/recommendation_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/recommendation_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/region_code_error_pb2.py b/google/ads/google_ads/v6/proto/errors/region_code_error_pb2.py new file mode 100644 index 000000000..163c9bcc5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/region_code_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/region_code_error.proto + +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_v6/proto/errors/region_code_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\024RegionCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\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.v6.errorsB\x11SettingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_SETTINGERRORENUM_SETTINGERROR = _descriptor.EnumDescriptor( + name='SettingError', + full_name='google.ads.googleads.v6.errors.SettingErrorEnum.SettingError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SETTING_TYPE_IS_NOT_AVAILABLE', index=2, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN', index=3, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP', index=4, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL', index=5, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP', index=6, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT', index=7, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME', index=8, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME', index=9, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE', index=10, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN', index=11, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN', index=12, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=144, + serialized_end=872, +) +_sym_db.RegisterEnumDescriptor(_SETTINGERRORENUM_SETTINGERROR) + + +_SETTINGERRORENUM = _descriptor.Descriptor( + name='SettingErrorEnum', + full_name='google.ads.googleads.v6.errors.SettingErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _SETTINGERRORENUM_SETTINGERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=872, +) + +_SETTINGERRORENUM_SETTINGERROR.containing_type = _SETTINGERRORENUM +DESCRIPTOR.message_types_by_name['SettingErrorEnum'] = _SETTINGERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +SettingErrorEnum = _reflection.GeneratedProtocolMessageType('SettingErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _SETTINGERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.setting_error_pb2' + , + '__doc__': """Container for enum describing possible setting errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.SettingErrorEnum) + }) +_sym_db.RegisterMessage(SettingErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/setting_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/setting_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/setting_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/shared_criterion_error_pb2.py b/google/ads/google_ads/v6/proto/errors/shared_criterion_error_pb2.py new file mode 100644 index 000000000..a8cf168e8 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/shared_criterion_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/shared_criterion_error.proto + +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_v6/proto/errors/shared_criterion_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\031SharedCriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/errors/shared_criterion_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x19SharedCriterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR = _descriptor.EnumDescriptor( + name='SharedCriterionError', + full_name='google.ads.googleads.v6.errors.SharedCriterionErrorEnum.SharedCriterionError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=160, + serialized_end=264, +) +_sym_db.RegisterEnumDescriptor(_SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR) + + +_SHAREDCRITERIONERRORENUM = _descriptor.Descriptor( + name='SharedCriterionErrorEnum', + full_name='google.ads.googleads.v6.errors.SharedCriterionErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=132, + serialized_end=264, +) + +_SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR.containing_type = _SHAREDCRITERIONERRORENUM +DESCRIPTOR.message_types_by_name['SharedCriterionErrorEnum'] = _SHAREDCRITERIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +SharedCriterionErrorEnum = _reflection.GeneratedProtocolMessageType('SharedCriterionErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _SHAREDCRITERIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.shared_criterion_error_pb2' + , + '__doc__': """Container for enum describing possible shared criterion errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.SharedCriterionErrorEnum) + }) +_sym_db.RegisterMessage(SharedCriterionErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/shared_criterion_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/shared_criterion_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/shared_criterion_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/shared_set_error_pb2.py b/google/ads/google_ads/v6/proto/errors/shared_set_error_pb2.py new file mode 100644 index 000000000..758ce91ea --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/shared_set_error_pb2.py @@ -0,0 +1,115 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/shared_set_error.proto + +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_v6/proto/errors/shared_set_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023SharedSetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/errors/shared_set_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x13SharedSetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_SHAREDSETERRORENUM_SHAREDSETERROR = _descriptor.EnumDescriptor( + name='SharedSetError', + full_name='google.ads.googleads.v6.errors.SharedSetErrorEnum.SharedSetError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_NAME', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SHARED_SET_REMOVED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SHARED_SET_IN_USE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=149, + serialized_end=314, +) +_sym_db.RegisterEnumDescriptor(_SHAREDSETERRORENUM_SHAREDSETERROR) + + +_SHAREDSETERRORENUM = _descriptor.Descriptor( + name='SharedSetErrorEnum', + full_name='google.ads.googleads.v6.errors.SharedSetErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _SHAREDSETERRORENUM_SHAREDSETERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=314, +) + +_SHAREDSETERRORENUM_SHAREDSETERROR.containing_type = _SHAREDSETERRORENUM +DESCRIPTOR.message_types_by_name['SharedSetErrorEnum'] = _SHAREDSETERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +SharedSetErrorEnum = _reflection.GeneratedProtocolMessageType('SharedSetErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _SHAREDSETERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.shared_set_error_pb2' + , + '__doc__': """Container for enum describing possible shared set errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.SharedSetErrorEnum) + }) +_sym_db.RegisterMessage(SharedSetErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/shared_set_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/shared_set_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/shared_set_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/size_limit_error_pb2.py b/google/ads/google_ads/v6/proto/errors/size_limit_error_pb2.py new file mode 100644 index 000000000..e5c1c0a7d --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/size_limit_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/size_limit_error.proto + +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_v6/proto/errors/size_limit_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\023SizeLimitErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/errors/size_limit_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x13SizeLimitErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_SIZELIMITERRORENUM_SIZELIMITERROR = _descriptor.EnumDescriptor( + name='SizeLimitError', + full_name='google.ads.googleads.v6.errors.SizeLimitErrorEnum.SizeLimitError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REQUEST_SIZE_LIMIT_EXCEEDED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RESPONSE_SIZE_LIMIT_EXCEEDED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=148, + serialized_end=261, +) +_sym_db.RegisterEnumDescriptor(_SIZELIMITERRORENUM_SIZELIMITERROR) + + +_SIZELIMITERRORENUM = _descriptor.Descriptor( + name='SizeLimitErrorEnum', + full_name='google.ads.googleads.v6.errors.SizeLimitErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _SIZELIMITERRORENUM_SIZELIMITERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=261, +) + +_SIZELIMITERRORENUM_SIZELIMITERROR.containing_type = _SIZELIMITERRORENUM +DESCRIPTOR.message_types_by_name['SizeLimitErrorEnum'] = _SIZELIMITERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +SizeLimitErrorEnum = _reflection.GeneratedProtocolMessageType('SizeLimitErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _SIZELIMITERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.size_limit_error_pb2' + , + '__doc__': """Container for enum describing possible size limit errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.SizeLimitErrorEnum) + }) +_sym_db.RegisterMessage(SizeLimitErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/size_limit_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/size_limit_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/size_limit_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/string_format_error_pb2.py b/google/ads/google_ads/v6/proto/errors/string_format_error_pb2.py new file mode 100644 index 000000000..beb031354 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/string_format_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/string_format_error.proto + +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_v6/proto/errors/string_format_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\026StringFormatErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/errors/string_format_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x16StringFormatErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_STRINGFORMATERRORENUM_STRINGFORMATERROR = _descriptor.EnumDescriptor( + name='StringFormatError', + full_name='google.ads.googleads.v6.errors.StringFormatErrorEnum.StringFormatError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ILLEGAL_CHARS', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FORMAT', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=241, +) +_sym_db.RegisterEnumDescriptor(_STRINGFORMATERRORENUM_STRINGFORMATERROR) + + +_STRINGFORMATERRORENUM = _descriptor.Descriptor( + name='StringFormatErrorEnum', + full_name='google.ads.googleads.v6.errors.StringFormatErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _STRINGFORMATERRORENUM_STRINGFORMATERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=241, +) + +_STRINGFORMATERRORENUM_STRINGFORMATERROR.containing_type = _STRINGFORMATERRORENUM +DESCRIPTOR.message_types_by_name['StringFormatErrorEnum'] = _STRINGFORMATERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +StringFormatErrorEnum = _reflection.GeneratedProtocolMessageType('StringFormatErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _STRINGFORMATERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.string_format_error_pb2' + , + '__doc__': """Container for enum describing possible string format errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.StringFormatErrorEnum) + }) +_sym_db.RegisterMessage(StringFormatErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/string_format_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/string_format_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/string_format_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/string_length_error_pb2.py b/google/ads/google_ads/v6/proto/errors/string_length_error_pb2.py new file mode 100644 index 000000000..a1c8a5a60 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/string_length_error_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/string_length_error.proto + +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_v6/proto/errors/string_length_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\026StringLengthErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/errors/string_length_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x16StringLengthErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_STRINGLENGTHERRORENUM_STRINGLENGTHERROR = _descriptor.EnumDescriptor( + name='StringLengthError', + full_name='google.ads.googleads.v6.errors.StringLengthErrorEnum.StringLengthError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EMPTY', index=2, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_SHORT', index=3, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_LONG', index=4, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=242, +) +_sym_db.RegisterEnumDescriptor(_STRINGLENGTHERRORENUM_STRINGLENGTHERROR) + + +_STRINGLENGTHERRORENUM = _descriptor.Descriptor( + name='StringLengthErrorEnum', + full_name='google.ads.googleads.v6.errors.StringLengthErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _STRINGLENGTHERRORENUM_STRINGLENGTHERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=242, +) + +_STRINGLENGTHERRORENUM_STRINGLENGTHERROR.containing_type = _STRINGLENGTHERRORENUM +DESCRIPTOR.message_types_by_name['StringLengthErrorEnum'] = _STRINGLENGTHERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +StringLengthErrorEnum = _reflection.GeneratedProtocolMessageType('StringLengthErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _STRINGLENGTHERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.string_length_error_pb2' + , + '__doc__': """Container for enum describing possible string length errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.StringLengthErrorEnum) + }) +_sym_db.RegisterMessage(StringLengthErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/string_length_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/string_length_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/string_length_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/third_party_app_analytics_link_error_pb2.py b/google/ads/google_ads/v6/proto/errors/third_party_app_analytics_link_error_pb2.py new file mode 100644 index 000000000..ed957e274 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/third_party_app_analytics_link_error_pb2.py @@ -0,0 +1,116 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/third_party_app_analytics_link_error.proto + +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_v6/proto/errors/third_party_app_analytics_link_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB$ThirdPartyAppAnalyticsLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nOgoogle/ads/googleads_v6/proto/errors/third_party_app_analytics_link_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xfe\x01\n#ThirdPartyAppAnalyticsLinkErrorEnum\"\xd6\x01\n\x1fThirdPartyAppAnalyticsLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1dINVALID_ANALYTICS_PROVIDER_ID\x10\x02\x12\x19\n\x15INVALID_MOBILE_APP_ID\x10\x03\x12\x1d\n\x19MOBILE_APP_IS_NOT_ENABLED\x10\x04\x12\x38\n4CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK\x10\x05\x42\xff\x01\n\"com.google.ads.googleads.v6.errorsB$ThirdPartyAppAnalyticsLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_THIRDPARTYAPPANALYTICSLINKERRORENUM_THIRDPARTYAPPANALYTICSLINKERROR = _descriptor.EnumDescriptor( + name='ThirdPartyAppAnalyticsLinkError', + full_name='google.ads.googleads.v6.errors.ThirdPartyAppAnalyticsLinkErrorEnum.ThirdPartyAppAnalyticsLinkError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_ANALYTICS_PROVIDER_ID', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_MOBILE_APP_ID', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MOBILE_APP_IS_NOT_ENABLED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=186, + serialized_end=400, +) +_sym_db.RegisterEnumDescriptor(_THIRDPARTYAPPANALYTICSLINKERRORENUM_THIRDPARTYAPPANALYTICSLINKERROR) + + +_THIRDPARTYAPPANALYTICSLINKERRORENUM = _descriptor.Descriptor( + name='ThirdPartyAppAnalyticsLinkErrorEnum', + full_name='google.ads.googleads.v6.errors.ThirdPartyAppAnalyticsLinkErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _THIRDPARTYAPPANALYTICSLINKERRORENUM_THIRDPARTYAPPANALYTICSLINKERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=146, + serialized_end=400, +) + +_THIRDPARTYAPPANALYTICSLINKERRORENUM_THIRDPARTYAPPANALYTICSLINKERROR.containing_type = _THIRDPARTYAPPANALYTICSLINKERRORENUM +DESCRIPTOR.message_types_by_name['ThirdPartyAppAnalyticsLinkErrorEnum'] = _THIRDPARTYAPPANALYTICSLINKERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ThirdPartyAppAnalyticsLinkErrorEnum = _reflection.GeneratedProtocolMessageType('ThirdPartyAppAnalyticsLinkErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _THIRDPARTYAPPANALYTICSLINKERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.third_party_app_analytics_link_error_pb2' + , + '__doc__': """Container for enum describing possible third party app analytics link + errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.ThirdPartyAppAnalyticsLinkErrorEnum) + }) +_sym_db.RegisterMessage(ThirdPartyAppAnalyticsLinkErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/third_party_app_analytics_link_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/third_party_app_analytics_link_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/third_party_app_analytics_link_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/time_zone_error_pb2.py b/google/ads/google_ads/v6/proto/errors/time_zone_error_pb2.py new file mode 100644 index 000000000..66518a4a7 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/time_zone_error_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/time_zone_error.proto + +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_v6/proto/errors/time_zone_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022TimeZoneErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/errors/time_zone_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12TimeZoneErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_TIMEZONEERRORENUM_TIMEZONEERROR = _descriptor.EnumDescriptor( + name='TimeZoneError', + full_name='google.ads.googleads.v6.errors.TimeZoneErrorEnum.TimeZoneError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TIME_ZONE', index=2, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.errors.TimeZoneErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _TIMEZONEERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.time_zone_error_pb2' + , + '__doc__': """Container for enum describing possible time zone errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.TimeZoneErrorEnum) + }) +_sym_db.RegisterMessage(TimeZoneErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/time_zone_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/time_zone_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/time_zone_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/url_field_error_pb2.py b/google/ads/google_ads/v6/proto/errors/url_field_error_pb2.py new file mode 100644 index 000000000..ac8cbf3c1 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/url_field_error_pb2.py @@ -0,0 +1,355 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/url_field_error.proto + +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_v6/proto/errors/url_field_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022UrlFieldErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/errors/url_field_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12UrlFieldErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_URLFIELDERRORENUM_URLFIELDERROR = _descriptor.EnumDescriptor( + name='UrlFieldError', + full_name='google.ads.googleads.v6.errors.UrlFieldErrorEnum.UrlFieldError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TRACKING_URL_TEMPLATE', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TAG_IN_TRACKING_URL_TEMPLATE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_TRACKING_URL_TEMPLATE_TAG', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MALFORMED_TRACKING_URL_TEMPLATE', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_HOST_IN_TRACKING_URL_TEMPLATE', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TLD_IN_TRACKING_URL_TEMPLATE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FINAL_URL', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TAG_IN_FINAL_URL', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REDUNDANT_NESTED_FINAL_URL_TAG', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_PROTOCOL_IN_FINAL_URL', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PROTOCOL_IN_FINAL_URL', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MALFORMED_FINAL_URL', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_HOST_IN_FINAL_URL', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TLD_IN_FINAL_URL', index=18, number=18, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FINAL_MOBILE_URL', index=19, number=19, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TAG_IN_FINAL_MOBILE_URL', index=20, number=20, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG', index=21, number=21, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_PROTOCOL_IN_FINAL_MOBILE_URL', index=22, number=22, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PROTOCOL_IN_FINAL_MOBILE_URL', index=23, number=23, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MALFORMED_FINAL_MOBILE_URL', index=24, number=24, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_HOST_IN_FINAL_MOBILE_URL', index=25, number=25, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TLD_IN_FINAL_MOBILE_URL', index=26, number=26, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_FINAL_APP_URL', index=27, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TAG_IN_FINAL_APP_URL', index=28, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REDUNDANT_NESTED_FINAL_APP_URL_TAG', index=29, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MULTIPLE_APP_URLS_FOR_OSTYPE', index=30, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_OSTYPE', index=31, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PROTOCOL_FOR_APP_URL', index=32, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PACKAGE_ID_FOR_APP_URL', index=33, number=33, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT', index=34, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY', index=35, number=39, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE', index=36, number=40, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE', index=37, number=41, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG', index=38, number=42, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_PROTOCOL', index=39, number=43, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_PROTOCOL', index=40, number=52, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_URL', index=41, number=44, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DESTINATION_URL_DEPRECATED', index=42, number=45, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TAG_IN_URL', index=43, number=46, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_URL_TAG', index=44, number=47, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_URL_ID', index=45, number=48, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_URL_ID', index=46, number=49, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FINAL_URL_SUFFIX_MALFORMED', index=47, number=50, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TAG_IN_FINAL_URL_SUFFIX', index=48, number=51, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TOP_LEVEL_DOMAIN', index=49, number=53, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MALFORMED_TOP_LEVEL_DOMAIN', index=50, number=54, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MALFORMED_URL', index=51, number=55, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MISSING_HOST', index=52, number=56, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NULL_CUSTOM_PARAMETER_VALUE', index=53, number=57, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=147, + serialized_end=1971, +) +_sym_db.RegisterEnumDescriptor(_URLFIELDERRORENUM_URLFIELDERROR) + + +_URLFIELDERRORENUM = _descriptor.Descriptor( + name='UrlFieldErrorEnum', + full_name='google.ads.googleads.v6.errors.UrlFieldErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _URLFIELDERRORENUM_URLFIELDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=125, + serialized_end=1971, +) + +_URLFIELDERRORENUM_URLFIELDERROR.containing_type = _URLFIELDERRORENUM +DESCRIPTOR.message_types_by_name['UrlFieldErrorEnum'] = _URLFIELDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UrlFieldErrorEnum = _reflection.GeneratedProtocolMessageType('UrlFieldErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _URLFIELDERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.url_field_error_pb2' + , + '__doc__': """Container for enum describing possible url field errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.UrlFieldErrorEnum) + }) +_sym_db.RegisterMessage(UrlFieldErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/url_field_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/url_field_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/url_field_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/user_data_error_pb2.py b/google/ads/google_ads/v6/proto/errors/user_data_error_pb2.py new file mode 100644 index 000000000..3367b9af4 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/user_data_error_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/user_data_error.proto + +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_v6/proto/errors/user_data_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022UserDataErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/errors/user_data_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\x12UserDataErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_USERDATAERRORENUM_USERDATAERROR = _descriptor.EnumDescriptor( + name='UserDataError', + full_name='google.ads.googleads.v6.errors.UserDataErrorEnum.UserDataError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_USER_IDENTIFIERS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USER_LIST_NOT_APPLICABLE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + 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.v6.errors.UserDataErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + 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,), { + 'DESCRIPTOR' : _USERDATAERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.user_data_error_pb2' + , + '__doc__': """Container for enum describing possible user data errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.UserDataErrorEnum) + }) +_sym_db.RegisterMessage(UserDataErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/user_data_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/user_data_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/user_data_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/user_list_error_pb2.py b/google/ads/google_ads/v6/proto/errors/user_list_error_pb2.py new file mode 100644 index 000000000..3a318f9d6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/user_list_error_pb2.py @@ -0,0 +1,225 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/user_list_error.proto + +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_v6/proto/errors/user_list_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\022UserListErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/errors/user_list_error.proto\x12\x1egoogle.ads.googleads.v6.errors\x1a\x1cgoogle/api/annotations.proto\"\xed\x07\n\x11UserListErrorEnum\"\xd7\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\x37\n3ADVERTISER_NOT_ON_ALLOWLIST_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.v6.errorsB\x12UserListErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_USERLISTERRORENUM_USERLISTERROR = _descriptor.EnumDescriptor( + name='UserListError', + full_name='google.ads.googleads.v6.errors.UserListErrorEnum.UserListError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONCRETE_TYPE_REQUIRED', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_TYPE_ID_REQUIRED', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_CONVERSION_TYPES', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_CONVERSION_TYPE', index=6, number=6, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DESCRIPTION', index=7, number=7, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_NAME', index=8, number=8, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_TYPE', index=9, number=9, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND', index=10, number=10, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_USER_LIST_LOGICAL_RULE_OPERAND', index=11, number=11, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NAME_ALREADY_USED', index=12, number=12, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='NEW_CONVERSION_TYPE_NAME_REQUIRED', index=13, number=13, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CONVERSION_TYPE_NAME_ALREADY_USED', index=14, number=14, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='OWNERSHIP_REQUIRED_FOR_SET', index=15, number=15, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USER_LIST_MUTATE_NOT_SUPPORTED', index=16, number=16, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_RULE', index=17, number=17, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='INVALID_DATE_RANGE', index=18, number=27, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAN_NOT_MUTATE_SENSITIVE_USERLIST', index=19, number=28, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='MAX_NUM_RULEBASED_USERLISTS', index=20, number=29, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_BILLABLE_RECORD_COUNT', index=21, number=30, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='APP_ID_NOT_SET', index=22, number=31, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST', index=23, number=32, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA', index=24, number=37, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='RULE_TYPE_IS_NOT_SUPPORTED', index=25, number=34, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND', index=26, number=35, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS', index=27, number=36, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=147, + serialized_end=1130, +) +_sym_db.RegisterEnumDescriptor(_USERLISTERRORENUM_USERLISTERROR) + + +_USERLISTERRORENUM = _descriptor.Descriptor( + name='UserListErrorEnum', + full_name='google.ads.googleads.v6.errors.UserListErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _USERLISTERRORENUM_USERLISTERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=125, + serialized_end=1130, +) + +_USERLISTERRORENUM_USERLISTERROR.containing_type = _USERLISTERRORENUM +DESCRIPTOR.message_types_by_name['UserListErrorEnum'] = _USERLISTERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UserListErrorEnum = _reflection.GeneratedProtocolMessageType('UserListErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _USERLISTERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.user_list_error_pb2' + , + '__doc__': """Container for enum describing possible user list errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.UserListErrorEnum) + }) +_sym_db.RegisterMessage(UserListErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/user_list_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/user_list_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/user_list_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/errors/youtube_video_registration_error_pb2.py b/google/ads/google_ads/v6/proto/errors/youtube_video_registration_error_pb2.py new file mode 100644 index 000000000..b809d1de9 --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/youtube_video_registration_error_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/errors/youtube_video_registration_error.proto + +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_v6/proto/errors/youtube_video_registration_error.proto', + package='google.ads.googleads.v6.errors', + syntax='proto3', + serialized_options=b'\n\"com.google.ads.googleads.v6.errorsB\"YoutubeVideoRegistrationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V6.Errors\312\002\036Google\\Ads\\GoogleAds\\V6\\Errors\352\002\"Google::Ads::GoogleAds::V6::Errors', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nKgoogle/ads/googleads_v6/proto/errors/youtube_video_registration_error.proto\x12\x1egoogle.ads.googleads.v6.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.v6.errorsB\"YoutubeVideoRegistrationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V6.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V6\\Errors\xea\x02\"Google::Ads::GoogleAds::V6::Errorsb\x06proto3' + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR = _descriptor.EnumDescriptor( + name='YoutubeVideoRegistrationError', + full_name='google.ads.googleads.v6.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VIDEO_NOT_FOUND', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VIDEO_NOT_ACCESSIBLE', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='VIDEO_NOT_ELIGIBLE', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=180, + serialized_end=312, +) +_sym_db.RegisterEnumDescriptor(_YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR) + + +_YOUTUBEVIDEOREGISTRATIONERRORENUM = _descriptor.Descriptor( + name='YoutubeVideoRegistrationErrorEnum', + full_name='google.ads.googleads.v6.errors.YoutubeVideoRegistrationErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=142, + serialized_end=312, +) + +_YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR.containing_type = _YOUTUBEVIDEOREGISTRATIONERRORENUM +DESCRIPTOR.message_types_by_name['YoutubeVideoRegistrationErrorEnum'] = _YOUTUBEVIDEOREGISTRATIONERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +YoutubeVideoRegistrationErrorEnum = _reflection.GeneratedProtocolMessageType('YoutubeVideoRegistrationErrorEnum', (_message.Message,), { + 'DESCRIPTOR' : _YOUTUBEVIDEOREGISTRATIONERRORENUM, + '__module__' : 'google.ads.googleads_v6.proto.errors.youtube_video_registration_error_pb2' + , + '__doc__': """Container for enum describing YouTube video registration errors.""", + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.errors.YoutubeVideoRegistrationErrorEnum) + }) +_sym_db.RegisterMessage(YoutubeVideoRegistrationErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/errors/youtube_video_registration_error_pb2_grpc.py b/google/ads/google_ads/v6/proto/errors/youtube_video_registration_error_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/errors/youtube_video_registration_error_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v2/proto/resources/__init__.py b/google/ads/google_ads/v6/proto/resources/__init__.py similarity index 100% rename from google/ads/google_ads/v2/proto/resources/__init__.py rename to google/ads/google_ads/v6/proto/resources/__init__.py diff --git a/google/ads/google_ads/v6/proto/resources/account_budget_pb2.py b/google/ads/google_ads/v6/proto/resources/account_budget_pb2.py new file mode 100644 index 000000000..8479fb547 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/account_budget_pb2.py @@ -0,0 +1,721 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/account_budget.proto + +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.v6.proto.enums import account_budget_proposal_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2 +from google.ads.google_ads.v6.proto.enums import account_budget_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_account__budget__status__pb2 +from google.ads.google_ads.v6.proto.enums import spending_limit_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_spending__limit__type__pb2 +from google.ads.google_ads.v6.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/account_budget.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\022AccountBudgetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/enums/policy_review_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xda\x05\n\x12\x41\x64GroupAdAssetView\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x03\xfa\x41-\n+googleads.googleapis.com/AdGroupAdAssetView\x12\x44\n\x0b\x61\x64_group_ad\x18\t \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"googleads.googleapis.com/AdGroupAdH\x00\x88\x01\x01\x12:\n\x05\x61sset\x18\n \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1egoogleads.googleapis.com/AssetH\x01\x88\x01\x01\x12Y\n\nfield_type\x18\x02 \x01(\x0e\x32@.google.ads.googleads.v6.enums.AssetFieldTypeEnum.AssetFieldTypeB\x03\xe0\x41\x03\x12\x19\n\x07\x65nabled\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12[\n\x0epolicy_summary\x18\x03 \x01(\x0b\x32>.google.ads.googleads.v6.resources.AdGroupAdAssetPolicySummaryB\x03\xe0\x41\x03\x12n\n\x11performance_label\x18\x04 \x01(\x0e\x32N.google.ads.googleads.v6.enums.AssetPerformanceLabelEnum.AssetPerformanceLabelB\x03\xe0\x41\x03:\x8c\x01\xea\x41\x88\x01\n+googleads.googleapis.com/AdGroupAdAssetView\x12Ycustomers/{customer_id}/adGroupAdAssetViews/{ad_group_id}~{ad_id}~{asset_id}~{field_type}B\x0e\n\x0c_ad_group_adB\x08\n\x06_assetB\n\n\x08_enabled\"\xc4\x02\n\x1b\x41\x64GroupAdAssetPolicySummary\x12S\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v6.common.PolicyTopicEntryB\x03\xe0\x41\x03\x12\x64\n\rreview_status\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v6.enums.PolicyReviewStatusEnum.PolicyReviewStatusB\x03\xe0\x41\x03\x12j\n\x0f\x61pproval_status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v6.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\x03\xe0\x41\x03\x42\x84\x02\n%com.google.ads.googleads.v6.resourcesB\x17\x41\x64GroupAdAssetViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_asset__field__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_asset__performance__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPADASSETVIEW = _descriptor.Descriptor( + name='AdGroupAdAssetView', + full_name='google.ads.googleads.v6.resources.AdGroupAdAssetView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_ad', full_name='google.ads.googleads.v6.resources.AdGroupAdAssetView.ad_group_ad', index=1, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroupAd', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='asset', full_name='google.ads.googleads.v6.resources.AdGroupAdAssetView.asset', index=2, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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/Asset', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='field_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='enabled', full_name='google.ads.googleads.v6.resources.AdGroupAdAssetView.enabled', index=4, + number=8, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='policy_summary', full_name='google.ads.googleads.v6.resources.AdGroupAdAssetView.policy_summary', 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='performance_label', full_name='google.ads.googleads.v6.resources.AdGroupAdAssetView.performance_label', index=6, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A\210\001\n+googleads.googleapis.com/AdGroupAdAssetView\022Ycustomers/{customer_id}/adGroupAdAssetViews/{ad_group_id}~{ad_id}~{asset_id}~{field_type}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_ad_group_ad', full_name='google.ads.googleads.v6.resources.AdGroupAdAssetView._ad_group_ad', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_asset', full_name='google.ads.googleads.v6.resources.AdGroupAdAssetView._asset', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_enabled', full_name='google.ads.googleads.v6.resources.AdGroupAdAssetView._enabled', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=506, + serialized_end=1236, +) + + +_ADGROUPADASSETPOLICYSUMMARY = _descriptor.Descriptor( + name='AdGroupAdAssetPolicySummary', + full_name='google.ads.googleads.v6.resources.AdGroupAdAssetPolicySummary', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='policy_topic_entries', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='review_status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='approval_status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1239, + serialized_end=1563, +) + +_ADGROUPADASSETVIEW.fields_by_name['field_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_asset__performance__label__pb2._ASSETPERFORMANCELABELENUM_ASSETPERFORMANCELABEL +_ADGROUPADASSETVIEW.oneofs_by_name['_ad_group_ad'].fields.append( + _ADGROUPADASSETVIEW.fields_by_name['ad_group_ad']) +_ADGROUPADASSETVIEW.fields_by_name['ad_group_ad'].containing_oneof = _ADGROUPADASSETVIEW.oneofs_by_name['_ad_group_ad'] +_ADGROUPADASSETVIEW.oneofs_by_name['_asset'].fields.append( + _ADGROUPADASSETVIEW.fields_by_name['asset']) +_ADGROUPADASSETVIEW.fields_by_name['asset'].containing_oneof = _ADGROUPADASSETVIEW.oneofs_by_name['_asset'] +_ADGROUPADASSETVIEW.oneofs_by_name['_enabled'].fields.append( + _ADGROUPADASSETVIEW.fields_by_name['enabled']) +_ADGROUPADASSETVIEW.fields_by_name['enabled'].containing_oneof = _ADGROUPADASSETVIEW.oneofs_by_name['_enabled'] +_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY +_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS +_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v6_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,), { + 'DESCRIPTOR' : _ADGROUPADASSETVIEW, + '__module__' : 'google.ads.googleads_v6.proto.resources.ad_group_ad_asset_view_pb2' + , + '__doc__': """A link between an AdGroupAd and an Asset. Currently we only support + AdGroupAdAssetView for AppAds. + + 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. + enabled: + Output only. The status between the asset and the latest + version of the ad. If true, the asset is linked to the latest + version of the ad. If false, it means the link once existed + but has been removed and is no longer present in the latest + version of 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.v6.resources.AdGroupAdAssetView) + }) +_sym_db.RegisterMessage(AdGroupAdAssetView) + +AdGroupAdAssetPolicySummary = _reflection.GeneratedProtocolMessageType('AdGroupAdAssetPolicySummary', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPADASSETPOLICYSUMMARY, + '__module__' : 'google.ads.googleads_v6.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.v6.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['enabled']._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/v6/proto/resources/ad_group_ad_asset_view_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_ad_asset_view_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_ad_asset_view_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_ad_label_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_ad_label_pb2.py new file mode 100644 index 000000000..b95c36604 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_ad_label_pb2.py @@ -0,0 +1,122 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_ad_label.proto + +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_v6/proto/resources/ad_group_ad_label.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\023AdGroupAdLabelProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/resources/ad_group_ad_label.proto\x12!google.ads.googleads.v6.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xec\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\x44\n\x0b\x61\x64_group_ad\x18\x04 \x01(\tB*\xe0\x41\x05\xfa\x41$\n\"googleads.googleapis.com/AdGroupAdH\x00\x88\x01\x01\x12:\n\x05label\x18\x05 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1egoogleads.googleapis.com/LabelH\x01\x88\x01\x01:v\xea\x41s\n\'googleads.googleapis.com/AdGroupAdLabel\x12Hcustomers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}B\x0e\n\x0c_ad_group_adB\x08\n\x06_labelB\x80\x02\n%com.google.ads.googleads.v6.resourcesB\x13\x41\x64GroupAdLabelProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::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,]) + + + + +_ADGROUPADLABEL = _descriptor.Descriptor( + name='AdGroupAdLabel', + full_name='google.ads.googleads.v6.resources.AdGroupAdLabel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_ad', full_name='google.ads.googleads.v6.resources.AdGroupAdLabel.ad_group_ad', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='label', full_name='google.ads.googleads.v6.resources.AdGroupAdLabel.label', 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=b'\340A\005\372A \n\036googleads.googleapis.com/Label', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352As\n\'googleads.googleapis.com/AdGroupAdLabel\022Hcustomers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_ad_group_ad', full_name='google.ads.googleads.v6.resources.AdGroupAdLabel._ad_group_ad', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_label', full_name='google.ads.googleads.v6.resources.AdGroupAdLabel._label', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=193, + serialized_end=557, +) + +_ADGROUPADLABEL.oneofs_by_name['_ad_group_ad'].fields.append( + _ADGROUPADLABEL.fields_by_name['ad_group_ad']) +_ADGROUPADLABEL.fields_by_name['ad_group_ad'].containing_oneof = _ADGROUPADLABEL.oneofs_by_name['_ad_group_ad'] +_ADGROUPADLABEL.oneofs_by_name['_label'].fields.append( + _ADGROUPADLABEL.fields_by_name['label']) +_ADGROUPADLABEL.fields_by_name['label'].containing_oneof = _ADGROUPADLABEL.oneofs_by_name['_label'] +DESCRIPTOR.message_types_by_name['AdGroupAdLabel'] = _ADGROUPADLABEL +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupAdLabel = _reflection.GeneratedProtocolMessageType('AdGroupAdLabel', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPADLABEL, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/ad_group_ad_label_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_ad_label_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_ad_label_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_ad_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_ad_pb2.py new file mode 100644 index 000000000..0a45c8fc6 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_ad_pb2.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_ad.proto + +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.v6.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2 +from google.ads.google_ads.v6.proto.enums import ad_group_ad_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__ad__status__pb2 +from google.ads.google_ads.v6.proto.enums import ad_strength_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__strength__pb2 +from google.ads.google_ads.v6.proto.enums import policy_approval_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__approval__status__pb2 +from google.ads.google_ads.v6.proto.enums import policy_review_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__review__status__pb2 +from google.ads.google_ads.v6.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/ad_group_ad.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\016AdGroupAdProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n9google/ads/googleads_v6/proto/resources/ad_group_ad.proto\x12!google.ads.googleads.v6.resources\x1a\x31google/ads/googleads_v6/proto/common/policy.proto\x1agoogle/ads/googleads_v6/proto/enums/policy_review_status.proto\x1a\x30google/ads/googleads_v6/proto/resources/ad.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xb7\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.v6.enums.AdGroupAdStatusEnum.AdGroupAdStatus\x12?\n\x08\x61\x64_group\x18\t \x01(\tB(\xe0\x41\x05\xfa\x41\"\n googleads.googleapis.com/AdGroupH\x00\x88\x01\x01\x12\x36\n\x02\x61\x64\x18\x05 \x01(\x0b\x32%.google.ads.googleads.v6.resources.AdB\x03\xe0\x41\x05\x12V\n\x0epolicy_summary\x18\x06 \x01(\x0b\x32\x39.google.ads.googleads.v6.resources.AdGroupAdPolicySummaryB\x03\xe0\x41\x03\x12R\n\x0b\x61\x64_strength\x18\x07 \x01(\x0e\x32\x38.google.ads.googleads.v6.enums.AdStrengthEnum.AdStrengthB\x03\xe0\x41\x03:a\xea\x41^\n\"googleads.googleapis.com/AdGroupAd\x12\x38\x63ustomers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}B\x0b\n\t_ad_group\"\xbf\x02\n\x16\x41\x64GroupAdPolicySummary\x12S\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v6.common.PolicyTopicEntryB\x03\xe0\x41\x03\x12\x64\n\rreview_status\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v6.enums.PolicyReviewStatusEnum.PolicyReviewStatusB\x03\xe0\x41\x03\x12j\n\x0f\x61pproval_status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v6.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\x03\xe0\x41\x03\x42\xfb\x01\n%com.google.ads.googleads.v6.resourcesB\x0e\x41\x64GroupAdProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__ad__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__strength__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__review__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPAD = _descriptor.Descriptor( + name='AdGroupAd', + full_name='google.ads.googleads.v6.resources.AdGroupAd', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v6.resources.AdGroupAd.ad_group', index=2, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='policy_summary', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_strength', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A^\n\"googleads.googleapis.com/AdGroupAd\0228customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_ad_group', full_name='google.ads.googleads.v6.resources.AdGroupAd._ad_group', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=535, + serialized_end=1102, +) + + +_ADGROUPADPOLICYSUMMARY = _descriptor.Descriptor( + name='AdGroupAdPolicySummary', + full_name='google.ads.googleads.v6.resources.AdGroupAdPolicySummary', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='policy_topic_entries', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='review_status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='approval_status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1105, + serialized_end=1424, +) + +_ADGROUPAD.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__ad__status__pb2._ADGROUPADSTATUSENUM_ADGROUPADSTATUS +_ADGROUPAD.fields_by_name['ad'].message_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_ad__strength__pb2._ADSTRENGTHENUM_ADSTRENGTH +_ADGROUPAD.oneofs_by_name['_ad_group'].fields.append( + _ADGROUPAD.fields_by_name['ad_group']) +_ADGROUPAD.fields_by_name['ad_group'].containing_oneof = _ADGROUPAD.oneofs_by_name['_ad_group'] +_ADGROUPADPOLICYSUMMARY.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY +_ADGROUPADPOLICYSUMMARY.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS +_ADGROUPADPOLICYSUMMARY.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v6_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,), { + 'DESCRIPTOR' : _ADGROUPAD, + '__module__' : 'google.ads.googleads_v6.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.v6.resources.AdGroupAd) + }) +_sym_db.RegisterMessage(AdGroupAd) + +AdGroupAdPolicySummary = _reflection.GeneratedProtocolMessageType('AdGroupAdPolicySummary', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPADPOLICYSUMMARY, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/ad_group_ad_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_ad_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_ad_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_audience_view_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_audience_view_pb2.py new file mode 100644 index 000000000..44eac0377 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_audience_view_pb2.py @@ -0,0 +1,90 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_audience_view.proto + +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_v6/proto/resources/ad_group_audience_view.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\030AdGroupAudienceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nDgoogle/ads/googleads_v6/proto/resources/ad_group_audience_view.proto\x12!google.ads.googleads.v6.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xe0\x01\n\x13\x41\x64GroupAudienceView\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x03\xfa\x41.\n,googleads.googleapis.com/AdGroupAudienceView:|\xea\x41y\n,googleads.googleapis.com/AdGroupAudienceView\x12Icustomers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}B\x85\x02\n%com.google.ads.googleads.v6.resourcesB\x18\x41\x64GroupAudienceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::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.v6.resources.AdGroupAudienceView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352Ay\n,googleads.googleapis.com/AdGroupAudienceView\022Icustomers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=198, + serialized_end=422, +) + +DESCRIPTOR.message_types_by_name['AdGroupAudienceView'] = _ADGROUPAUDIENCEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupAudienceView = _reflection.GeneratedProtocolMessageType('AdGroupAudienceView', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPAUDIENCEVIEW, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/ad_group_audience_view_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_audience_view_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_audience_view_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_bid_modifier_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_bid_modifier_pb2.py new file mode 100644 index 000000000..4c2c86d82 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_bid_modifier_pb2.py @@ -0,0 +1,273 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_bid_modifier.proto + +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.v6.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v6.proto.enums import bid_modifier_source_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/ad_group_bid_modifier.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\027AdGroupBidModifierProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nCgoogle/ads/googleads_v6/proto/resources/ad_group_bid_modifier.proto\x12!google.ads.googleads.v6.resources\x1a\x33google/ads/googleads_v6/proto/common/criteria.proto\x1a=google/ads/googleads_v6/proto/enums/bid_modifier_source.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xf7\x08\n\x12\x41\x64GroupBidModifier\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x05\xfa\x41-\n+googleads.googleapis.com/AdGroupBidModifier\x12?\n\x08\x61\x64_group\x18\r \x01(\tB(\xe0\x41\x05\xfa\x41\"\n googleads.googleapis.com/AdGroupH\x01\x88\x01\x01\x12\x1e\n\x0c\x63riterion_id\x18\x0e \x01(\x03\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12\x19\n\x0c\x62id_modifier\x18\x0f \x01(\x01H\x03\x88\x01\x01\x12\x44\n\rbase_ad_group\x18\x10 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n googleads.googleapis.com/AdGroupH\x04\x88\x01\x01\x12h\n\x13\x62id_modifier_source\x18\n \x01(\x0e\x32\x46.google.ads.googleads.v6.enums.BidModifierSourceEnum.BidModifierSourceB\x03\xe0\x41\x03\x12\x64\n\x19hotel_date_selection_type\x18\x05 \x01(\x0b\x32:.google.ads.googleads.v6.common.HotelDateSelectionTypeInfoB\x03\xe0\x41\x05H\x00\x12j\n\x1chotel_advance_booking_window\x18\x06 \x01(\x0b\x32=.google.ads.googleads.v6.common.HotelAdvanceBookingWindowInfoB\x03\xe0\x41\x05H\x00\x12Z\n\x14hotel_length_of_stay\x18\x07 \x01(\x0b\x32\x35.google.ads.googleads.v6.common.HotelLengthOfStayInfoB\x03\xe0\x41\x05H\x00\x12V\n\x12hotel_check_in_day\x18\x08 \x01(\x0b\x32\x33.google.ads.googleads.v6.common.HotelCheckInDayInfoB\x03\xe0\x41\x05H\x00\x12\x41\n\x06\x64\x65vice\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v6.common.DeviceInfoB\x03\xe0\x41\x05H\x00\x12V\n\x11preferred_content\x18\x0c \x01(\x0b\x32\x34.google.ads.googleads.v6.common.PreferredContentInfoB\x03\xe0\x41\x05H\x00:z\xea\x41w\n+googleads.googleapis.com/AdGroupBidModifier\x12Hcustomers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}B\x0b\n\tcriterionB\x0b\n\t_ad_groupB\x0f\n\r_criterion_idB\x0f\n\r_bid_modifierB\x10\n\x0e_base_ad_groupB\x84\x02\n%com.google.ads.googleads.v6.resourcesB\x17\x41\x64GroupBidModifierProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPBIDMODIFIER = _descriptor.Descriptor( + name='AdGroupBidModifier', + full_name='google.ads.googleads.v6.resources.AdGroupBidModifier', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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=b'\340A\005\372A-\n+googleads.googleapis.com/AdGroupBidModifier', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v6.resources.AdGroupBidModifier.ad_group', index=1, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='criterion_id', full_name='google.ads.googleads.v6.resources.AdGroupBidModifier.criterion_id', index=2, + number=14, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bid_modifier', full_name='google.ads.googleads.v6.resources.AdGroupBidModifier.bid_modifier', index=3, + number=15, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='base_ad_group', full_name='google.ads.googleads.v6.resources.AdGroupBidModifier.base_ad_group', index=4, + number=16, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bid_modifier_source', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_date_selection_type', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_advance_booking_window', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_length_of_stay', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_check_in_day', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='device', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='preferred_content', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352Aw\n+googleads.googleapis.com/AdGroupBidModifier\022Hcustomers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='criterion', full_name='google.ads.googleads.v6.resources.AdGroupBidModifier.criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group', full_name='google.ads.googleads.v6.resources.AdGroupBidModifier._ad_group', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_criterion_id', full_name='google.ads.googleads.v6.resources.AdGroupBidModifier._criterion_id', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_bid_modifier', full_name='google.ads.googleads.v6.resources.AdGroupBidModifier._bid_modifier', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_base_ad_group', full_name='google.ads.googleads.v6.resources.AdGroupBidModifier._base_ad_group', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=313, + serialized_end=1456, +) + +_ADGROUPBIDMODIFIER.fields_by_name['bid_modifier_source'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_common_dot_criteria__pb2._HOTELDATESELECTIONTYPEINFO +_ADGROUPBIDMODIFIER.fields_by_name['hotel_advance_booking_window'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._HOTELADVANCEBOOKINGWINDOWINFO +_ADGROUPBIDMODIFIER.fields_by_name['hotel_length_of_stay'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._HOTELLENGTHOFSTAYINFO +_ADGROUPBIDMODIFIER.fields_by_name['hotel_check_in_day'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._HOTELCHECKINDAYINFO +_ADGROUPBIDMODIFIER.fields_by_name['device'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO +_ADGROUPBIDMODIFIER.fields_by_name['preferred_content'].message_type = google_dot_ads_dot_googleads__v6_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'] +_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( + _ADGROUPBIDMODIFIER.fields_by_name['hotel_advance_booking_window']) +_ADGROUPBIDMODIFIER.fields_by_name['hotel_advance_booking_window'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] +_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( + _ADGROUPBIDMODIFIER.fields_by_name['hotel_length_of_stay']) +_ADGROUPBIDMODIFIER.fields_by_name['hotel_length_of_stay'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] +_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( + _ADGROUPBIDMODIFIER.fields_by_name['hotel_check_in_day']) +_ADGROUPBIDMODIFIER.fields_by_name['hotel_check_in_day'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] +_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( + _ADGROUPBIDMODIFIER.fields_by_name['device']) +_ADGROUPBIDMODIFIER.fields_by_name['device'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] +_ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( + _ADGROUPBIDMODIFIER.fields_by_name['preferred_content']) +_ADGROUPBIDMODIFIER.fields_by_name['preferred_content'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] +_ADGROUPBIDMODIFIER.oneofs_by_name['_ad_group'].fields.append( + _ADGROUPBIDMODIFIER.fields_by_name['ad_group']) +_ADGROUPBIDMODIFIER.fields_by_name['ad_group'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['_ad_group'] +_ADGROUPBIDMODIFIER.oneofs_by_name['_criterion_id'].fields.append( + _ADGROUPBIDMODIFIER.fields_by_name['criterion_id']) +_ADGROUPBIDMODIFIER.fields_by_name['criterion_id'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['_criterion_id'] +_ADGROUPBIDMODIFIER.oneofs_by_name['_bid_modifier'].fields.append( + _ADGROUPBIDMODIFIER.fields_by_name['bid_modifier']) +_ADGROUPBIDMODIFIER.fields_by_name['bid_modifier'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['_bid_modifier'] +_ADGROUPBIDMODIFIER.oneofs_by_name['_base_ad_group'].fields.append( + _ADGROUPBIDMODIFIER.fields_by_name['base_ad_group']) +_ADGROUPBIDMODIFIER.fields_by_name['base_ad_group'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['_base_ad_group'] +DESCRIPTOR.message_types_by_name['AdGroupBidModifier'] = _ADGROUPBIDMODIFIER +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupBidModifier = _reflection.GeneratedProtocolMessageType('AdGroupBidModifier', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPBIDMODIFIER, + '__module__' : 'google.ads.googleads_v6.proto.resources.ad_group_bid_modifier_pb2' + , + '__doc__': """Represents an ad group bid modifier. + + Attributes: + resource_name: + 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: + Immutable. The ad group 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. 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: + 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: + Output only. Bid modifier source. + criterion: + The criterion of this ad group bid modifier. Required in + create operations starting in V5. + hotel_date_selection_type: + Immutable. Criterion for hotel date selection (default dates + vs. user selected). + hotel_advance_booking_window: + Immutable. Criterion for number of days prior to the stay the + booking is being made. + hotel_length_of_stay: + Immutable. Criterion for length of hotel stay in nights. + hotel_check_in_day: + Immutable. Criterion for day of the week the booking is for. + device: + Immutable. A device criterion. + preferred_content: + Immutable. A preferred content criterion. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.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/v6/proto/resources/ad_group_bid_modifier_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_bid_modifier_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_bid_modifier_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_criterion_label_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_label_pb2.py new file mode 100644 index 000000000..ed9a290cf --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_label_pb2.py @@ -0,0 +1,124 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_criterion_label.proto + +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_v6/proto/resources/ad_group_criterion_label.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\032AdGroupCriterionLabelProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nFgoogle/ads/googleads_v6/proto/resources/ad_group_criterion_label.proto\x12!google.ads.googleads.v6.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xa6\x03\n\x15\x41\x64GroupCriterionLabel\x12M\n\rresource_name\x18\x01 \x01(\tB6\xe0\x41\x05\xfa\x41\x30\n.googleads.googleapis.com/AdGroupCriterionLabel\x12R\n\x12\x61\x64_group_criterion\x18\x04 \x01(\tB1\xe0\x41\x05\xfa\x41+\n)googleads.googleapis.com/AdGroupCriterionH\x00\x88\x01\x01\x12:\n\x05label\x18\x05 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1egoogleads.googleapis.com/LabelH\x01\x88\x01\x01:\x8c\x01\xea\x41\x88\x01\n.googleads.googleapis.com/AdGroupCriterionLabel\x12Vcustomers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}B\x15\n\x13_ad_group_criterionB\x08\n\x06_labelB\x87\x02\n%com.google.ads.googleads.v6.resourcesB\x1a\x41\x64GroupCriterionLabelProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::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,]) + + + + +_ADGROUPCRITERIONLABEL = _descriptor.Descriptor( + name='AdGroupCriterionLabel', + full_name='google.ads.googleads.v6.resources.AdGroupCriterionLabel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_criterion', full_name='google.ads.googleads.v6.resources.AdGroupCriterionLabel.ad_group_criterion', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroupCriterion', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='label', full_name='google.ads.googleads.v6.resources.AdGroupCriterionLabel.label', 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=b'\340A\005\372A \n\036googleads.googleapis.com/Label', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A\210\001\n.googleads.googleapis.com/AdGroupCriterionLabel\022Vcustomers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_ad_group_criterion', full_name='google.ads.googleads.v6.resources.AdGroupCriterionLabel._ad_group_criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_label', full_name='google.ads.googleads.v6.resources.AdGroupCriterionLabel._label', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=200, + serialized_end=622, +) + +_ADGROUPCRITERIONLABEL.oneofs_by_name['_ad_group_criterion'].fields.append( + _ADGROUPCRITERIONLABEL.fields_by_name['ad_group_criterion']) +_ADGROUPCRITERIONLABEL.fields_by_name['ad_group_criterion'].containing_oneof = _ADGROUPCRITERIONLABEL.oneofs_by_name['_ad_group_criterion'] +_ADGROUPCRITERIONLABEL.oneofs_by_name['_label'].fields.append( + _ADGROUPCRITERIONLABEL.fields_by_name['label']) +_ADGROUPCRITERIONLABEL.fields_by_name['label'].containing_oneof = _ADGROUPCRITERIONLABEL.oneofs_by_name['_label'] +DESCRIPTOR.message_types_by_name['AdGroupCriterionLabel'] = _ADGROUPCRITERIONLABEL +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupCriterionLabel = _reflection.GeneratedProtocolMessageType('AdGroupCriterionLabel', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPCRITERIONLABEL, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/ad_group_criterion_label_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_label_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_label_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_criterion_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_pb2.py new file mode 100644 index 000000000..08e3e3519 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_pb2.py @@ -0,0 +1,1030 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_criterion.proto + +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.v6.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v6.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2 +from google.ads.google_ads.v6.proto.enums import ad_group_criterion_approval_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2 +from google.ads.google_ads.v6.proto.enums import ad_group_criterion_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2 +from google.ads.google_ads.v6.proto.enums import bidding_source_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__source__pb2 +from google.ads.google_ads.v6.proto.enums import criterion_system_serving_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2 +from google.ads.google_ads.v6.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__type__pb2 +from google.ads.google_ads.v6.proto.enums import quality_score_bucket_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/ad_group_criterion.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\025AdGroupCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n@google/ads/googleads_v6/proto/resources/ad_group_criterion.proto\x12!google.ads.googleads.v6.resources\x1a\x33google/ads/googleads_v6/proto/common/criteria.proto\x1a;google/ads/googleads_v6/proto/common/custom_parameter.proto\x1aLgoogle/ads/googleads_v6/proto/enums/ad_group_criterion_approval_status.proto\x1a\x43google/ads/googleads_v6/proto/enums/ad_group_criterion_status.proto\x1a\x38google/ads/googleads_v6/proto/enums/bidding_source.proto\x1aIgoogle/ads/googleads_v6/proto/enums/criterion_system_serving_status.proto\x1a\x38google/ads/googleads_v6/proto/enums/criterion_type.proto\x1a>google/ads/googleads_v6/proto/enums/quality_score_bucket.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xe2$\n\x10\x41\x64GroupCriterion\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x05\xfa\x41+\n)googleads.googleapis.com/AdGroupCriterion\x12\x1e\n\x0c\x63riterion_id\x18\x38 \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12`\n\x06status\x18\x03 \x01(\x0e\x32P.google.ads.googleads.v6.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus\x12Z\n\x0cquality_info\x18\x04 \x01(\x0b\x32?.google.ads.googleads.v6.resources.AdGroupCriterion.QualityInfoB\x03\xe0\x41\x03\x12?\n\x08\x61\x64_group\x18\x39 \x01(\tB(\xe0\x41\x05\xfa\x41\"\n googleads.googleapis.com/AdGroupH\x02\x88\x01\x01\x12Q\n\x04type\x18\x19 \x01(\x0e\x32>.google.ads.googleads.v6.enums.CriterionTypeEnum.CriterionTypeB\x03\xe0\x41\x03\x12\x1a\n\x08negative\x18: \x01(\x08\x42\x03\xe0\x41\x05H\x03\x88\x01\x01\x12\x80\x01\n\x15system_serving_status\x18\x34 \x01(\x0e\x32\\.google.ads.googleads.v6.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatusB\x03\xe0\x41\x03\x12~\n\x0f\x61pproval_status\x18\x35 \x01(\x0e\x32`.google.ads.googleads.v6.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatusB\x03\xe0\x41\x03\x12 \n\x13\x64isapproval_reasons\x18; \x03(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x62id_modifier\x18= \x01(\x01H\x04\x88\x01\x01\x12\x1b\n\x0e\x63pc_bid_micros\x18> \x01(\x03H\x05\x88\x01\x01\x12\x1b\n\x0e\x63pm_bid_micros\x18? \x01(\x03H\x06\x88\x01\x01\x12\x1b\n\x0e\x63pv_bid_micros\x18@ \x01(\x03H\x07\x88\x01\x01\x12#\n\x16percent_cpc_bid_micros\x18\x41 \x01(\x03H\x08\x88\x01\x01\x12*\n\x18\x65\x66\x66\x65\x63tive_cpc_bid_micros\x18\x42 \x01(\x03\x42\x03\xe0\x41\x03H\t\x88\x01\x01\x12*\n\x18\x65\x66\x66\x65\x63tive_cpm_bid_micros\x18\x43 \x01(\x03\x42\x03\xe0\x41\x03H\n\x88\x01\x01\x12*\n\x18\x65\x66\x66\x65\x63tive_cpv_bid_micros\x18\x44 \x01(\x03\x42\x03\xe0\x41\x03H\x0b\x88\x01\x01\x12\x32\n effective_percent_cpc_bid_micros\x18\x45 \x01(\x03\x42\x03\xe0\x41\x03H\x0c\x88\x01\x01\x12\x65\n\x18\x65\x66\x66\x65\x63tive_cpc_bid_source\x18\x15 \x01(\x0e\x32>.google.ads.googleads.v6.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.v6.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.v6.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12m\n effective_percent_cpc_bid_source\x18# \x01(\x0e\x32>.google.ads.googleads.v6.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12\x66\n\x12position_estimates\x18\n \x01(\x0b\x32\x45.google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimatesB\x03\xe0\x41\x03\x12\x12\n\nfinal_urls\x18\x46 \x03(\t\x12\x19\n\x11\x66inal_mobile_urls\x18G \x03(\t\x12\x1d\n\x10\x66inal_url_suffix\x18H \x01(\tH\r\x88\x01\x01\x12\"\n\x15tracking_url_template\x18I \x01(\tH\x0e\x88\x01\x01\x12N\n\x15url_custom_parameters\x18\x0e \x03(\x0b\x32/.google.ads.googleads.v6.common.CustomParameter\x12\x43\n\x07keyword\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v6.common.KeywordInfoB\x03\xe0\x41\x05H\x00\x12G\n\tplacement\x18\x1c \x01(\x0b\x32-.google.ads.googleads.v6.common.PlacementInfoB\x03\xe0\x41\x05H\x00\x12Y\n\x13mobile_app_category\x18\x1d \x01(\x0b\x32\x35.google.ads.googleads.v6.common.MobileAppCategoryInfoB\x03\xe0\x41\x05H\x00\x12X\n\x12mobile_application\x18\x1e \x01(\x0b\x32\x35.google.ads.googleads.v6.common.MobileApplicationInfoB\x03\xe0\x41\x05H\x00\x12N\n\rlisting_group\x18 \x01(\x0b\x32\x30.google.ads.googleads.v6.common.ListingGroupInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\tage_range\x18$ \x01(\x0b\x32,.google.ads.googleads.v6.common.AgeRangeInfoB\x03\xe0\x41\x05H\x00\x12\x41\n\x06gender\x18% \x01(\x0b\x32*.google.ads.googleads.v6.common.GenderInfoB\x03\xe0\x41\x05H\x00\x12L\n\x0cincome_range\x18& \x01(\x0b\x32/.google.ads.googleads.v6.common.IncomeRangeInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fparental_status\x18\' \x01(\x0b\x32\x32.google.ads.googleads.v6.common.ParentalStatusInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\tuser_list\x18* \x01(\x0b\x32,.google.ads.googleads.v6.common.UserListInfoB\x03\xe0\x41\x05H\x00\x12N\n\ryoutube_video\x18( \x01(\x0b\x32\x30.google.ads.googleads.v6.common.YouTubeVideoInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fyoutube_channel\x18) \x01(\x0b\x32\x32.google.ads.googleads.v6.common.YouTubeChannelInfoB\x03\xe0\x41\x05H\x00\x12?\n\x05topic\x18+ \x01(\x0b\x32).google.ads.googleads.v6.common.TopicInfoB\x03\xe0\x41\x05H\x00\x12N\n\ruser_interest\x18- \x01(\x0b\x32\x30.google.ads.googleads.v6.common.UserInterestInfoB\x03\xe0\x41\x05H\x00\x12\x43\n\x07webpage\x18. \x01(\x0b\x32+.google.ads.googleads.v6.common.WebpageInfoB\x03\xe0\x41\x05H\x00\x12U\n\x11\x61pp_payment_model\x18/ \x01(\x0b\x32\x33.google.ads.googleads.v6.common.AppPaymentModelInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0f\x63ustom_affinity\x18\x30 \x01(\x0b\x32\x32.google.ads.googleads.v6.common.CustomAffinityInfoB\x03\xe0\x41\x05H\x00\x12N\n\rcustom_intent\x18\x31 \x01(\x0b\x32\x30.google.ads.googleads.v6.common.CustomIntentInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0f\x63ustom_audience\x18J \x01(\x0b\x32\x32.google.ads.googleads.v6.common.CustomAudienceInfoB\x03\xe0\x41\x05H\x00\x12V\n\x11\x63ombined_audience\x18K \x01(\x0b\x32\x34.google.ads.googleads.v6.common.CombinedAudienceInfoB\x03\xe0\x41\x05H\x00\x1a\x8d\x03\n\x0bQualityInfo\x12\x1f\n\rquality_score\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12m\n\x16\x63reative_quality_score\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v6.enums.QualityScoreBucketEnum.QualityScoreBucketB\x03\xe0\x41\x03\x12o\n\x18post_click_quality_score\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v6.enums.QualityScoreBucketEnum.QualityScoreBucketB\x03\xe0\x41\x03\x12k\n\x14search_predicted_ctr\x18\x04 \x01(\x0e\x32H.google.ads.googleads.v6.enums.QualityScoreBucketEnum.QualityScoreBucketB\x03\xe0\x41\x03\x42\x10\n\x0e_quality_score\x1a\xbc\x03\n\x11PositionEstimates\x12\'\n\x15\x66irst_page_cpc_micros\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12+\n\x19\x66irst_position_cpc_micros\x18\x07 \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12(\n\x16top_of_page_cpc_micros\x18\x08 \x01(\x03\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12<\n*estimated_add_clicks_at_first_position_cpc\x18\t \x01(\x03\x42\x03\xe0\x41\x03H\x03\x88\x01\x01\x12:\n(estimated_add_cost_at_first_position_cpc\x18\n \x01(\x03\x42\x03\xe0\x41\x03H\x04\x88\x01\x01\x42\x18\n\x16_first_page_cpc_microsB\x1c\n\x1a_first_position_cpc_microsB\x19\n\x17_top_of_page_cpc_microsB-\n+_estimated_add_clicks_at_first_position_cpcB+\n)_estimated_add_cost_at_first_position_cpc:t\xea\x41q\n)googleads.googleapis.com/AdGroupCriterion\x12\x44\x63ustomers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}B\x0b\n\tcriterionB\x0f\n\r_criterion_idB\x0b\n\t_ad_groupB\x0b\n\t_negativeB\x0f\n\r_bid_modifierB\x11\n\x0f_cpc_bid_microsB\x11\n\x0f_cpm_bid_microsB\x11\n\x0f_cpv_bid_microsB\x19\n\x17_percent_cpc_bid_microsB\x1b\n\x19_effective_cpc_bid_microsB\x1b\n\x19_effective_cpm_bid_microsB\x1b\n\x19_effective_cpv_bid_microsB#\n!_effective_percent_cpc_bid_microsB\x13\n\x11_final_url_suffixB\x18\n\x16_tracking_url_templateB\x82\x02\n%com.google.ads.googleads.v6.resourcesB\x15\x41\x64GroupCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPCRITERION_QUALITYINFO = _descriptor.Descriptor( + name='QualityInfo', + full_name='google.ads.googleads.v6.resources.AdGroupCriterion.QualityInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='quality_score', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.QualityInfo.quality_score', index=0, + number=5, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='creative_quality_score', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='post_click_quality_score', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='search_predicted_ctr', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_quality_score', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.QualityInfo._quality_score', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4126, + serialized_end=4523, +) + +_ADGROUPCRITERION_POSITIONESTIMATES = _descriptor.Descriptor( + name='PositionEstimates', + full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='first_page_cpc_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates.first_page_cpc_micros', index=0, + number=6, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='first_position_cpc_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates.first_position_cpc_micros', index=1, + number=7, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='top_of_page_cpc_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates.top_of_page_cpc_micros', index=2, + number=8, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='estimated_add_clicks_at_first_position_cpc', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates.estimated_add_clicks_at_first_position_cpc', index=3, + number=9, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='estimated_add_cost_at_first_position_cpc', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates.estimated_add_cost_at_first_position_cpc', index=4, + number=10, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_first_page_cpc_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates._first_page_cpc_micros', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_first_position_cpc_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates._first_position_cpc_micros', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_top_of_page_cpc_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates._top_of_page_cpc_micros', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_estimated_add_clicks_at_first_position_cpc', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates._estimated_add_clicks_at_first_position_cpc', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_estimated_add_cost_at_first_position_cpc', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.PositionEstimates._estimated_add_cost_at_first_position_cpc', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=4526, + serialized_end=4970, +) + +_ADGROUPCRITERION = _descriptor.Descriptor( + name='AdGroupCriterion', + full_name='google.ads.googleads.v6.resources.AdGroupCriterion', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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=b'\340A\005\372A+\n)googleads.googleapis.com/AdGroupCriterion', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='criterion_id', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.criterion_id', index=1, + number=56, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='quality_info', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.ad_group', index=4, + number=57, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='negative', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.negative', index=6, + number=58, 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='system_serving_status', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='approval_status', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='disapproval_reasons', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.disapproval_reasons', index=9, + number=59, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bid_modifier', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.bid_modifier', index=10, + number=61, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.cpc_bid_micros', index=11, + number=62, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpm_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.cpm_bid_micros', index=12, + number=63, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpv_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.cpv_bid_micros', index=13, + number=64, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='percent_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.percent_cpc_bid_micros', index=14, + number=65, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.effective_cpc_bid_micros', index=15, + number=66, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_cpm_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.effective_cpm_bid_micros', index=16, + number=67, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_cpv_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.effective_cpv_bid_micros', index=17, + number=68, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_percent_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.effective_percent_cpc_bid_micros', index=18, + number=69, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_cpc_bid_source', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_cpm_bid_source', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_cpv_bid_source', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_percent_cpc_bid_source', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='position_estimates', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_urls', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.final_urls', index=24, + number=70, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_mobile_urls', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.final_mobile_urls', index=25, + number=71, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_url_suffix', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.final_url_suffix', index=26, + number=72, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tracking_url_template', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.tracking_url_template', index=27, + number=73, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_custom_parameters', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='keyword', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='placement', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mobile_app_category', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mobile_application', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='listing_group', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='age_range', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='gender', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='income_range', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parental_status', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='user_list', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='youtube_video', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='youtube_channel', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='topic', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='user_interest', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='webpage', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_payment_model', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='custom_affinity', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='custom_intent', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='custom_audience', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.custom_audience', index=47, + 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='combined_audience', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.combined_audience', index=48, + 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_ADGROUPCRITERION_QUALITYINFO, _ADGROUPCRITERION_POSITIONESTIMATES, ], + enum_types=[ + ], + serialized_options=b'\352Aq\n)googleads.googleapis.com/AdGroupCriterion\022Dcustomers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='criterion', full_name='google.ads.googleads.v6.resources.AdGroupCriterion.criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_criterion_id', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._criterion_id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._ad_group', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_negative', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._negative', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_bid_modifier', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._bid_modifier', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._cpc_bid_micros', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpm_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._cpm_bid_micros', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpv_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._cpv_bid_micros', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_percent_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._percent_cpc_bid_micros', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_effective_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._effective_cpc_bid_micros', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_effective_cpm_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._effective_cpm_bid_micros', + index=10, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_effective_cpv_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._effective_cpv_bid_micros', + index=11, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_effective_percent_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._effective_percent_cpc_bid_micros', + index=12, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_final_url_suffix', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._final_url_suffix', + index=13, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_tracking_url_template', full_name='google.ads.googleads.v6.resources.AdGroupCriterion._tracking_url_template', + index=14, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=710, + serialized_end=5416, +) + +_ADGROUPCRITERION_QUALITYINFO.fields_by_name['creative_quality_score'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET +_ADGROUPCRITERION_QUALITYINFO.containing_type = _ADGROUPCRITERION +_ADGROUPCRITERION_QUALITYINFO.oneofs_by_name['_quality_score'].fields.append( + _ADGROUPCRITERION_QUALITYINFO.fields_by_name['quality_score']) +_ADGROUPCRITERION_QUALITYINFO.fields_by_name['quality_score'].containing_oneof = _ADGROUPCRITERION_QUALITYINFO.oneofs_by_name['_quality_score'] +_ADGROUPCRITERION_POSITIONESTIMATES.containing_type = _ADGROUPCRITERION +_ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_first_page_cpc_micros'].fields.append( + _ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['first_page_cpc_micros']) +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['first_page_cpc_micros'].containing_oneof = _ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_first_page_cpc_micros'] +_ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_first_position_cpc_micros'].fields.append( + _ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['first_position_cpc_micros']) +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['first_position_cpc_micros'].containing_oneof = _ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_first_position_cpc_micros'] +_ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_top_of_page_cpc_micros'].fields.append( + _ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['top_of_page_cpc_micros']) +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['top_of_page_cpc_micros'].containing_oneof = _ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_top_of_page_cpc_micros'] +_ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_estimated_add_clicks_at_first_position_cpc'].fields.append( + _ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['estimated_add_clicks_at_first_position_cpc']) +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['estimated_add_clicks_at_first_position_cpc'].containing_oneof = _ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_estimated_add_clicks_at_first_position_cpc'] +_ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_estimated_add_cost_at_first_position_cpc'].fields.append( + _ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['estimated_add_cost_at_first_position_cpc']) +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['estimated_add_cost_at_first_position_cpc'].containing_oneof = _ADGROUPCRITERION_POSITIONESTIMATES.oneofs_by_name['_estimated_add_cost_at_first_position_cpc'] +_ADGROUPCRITERION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_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['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE +_ADGROUPCRITERION.fields_by_name['system_serving_status'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2._ADGROUPCRITERIONAPPROVALSTATUSENUM_ADGROUPCRITERIONAPPROVALSTATUS +_ADGROUPCRITERION.fields_by_name['effective_cpc_bid_source'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE +_ADGROUPCRITERION.fields_by_name['position_estimates'].message_type = _ADGROUPCRITERION_POSITIONESTIMATES +_ADGROUPCRITERION.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_ADGROUPCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_ADGROUPCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO +_ADGROUPCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO +_ADGROUPCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO +_ADGROUPCRITERION.fields_by_name['listing_group'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._LISTINGGROUPINFO +_ADGROUPCRITERION.fields_by_name['age_range'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._AGERANGEINFO +_ADGROUPCRITERION.fields_by_name['gender'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO +_ADGROUPCRITERION.fields_by_name['income_range'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._INCOMERANGEINFO +_ADGROUPCRITERION.fields_by_name['parental_status'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._PARENTALSTATUSINFO +_ADGROUPCRITERION.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._USERLISTINFO +_ADGROUPCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO +_ADGROUPCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO +_ADGROUPCRITERION.fields_by_name['topic'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._TOPICINFO +_ADGROUPCRITERION.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._USERINTERESTINFO +_ADGROUPCRITERION.fields_by_name['webpage'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._WEBPAGEINFO +_ADGROUPCRITERION.fields_by_name['app_payment_model'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._APPPAYMENTMODELINFO +_ADGROUPCRITERION.fields_by_name['custom_affinity'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._CUSTOMAFFINITYINFO +_ADGROUPCRITERION.fields_by_name['custom_intent'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._CUSTOMINTENTINFO +_ADGROUPCRITERION.fields_by_name['custom_audience'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._CUSTOMAUDIENCEINFO +_ADGROUPCRITERION.fields_by_name['combined_audience'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._COMBINEDAUDIENCEINFO +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['keyword']) +_ADGROUPCRITERION.fields_by_name['keyword'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['placement']) +_ADGROUPCRITERION.fields_by_name['placement'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['mobile_app_category']) +_ADGROUPCRITERION.fields_by_name['mobile_app_category'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['mobile_application']) +_ADGROUPCRITERION.fields_by_name['mobile_application'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['listing_group']) +_ADGROUPCRITERION.fields_by_name['listing_group'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['age_range']) +_ADGROUPCRITERION.fields_by_name['age_range'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['gender']) +_ADGROUPCRITERION.fields_by_name['gender'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['income_range']) +_ADGROUPCRITERION.fields_by_name['income_range'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['parental_status']) +_ADGROUPCRITERION.fields_by_name['parental_status'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['user_list']) +_ADGROUPCRITERION.fields_by_name['user_list'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['youtube_video']) +_ADGROUPCRITERION.fields_by_name['youtube_video'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['youtube_channel']) +_ADGROUPCRITERION.fields_by_name['youtube_channel'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['topic']) +_ADGROUPCRITERION.fields_by_name['topic'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['user_interest']) +_ADGROUPCRITERION.fields_by_name['user_interest'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['webpage']) +_ADGROUPCRITERION.fields_by_name['webpage'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['app_payment_model']) +_ADGROUPCRITERION.fields_by_name['app_payment_model'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['custom_affinity']) +_ADGROUPCRITERION.fields_by_name['custom_affinity'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['custom_intent']) +_ADGROUPCRITERION.fields_by_name['custom_intent'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['custom_audience']) +_ADGROUPCRITERION.fields_by_name['custom_audience'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( + _ADGROUPCRITERION.fields_by_name['combined_audience']) +_ADGROUPCRITERION.fields_by_name['combined_audience'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] +_ADGROUPCRITERION.oneofs_by_name['_criterion_id'].fields.append( + _ADGROUPCRITERION.fields_by_name['criterion_id']) +_ADGROUPCRITERION.fields_by_name['criterion_id'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_criterion_id'] +_ADGROUPCRITERION.oneofs_by_name['_ad_group'].fields.append( + _ADGROUPCRITERION.fields_by_name['ad_group']) +_ADGROUPCRITERION.fields_by_name['ad_group'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_ad_group'] +_ADGROUPCRITERION.oneofs_by_name['_negative'].fields.append( + _ADGROUPCRITERION.fields_by_name['negative']) +_ADGROUPCRITERION.fields_by_name['negative'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_negative'] +_ADGROUPCRITERION.oneofs_by_name['_bid_modifier'].fields.append( + _ADGROUPCRITERION.fields_by_name['bid_modifier']) +_ADGROUPCRITERION.fields_by_name['bid_modifier'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_bid_modifier'] +_ADGROUPCRITERION.oneofs_by_name['_cpc_bid_micros'].fields.append( + _ADGROUPCRITERION.fields_by_name['cpc_bid_micros']) +_ADGROUPCRITERION.fields_by_name['cpc_bid_micros'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_cpc_bid_micros'] +_ADGROUPCRITERION.oneofs_by_name['_cpm_bid_micros'].fields.append( + _ADGROUPCRITERION.fields_by_name['cpm_bid_micros']) +_ADGROUPCRITERION.fields_by_name['cpm_bid_micros'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_cpm_bid_micros'] +_ADGROUPCRITERION.oneofs_by_name['_cpv_bid_micros'].fields.append( + _ADGROUPCRITERION.fields_by_name['cpv_bid_micros']) +_ADGROUPCRITERION.fields_by_name['cpv_bid_micros'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_cpv_bid_micros'] +_ADGROUPCRITERION.oneofs_by_name['_percent_cpc_bid_micros'].fields.append( + _ADGROUPCRITERION.fields_by_name['percent_cpc_bid_micros']) +_ADGROUPCRITERION.fields_by_name['percent_cpc_bid_micros'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_percent_cpc_bid_micros'] +_ADGROUPCRITERION.oneofs_by_name['_effective_cpc_bid_micros'].fields.append( + _ADGROUPCRITERION.fields_by_name['effective_cpc_bid_micros']) +_ADGROUPCRITERION.fields_by_name['effective_cpc_bid_micros'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_effective_cpc_bid_micros'] +_ADGROUPCRITERION.oneofs_by_name['_effective_cpm_bid_micros'].fields.append( + _ADGROUPCRITERION.fields_by_name['effective_cpm_bid_micros']) +_ADGROUPCRITERION.fields_by_name['effective_cpm_bid_micros'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_effective_cpm_bid_micros'] +_ADGROUPCRITERION.oneofs_by_name['_effective_cpv_bid_micros'].fields.append( + _ADGROUPCRITERION.fields_by_name['effective_cpv_bid_micros']) +_ADGROUPCRITERION.fields_by_name['effective_cpv_bid_micros'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_effective_cpv_bid_micros'] +_ADGROUPCRITERION.oneofs_by_name['_effective_percent_cpc_bid_micros'].fields.append( + _ADGROUPCRITERION.fields_by_name['effective_percent_cpc_bid_micros']) +_ADGROUPCRITERION.fields_by_name['effective_percent_cpc_bid_micros'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_effective_percent_cpc_bid_micros'] +_ADGROUPCRITERION.oneofs_by_name['_final_url_suffix'].fields.append( + _ADGROUPCRITERION.fields_by_name['final_url_suffix']) +_ADGROUPCRITERION.fields_by_name['final_url_suffix'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_final_url_suffix'] +_ADGROUPCRITERION.oneofs_by_name['_tracking_url_template'].fields.append( + _ADGROUPCRITERION.fields_by_name['tracking_url_template']) +_ADGROUPCRITERION.fields_by_name['tracking_url_template'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['_tracking_url_template'] +DESCRIPTOR.message_types_by_name['AdGroupCriterion'] = _ADGROUPCRITERION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupCriterion = _reflection.GeneratedProtocolMessageType('AdGroupCriterion', (_message.Message,), { + + 'QualityInfo' : _reflection.GeneratedProtocolMessageType('QualityInfo', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPCRITERION_QUALITYINFO, + '__module__' : 'google.ads.googleads_v6.proto.resources.ad_group_criterion_pb2' + , + '__doc__': """A container for ad group criterion quality information. + + Attributes: + quality_score: + 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: + Output only. The performance of the ad compared to other + advertisers. + post_click_quality_score: + Output only. The quality score of the landing page. + search_predicted_ctr: + Output only. The click-through rate compared to that of other + advertisers. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.AdGroupCriterion.QualityInfo) + }) + , + + 'PositionEstimates' : _reflection.GeneratedProtocolMessageType('PositionEstimates', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPCRITERION_POSITIONESTIMATES, + '__module__' : 'google.ads.googleads_v6.proto.resources.ad_group_criterion_pb2' + , + '__doc__': """Estimates for criterion bids at various positions. + + Attributes: + first_page_cpc_micros: + Output only. The estimate of the CPC bid required for ad to be + shown on first page of search results. + first_position_cpc_micros: + 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: + 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: + 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: + 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.v6.resources.AdGroupCriterion.PositionEstimates) + }) + , + 'DESCRIPTOR' : _ADGROUPCRITERION, + '__module__' : 'google.ads.googleads_v6.proto.resources.ad_group_criterion_pb2' + , + '__doc__': """An ad group criterion. + + Attributes: + resource_name: + 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: + Output only. The ID of the criterion. This field is ignored + for mutates. + status: + The status of the criterion. This is the status of the ad + group criterion entity, set by the client. Note: UI reports + may incorporate additional information that affects whether a + criterion is eligible to run. In some cases a criterion that's + REMOVED in the API can still show as enabled in the UI. For + example, campaigns by default show to users of all age ranges + unless excluded. The UI will show each age range as "enabled", + since they're eligible to see the ads; but + AdGroupCriterion.status will show "removed", since no positive + criterion was added. + quality_info: + Output only. Information regarding the quality of the + criterion. + ad_group: + Immutable. The ad group to which the criterion belongs. + type: + Output only. The type of the criterion. + negative: + 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: + Output only. Serving status of the criterion. + approval_status: + 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 + criteria types support modifiers. + cpc_bid_micros: + The CPC (cost-per-click) bid. + cpm_bid_micros: + The CPM (cost-per-thousand viewable impressions) bid. + cpv_bid_micros: + The CPV (cost-per-view) bid. + percent_cpc_bid_micros: + The CPC bid amount, expressed as a fraction of the advertised + price for some good or service. The valid range for the + fraction is [0,1) and the value stored here is 1,000,000 \* + [fraction]. + effective_cpc_bid_micros: + Output only. The effective CPC (cost-per-click) bid. + effective_cpm_bid_micros: + Output only. The effective CPM (cost-per-thousand viewable + impressions) bid. + effective_cpv_bid_micros: + Output only. The effective CPV (cost-per-view) bid. + effective_percent_cpc_bid_micros: + Output only. The effective Percent CPC bid amount. + effective_cpc_bid_source: + Output only. Source of the effective CPC bid. + effective_cpm_bid_source: + Output only. Source of the effective CPM bid. + effective_cpv_bid_source: + Output only. Source of the effective CPV bid. + effective_percent_cpc_bid_source: + Output only. Source of the effective Percent CPC bid. + position_estimates: + 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. + final_mobile_urls: + The list of possible final mobile URLs after all cross-domain + redirects. + final_url_suffix: + URL template for appending params to final URL. + tracking_url_template: + The URL template for constructing a tracking URL. + url_custom_parameters: + The list of mappings used to substitute custom parameter tags + in a ``tracking_url_template``, ``final_urls``, or + ``mobile_final_urls``. + criterion: + The ad group criterion. Exactly one must be set. + keyword: + Immutable. Keyword. + placement: + Immutable. Placement. + mobile_app_category: + Immutable. Mobile app category. + mobile_application: + Immutable. Mobile application. + listing_group: + Immutable. Listing group. + age_range: + Immutable. Age range. + gender: + Immutable. Gender. + income_range: + Immutable. Income range. + parental_status: + Immutable. Parental status. + user_list: + Immutable. User List. + youtube_video: + Immutable. YouTube Video. + youtube_channel: + Immutable. YouTube Channel. + topic: + Immutable. Topic. + user_interest: + Immutable. User Interest. + webpage: + Immutable. Webpage + app_payment_model: + Immutable. App Payment Model. + custom_affinity: + Immutable. Custom Affinity. + custom_intent: + Immutable. Custom Intent. + custom_audience: + Immutable. Custom Audience. + combined_audience: + Immutable. Combined Audience. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.AdGroupCriterion) + }) +_sym_db.RegisterMessage(AdGroupCriterion) +_sym_db.RegisterMessage(AdGroupCriterion.QualityInfo) +_sym_db.RegisterMessage(AdGroupCriterion.PositionEstimates) + + +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.fields_by_name['custom_audience']._options = None +_ADGROUPCRITERION.fields_by_name['combined_audience']._options = None +_ADGROUPCRITERION._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_criterion_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_criterion_simulation_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_simulation_pb2.py new file mode 100644 index 000000000..c580b98d1 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_simulation_pb2.py @@ -0,0 +1,231 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_criterion_simulation.proto + +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.v6.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2 +from google.ads.google_ads.v6.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__modification__method__pb2 +from google.ads.google_ads.v6.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/ad_group_criterion_simulation.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\037AdGroupCriterionSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nKgoogle/ads/googleads_v6/proto/resources/ad_group_criterion_simulation.proto\x12!google.ads.googleads.v6.resources\x1a\x35google/ads/googleads_v6/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v6/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v6/proto/enums/simulation_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\x98\x07\n\x1a\x41\x64GroupCriterionSimulation\x12R\n\rresource_name\x18\x01 \x01(\tB;\xe0\x41\x03\xfa\x41\x35\n3googleads.googleapis.com/AdGroupCriterionSimulation\x12\x1d\n\x0b\x61\x64_group_id\x18\t \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x1e\n\x0c\x63riterion_id\x18\n \x01(\x03\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12S\n\x04type\x18\x04 \x01(\x0e\x32@.google.ads.googleads.v6.enums.SimulationTypeEnum.SimulationTypeB\x03\xe0\x41\x03\x12~\n\x13modification_method\x18\x05 \x01(\x0e\x32\\.google.ads.googleads.v6.enums.SimulationModificationMethodEnum.SimulationModificationMethodB\x03\xe0\x41\x03\x12\x1c\n\nstart_date\x18\x0b \x01(\tB\x03\xe0\x41\x03H\x03\x88\x01\x01\x12\x1a\n\x08\x65nd_date\x18\x0c \x01(\tB\x03\xe0\x41\x03H\x04\x88\x01\x01\x12\\\n\x12\x63pc_bid_point_list\x18\x08 \x01(\x0b\x32\x39.google.ads.googleads.v6.common.CpcBidSimulationPointListB\x03\xe0\x41\x03H\x00\x12k\n\x1apercent_cpc_bid_point_list\x18\r \x01(\x0b\x32@.google.ads.googleads.v6.common.PercentCpcBidSimulationPointListB\x03\xe0\x41\x03H\x00:\xc1\x01\xea\x41\xbd\x01\n3googleads.googleapis.com/AdGroupCriterionSimulation\x12\x85\x01\x63ustomers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}B\x0c\n\npoint_listB\x0e\n\x0c_ad_group_idB\x0f\n\r_criterion_idB\r\n\x0b_start_dateB\x0b\n\t_end_dateB\x8c\x02\n%com.google.ads.googleads.v6.resourcesB\x1f\x41\x64GroupCriterionSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPCRITERIONSIMULATION = _descriptor.Descriptor( + name='AdGroupCriterionSimulation', + full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_id', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation.ad_group_id', index=1, + number=9, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='criterion_id', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation.criterion_id', index=2, + number=10, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='modification_method', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_date', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation.start_date', index=5, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_date', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation.end_date', index=6, + 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_point_list', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='percent_cpc_bid_point_list', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation.percent_cpc_bid_point_list', index=8, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A\275\001\n3googleads.googleapis.com/AdGroupCriterionSimulation\022\205\001customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='point_list', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation.point_list', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group_id', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation._ad_group_id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_criterion_id', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation._criterion_id', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_start_date', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation._start_date', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_end_date', full_name='google.ads.googleads.v6.resources.AdGroupCriterionSimulation._end_date', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=393, + serialized_end=1313, +) + +_ADGROUPCRITERIONSIMULATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE +_ADGROUPCRITERIONSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__modification__method__pb2._SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD +_ADGROUPCRITERIONSIMULATION.fields_by_name['cpc_bid_point_list'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2._CPCBIDSIMULATIONPOINTLIST +_ADGROUPCRITERIONSIMULATION.fields_by_name['percent_cpc_bid_point_list'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2._PERCENTCPCBIDSIMULATIONPOINTLIST +_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'] +_ADGROUPCRITERIONSIMULATION.oneofs_by_name['point_list'].fields.append( + _ADGROUPCRITERIONSIMULATION.fields_by_name['percent_cpc_bid_point_list']) +_ADGROUPCRITERIONSIMULATION.fields_by_name['percent_cpc_bid_point_list'].containing_oneof = _ADGROUPCRITERIONSIMULATION.oneofs_by_name['point_list'] +_ADGROUPCRITERIONSIMULATION.oneofs_by_name['_ad_group_id'].fields.append( + _ADGROUPCRITERIONSIMULATION.fields_by_name['ad_group_id']) +_ADGROUPCRITERIONSIMULATION.fields_by_name['ad_group_id'].containing_oneof = _ADGROUPCRITERIONSIMULATION.oneofs_by_name['_ad_group_id'] +_ADGROUPCRITERIONSIMULATION.oneofs_by_name['_criterion_id'].fields.append( + _ADGROUPCRITERIONSIMULATION.fields_by_name['criterion_id']) +_ADGROUPCRITERIONSIMULATION.fields_by_name['criterion_id'].containing_oneof = _ADGROUPCRITERIONSIMULATION.oneofs_by_name['_criterion_id'] +_ADGROUPCRITERIONSIMULATION.oneofs_by_name['_start_date'].fields.append( + _ADGROUPCRITERIONSIMULATION.fields_by_name['start_date']) +_ADGROUPCRITERIONSIMULATION.fields_by_name['start_date'].containing_oneof = _ADGROUPCRITERIONSIMULATION.oneofs_by_name['_start_date'] +_ADGROUPCRITERIONSIMULATION.oneofs_by_name['_end_date'].fields.append( + _ADGROUPCRITERIONSIMULATION.fields_by_name['end_date']) +_ADGROUPCRITERIONSIMULATION.fields_by_name['end_date'].containing_oneof = _ADGROUPCRITERIONSIMULATION.oneofs_by_name['_end_date'] +DESCRIPTOR.message_types_by_name['AdGroupCriterionSimulation'] = _ADGROUPCRITERIONSIMULATION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupCriterionSimulation = _reflection.GeneratedProtocolMessageType('AdGroupCriterionSimulation', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPCRITERIONSIMULATION, + '__module__' : 'google.ads.googleads_v6.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. Hotel + AdGroupCriterion simulation operations starting in V5. 1. DISPLAY - + KEYWORD - CPC\_BID - UNIFORM 2. SEARCH - KEYWORD - CPC\_BID - UNIFORM + 3. SHOPPING - LISTING\_GROUP - CPC\_BID - UNIFORM 4. HOTEL - + LISTING\_GROUP - CPC\_BID - UNIFORM 5. HOTEL - LISTING\_GROUP - + PERCENT\_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. + percent_cpc_bid_point_list: + Output only. Simulation points if the simulation type is + PERCENT\_CPC\_BID. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.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.fields_by_name['percent_cpc_bid_point_list']._options = None +_ADGROUPCRITERIONSIMULATION._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_criterion_simulation_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_simulation_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_criterion_simulation_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_extension_setting_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_extension_setting_pb2.py new file mode 100644 index 000000000..9f3e63fd9 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_extension_setting_pb2.py @@ -0,0 +1,144 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_extension_setting.proto + +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.v6.proto.enums import extension_setting_device_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_extension__setting__device__pb2 +from google.ads.google_ads.v6.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/ad_group_extension_setting.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\034AdGroupExtensionSettingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nHgoogle/ads/googleads_v6/proto/resources/ad_group_extension_setting.proto\x12!google.ads.googleads.v6.resources\x1a\x42google/ads/googleads_v6/proto/enums/extension_setting_device.proto\x1a\x38google/ads/googleads_v6/proto/enums/extension_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xd0\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.v6.enums.ExtensionTypeEnum.ExtensionTypeB\x03\xe0\x41\x05\x12?\n\x08\x61\x64_group\x18\x06 \x01(\tB(\xe0\x41\x05\xfa\x41\"\n googleads.googleapis.com/AdGroupH\x00\x88\x01\x01\x12M\n\x14\x65xtension_feed_items\x18\x07 \x03(\tB/\xfa\x41,\n*googleads.googleapis.com/ExtensionFeedItem\x12`\n\x06\x64\x65vice\x18\x05 \x01(\x0e\x32P.google.ads.googleads.v6.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice:\x87\x01\xea\x41\x83\x01\n0googleads.googleapis.com/AdGroupExtensionSetting\x12Ocustomers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}B\x0b\n\t_ad_groupB\x89\x02\n%com.google.ads.googleads.v6.resourcesB\x1c\x41\x64GroupExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPEXTENSIONSETTING = _descriptor.Descriptor( + name='AdGroupExtensionSetting', + full_name='google.ads.googleads.v6.resources.AdGroupExtensionSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='extension_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v6.resources.AdGroupExtensionSetting.ad_group', index=2, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='extension_feed_items', full_name='google.ads.googleads.v6.resources.AdGroupExtensionSetting.extension_feed_items', index=3, + number=7, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='device', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A\203\001\n0googleads.googleapis.com/AdGroupExtensionSetting\022Ocustomers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_ad_group', full_name='google.ads.googleads.v6.resources.AdGroupExtensionSetting._ad_group', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=328, + serialized_end=920, +) + +_ADGROUPEXTENSIONSETTING.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE +_ADGROUPEXTENSIONSETTING.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_extension__setting__device__pb2._EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE +_ADGROUPEXTENSIONSETTING.oneofs_by_name['_ad_group'].fields.append( + _ADGROUPEXTENSIONSETTING.fields_by_name['ad_group']) +_ADGROUPEXTENSIONSETTING.fields_by_name['ad_group'].containing_oneof = _ADGROUPEXTENSIONSETTING.oneofs_by_name['_ad_group'] +DESCRIPTOR.message_types_by_name['AdGroupExtensionSetting'] = _ADGROUPEXTENSIONSETTING +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupExtensionSetting = _reflection.GeneratedProtocolMessageType('AdGroupExtensionSetting', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPEXTENSIONSETTING, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/ad_group_extension_setting_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_extension_setting_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_extension_setting_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_feed_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_feed_pb2.py new file mode 100644 index 000000000..f1f16b037 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_feed_pb2.py @@ -0,0 +1,160 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_feed.proto + +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.v6.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_matching__function__pb2 +from google.ads.google_ads.v6.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_feed__link__status__pb2 +from google.ads.google_ads.v6.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v6_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_v6/proto/resources/ad_group_feed.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\020AdGroupFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/resources/ad_group_feed.proto\x12!google.ads.googleads.v6.resources\x1acustomers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}B\x0b\n\t_ad_groupB\x08\n\x06_labelB\xfe\x01\n%com.google.ads.googleads.v6.resourcesB\x11\x41\x64GroupLabelProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::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,]) + + + + +_ADGROUPLABEL = _descriptor.Descriptor( + name='AdGroupLabel', + full_name='google.ads.googleads.v6.resources.AdGroupLabel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.resources.AdGroupLabel.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroupLabel', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v6.resources.AdGroupLabel.ad_group', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='label', full_name='google.ads.googleads.v6.resources.AdGroupLabel.label', 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=b'\340A\005\372A \n\036googleads.googleapis.com/Label', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352Ag\n%googleads.googleapis.com/AdGroupLabel\022>customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_ad_group', full_name='google.ads.googleads.v6.resources.AdGroupLabel._ad_group', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_label', full_name='google.ads.googleads.v6.resources.AdGroupLabel._label', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=190, + serialized_end=530, +) + +_ADGROUPLABEL.oneofs_by_name['_ad_group'].fields.append( + _ADGROUPLABEL.fields_by_name['ad_group']) +_ADGROUPLABEL.fields_by_name['ad_group'].containing_oneof = _ADGROUPLABEL.oneofs_by_name['_ad_group'] +_ADGROUPLABEL.oneofs_by_name['_label'].fields.append( + _ADGROUPLABEL.fields_by_name['label']) +_ADGROUPLABEL.fields_by_name['label'].containing_oneof = _ADGROUPLABEL.oneofs_by_name['_label'] +DESCRIPTOR.message_types_by_name['AdGroupLabel'] = _ADGROUPLABEL +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupLabel = _reflection.GeneratedProtocolMessageType('AdGroupLabel', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPLABEL, + '__module__' : 'google.ads.googleads_v6.proto.resources.ad_group_label_pb2' + , + '__doc__': """A relationship between an ad group and a label. + + Attributes: + resource_name: + Immutable. The resource name of the ad group label. Ad group + label resource names have the form: ``customers/{customer_id}/ + adGroupLabels/{ad_group_id}~{label_id}`` + ad_group: + Immutable. The ad group to which the label is attached. + label: + Immutable. The label assigned to the ad group. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.AdGroupLabel) + }) +_sym_db.RegisterMessage(AdGroupLabel) + + +DESCRIPTOR._options = None +_ADGROUPLABEL.fields_by_name['resource_name']._options = None +_ADGROUPLABEL.fields_by_name['ad_group']._options = None +_ADGROUPLABEL.fields_by_name['label']._options = None +_ADGROUPLABEL._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_label_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_label_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_label_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_pb2.py new file mode 100644 index 000000000..d45bde239 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_pb2.py @@ -0,0 +1,485 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group.proto + +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.v6.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2 +from google.ads.google_ads.v6.proto.common import explorer_auto_optimizer_setting_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_explorer__auto__optimizer__setting__pb2 +from google.ads.google_ads.v6.proto.common import targeting_setting_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_targeting__setting__pb2 +from google.ads.google_ads.v6.proto.enums import ad_group_ad_rotation_mode_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__ad__rotation__mode__pb2 +from google.ads.google_ads.v6.proto.enums import ad_group_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__status__pb2 +from google.ads.google_ads.v6.proto.enums import ad_group_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__type__pb2 +from google.ads.google_ads.v6.proto.enums import bidding_source_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__source__pb2 +from google.ads.google_ads.v6.proto.enums import targeting_dimension_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_targeting__dimension__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_v6/proto/resources/ad_group.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\014AdGroupProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n6google/ads/googleads_v6/proto/resources/ad_group.proto\x12!google.ads.googleads.v6.resources\x1a;google/ads/googleads_v6/proto/common/custom_parameter.proto\x1aJgoogle/ads/googleads_v6/proto/common/explorer_auto_optimizer_setting.proto\x1a.google.ads.googleads.v6.enums.AdGroupStatusEnum.AdGroupStatus\x12M\n\x04type\x18\x0c \x01(\x0e\x32:.google.ads.googleads.v6.enums.AdGroupTypeEnum.AdGroupTypeB\x03\xe0\x41\x05\x12h\n\x10\x61\x64_rotation_mode\x18\x16 \x01(\x0e\x32N.google.ads.googleads.v6.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode\x12\x44\n\rbase_ad_group\x18$ \x01(\tB(\xe0\x41\x03\xfa\x41\"\n googleads.googleapis.com/AdGroupH\x02\x88\x01\x01\x12\"\n\x15tracking_url_template\x18% \x01(\tH\x03\x88\x01\x01\x12N\n\x15url_custom_parameters\x18\x06 \x03(\x0b\x32/.google.ads.googleads.v6.common.CustomParameter\x12@\n\x08\x63\x61mpaign\x18& \x01(\tB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/CampaignH\x04\x88\x01\x01\x12\x1b\n\x0e\x63pc_bid_micros\x18\' \x01(\x03H\x05\x88\x01\x01\x12\x1b\n\x0e\x63pm_bid_micros\x18( \x01(\x03H\x06\x88\x01\x01\x12\x1e\n\x11target_cpa_micros\x18) \x01(\x03H\x07\x88\x01\x01\x12 \n\x0e\x63pv_bid_micros\x18* \x01(\x03\x42\x03\xe0\x41\x03H\x08\x88\x01\x01\x12\x1e\n\x11target_cpm_micros\x18+ \x01(\x03H\t\x88\x01\x01\x12\x18\n\x0btarget_roas\x18, \x01(\x01H\n\x88\x01\x01\x12#\n\x16percent_cpc_bid_micros\x18- \x01(\x03H\x0b\x88\x01\x01\x12\x65\n\x1f\x65xplorer_auto_optimizer_setting\x18\x15 \x01(\x0b\x32<.google.ads.googleads.v6.common.ExplorerAutoOptimizerSetting\x12n\n\x1c\x64isplay_custom_bid_dimension\x18\x17 \x01(\x0e\x32H.google.ads.googleads.v6.enums.TargetingDimensionEnum.TargetingDimension\x12\x1d\n\x10\x66inal_url_suffix\x18. \x01(\tH\x0c\x88\x01\x01\x12K\n\x11targeting_setting\x18\x19 \x01(\x0b\x32\x30.google.ads.googleads.v6.common.TargetingSetting\x12-\n\x1b\x65\x66\x66\x65\x63tive_target_cpa_micros\x18/ \x01(\x03\x42\x03\xe0\x41\x03H\r\x88\x01\x01\x12h\n\x1b\x65\x66\x66\x65\x63tive_target_cpa_source\x18\x1d \x01(\x0e\x32>.google.ads.googleads.v6.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12\'\n\x15\x65\x66\x66\x65\x63tive_target_roas\x18\x30 \x01(\x01\x42\x03\xe0\x41\x03H\x0e\x88\x01\x01\x12i\n\x1c\x65\x66\x66\x65\x63tive_target_roas_source\x18 \x01(\x0e\x32>.google.ads.googleads.v6.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x31 \x03(\tB-\xe0\x41\x03\xfa\x41\'\n%googleads.googleapis.com/AdGroupLabel:U\xea\x41R\n googleads.googleapis.com/AdGroup\x12.customers/{customer_id}/adGroups/{ad_group_id}B\x05\n\x03_idB\x07\n\x05_nameB\x10\n\x0e_base_ad_groupB\x18\n\x16_tracking_url_templateB\x0b\n\t_campaignB\x11\n\x0f_cpc_bid_microsB\x11\n\x0f_cpm_bid_microsB\x14\n\x12_target_cpa_microsB\x11\n\x0f_cpv_bid_microsB\x14\n\x12_target_cpm_microsB\x0e\n\x0c_target_roasB\x19\n\x17_percent_cpc_bid_microsB\x13\n\x11_final_url_suffixB\x1e\n\x1c_effective_target_cpa_microsB\x18\n\x16_effective_target_roasB\xf9\x01\n%com.google.ads.googleads.v6.resourcesB\x0c\x41\x64GroupProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_explorer__auto__optimizer__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_targeting__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__ad__rotation__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUP = _descriptor.Descriptor( + name='AdGroup', + full_name='google.ads.googleads.v6.resources.AdGroup', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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=b'\340A\005\372A\"\n googleads.googleapis.com/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.AdGroup.id', index=1, + number=34, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.resources.AdGroup.name', index=2, + number=35, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_rotation_mode', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='base_ad_group', full_name='google.ads.googleads.v6.resources.AdGroup.base_ad_group', index=6, + number=36, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tracking_url_template', full_name='google.ads.googleads.v6.resources.AdGroup.tracking_url_template', index=7, + 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=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_custom_parameters', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v6.resources.AdGroup.campaign', index=9, + number=38, type=9, cpp_type=9, label=1, + has_default_value=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/Campaign', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroup.cpc_bid_micros', index=10, + number=39, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpm_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroup.cpm_bid_micros', index=11, + number=40, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_cpa_micros', full_name='google.ads.googleads.v6.resources.AdGroup.target_cpa_micros', index=12, + number=41, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpv_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroup.cpv_bid_micros', index=13, + number=42, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_cpm_micros', full_name='google.ads.googleads.v6.resources.AdGroup.target_cpm_micros', index=14, + number=43, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_roas', full_name='google.ads.googleads.v6.resources.AdGroup.target_roas', index=15, + number=44, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='percent_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroup.percent_cpc_bid_micros', index=16, + number=45, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='explorer_auto_optimizer_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='display_custom_bid_dimension', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_url_suffix', full_name='google.ads.googleads.v6.resources.AdGroup.final_url_suffix', index=19, + number=46, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='targeting_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_target_cpa_micros', full_name='google.ads.googleads.v6.resources.AdGroup.effective_target_cpa_micros', index=21, + number=47, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_target_cpa_source', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_target_roas', full_name='google.ads.googleads.v6.resources.AdGroup.effective_target_roas', index=23, + number=48, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_target_roas_source', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='labels', full_name='google.ads.googleads.v6.resources.AdGroup.labels', index=25, + number=49, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352AR\n googleads.googleapis.com/AdGroup\022.customers/{customer_id}/adGroups/{ad_group_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.resources.AdGroup._id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.resources.AdGroup._name', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_base_ad_group', full_name='google.ads.googleads.v6.resources.AdGroup._base_ad_group', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_tracking_url_template', full_name='google.ads.googleads.v6.resources.AdGroup._tracking_url_template', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign', full_name='google.ads.googleads.v6.resources.AdGroup._campaign', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroup._cpc_bid_micros', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpm_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroup._cpm_bid_micros', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_target_cpa_micros', full_name='google.ads.googleads.v6.resources.AdGroup._target_cpa_micros', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_cpv_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroup._cpv_bid_micros', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_target_cpm_micros', full_name='google.ads.googleads.v6.resources.AdGroup._target_cpm_micros', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_target_roas', full_name='google.ads.googleads.v6.resources.AdGroup._target_roas', + index=10, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_percent_cpc_bid_micros', full_name='google.ads.googleads.v6.resources.AdGroup._percent_cpc_bid_micros', + index=11, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_final_url_suffix', full_name='google.ads.googleads.v6.resources.AdGroup._final_url_suffix', + index=12, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_effective_target_cpa_micros', full_name='google.ads.googleads.v6.resources.AdGroup._effective_target_cpa_micros', + index=13, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_effective_target_roas', full_name='google.ads.googleads.v6.resources.AdGroup._effective_target_roas', + index=14, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=689, + serialized_end=2610, +) + +_ADGROUP.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__group__status__pb2._ADGROUPSTATUSENUM_ADGROUPSTATUS +_ADGROUP.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_ad__group__ad__rotation__mode__pb2._ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE +_ADGROUP.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_ADGROUP.fields_by_name['explorer_auto_optimizer_setting'].message_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_targeting__dimension__pb2._TARGETINGDIMENSIONENUM_TARGETINGDIMENSION +_ADGROUP.fields_by_name['targeting_setting'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_targeting__setting__pb2._TARGETINGSETTING +_ADGROUP.fields_by_name['effective_target_cpa_source'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE +_ADGROUP.oneofs_by_name['_id'].fields.append( + _ADGROUP.fields_by_name['id']) +_ADGROUP.fields_by_name['id'].containing_oneof = _ADGROUP.oneofs_by_name['_id'] +_ADGROUP.oneofs_by_name['_name'].fields.append( + _ADGROUP.fields_by_name['name']) +_ADGROUP.fields_by_name['name'].containing_oneof = _ADGROUP.oneofs_by_name['_name'] +_ADGROUP.oneofs_by_name['_base_ad_group'].fields.append( + _ADGROUP.fields_by_name['base_ad_group']) +_ADGROUP.fields_by_name['base_ad_group'].containing_oneof = _ADGROUP.oneofs_by_name['_base_ad_group'] +_ADGROUP.oneofs_by_name['_tracking_url_template'].fields.append( + _ADGROUP.fields_by_name['tracking_url_template']) +_ADGROUP.fields_by_name['tracking_url_template'].containing_oneof = _ADGROUP.oneofs_by_name['_tracking_url_template'] +_ADGROUP.oneofs_by_name['_campaign'].fields.append( + _ADGROUP.fields_by_name['campaign']) +_ADGROUP.fields_by_name['campaign'].containing_oneof = _ADGROUP.oneofs_by_name['_campaign'] +_ADGROUP.oneofs_by_name['_cpc_bid_micros'].fields.append( + _ADGROUP.fields_by_name['cpc_bid_micros']) +_ADGROUP.fields_by_name['cpc_bid_micros'].containing_oneof = _ADGROUP.oneofs_by_name['_cpc_bid_micros'] +_ADGROUP.oneofs_by_name['_cpm_bid_micros'].fields.append( + _ADGROUP.fields_by_name['cpm_bid_micros']) +_ADGROUP.fields_by_name['cpm_bid_micros'].containing_oneof = _ADGROUP.oneofs_by_name['_cpm_bid_micros'] +_ADGROUP.oneofs_by_name['_target_cpa_micros'].fields.append( + _ADGROUP.fields_by_name['target_cpa_micros']) +_ADGROUP.fields_by_name['target_cpa_micros'].containing_oneof = _ADGROUP.oneofs_by_name['_target_cpa_micros'] +_ADGROUP.oneofs_by_name['_cpv_bid_micros'].fields.append( + _ADGROUP.fields_by_name['cpv_bid_micros']) +_ADGROUP.fields_by_name['cpv_bid_micros'].containing_oneof = _ADGROUP.oneofs_by_name['_cpv_bid_micros'] +_ADGROUP.oneofs_by_name['_target_cpm_micros'].fields.append( + _ADGROUP.fields_by_name['target_cpm_micros']) +_ADGROUP.fields_by_name['target_cpm_micros'].containing_oneof = _ADGROUP.oneofs_by_name['_target_cpm_micros'] +_ADGROUP.oneofs_by_name['_target_roas'].fields.append( + _ADGROUP.fields_by_name['target_roas']) +_ADGROUP.fields_by_name['target_roas'].containing_oneof = _ADGROUP.oneofs_by_name['_target_roas'] +_ADGROUP.oneofs_by_name['_percent_cpc_bid_micros'].fields.append( + _ADGROUP.fields_by_name['percent_cpc_bid_micros']) +_ADGROUP.fields_by_name['percent_cpc_bid_micros'].containing_oneof = _ADGROUP.oneofs_by_name['_percent_cpc_bid_micros'] +_ADGROUP.oneofs_by_name['_final_url_suffix'].fields.append( + _ADGROUP.fields_by_name['final_url_suffix']) +_ADGROUP.fields_by_name['final_url_suffix'].containing_oneof = _ADGROUP.oneofs_by_name['_final_url_suffix'] +_ADGROUP.oneofs_by_name['_effective_target_cpa_micros'].fields.append( + _ADGROUP.fields_by_name['effective_target_cpa_micros']) +_ADGROUP.fields_by_name['effective_target_cpa_micros'].containing_oneof = _ADGROUP.oneofs_by_name['_effective_target_cpa_micros'] +_ADGROUP.oneofs_by_name['_effective_target_roas'].fields.append( + _ADGROUP.fields_by_name['effective_target_roas']) +_ADGROUP.fields_by_name['effective_target_roas'].containing_oneof = _ADGROUP.oneofs_by_name['_effective_target_roas'] +DESCRIPTOR.message_types_by_name['AdGroup'] = _ADGROUP +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroup = _reflection.GeneratedProtocolMessageType('AdGroup', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUP, + '__module__' : 'google.ads.googleads_v6.proto.resources.ad_group_pb2' + , + '__doc__': """An ad group. + + Attributes: + resource_name: + Immutable. The resource name of the ad group. Ad group + resource names have the form: + ``customers/{customer_id}/adGroups/{ad_group_id}`` + id: + 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 + fewer than 255 UTF-8 full-width characters. It must not + contain any null (code point 0x0), NL line feed (code point + 0xA) or carriage return (code point 0xD) characters. + status: + The status of the ad group. + type: + Immutable. The type of the ad group. + ad_rotation_mode: + The ad rotation mode of the ad group. + base_ad_group: + 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: + The list of mappings used to substitute custom parameter tags + in a ``tracking_url_template``, ``final_urls``, or + ``mobile_final_urls``. + campaign: + Immutable. The campaign to which the ad group belongs. + cpc_bid_micros: + The maximum CPC (cost-per-click) bid. + cpm_bid_micros: + The maximum CPM (cost-per-thousand viewable impressions) bid. + target_cpa_micros: + The target CPA (cost-per-acquisition). + cpv_bid_micros: + 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. + target_roas: + The target ROAS (return-on-ad-spend) override. If the ad + group's campaign bidding strategy is a standard Target ROAS + strategy, then this field overrides the target ROAS specified + in the campaign's bidding strategy. Otherwise, this value is + ignored. + percent_cpc_bid_micros: + The percent cpc bid amount, expressed as a fraction of the + advertised price for some good or service. The valid range for + the fraction is [0,1) and the value stored here is 1,000,000 + \* [fraction]. + explorer_auto_optimizer_setting: + Settings for the Display Campaign Optimizer, initially termed + "Explorer". + display_custom_bid_dimension: + Allows advertisers to specify a targeting dimension on which + to place absolute bids. This is only applicable for campaigns + that target only the display network and not search. + final_url_suffix: + URL template for appending params to Final URL. + targeting_setting: + Setting for targeting related features. + effective_target_cpa_micros: + Output only. The effective target CPA (cost-per-acquisition). + This field is read-only. + effective_target_cpa_source: + 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: + 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.v6.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/v6/proto/resources/ad_group_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_group_simulation_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_group_simulation_pb2.py new file mode 100644 index 000000000..4ed1e1c3e --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_simulation_pb2.py @@ -0,0 +1,241 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_group_simulation.proto + +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.v6.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2 +from google.ads.google_ads.v6.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__modification__method__pb2 +from google.ads.google_ads.v6.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/ad_group_simulation.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\026AdGroupSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/resources/ad_group_simulation.proto\x12!google.ads.googleads.v6.resources\x1a\x35google/ads/googleads_v6/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v6/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v6/proto/enums/simulation_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xee\x07\n\x11\x41\x64GroupSimulation\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x03\xfa\x41,\n*googleads.googleapis.com/AdGroupSimulation\x12\x1d\n\x0b\x61\x64_group_id\x18\x0c \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12S\n\x04type\x18\x03 \x01(\x0e\x32@.google.ads.googleads.v6.enums.SimulationTypeEnum.SimulationTypeB\x03\xe0\x41\x03\x12~\n\x13modification_method\x18\x04 \x01(\x0e\x32\\.google.ads.googleads.v6.enums.SimulationModificationMethodEnum.SimulationModificationMethodB\x03\xe0\x41\x03\x12\x1c\n\nstart_date\x18\r \x01(\tB\x03\xe0\x41\x03H\x02\x88\x01\x01\x12\x1a\n\x08\x65nd_date\x18\x0e \x01(\tB\x03\xe0\x41\x03H\x03\x88\x01\x01\x12\\\n\x12\x63pc_bid_point_list\x18\x08 \x01(\x0b\x32\x39.google.ads.googleads.v6.common.CpcBidSimulationPointListB\x03\xe0\x41\x03H\x00\x12\\\n\x12\x63pv_bid_point_list\x18\n \x01(\x0b\x32\x39.google.ads.googleads.v6.common.CpvBidSimulationPointListB\x03\xe0\x41\x03H\x00\x12\x62\n\x15target_cpa_point_list\x18\t \x01(\x0b\x32<.google.ads.googleads.v6.common.TargetCpaSimulationPointListB\x03\xe0\x41\x03H\x00\x12\x64\n\x16target_roas_point_list\x18\x0b \x01(\x0b\x32=.google.ads.googleads.v6.common.TargetRoasSimulationPointListB\x03\xe0\x41\x03H\x00:\x9f\x01\xea\x41\x9b\x01\n*googleads.googleapis.com/AdGroupSimulation\x12mcustomers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}B\x0c\n\npoint_listB\x0e\n\x0c_ad_group_idB\r\n\x0b_start_dateB\x0b\n\t_end_dateB\x83\x02\n%com.google.ads.googleads.v6.resourcesB\x16\x41\x64GroupSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPSIMULATION = _descriptor.Descriptor( + name='AdGroupSimulation', + full_name='google.ads.googleads.v6.resources.AdGroupSimulation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_id', full_name='google.ads.googleads.v6.resources.AdGroupSimulation.ad_group_id', index=1, + number=12, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='modification_method', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_date', full_name='google.ads.googleads.v6.resources.AdGroupSimulation.start_date', index=4, + number=13, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_date', full_name='google.ads.googleads.v6.resources.AdGroupSimulation.end_date', index=5, + number=14, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpc_bid_point_list', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='cpv_bid_point_list', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_cpa_point_list', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_roas_point_list', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A\233\001\n*googleads.googleapis.com/AdGroupSimulation\022mcustomers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='point_list', full_name='google.ads.googleads.v6.resources.AdGroupSimulation.point_list', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group_id', full_name='google.ads.googleads.v6.resources.AdGroupSimulation._ad_group_id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_start_date', full_name='google.ads.googleads.v6.resources.AdGroupSimulation._start_date', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_end_date', full_name='google.ads.googleads.v6.resources.AdGroupSimulation._end_date', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=383, + serialized_end=1389, +) + +_ADGROUPSIMULATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE +_ADGROUPSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__modification__method__pb2._SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD +_ADGROUPSIMULATION.fields_by_name['cpc_bid_point_list'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2._CPCBIDSIMULATIONPOINTLIST +_ADGROUPSIMULATION.fields_by_name['cpv_bid_point_list'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2._CPVBIDSIMULATIONPOINTLIST +_ADGROUPSIMULATION.fields_by_name['target_cpa_point_list'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2._TARGETCPASIMULATIONPOINTLIST +_ADGROUPSIMULATION.fields_by_name['target_roas_point_list'].message_type = google_dot_ads_dot_googleads__v6_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'] +_ADGROUPSIMULATION.oneofs_by_name['_ad_group_id'].fields.append( + _ADGROUPSIMULATION.fields_by_name['ad_group_id']) +_ADGROUPSIMULATION.fields_by_name['ad_group_id'].containing_oneof = _ADGROUPSIMULATION.oneofs_by_name['_ad_group_id'] +_ADGROUPSIMULATION.oneofs_by_name['_start_date'].fields.append( + _ADGROUPSIMULATION.fields_by_name['start_date']) +_ADGROUPSIMULATION.fields_by_name['start_date'].containing_oneof = _ADGROUPSIMULATION.oneofs_by_name['_start_date'] +_ADGROUPSIMULATION.oneofs_by_name['_end_date'].fields.append( + _ADGROUPSIMULATION.fields_by_name['end_date']) +_ADGROUPSIMULATION.fields_by_name['end_date'].containing_oneof = _ADGROUPSIMULATION.oneofs_by_name['_end_date'] +DESCRIPTOR.message_types_by_name['AdGroupSimulation'] = _ADGROUPSIMULATION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupSimulation = _reflection.GeneratedProtocolMessageType('AdGroupSimulation', (_message.Message,), { + 'DESCRIPTOR' : _ADGROUPSIMULATION, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/ad_group_simulation_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_group_simulation_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_group_simulation_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_parameter_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_parameter_pb2.py new file mode 100644 index 000000000..085960f37 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_parameter_pb2.py @@ -0,0 +1,156 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_parameter.proto + +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_v6/proto/resources/ad_parameter.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\020AdParameterProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/resources/ad_parameter.proto\x12!google.ads.googleads.v6.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xa4\x03\n\x0b\x41\x64Parameter\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x05\xfa\x41&\n$googleads.googleapis.com/AdParameter\x12R\n\x12\x61\x64_group_criterion\x18\x05 \x01(\tB1\xe0\x41\x05\xfa\x41+\n)googleads.googleapis.com/AdGroupCriterionH\x00\x88\x01\x01\x12!\n\x0fparameter_index\x18\x06 \x01(\x03\x42\x03\xe0\x41\x05H\x01\x88\x01\x01\x12\x1b\n\x0einsertion_text\x18\x07 \x01(\tH\x02\x88\x01\x01:~\xea\x41{\n$googleads.googleapis.com/AdParameter\x12Scustomers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}B\x15\n\x13_ad_group_criterionB\x12\n\x10_parameter_indexB\x11\n\x0f_insertion_textB\xfd\x01\n%com.google.ads.googleads.v6.resourcesB\x10\x41\x64ParameterProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::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,]) + + + + +_ADPARAMETER = _descriptor.Descriptor( + name='AdParameter', + full_name='google.ads.googleads.v6.resources.AdParameter', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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=b'\340A\005\372A&\n$googleads.googleapis.com/AdParameter', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_criterion', full_name='google.ads.googleads.v6.resources.AdParameter.ad_group_criterion', index=1, + 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=b'\340A\005\372A+\n)googleads.googleapis.com/AdGroupCriterion', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parameter_index', full_name='google.ads.googleads.v6.resources.AdParameter.parameter_index', index=2, + number=6, 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='insertion_text', full_name='google.ads.googleads.v6.resources.AdParameter.insertion_text', index=3, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A{\n$googleads.googleapis.com/AdParameter\022Scustomers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_ad_group_criterion', full_name='google.ads.googleads.v6.resources.AdParameter._ad_group_criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_parameter_index', full_name='google.ads.googleads.v6.resources.AdParameter._parameter_index', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_insertion_text', full_name='google.ads.googleads.v6.resources.AdParameter._insertion_text', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=188, + serialized_end=608, +) + +_ADPARAMETER.oneofs_by_name['_ad_group_criterion'].fields.append( + _ADPARAMETER.fields_by_name['ad_group_criterion']) +_ADPARAMETER.fields_by_name['ad_group_criterion'].containing_oneof = _ADPARAMETER.oneofs_by_name['_ad_group_criterion'] +_ADPARAMETER.oneofs_by_name['_parameter_index'].fields.append( + _ADPARAMETER.fields_by_name['parameter_index']) +_ADPARAMETER.fields_by_name['parameter_index'].containing_oneof = _ADPARAMETER.oneofs_by_name['_parameter_index'] +_ADPARAMETER.oneofs_by_name['_insertion_text'].fields.append( + _ADPARAMETER.fields_by_name['insertion_text']) +_ADPARAMETER.fields_by_name['insertion_text'].containing_oneof = _ADPARAMETER.oneofs_by_name['_insertion_text'] +DESCRIPTOR.message_types_by_name['AdParameter'] = _ADPARAMETER +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdParameter = _reflection.GeneratedProtocolMessageType('AdParameter', (_message.Message,), { + 'DESCRIPTOR' : _ADPARAMETER, + '__module__' : 'google.ads.googleads_v6.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 be a maximum of two AdParameters per ad group criterion. (One with + parameter\_index = 1 and one with parameter\_index = 2.) In the ad the + parameters are referenced by a placeholder of the form + "{param#:value}". E.g. "{param1:$17}" + + Attributes: + resource_name: + 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: + Immutable. The ad group criterion that this ad parameter + belongs to. + parameter_index: + 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, + with an optional period or comma (respectively) for fractional + values. For example, 1,000,000.00 and 2.000.000,10 are valid. + - Can be prepended or appended with a currency symbol. For + example, $99.99 is valid. - Can be prepended or appended with + a currency code. For example, 99.99USD and EUR200 are valid. - + Can use '%'. For example, 1.0% and 1,0% are valid. - Can use + plus or minus. For example, -10.99 and 25+ are valid. - Can + use '/' between two numbers. For example 4/1 and 0.95/0.45 are + valid. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.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/v6/proto/resources/ad_parameter_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_parameter_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_parameter_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_pb2.py new file mode 100644 index 000000000..c5d112ae4 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_pb2.py @@ -0,0 +1,576 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad.proto + +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.v6.proto.common import ad_type_infos_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2 +from google.ads.google_ads.v6.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2 +from google.ads.google_ads.v6.proto.common import final_app_url_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_final__app__url__pb2 +from google.ads.google_ads.v6.proto.common import url_collection_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_url__collection__pb2 +from google.ads.google_ads.v6.proto.enums import ad_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__type__pb2 +from google.ads.google_ads.v6.proto.enums import device_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_device__pb2 +from google.ads.google_ads.v6.proto.enums import system_managed_entity_source_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/ad.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\007AdProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n0google/ads/googleads_v6/proto/resources/ad.proto\x12!google.ads.googleads.v6.resources\x1a\x38google/ads/googleads_v6/proto/common/ad_type_infos.proto\x1a;google/ads/googleads_v6/proto/common/custom_parameter.proto\x1a\x38google/ads/googleads_v6/proto/common/final_app_url.proto\x1a\x39google/ads/googleads_v6/proto/common/url_collection.proto\x1a\x31google/ads/googleads_v6/proto/enums/ad_type.proto\x1a\x30google/ads/googleads_v6/proto/enums/device.proto\x1a\x46google/ads/googleads_v6/proto/enums/system_managed_entity_source.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xa7\x14\n\x02\x41\x64\x12:\n\rresource_name\x18% \x01(\tB#\xe0\x41\x05\xfa\x41\x1d\n\x1bgoogleads.googleapis.com/Ad\x12\x14\n\x02id\x18( \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x12\n\nfinal_urls\x18) \x03(\t\x12\x43\n\x0e\x66inal_app_urls\x18# \x03(\x0b\x32+.google.ads.googleads.v6.common.FinalAppUrl\x12\x19\n\x11\x66inal_mobile_urls\x18* \x03(\t\x12\"\n\x15tracking_url_template\x18+ \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10\x66inal_url_suffix\x18, \x01(\tH\x03\x88\x01\x01\x12N\n\x15url_custom_parameters\x18\n \x03(\x0b\x32/.google.ads.googleads.v6.common.CustomParameter\x12\x18\n\x0b\x64isplay_url\x18- \x01(\tH\x04\x88\x01\x01\x12\x43\n\x04type\x18\x05 \x01(\x0e\x32\x30.google.ads.googleads.v6.enums.AdTypeEnum.AdTypeB\x03\xe0\x41\x03\x12%\n\x13\x61\x64\x64\x65\x64_by_google_ads\x18. \x01(\x08\x42\x03\xe0\x41\x03H\x05\x88\x01\x01\x12K\n\x11\x64\x65vice_preference\x18\x14 \x01(\x0e\x32\x30.google.ads.googleads.v6.enums.DeviceEnum.Device\x12\x46\n\x0furl_collections\x18\x1a \x03(\x0b\x32-.google.ads.googleads.v6.common.UrlCollection\x12\x16\n\x04name\x18/ \x01(\tB\x03\xe0\x41\x05H\x06\x88\x01\x01\x12\x87\x01\n\x1esystem_managed_resource_source\x18\x1b \x01(\x0e\x32Z.google.ads.googleads.v6.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSourceB\x03\xe0\x41\x03\x12\x42\n\x07text_ad\x18\x06 \x01(\x0b\x32*.google.ads.googleads.v6.common.TextAdInfoB\x03\xe0\x41\x05H\x00\x12N\n\x10\x65xpanded_text_ad\x18\x07 \x01(\x0b\x32\x32.google.ads.googleads.v6.common.ExpandedTextAdInfoH\x00\x12\x46\n\x0c\x63\x61ll_only_ad\x18\r \x01(\x0b\x32..google.ads.googleads.v6.common.CallOnlyAdInfoH\x00\x12\x66\n\x1a\x65xpanded_dynamic_search_ad\x18\x0e \x01(\x0b\x32;.google.ads.googleads.v6.common.ExpandedDynamicSearchAdInfoB\x03\xe0\x41\x05H\x00\x12?\n\x08hotel_ad\x18\x0f \x01(\x0b\x32+.google.ads.googleads.v6.common.HotelAdInfoH\x00\x12P\n\x11shopping_smart_ad\x18\x11 \x01(\x0b\x32\x33.google.ads.googleads.v6.common.ShoppingSmartAdInfoH\x00\x12T\n\x13shopping_product_ad\x18\x12 \x01(\x0b\x32\x35.google.ads.googleads.v6.common.ShoppingProductAdInfoH\x00\x12\x44\n\x08gmail_ad\x18\x15 \x01(\x0b\x32+.google.ads.googleads.v6.common.GmailAdInfoB\x03\xe0\x41\x05H\x00\x12\x44\n\x08image_ad\x18\x16 \x01(\x0b\x32+.google.ads.googleads.v6.common.ImageAdInfoB\x03\xe0\x41\x05H\x00\x12?\n\x08video_ad\x18\x18 \x01(\x0b\x32+.google.ads.googleads.v6.common.VideoAdInfoH\x00\x12T\n\x13video_responsive_ad\x18\' \x01(\x0b\x32\x35.google.ads.googleads.v6.common.VideoResponsiveAdInfoH\x00\x12V\n\x14responsive_search_ad\x18\x19 \x01(\x0b\x32\x36.google.ads.googleads.v6.common.ResponsiveSearchAdInfoH\x00\x12\x65\n\x1clegacy_responsive_display_ad\x18\x1c \x01(\x0b\x32=.google.ads.googleads.v6.common.LegacyResponsiveDisplayAdInfoH\x00\x12;\n\x06\x61pp_ad\x18\x1d \x01(\x0b\x32).google.ads.googleads.v6.common.AppAdInfoH\x00\x12\\\n\x15legacy_app_install_ad\x18\x1e \x01(\x0b\x32\x36.google.ads.googleads.v6.common.LegacyAppInstallAdInfoB\x03\xe0\x41\x05H\x00\x12X\n\x15responsive_display_ad\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v6.common.ResponsiveDisplayAdInfoH\x00\x12?\n\x08local_ad\x18 \x01(\x0b\x32+.google.ads.googleads.v6.common.LocalAdInfoH\x00\x12P\n\x11\x64isplay_upload_ad\x18! \x01(\x0b\x32\x33.google.ads.googleads.v6.common.DisplayUploadAdInfoH\x00\x12P\n\x11\x61pp_engagement_ad\x18\" \x01(\x0b\x32\x33.google.ads.googleads.v6.common.AppEngagementAdInfoH\x00\x12i\n\x1eshopping_comparison_listing_ad\x18$ \x01(\x0b\x32?.google.ads.googleads.v6.common.ShoppingComparisonListingAdInfoH\x00:E\xea\x41\x42\n\x1bgoogleads.googleapis.com/Ad\x12#customers/{customer_id}/ads/{ad_id}B\t\n\x07\x61\x64_dataB\x05\n\x03_idB\x18\n\x16_tracking_url_templateB\x13\n\x11_final_url_suffixB\x0e\n\x0c_display_urlB\x16\n\x14_added_by_google_adsB\x07\n\x05_nameB\xf4\x01\n%com.google.ads.googleads.v6.resourcesB\x07\x41\x64ProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_final__app__url__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_url__collection__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_AD = _descriptor.Descriptor( + name='Ad', + full_name='google.ads.googleads.v6.resources.Ad', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.Ad.id', index=1, + number=40, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_urls', full_name='google.ads.googleads.v6.resources.Ad.final_urls', index=2, + number=41, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_app_urls', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_mobile_urls', full_name='google.ads.googleads.v6.resources.Ad.final_mobile_urls', index=4, + number=42, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tracking_url_template', full_name='google.ads.googleads.v6.resources.Ad.tracking_url_template', index=5, + number=43, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_url_suffix', full_name='google.ads.googleads.v6.resources.Ad.final_url_suffix', index=6, + number=44, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_custom_parameters', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='display_url', full_name='google.ads.googleads.v6.resources.Ad.display_url', index=8, + number=45, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='added_by_google_ads', full_name='google.ads.googleads.v6.resources.Ad.added_by_google_ads', index=10, + number=46, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='device_preference', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_collections', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.resources.Ad.name', index=13, + number=47, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='system_managed_resource_source', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='text_ad', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='expanded_text_ad', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='call_only_ad', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='expanded_dynamic_search_ad', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_ad', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shopping_smart_ad', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shopping_product_ad', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='gmail_ad', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='image_ad', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='video_ad', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='video_responsive_ad', full_name='google.ads.googleads.v6.resources.Ad.video_responsive_ad', index=25, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='responsive_search_ad', full_name='google.ads.googleads.v6.resources.Ad.responsive_search_ad', index=26, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='legacy_responsive_display_ad', full_name='google.ads.googleads.v6.resources.Ad.legacy_responsive_display_ad', index=27, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_ad', full_name='google.ads.googleads.v6.resources.Ad.app_ad', index=28, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='legacy_app_install_ad', full_name='google.ads.googleads.v6.resources.Ad.legacy_app_install_ad', index=29, + 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='responsive_display_ad', full_name='google.ads.googleads.v6.resources.Ad.responsive_display_ad', index=30, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='local_ad', full_name='google.ads.googleads.v6.resources.Ad.local_ad', index=31, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='display_upload_ad', full_name='google.ads.googleads.v6.resources.Ad.display_upload_ad', index=32, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_engagement_ad', full_name='google.ads.googleads.v6.resources.Ad.app_engagement_ad', index=33, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shopping_comparison_listing_ad', full_name='google.ads.googleads.v6.resources.Ad.shopping_comparison_listing_ad', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352AB\n\033googleads.googleapis.com/Ad\022#customers/{customer_id}/ads/{ad_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='ad_data', full_name='google.ads.googleads.v6.resources.Ad.ad_data', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.resources.Ad._id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_tracking_url_template', full_name='google.ads.googleads.v6.resources.Ad._tracking_url_template', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_final_url_suffix', full_name='google.ads.googleads.v6.resources.Ad._final_url_suffix', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_display_url', full_name='google.ads.googleads.v6.resources.Ad._display_url', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_added_by_google_ads', full_name='google.ads.googleads.v6.resources.Ad._added_by_google_ads', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.resources.Ad._name', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=587, + serialized_end=3186, +) + +_AD.fields_by_name['final_app_urls'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_final__app__url__pb2._FINALAPPURL +_AD.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_AD.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__type__pb2._ADTYPEENUM_ADTYPE +_AD.fields_by_name['device_preference'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE +_AD.fields_by_name['url_collections'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_url__collection__pb2._URLCOLLECTION +_AD.fields_by_name['system_managed_resource_source'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._TEXTADINFO +_AD.fields_by_name['expanded_text_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._EXPANDEDTEXTADINFO +_AD.fields_by_name['call_only_ad'].message_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._EXPANDEDDYNAMICSEARCHADINFO +_AD.fields_by_name['hotel_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._HOTELADINFO +_AD.fields_by_name['shopping_smart_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGSMARTADINFO +_AD.fields_by_name['shopping_product_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGPRODUCTADINFO +_AD.fields_by_name['gmail_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._GMAILADINFO +_AD.fields_by_name['image_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._IMAGEADINFO +_AD.fields_by_name['video_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._VIDEOADINFO +_AD.fields_by_name['video_responsive_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._VIDEORESPONSIVEADINFO +_AD.fields_by_name['responsive_search_ad'].message_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._LEGACYRESPONSIVEDISPLAYADINFO +_AD.fields_by_name['app_ad'].message_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._LEGACYAPPINSTALLADINFO +_AD.fields_by_name['responsive_display_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._RESPONSIVEDISPLAYADINFO +_AD.fields_by_name['local_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._LOCALADINFO +_AD.fields_by_name['display_upload_ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_ad__type__infos__pb2._DISPLAYUPLOADADINFO +_AD.fields_by_name['app_engagement_ad'].message_type = google_dot_ads_dot_googleads__v6_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__v6_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'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['expanded_text_ad']) +_AD.fields_by_name['expanded_text_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['call_only_ad']) +_AD.fields_by_name['call_only_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['expanded_dynamic_search_ad']) +_AD.fields_by_name['expanded_dynamic_search_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['hotel_ad']) +_AD.fields_by_name['hotel_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['shopping_smart_ad']) +_AD.fields_by_name['shopping_smart_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['shopping_product_ad']) +_AD.fields_by_name['shopping_product_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['gmail_ad']) +_AD.fields_by_name['gmail_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['image_ad']) +_AD.fields_by_name['image_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['video_ad']) +_AD.fields_by_name['video_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['video_responsive_ad']) +_AD.fields_by_name['video_responsive_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['responsive_search_ad']) +_AD.fields_by_name['responsive_search_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['legacy_responsive_display_ad']) +_AD.fields_by_name['legacy_responsive_display_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['app_ad']) +_AD.fields_by_name['app_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['legacy_app_install_ad']) +_AD.fields_by_name['legacy_app_install_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_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'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['app_engagement_ad']) +_AD.fields_by_name['app_engagement_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['shopping_comparison_listing_ad']) +_AD.fields_by_name['shopping_comparison_listing_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['_id'].fields.append( + _AD.fields_by_name['id']) +_AD.fields_by_name['id'].containing_oneof = _AD.oneofs_by_name['_id'] +_AD.oneofs_by_name['_tracking_url_template'].fields.append( + _AD.fields_by_name['tracking_url_template']) +_AD.fields_by_name['tracking_url_template'].containing_oneof = _AD.oneofs_by_name['_tracking_url_template'] +_AD.oneofs_by_name['_final_url_suffix'].fields.append( + _AD.fields_by_name['final_url_suffix']) +_AD.fields_by_name['final_url_suffix'].containing_oneof = _AD.oneofs_by_name['_final_url_suffix'] +_AD.oneofs_by_name['_display_url'].fields.append( + _AD.fields_by_name['display_url']) +_AD.fields_by_name['display_url'].containing_oneof = _AD.oneofs_by_name['_display_url'] +_AD.oneofs_by_name['_added_by_google_ads'].fields.append( + _AD.fields_by_name['added_by_google_ads']) +_AD.fields_by_name['added_by_google_ads'].containing_oneof = _AD.oneofs_by_name['_added_by_google_ads'] +_AD.oneofs_by_name['_name'].fields.append( + _AD.fields_by_name['name']) +_AD.fields_by_name['name'].containing_oneof = _AD.oneofs_by_name['_name'] +DESCRIPTOR.message_types_by_name['Ad'] = _AD +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Ad = _reflection.GeneratedProtocolMessageType('Ad', (_message.Message,), { + 'DESCRIPTOR' : _AD, + '__module__' : 'google.ads.googleads_v6.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: + Output only. The ID of the ad. + final_urls: + The list of possible final URLs after all cross-domain + redirects for the ad. + final_app_urls: + A list of final app URLs that will be used on mobile if the + user has the specific app installed. + final_mobile_urls: + The list of possible final mobile URLs after all cross-domain + 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``. For mutates, please use url custom + parameter operations. + display_url: + The URL that appears in the ad description for some ad + formats. + type: + Output only. The type of ad. + added_by_google_ads: + 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 + ad will be preferred over other ads when being displayed on a + mobile device. The ad can still be displayed on other device + types, e.g. if no other ads are available. If unspecified (no + device preference), all devices are targeted. This is only + supported by some ad types. + url_collections: + Additional URLs for the ad that are tagged with a unique + identifier that can be referenced from other fields in the ad. + name: + 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. The name field is currently only + supported for DisplayUploadAd, ImageAd, + ShoppingComparisonListingAd and VideoAd. + system_managed_resource_source: + 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: + 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: + 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: + Details pertaining to a Smart Shopping ad. + shopping_product_ad: + Details pertaining to a Shopping product ad. + gmail_ad: + Immutable. Details pertaining to a Gmail ad. + image_ad: + Immutable. Details pertaining to an Image ad. + video_ad: + Details pertaining to a Video ad. + video_responsive_ad: + Details pertaining to a Video responsive ad. + responsive_search_ad: + Details pertaining to a responsive search ad. + legacy_responsive_display_ad: + Details pertaining to a legacy responsive display ad. + app_ad: + Details pertaining to an app ad. + 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: + Details pertaining to an app engagement ad. + shopping_comparison_listing_ad: + Details pertaining to a Shopping Comparison Listing ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.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/v6/proto/resources/ad_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/ad_schedule_view_pb2.py b/google/ads/google_ads/v6/proto/resources/ad_schedule_view_pb2.py new file mode 100644 index 000000000..d061c9b5c --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_schedule_view_pb2.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/ad_schedule_view.proto + +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_v6/proto/resources/ad_schedule_view.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\023AdScheduleViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/resources/ad_schedule_view.proto\x12!google.ads.googleads.v6.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xcc\x01\n\x0e\x41\x64ScheduleView\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'googleads.googleapis.com/AdScheduleView:r\xea\x41o\n\'googleads.googleapis.com/AdScheduleView\x12\x44\x63ustomers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}B\x80\x02\n%com.google.ads.googleads.v6.resourcesB\x13\x41\x64ScheduleViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::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.v6.resources.AdScheduleView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352Ao\n\'googleads.googleapis.com/AdScheduleView\022Dcustomers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=192, + serialized_end=396, +) + +DESCRIPTOR.message_types_by_name['AdScheduleView'] = _ADSCHEDULEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdScheduleView = _reflection.GeneratedProtocolMessageType('AdScheduleView', (_message.Message,), { + 'DESCRIPTOR' : _ADSCHEDULEVIEW, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/ad_schedule_view_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/ad_schedule_view_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/ad_schedule_view_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/age_range_view_pb2.py b/google/ads/google_ads/v6/proto/resources/age_range_view_pb2.py new file mode 100644 index 000000000..cd506a04f --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/age_range_view_pb2.py @@ -0,0 +1,86 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/age_range_view.proto + +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_v6/proto/resources/age_range_view.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\021AgeRangeViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\ngoogle/ads/googleads_v6/proto/enums/policy_review_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xe7\x06\n\x05\x41sset\x12=\n\rresource_name\x18\x01 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1egoogleads.googleapis.com/Asset\x12\x14\n\x02id\x18\x0b \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x11\n\x04name\x18\x0c \x01(\tH\x02\x88\x01\x01\x12I\n\x04type\x18\x04 \x01(\x0e\x32\x36.google.ads.googleads.v6.enums.AssetTypeEnum.AssetTypeB\x03\xe0\x41\x03\x12\x12\n\nfinal_urls\x18\x0e \x03(\t\x12R\n\x0epolicy_summary\x18\r \x01(\x0b\x32\x35.google.ads.googleads.v6.resources.AssetPolicySummaryB\x03\xe0\x41\x03\x12U\n\x13youtube_video_asset\x18\x05 \x01(\x0b\x32\x31.google.ads.googleads.v6.common.YoutubeVideoAssetB\x03\xe0\x41\x05H\x00\x12S\n\x12media_bundle_asset\x18\x06 \x01(\x0b\x32\x30.google.ads.googleads.v6.common.MediaBundleAssetB\x03\xe0\x41\x05H\x00\x12\x46\n\x0bimage_asset\x18\x07 \x01(\x0b\x32*.google.ads.googleads.v6.common.ImageAssetB\x03\xe0\x41\x03H\x00\x12\x44\n\ntext_asset\x18\x08 \x01(\x0b\x32).google.ads.googleads.v6.common.TextAssetB\x03\xe0\x41\x03H\x00\x12H\n\x0flead_form_asset\x18\t \x01(\x0b\x32-.google.ads.googleads.v6.common.LeadFormAssetH\x00\x12Q\n\x14\x62ook_on_google_asset\x18\n \x01(\x0b\x32\x31.google.ads.googleads.v6.common.BookOnGoogleAssetH\x00:N\xea\x41K\n\x1egoogleads.googleapis.com/Asset\x12)customers/{customer_id}/assets/{asset_id}B\x0c\n\nasset_dataB\x05\n\x03_idB\x07\n\x05_name\"\xbb\x02\n\x12\x41ssetPolicySummary\x12S\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v6.common.PolicyTopicEntryB\x03\xe0\x41\x03\x12\x64\n\rreview_status\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v6.enums.PolicyReviewStatusEnum.PolicyReviewStatusB\x03\xe0\x41\x03\x12j\n\x0f\x61pproval_status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v6.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\x03\xe0\x41\x03\x42\xf7\x01\n%com.google.ads.googleads.v6.resourcesB\nAssetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__types__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_asset__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ASSET = _descriptor.Descriptor( + name='Asset', + full_name='google.ads.googleads.v6.resources.Asset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.resources.Asset.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=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/Asset', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.Asset.id', index=1, + number=11, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.resources.Asset.name', index=2, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.resources.Asset.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_urls', full_name='google.ads.googleads.v6.resources.Asset.final_urls', index=4, + number=14, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='policy_summary', full_name='google.ads.googleads.v6.resources.Asset.policy_summary', 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='youtube_video_asset', full_name='google.ads.googleads.v6.resources.Asset.youtube_video_asset', 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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='media_bundle_asset', full_name='google.ads.googleads.v6.resources.Asset.media_bundle_asset', 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='image_asset', full_name='google.ads.googleads.v6.resources.Asset.image_asset', 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='text_asset', full_name='google.ads.googleads.v6.resources.Asset.text_asset', 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='lead_form_asset', full_name='google.ads.googleads.v6.resources.Asset.lead_form_asset', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='book_on_google_asset', full_name='google.ads.googleads.v6.resources.Asset.book_on_google_asset', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352AK\n\036googleads.googleapis.com/Asset\022)customers/{customer_id}/assets/{asset_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='asset_data', full_name='google.ads.googleads.v6.resources.Asset.asset_data', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.resources.Asset._id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.resources.Asset._name', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=472, + serialized_end=1343, +) + + +_ASSETPOLICYSUMMARY = _descriptor.Descriptor( + name='AssetPolicySummary', + full_name='google.ads.googleads.v6.resources.AssetPolicySummary', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='policy_topic_entries', full_name='google.ads.googleads.v6.resources.AssetPolicySummary.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='review_status', full_name='google.ads.googleads.v6.resources.AssetPolicySummary.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='approval_status', full_name='google.ads.googleads.v6.resources.AssetPolicySummary.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1346, + serialized_end=1661, +) + +_ASSET.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_asset__type__pb2._ASSETTYPEENUM_ASSETTYPE +_ASSET.fields_by_name['policy_summary'].message_type = _ASSETPOLICYSUMMARY +_ASSET.fields_by_name['youtube_video_asset'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__types__pb2._YOUTUBEVIDEOASSET +_ASSET.fields_by_name['media_bundle_asset'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__types__pb2._MEDIABUNDLEASSET +_ASSET.fields_by_name['image_asset'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__types__pb2._IMAGEASSET +_ASSET.fields_by_name['text_asset'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__types__pb2._TEXTASSET +_ASSET.fields_by_name['lead_form_asset'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__types__pb2._LEADFORMASSET +_ASSET.fields_by_name['book_on_google_asset'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_asset__types__pb2._BOOKONGOOGLEASSET +_ASSET.oneofs_by_name['asset_data'].fields.append( + _ASSET.fields_by_name['youtube_video_asset']) +_ASSET.fields_by_name['youtube_video_asset'].containing_oneof = _ASSET.oneofs_by_name['asset_data'] +_ASSET.oneofs_by_name['asset_data'].fields.append( + _ASSET.fields_by_name['media_bundle_asset']) +_ASSET.fields_by_name['media_bundle_asset'].containing_oneof = _ASSET.oneofs_by_name['asset_data'] +_ASSET.oneofs_by_name['asset_data'].fields.append( + _ASSET.fields_by_name['image_asset']) +_ASSET.fields_by_name['image_asset'].containing_oneof = _ASSET.oneofs_by_name['asset_data'] +_ASSET.oneofs_by_name['asset_data'].fields.append( + _ASSET.fields_by_name['text_asset']) +_ASSET.fields_by_name['text_asset'].containing_oneof = _ASSET.oneofs_by_name['asset_data'] +_ASSET.oneofs_by_name['asset_data'].fields.append( + _ASSET.fields_by_name['lead_form_asset']) +_ASSET.fields_by_name['lead_form_asset'].containing_oneof = _ASSET.oneofs_by_name['asset_data'] +_ASSET.oneofs_by_name['asset_data'].fields.append( + _ASSET.fields_by_name['book_on_google_asset']) +_ASSET.fields_by_name['book_on_google_asset'].containing_oneof = _ASSET.oneofs_by_name['asset_data'] +_ASSET.oneofs_by_name['_id'].fields.append( + _ASSET.fields_by_name['id']) +_ASSET.fields_by_name['id'].containing_oneof = _ASSET.oneofs_by_name['_id'] +_ASSET.oneofs_by_name['_name'].fields.append( + _ASSET.fields_by_name['name']) +_ASSET.fields_by_name['name'].containing_oneof = _ASSET.oneofs_by_name['_name'] +_ASSETPOLICYSUMMARY.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY +_ASSETPOLICYSUMMARY.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS +_ASSETPOLICYSUMMARY.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_policy__approval__status__pb2._POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS +DESCRIPTOR.message_types_by_name['Asset'] = _ASSET +DESCRIPTOR.message_types_by_name['AssetPolicySummary'] = _ASSETPOLICYSUMMARY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Asset = _reflection.GeneratedProtocolMessageType('Asset', (_message.Message,), { + 'DESCRIPTOR' : _ASSET, + '__module__' : 'google.ads.googleads_v6.proto.resources.asset_pb2' + , + '__doc__': """Asset is a part of an ad which can be shared across multiple ads. It + can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. + + Attributes: + resource_name: + Immutable. The resource name of the asset. Asset resource + names have the form: + ``customers/{customer_id}/assets/{asset_id}`` + id: + Output only. The ID of the asset. + name: + Optional name of the asset. + type: + Output only. Type of the asset. + final_urls: + A list of possible final URLs after all cross domain + redirects. + policy_summary: + Output only. Policy information for the asset. + asset_data: + The specific type of the asset. + youtube_video_asset: + Immutable. A YouTube video asset. + media_bundle_asset: + Immutable. A media bundle asset. + image_asset: + Output only. An image asset. + text_asset: + Output only. A text asset. + lead_form_asset: + A lead form asset. + book_on_google_asset: + A book on google asset. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Asset) + }) +_sym_db.RegisterMessage(Asset) + +AssetPolicySummary = _reflection.GeneratedProtocolMessageType('AssetPolicySummary', (_message.Message,), { + 'DESCRIPTOR' : _ASSETPOLICYSUMMARY, + '__module__' : 'google.ads.googleads_v6.proto.resources.asset_pb2' + , + '__doc__': """Contains policy information for an asset. + + Attributes: + policy_topic_entries: + Output only. The list of policy findings for this asset. + review_status: + Output only. Where in the review process this asset is. + approval_status: + Output only. The overall approval status of this asset, + calculated based on the status of its individual policy topic + entries. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.AssetPolicySummary) + }) +_sym_db.RegisterMessage(AssetPolicySummary) + + +DESCRIPTOR._options = None +_ASSET.fields_by_name['resource_name']._options = None +_ASSET.fields_by_name['id']._options = None +_ASSET.fields_by_name['type']._options = None +_ASSET.fields_by_name['policy_summary']._options = None +_ASSET.fields_by_name['youtube_video_asset']._options = None +_ASSET.fields_by_name['media_bundle_asset']._options = None +_ASSET.fields_by_name['image_asset']._options = None +_ASSET.fields_by_name['text_asset']._options = None +_ASSET._options = None +_ASSETPOLICYSUMMARY.fields_by_name['policy_topic_entries']._options = None +_ASSETPOLICYSUMMARY.fields_by_name['review_status']._options = None +_ASSETPOLICYSUMMARY.fields_by_name['approval_status']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/resources/asset_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/asset_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/asset_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/batch_job_pb2.py b/google/ads/google_ads/v6/proto/resources/batch_job_pb2.py new file mode 100644 index 000000000..2b2d0a1a3 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/batch_job_pb2.py @@ -0,0 +1,326 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/batch_job.proto + +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.v6.proto.enums import batch_job_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_batch__job__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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/batch_job.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\rBatchJobProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n7google/ads/googleads_v6/proto/resources/batch_job.proto\x12!google.ads.googleads.v6.resources\x1a:google/ads/googleads_v6/proto/enums/batch_job_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\x92\x07\n\x08\x42\x61tchJob\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/BatchJob\x12\x14\n\x02id\x18\x07 \x01(\x03\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12)\n\x17next_add_sequence_token\x18\x08 \x01(\tB\x03\xe0\x41\x03H\x01\x88\x01\x01\x12S\n\x08metadata\x18\x04 \x01(\x0b\x32<.google.ads.googleads.v6.resources.BatchJob.BatchJobMetadataB\x03\xe0\x41\x03\x12U\n\x06status\x18\x05 \x01(\x0e\x32@.google.ads.googleads.v6.enums.BatchJobStatusEnum.BatchJobStatusB\x03\xe0\x41\x03\x12(\n\x16long_running_operation\x18\t \x01(\tB\x03\xe0\x41\x03H\x02\x88\x01\x01\x1a\x94\x03\n\x10\x42\x61tchJobMetadata\x12$\n\x12\x63reation_date_time\x18\x08 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12!\n\x0fstart_date_time\x18\x07 \x01(\tB\x03\xe0\x41\x03H\x01\x88\x01\x01\x12&\n\x14\x63ompletion_date_time\x18\t \x01(\tB\x03\xe0\x41\x03H\x02\x88\x01\x01\x12,\n\x1a\x65stimated_completion_ratio\x18\n \x01(\x01\x42\x03\xe0\x41\x03H\x03\x88\x01\x01\x12!\n\x0foperation_count\x18\x0b \x01(\x03\x42\x03\xe0\x41\x03H\x04\x88\x01\x01\x12*\n\x18\x65xecuted_operation_count\x18\x0c \x01(\x03\x42\x03\xe0\x41\x03H\x05\x88\x01\x01\x42\x15\n\x13_creation_date_timeB\x12\n\x10_start_date_timeB\x17\n\x15_completion_date_timeB\x1d\n\x1b_estimated_completion_ratioB\x12\n\x10_operation_countB\x1b\n\x19_executed_operation_count:X\xea\x41U\n!googleads.googleapis.com/BatchJob\x12\x30\x63ustomers/{customer_id}/batchJobs/{batch_job_id}B\x05\n\x03_idB\x1a\n\x18_next_add_sequence_tokenB\x19\n\x17_long_running_operationB\xfa\x01\n%com.google.ads.googleads.v6.resourcesB\rBatchJobProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_batch__job__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_BATCHJOB_BATCHJOBMETADATA = _descriptor.Descriptor( + name='BatchJobMetadata', + full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='creation_date_time', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata.creation_date_time', index=0, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_date_time', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata.start_date_time', index=1, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='completion_date_time', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata.completion_date_time', index=2, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='estimated_completion_ratio', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata.estimated_completion_ratio', index=3, + number=10, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='operation_count', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata.operation_count', index=4, + number=11, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='executed_operation_count', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata.executed_operation_count', index=5, + number=12, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_creation_date_time', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata._creation_date_time', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_start_date_time', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata._start_date_time', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_completion_date_time', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata._completion_date_time', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_estimated_completion_ratio', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata._estimated_completion_ratio', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_operation_count', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata._operation_count', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_executed_operation_count', full_name='google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata._executed_operation_count', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=603, + serialized_end=1007, +) + +_BATCHJOB = _descriptor.Descriptor( + name='BatchJob', + full_name='google.ads.googleads.v6.resources.BatchJob', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.resources.BatchJob.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=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/BatchJob', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.BatchJob.id', index=1, + number=7, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='next_add_sequence_token', full_name='google.ads.googleads.v6.resources.BatchJob.next_add_sequence_token', index=2, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='metadata', full_name='google.ads.googleads.v6.resources.BatchJob.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.resources.BatchJob.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='long_running_operation', full_name='google.ads.googleads.v6.resources.BatchJob.long_running_operation', index=5, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_BATCHJOB_BATCHJOBMETADATA, ], + enum_types=[ + ], + serialized_options=b'\352AU\n!googleads.googleapis.com/BatchJob\0220customers/{customer_id}/batchJobs/{batch_job_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.resources.BatchJob._id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_next_add_sequence_token', full_name='google.ads.googleads.v6.resources.BatchJob._next_add_sequence_token', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_long_running_operation', full_name='google.ads.googleads.v6.resources.BatchJob._long_running_operation', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=245, + serialized_end=1159, +) + +_BATCHJOB_BATCHJOBMETADATA.containing_type = _BATCHJOB +_BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_creation_date_time'].fields.append( + _BATCHJOB_BATCHJOBMETADATA.fields_by_name['creation_date_time']) +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['creation_date_time'].containing_oneof = _BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_creation_date_time'] +_BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_start_date_time'].fields.append( + _BATCHJOB_BATCHJOBMETADATA.fields_by_name['start_date_time']) +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['start_date_time'].containing_oneof = _BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_start_date_time'] +_BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_completion_date_time'].fields.append( + _BATCHJOB_BATCHJOBMETADATA.fields_by_name['completion_date_time']) +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['completion_date_time'].containing_oneof = _BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_completion_date_time'] +_BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_estimated_completion_ratio'].fields.append( + _BATCHJOB_BATCHJOBMETADATA.fields_by_name['estimated_completion_ratio']) +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['estimated_completion_ratio'].containing_oneof = _BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_estimated_completion_ratio'] +_BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_operation_count'].fields.append( + _BATCHJOB_BATCHJOBMETADATA.fields_by_name['operation_count']) +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['operation_count'].containing_oneof = _BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_operation_count'] +_BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_executed_operation_count'].fields.append( + _BATCHJOB_BATCHJOBMETADATA.fields_by_name['executed_operation_count']) +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['executed_operation_count'].containing_oneof = _BATCHJOB_BATCHJOBMETADATA.oneofs_by_name['_executed_operation_count'] +_BATCHJOB.fields_by_name['metadata'].message_type = _BATCHJOB_BATCHJOBMETADATA +_BATCHJOB.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_batch__job__status__pb2._BATCHJOBSTATUSENUM_BATCHJOBSTATUS +_BATCHJOB.oneofs_by_name['_id'].fields.append( + _BATCHJOB.fields_by_name['id']) +_BATCHJOB.fields_by_name['id'].containing_oneof = _BATCHJOB.oneofs_by_name['_id'] +_BATCHJOB.oneofs_by_name['_next_add_sequence_token'].fields.append( + _BATCHJOB.fields_by_name['next_add_sequence_token']) +_BATCHJOB.fields_by_name['next_add_sequence_token'].containing_oneof = _BATCHJOB.oneofs_by_name['_next_add_sequence_token'] +_BATCHJOB.oneofs_by_name['_long_running_operation'].fields.append( + _BATCHJOB.fields_by_name['long_running_operation']) +_BATCHJOB.fields_by_name['long_running_operation'].containing_oneof = _BATCHJOB.oneofs_by_name['_long_running_operation'] +DESCRIPTOR.message_types_by_name['BatchJob'] = _BATCHJOB +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BatchJob = _reflection.GeneratedProtocolMessageType('BatchJob', (_message.Message,), { + + 'BatchJobMetadata' : _reflection.GeneratedProtocolMessageType('BatchJobMetadata', (_message.Message,), { + 'DESCRIPTOR' : _BATCHJOB_BATCHJOBMETADATA, + '__module__' : 'google.ads.googleads_v6.proto.resources.batch_job_pb2' + , + '__doc__': """Additional information about the batch job. This message is also used + as metadata returned in batch job Long Running Operations. + + Attributes: + creation_date_time: + Output only. The time when this batch job was created. + Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 + 09:15:00" + start_date_time: + Output only. The time when this batch job started running. + Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 + 09:15:30" + completion_date_time: + Output only. The time when this batch job was completed. + Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 + 09:16:00" + estimated_completion_ratio: + Output only. 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: + Output only. The number of mutate operations in the batch job. + executed_operation_count: + Output only. The number of mutate operations executed by the + batch job. Present only if the job has started running. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.BatchJob.BatchJobMetadata) + }) + , + 'DESCRIPTOR' : _BATCHJOB, + '__module__' : 'google.ads.googleads_v6.proto.resources.batch_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 + BatchJobService.ListBatchJobResults. + + Attributes: + resource_name: + Immutable. The resource name of the batch job. Batch job + resource names have the form: + ``customers/{customer_id}/batchJobs/{batch_job_id}`` + id: + Output only. ID of this batch job. + next_add_sequence_token: + Output only. The next sequence token to use when adding + operations. Only set when the batch job status is PENDING. + metadata: + Output only. Contains additional information about this batch + job. + status: + Output only. Status of this batch job. + long_running_operation: + Output only. The resource name of the long-running operation + that can be used to poll for completion. Only set when the + batch job status is RUNNING or DONE. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.BatchJob) + }) +_sym_db.RegisterMessage(BatchJob) +_sym_db.RegisterMessage(BatchJob.BatchJobMetadata) + + +DESCRIPTOR._options = None +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['creation_date_time']._options = None +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['start_date_time']._options = None +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['completion_date_time']._options = None +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['estimated_completion_ratio']._options = None +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['operation_count']._options = None +_BATCHJOB_BATCHJOBMETADATA.fields_by_name['executed_operation_count']._options = None +_BATCHJOB.fields_by_name['resource_name']._options = None +_BATCHJOB.fields_by_name['id']._options = None +_BATCHJOB.fields_by_name['next_add_sequence_token']._options = None +_BATCHJOB.fields_by_name['metadata']._options = None +_BATCHJOB.fields_by_name['status']._options = None +_BATCHJOB.fields_by_name['long_running_operation']._options = None +_BATCHJOB._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/resources/batch_job_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/batch_job_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/batch_job_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/bidding_strategy_pb2.py b/google/ads/google_ads/v6/proto/resources/bidding_strategy_pb2.py new file mode 100644 index 000000000..a17d32504 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/bidding_strategy_pb2.py @@ -0,0 +1,320 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/bidding_strategy.proto + +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.v6.proto.common import bidding_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2 +from google.ads.google_ads.v6.proto.enums import bidding_strategy_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__strategy__status__pb2 +from google.ads.google_ads.v6.proto.enums import bidding_strategy_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__strategy__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_v6/proto/resources/bidding_strategy.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\024BiddingStrategyProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/resources/bidding_strategy.proto\x12!google.ads.googleads.v6.resources\x1a\x32google/ads/googleads_v6/proto/common/bidding.proto\x1a\x41google/ads/googleads_v6/proto/enums/bidding_strategy_status.proto\x1a?google/ads/googleads_v6/proto/enums/bidding_strategy_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xb5\t\n\x0f\x42iddingStrategy\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x05\xfa\x41*\n(googleads.googleapis.com/BiddingStrategy\x12\x14\n\x02id\x18\x10 \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x11\n\x04name\x18\x11 \x01(\tH\x02\x88\x01\x01\x12\x63\n\x06status\x18\x0f \x01(\x0e\x32N.google.ads.googleads.v6.enums.BiddingStrategyStatusEnum.BiddingStrategyStatusB\x03\xe0\x41\x03\x12]\n\x04type\x18\x05 \x01(\x0e\x32J.google.ads.googleads.v6.enums.BiddingStrategyTypeEnum.BiddingStrategyTypeB\x03\xe0\x41\x03\x12)\n\x17\x65\x66\x66\x65\x63tive_currency_code\x18\x14 \x01(\tB\x03\xe0\x41\x03H\x03\x88\x01\x01\x12 \n\x0e\x63\x61mpaign_count\x18\x12 \x01(\x03\x42\x03\xe0\x41\x03H\x04\x88\x01\x01\x12,\n\x1anon_removed_campaign_count\x18\x13 \x01(\x03\x42\x03\xe0\x41\x03H\x05\x88\x01\x01\x12\x43\n\x0c\x65nhanced_cpc\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v6.common.EnhancedCpcH\x00\x12\\\n\x19maximize_conversion_value\x18\x15 \x01(\x0b\x32\x37.google.ads.googleads.v6.common.MaximizeConversionValueH\x00\x12S\n\x14maximize_conversions\x18\x16 \x01(\x0b\x32\x33.google.ads.googleads.v6.common.MaximizeConversionsH\x00\x12?\n\ntarget_cpa\x18\t \x01(\x0b\x32).google.ads.googleads.v6.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v6.common.TargetImpressionShareH\x00\x12\x41\n\x0btarget_roas\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v6.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x0c \x01(\x0b\x32+.google.ads.googleads.v6.common.TargetSpendH\x00:n\xea\x41k\n(googleads.googleapis.com/BiddingStrategy\x12?customers/{customer_id}/biddingStrategies/{bidding_strategy_id}B\x08\n\x06schemeB\x05\n\x03_idB\x07\n\x05_nameB\x1a\n\x18_effective_currency_codeB\x11\n\x0f_campaign_countB\x1d\n\x1b_non_removed_campaign_countB\x81\x02\n%com.google.ads.googleads.v6.resourcesB\x14\x42iddingStrategyProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__strategy__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_BIDDINGSTRATEGY = _descriptor.Descriptor( + name='BiddingStrategy', + full_name='google.ads.googleads.v6.resources.BiddingStrategy', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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=b'\340A\005\372A*\n(googleads.googleapis.com/BiddingStrategy', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.BiddingStrategy.id', index=1, + number=16, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.resources.BiddingStrategy.name', index=2, + number=17, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='effective_currency_code', full_name='google.ads.googleads.v6.resources.BiddingStrategy.effective_currency_code', index=5, + number=20, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_count', full_name='google.ads.googleads.v6.resources.BiddingStrategy.campaign_count', index=6, + number=18, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='non_removed_campaign_count', full_name='google.ads.googleads.v6.resources.BiddingStrategy.non_removed_campaign_count', index=7, + number=19, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='enhanced_cpc', full_name='google.ads.googleads.v6.resources.BiddingStrategy.enhanced_cpc', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='maximize_conversion_value', full_name='google.ads.googleads.v6.resources.BiddingStrategy.maximize_conversion_value', index=9, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='maximize_conversions', full_name='google.ads.googleads.v6.resources.BiddingStrategy.maximize_conversions', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_cpa', full_name='google.ads.googleads.v6.resources.BiddingStrategy.target_cpa', index=11, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_impression_share', full_name='google.ads.googleads.v6.resources.BiddingStrategy.target_impression_share', index=12, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_roas', full_name='google.ads.googleads.v6.resources.BiddingStrategy.target_roas', index=13, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_spend', full_name='google.ads.googleads.v6.resources.BiddingStrategy.target_spend', index=14, + 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352Ak\n(googleads.googleapis.com/BiddingStrategy\022?customers/{customer_id}/biddingStrategies/{bidding_strategy_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='scheme', full_name='google.ads.googleads.v6.resources.BiddingStrategy.scheme', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.resources.BiddingStrategy._id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.resources.BiddingStrategy._name', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_effective_currency_code', full_name='google.ads.googleads.v6.resources.BiddingStrategy._effective_currency_code', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign_count', full_name='google.ads.googleads.v6.resources.BiddingStrategy._campaign_count', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_non_removed_campaign_count', full_name='google.ads.googleads.v6.resources.BiddingStrategy._non_removed_campaign_count', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=376, + serialized_end=1581, +) + +_BIDDINGSTRATEGY.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__strategy__status__pb2._BIDDINGSTRATEGYSTATUSENUM_BIDDINGSTRATEGYSTATUS +_BIDDINGSTRATEGY.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__strategy__type__pb2._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE +_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._ENHANCEDCPC +_BIDDINGSTRATEGY.fields_by_name['maximize_conversion_value'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONVALUE +_BIDDINGSTRATEGY.fields_by_name['maximize_conversions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONS +_BIDDINGSTRATEGY.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA +_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE +_BIDDINGSTRATEGY.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS +_BIDDINGSTRATEGY.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v6_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['maximize_conversion_value']) +_BIDDINGSTRATEGY.fields_by_name['maximize_conversion_value'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] +_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append( + _BIDDINGSTRATEGY.fields_by_name['maximize_conversions']) +_BIDDINGSTRATEGY.fields_by_name['maximize_conversions'].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_roas']) +_BIDDINGSTRATEGY.fields_by_name['target_roas'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] +_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append( + _BIDDINGSTRATEGY.fields_by_name['target_spend']) +_BIDDINGSTRATEGY.fields_by_name['target_spend'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] +_BIDDINGSTRATEGY.oneofs_by_name['_id'].fields.append( + _BIDDINGSTRATEGY.fields_by_name['id']) +_BIDDINGSTRATEGY.fields_by_name['id'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['_id'] +_BIDDINGSTRATEGY.oneofs_by_name['_name'].fields.append( + _BIDDINGSTRATEGY.fields_by_name['name']) +_BIDDINGSTRATEGY.fields_by_name['name'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['_name'] +_BIDDINGSTRATEGY.oneofs_by_name['_effective_currency_code'].fields.append( + _BIDDINGSTRATEGY.fields_by_name['effective_currency_code']) +_BIDDINGSTRATEGY.fields_by_name['effective_currency_code'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['_effective_currency_code'] +_BIDDINGSTRATEGY.oneofs_by_name['_campaign_count'].fields.append( + _BIDDINGSTRATEGY.fields_by_name['campaign_count']) +_BIDDINGSTRATEGY.fields_by_name['campaign_count'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['_campaign_count'] +_BIDDINGSTRATEGY.oneofs_by_name['_non_removed_campaign_count'].fields.append( + _BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count']) +_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['_non_removed_campaign_count'] +DESCRIPTOR.message_types_by_name['BiddingStrategy'] = _BIDDINGSTRATEGY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BiddingStrategy = _reflection.GeneratedProtocolMessageType('BiddingStrategy', (_message.Message,), { + 'DESCRIPTOR' : _BIDDINGSTRATEGY, + '__module__' : 'google.ads.googleads_v6.proto.resources.bidding_strategy_pb2' + , + '__doc__': """A bidding strategy. + + Attributes: + resource_name: + Immutable. The resource name of the bidding strategy. Bidding + strategy resource names have the form: ``customers/{customer_ + id}/biddingStrategies/{bidding_strategy_id}`` + id: + 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: + Output only. The status of the bidding strategy. This field + is read-only. + type: + Output only. The type of the bidding strategy. Create a + bidding strategy by setting the bidding scheme. This field is + read-only. + effective_currency_code: + Output only. The currency used by the bidding strategy (ISO + 4217 three-letter code). For bidding strategies in manager + customers, this is the currency set by the advertiser when + creating the strategy. For serving customers, this is the + customer's currency\_code. Bidding strategy metrics are + reported in this currency. This field is read-only. + campaign_count: + 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. + maximize_conversion_value: + An automated bidding strategy to help get the most conversion + value for your campaigns while spending your budget. + maximize_conversions: + An automated bidding strategy to help get the most conversions + for your campaigns while spending your budget. + target_cpa: + A bidding strategy that sets bids to help get as many + conversions as possible at the target cost-per-acquisition + (CPA) you set. + target_impression_share: + A bidding strategy that automatically optimizes towards a + desired percentage of impressions. + target_roas: + A bidding strategy that helps you maximize revenue while + averaging a specific target Return On Ad Spend (ROAS). + target_spend: + 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.v6.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['effective_currency_code']._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/v6/proto/resources/bidding_strategy_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/bidding_strategy_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/bidding_strategy_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/billing_setup_pb2.py b/google/ads/google_ads/v6/proto/resources/billing_setup_pb2.py new file mode 100644 index 000000000..c42bc8127 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/billing_setup_pb2.py @@ -0,0 +1,374 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/billing_setup.proto + +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.v6.proto.enums import billing_setup_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_billing__setup__status__pb2 +from google.ads.google_ads.v6.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/billing_setup.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\021BillingSetupProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/resources/billing_setup.proto\x12!google.ads.googleads.v6.resources\x1a>google/ads/googleads_v6/proto/enums/billing_setup_status.proto\x1a\x33google/ads/googleads_v6/proto/enums/time_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xf6\x08\n\x0c\x42illingSetup\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x05\xfa\x41\'\n%googleads.googleapis.com/BillingSetup\x12\x14\n\x02id\x18\x0f \x01(\x03\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12]\n\x06status\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v6.enums.BillingSetupStatusEnum.BillingSetupStatusB\x03\xe0\x41\x03\x12O\n\x10payments_account\x18\x12 \x01(\tB0\xe0\x41\x05\xfa\x41*\n(googleads.googleapis.com/PaymentsAccountH\x03\x88\x01\x01\x12g\n\x15payments_account_info\x18\x0c \x01(\x0b\x32\x43.google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfoB\x03\xe0\x41\x05\x12\x1e\n\x0fstart_date_time\x18\x10 \x01(\tB\x03\xe0\x41\x05H\x00\x12T\n\x0fstart_time_type\x18\n \x01(\x0e\x32\x34.google.ads.googleads.v6.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x05H\x00\x12\x1c\n\rend_date_time\x18\x11 \x01(\tB\x03\xe0\x41\x03H\x01\x12R\n\rend_time_type\x18\x0e \x01(\x0e\x32\x34.google.ads.googleads.v6.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x03H\x01\x1a\xec\x02\n\x13PaymentsAccountInfo\x12%\n\x13payments_account_id\x18\x06 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\'\n\x15payments_account_name\x18\x07 \x01(\tB\x03\xe0\x41\x05H\x01\x88\x01\x01\x12%\n\x13payments_profile_id\x18\x08 \x01(\tB\x03\xe0\x41\x05H\x02\x88\x01\x01\x12\'\n\x15payments_profile_name\x18\t \x01(\tB\x03\xe0\x41\x03H\x03\x88\x01\x01\x12/\n\x1dsecondary_payments_profile_id\x18\n \x01(\tB\x03\xe0\x41\x03H\x04\x88\x01\x01\x42\x16\n\x14_payments_account_idB\x18\n\x16_payments_account_nameB\x16\n\x14_payments_profile_idB\x18\n\x16_payments_profile_nameB \n\x1e_secondary_payments_profile_id:d\xea\x41\x61\n%googleads.googleapis.com/BillingSetup\x12\x38\x63ustomers/{customer_id}/billingSetups/{billing_setup_id}B\x0c\n\nstart_timeB\n\n\x08\x65nd_timeB\x05\n\x03_idB\x13\n\x11_payments_accountB\xfe\x01\n%com.google.ads.googleads.v6.resourcesB\x11\x42illingSetupProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_billing__setup__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_BILLINGSETUP_PAYMENTSACCOUNTINFO = _descriptor.Descriptor( + name='PaymentsAccountInfo', + full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='payments_account_id', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo.payments_account_id', index=0, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='payments_account_name', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo.payments_account_name', index=1, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='payments_profile_id', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo.payments_profile_id', index=2, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='payments_profile_name', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo.payments_profile_name', index=3, + number=9, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='secondary_payments_profile_id', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo.secondary_payments_profile_id', index=4, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_payments_account_id', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo._payments_account_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_payments_account_name', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo._payments_account_name', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_payments_profile_id', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo._payments_profile_id', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_payments_profile_name', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo._payments_profile_name', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_secondary_payments_profile_id', full_name='google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo._secondary_payments_profile_id', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=928, + serialized_end=1292, +) + +_BILLINGSETUP = _descriptor.Descriptor( + name='BillingSetup', + full_name='google.ads.googleads.v6.resources.BillingSetup', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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=b'\340A\005\372A\'\n%googleads.googleapis.com/BillingSetup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.BillingSetup.id', index=1, + number=15, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='payments_account', full_name='google.ads.googleads.v6.resources.BillingSetup.payments_account', index=3, + number=18, type=9, cpp_type=9, label=1, + has_default_value=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/PaymentsAccount', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='payments_account_info', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_date_time', full_name='google.ads.googleads.v6.resources.BillingSetup.start_date_time', index=5, + number=16, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_time_type', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_date_time', full_name='google.ads.googleads.v6.resources.BillingSetup.end_date_time', index=7, + number=17, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_time_type', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_BILLINGSETUP_PAYMENTSACCOUNTINFO, ], + enum_types=[ + ], + serialized_options=b'\352Aa\n%googleads.googleapis.com/BillingSetup\0228customers/{customer_id}/billingSetups/{billing_setup_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='start_time', full_name='google.ads.googleads.v6.resources.BillingSetup.start_time', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='end_time', full_name='google.ads.googleads.v6.resources.BillingSetup.end_time', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.resources.BillingSetup._id', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_payments_account', full_name='google.ads.googleads.v6.resources.BillingSetup._payments_account', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=306, + serialized_end=1448, +) + +_BILLINGSETUP_PAYMENTSACCOUNTINFO.containing_type = _BILLINGSETUP +_BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_payments_account_id'].fields.append( + _BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_account_id']) +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_account_id'].containing_oneof = _BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_payments_account_id'] +_BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_payments_account_name'].fields.append( + _BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_account_name']) +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_account_name'].containing_oneof = _BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_payments_account_name'] +_BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_payments_profile_id'].fields.append( + _BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_profile_id']) +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_profile_id'].containing_oneof = _BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_payments_profile_id'] +_BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_payments_profile_name'].fields.append( + _BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_profile_name']) +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_profile_name'].containing_oneof = _BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_payments_profile_name'] +_BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_secondary_payments_profile_id'].fields.append( + _BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['secondary_payments_profile_id']) +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['secondary_payments_profile_id'].containing_oneof = _BILLINGSETUP_PAYMENTSACCOUNTINFO.oneofs_by_name['_secondary_payments_profile_id'] +_BILLINGSETUP.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_billing__setup__status__pb2._BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS +_BILLINGSETUP.fields_by_name['payments_account_info'].message_type = _BILLINGSETUP_PAYMENTSACCOUNTINFO +_BILLINGSETUP.fields_by_name['start_time_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE +_BILLINGSETUP.fields_by_name['end_time_type'].enum_type = google_dot_ads_dot_googleads__v6_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'] +_BILLINGSETUP.oneofs_by_name['start_time'].fields.append( + _BILLINGSETUP.fields_by_name['start_time_type']) +_BILLINGSETUP.fields_by_name['start_time_type'].containing_oneof = _BILLINGSETUP.oneofs_by_name['start_time'] +_BILLINGSETUP.oneofs_by_name['end_time'].fields.append( + _BILLINGSETUP.fields_by_name['end_date_time']) +_BILLINGSETUP.fields_by_name['end_date_time'].containing_oneof = _BILLINGSETUP.oneofs_by_name['end_time'] +_BILLINGSETUP.oneofs_by_name['end_time'].fields.append( + _BILLINGSETUP.fields_by_name['end_time_type']) +_BILLINGSETUP.fields_by_name['end_time_type'].containing_oneof = _BILLINGSETUP.oneofs_by_name['end_time'] +_BILLINGSETUP.oneofs_by_name['_id'].fields.append( + _BILLINGSETUP.fields_by_name['id']) +_BILLINGSETUP.fields_by_name['id'].containing_oneof = _BILLINGSETUP.oneofs_by_name['_id'] +_BILLINGSETUP.oneofs_by_name['_payments_account'].fields.append( + _BILLINGSETUP.fields_by_name['payments_account']) +_BILLINGSETUP.fields_by_name['payments_account'].containing_oneof = _BILLINGSETUP.oneofs_by_name['_payments_account'] +DESCRIPTOR.message_types_by_name['BillingSetup'] = _BILLINGSETUP +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BillingSetup = _reflection.GeneratedProtocolMessageType('BillingSetup', (_message.Message,), { + + 'PaymentsAccountInfo' : _reflection.GeneratedProtocolMessageType('PaymentsAccountInfo', (_message.Message,), { + 'DESCRIPTOR' : _BILLINGSETUP_PAYMENTSACCOUNTINFO, + '__module__' : 'google.ads.googleads_v6.proto.resources.billing_setup_pb2' + , + '__doc__': """Container of payments account information for this billing. + + Attributes: + payments_account_id: + 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: + 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: + 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: + Output only. The name of the payments profile associated with + the billing setup. + 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. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.BillingSetup.PaymentsAccountInfo) + }) + , + 'DESCRIPTOR' : _BILLINGSETUP, + '__module__' : 'google.ads.googleads_v6.proto.resources.billing_setup_pb2' + , + '__doc__': """A billing setup, which associates a payments account and an + advertiser. A billing setup is specific to one advertiser. + + Attributes: + resource_name: + Immutable. The resource name of the billing setup. + BillingSetup resource names have the form: + ``customers/{customer_id}/billingSetups/{billing_setup_id}`` + id: + Output only. The ID of the billing setup. + status: + Output only. The status of the billing setup. + payments_account: + 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: + 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 + the customer doesn't have any approved setups. When fetching + an existing billing setup, this is the requested start time. + However, if the setup was approved (see status) after the + requested start time, then this is the approval time. + start_date_time: + 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: + 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: + Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd + HH:mm:ss format. + end_time_type: + Output only. The end time as a type. The only possible value + is FOREVER. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.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/v6/proto/resources/billing_setup_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/billing_setup_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/billing_setup_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/campaign_asset_pb2.py b/google/ads/google_ads/v6/proto/resources/campaign_asset_pb2.py new file mode 100644 index 000000000..b4fd63062 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_asset_pb2.py @@ -0,0 +1,149 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/campaign_asset.proto + +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.v6.proto.enums import asset_field_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_asset__field__type__pb2 +from google.ads.google_ads.v6.proto.enums import asset_link_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_asset__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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/campaign_asset.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\022CampaignAssetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n.google.ads.googleads.v6.enums.CriterionTypeEnum.CriterionTypeB\x03\xe0\x41\x03\x12\x62\n\x06status\x18# \x01(\x0e\x32R.google.ads.googleads.v6.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus\x12\x43\n\x07keyword\x18\x08 \x01(\x0b\x32+.google.ads.googleads.v6.common.KeywordInfoB\x03\xe0\x41\x05H\x00\x12G\n\tplacement\x18\t \x01(\x0b\x32-.google.ads.googleads.v6.common.PlacementInfoB\x03\xe0\x41\x05H\x00\x12Y\n\x13mobile_app_category\x18\n \x01(\x0b\x32\x35.google.ads.googleads.v6.common.MobileAppCategoryInfoB\x03\xe0\x41\x05H\x00\x12X\n\x12mobile_application\x18\x0b \x01(\x0b\x32\x35.google.ads.googleads.v6.common.MobileApplicationInfoB\x03\xe0\x41\x05H\x00\x12\x45\n\x08location\x18\x0c \x01(\x0b\x32,.google.ads.googleads.v6.common.LocationInfoB\x03\xe0\x41\x05H\x00\x12\x41\n\x06\x64\x65vice\x18\r \x01(\x0b\x32*.google.ads.googleads.v6.common.DeviceInfoB\x03\xe0\x41\x05H\x00\x12J\n\x0b\x61\x64_schedule\x18\x0f \x01(\x0b\x32..google.ads.googleads.v6.common.AdScheduleInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\tage_range\x18\x10 \x01(\x0b\x32,.google.ads.googleads.v6.common.AgeRangeInfoB\x03\xe0\x41\x05H\x00\x12\x41\n\x06gender\x18\x11 \x01(\x0b\x32*.google.ads.googleads.v6.common.GenderInfoB\x03\xe0\x41\x05H\x00\x12L\n\x0cincome_range\x18\x12 \x01(\x0b\x32/.google.ads.googleads.v6.common.IncomeRangeInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fparental_status\x18\x13 \x01(\x0b\x32\x32.google.ads.googleads.v6.common.ParentalStatusInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\tuser_list\x18\x16 \x01(\x0b\x32,.google.ads.googleads.v6.common.UserListInfoB\x03\xe0\x41\x05H\x00\x12N\n\ryoutube_video\x18\x14 \x01(\x0b\x32\x30.google.ads.googleads.v6.common.YouTubeVideoInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fyoutube_channel\x18\x15 \x01(\x0b\x32\x32.google.ads.googleads.v6.common.YouTubeChannelInfoB\x03\xe0\x41\x05H\x00\x12G\n\tproximity\x18\x17 \x01(\x0b\x32-.google.ads.googleads.v6.common.ProximityInfoB\x03\xe0\x41\x05H\x00\x12?\n\x05topic\x18\x18 \x01(\x0b\x32).google.ads.googleads.v6.common.TopicInfoB\x03\xe0\x41\x05H\x00\x12N\n\rlisting_scope\x18\x19 \x01(\x0b\x32\x30.google.ads.googleads.v6.common.ListingScopeInfoB\x03\xe0\x41\x05H\x00\x12\x45\n\x08language\x18\x1a \x01(\x0b\x32,.google.ads.googleads.v6.common.LanguageInfoB\x03\xe0\x41\x05H\x00\x12\x44\n\x08ip_block\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v6.common.IpBlockInfoB\x03\xe0\x41\x05H\x00\x12N\n\rcontent_label\x18\x1c \x01(\x0b\x32\x30.google.ads.googleads.v6.common.ContentLabelInfoB\x03\xe0\x41\x05H\x00\x12\x43\n\x07\x63\x61rrier\x18\x1d \x01(\x0b\x32+.google.ads.googleads.v6.common.CarrierInfoB\x03\xe0\x41\x05H\x00\x12N\n\ruser_interest\x18\x1e \x01(\x0b\x32\x30.google.ads.googleads.v6.common.UserInterestInfoB\x03\xe0\x41\x05H\x00\x12\x43\n\x07webpage\x18\x1f \x01(\x0b\x32+.google.ads.googleads.v6.common.WebpageInfoB\x03\xe0\x41\x05H\x00\x12\x63\n\x18operating_system_version\x18 \x01(\x0b\x32:.google.ads.googleads.v6.common.OperatingSystemVersionInfoB\x03\xe0\x41\x05H\x00\x12N\n\rmobile_device\x18! \x01(\x0b\x32\x30.google.ads.googleads.v6.common.MobileDeviceInfoB\x03\xe0\x41\x05H\x00\x12P\n\x0elocation_group\x18\" \x01(\x0b\x32\x31.google.ads.googleads.v6.common.LocationGroupInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0f\x63ustom_affinity\x18$ \x01(\x0b\x32\x32.google.ads.googleads.v6.common.CustomAffinityInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0f\x63ustom_audience\x18) \x01(\x0b\x32\x32.google.ads.googleads.v6.common.CustomAudienceInfoB\x03\xe0\x41\x05H\x00\x12V\n\x11\x63ombined_audience\x18* \x01(\x0b\x32\x34.google.ads.googleads.v6.common.CombinedAudienceInfoB\x03\xe0\x41\x05H\x00:v\xea\x41s\n*googleads.googleapis.com/CampaignCriterion\x12\x45\x63ustomers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}B\x0b\n\tcriterionB\x0b\n\t_campaignB\x0f\n\r_criterion_idB\x0f\n\r_bid_modifierB\x0b\n\t_negativeB\x83\x02\n%com.google.ads.googleads.v6.resourcesB\x16\x43\x61mpaignCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_campaign__criterion__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGNCRITERION = _descriptor.Descriptor( + name='CampaignCriterion', + full_name='google.ads.googleads.v6.resources.CampaignCriterion', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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=b'\340A\005\372A,\n*googleads.googleapis.com/CampaignCriterion', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v6.resources.CampaignCriterion.campaign', index=1, + 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#\n!googleads.googleapis.com/Campaign', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='criterion_id', full_name='google.ads.googleads.v6.resources.CampaignCriterion.criterion_id', index=2, + number=38, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bid_modifier', full_name='google.ads.googleads.v6.resources.CampaignCriterion.bid_modifier', index=3, + number=39, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='negative', full_name='google.ads.googleads.v6.resources.CampaignCriterion.negative', index=4, + number=40, 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='keyword', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='placement', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mobile_app_category', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mobile_application', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='location', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='device', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_schedule', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='age_range', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='gender', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='income_range', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='parental_status', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='user_list', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='youtube_video', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='youtube_channel', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='proximity', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='topic', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='listing_scope', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='language', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ip_block', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='content_label', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='carrier', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='user_interest', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='webpage', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='operating_system_version', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mobile_device', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='location_group', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='custom_affinity', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='custom_audience', full_name='google.ads.googleads.v6.resources.CampaignCriterion.custom_audience', index=34, + 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='combined_audience', full_name='google.ads.googleads.v6.resources.CampaignCriterion.combined_audience', index=35, + 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352As\n*googleads.googleapis.com/CampaignCriterion\022Ecustomers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='criterion', full_name='google.ads.googleads.v6.resources.CampaignCriterion.criterion', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign', full_name='google.ads.googleads.v6.resources.CampaignCriterion._campaign', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_criterion_id', full_name='google.ads.googleads.v6.resources.CampaignCriterion._criterion_id', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_bid_modifier', full_name='google.ads.googleads.v6.resources.CampaignCriterion._bid_modifier', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_negative', full_name='google.ads.googleads.v6.resources.CampaignCriterion._negative', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=374, + serialized_end=3247, +) + +_CAMPAIGNCRITERION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE +_CAMPAIGNCRITERION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_campaign__criterion__status__pb2._CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS +_CAMPAIGNCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_CAMPAIGNCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO +_CAMPAIGNCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO +_CAMPAIGNCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO +_CAMPAIGNCRITERION.fields_by_name['location'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._LOCATIONINFO +_CAMPAIGNCRITERION.fields_by_name['device'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO +_CAMPAIGNCRITERION.fields_by_name['ad_schedule'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._ADSCHEDULEINFO +_CAMPAIGNCRITERION.fields_by_name['age_range'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._AGERANGEINFO +_CAMPAIGNCRITERION.fields_by_name['gender'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO +_CAMPAIGNCRITERION.fields_by_name['income_range'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._INCOMERANGEINFO +_CAMPAIGNCRITERION.fields_by_name['parental_status'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._PARENTALSTATUSINFO +_CAMPAIGNCRITERION.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._USERLISTINFO +_CAMPAIGNCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO +_CAMPAIGNCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO +_CAMPAIGNCRITERION.fields_by_name['proximity'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._PROXIMITYINFO +_CAMPAIGNCRITERION.fields_by_name['topic'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._TOPICINFO +_CAMPAIGNCRITERION.fields_by_name['listing_scope'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._LISTINGSCOPEINFO +_CAMPAIGNCRITERION.fields_by_name['language'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._LANGUAGEINFO +_CAMPAIGNCRITERION.fields_by_name['ip_block'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._IPBLOCKINFO +_CAMPAIGNCRITERION.fields_by_name['content_label'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._CONTENTLABELINFO +_CAMPAIGNCRITERION.fields_by_name['carrier'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._CARRIERINFO +_CAMPAIGNCRITERION.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._USERINTERESTINFO +_CAMPAIGNCRITERION.fields_by_name['webpage'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._WEBPAGEINFO +_CAMPAIGNCRITERION.fields_by_name['operating_system_version'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._OPERATINGSYSTEMVERSIONINFO +_CAMPAIGNCRITERION.fields_by_name['mobile_device'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._MOBILEDEVICEINFO +_CAMPAIGNCRITERION.fields_by_name['location_group'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._LOCATIONGROUPINFO +_CAMPAIGNCRITERION.fields_by_name['custom_affinity'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._CUSTOMAFFINITYINFO +_CAMPAIGNCRITERION.fields_by_name['custom_audience'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._CUSTOMAUDIENCEINFO +_CAMPAIGNCRITERION.fields_by_name['combined_audience'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_criteria__pb2._COMBINEDAUDIENCEINFO +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['keyword']) +_CAMPAIGNCRITERION.fields_by_name['keyword'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['placement']) +_CAMPAIGNCRITERION.fields_by_name['placement'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['mobile_app_category']) +_CAMPAIGNCRITERION.fields_by_name['mobile_app_category'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['mobile_application']) +_CAMPAIGNCRITERION.fields_by_name['mobile_application'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['location']) +_CAMPAIGNCRITERION.fields_by_name['location'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['device']) +_CAMPAIGNCRITERION.fields_by_name['device'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['ad_schedule']) +_CAMPAIGNCRITERION.fields_by_name['ad_schedule'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['age_range']) +_CAMPAIGNCRITERION.fields_by_name['age_range'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['gender']) +_CAMPAIGNCRITERION.fields_by_name['gender'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['income_range']) +_CAMPAIGNCRITERION.fields_by_name['income_range'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['parental_status']) +_CAMPAIGNCRITERION.fields_by_name['parental_status'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['user_list']) +_CAMPAIGNCRITERION.fields_by_name['user_list'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['youtube_video']) +_CAMPAIGNCRITERION.fields_by_name['youtube_video'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['youtube_channel']) +_CAMPAIGNCRITERION.fields_by_name['youtube_channel'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['proximity']) +_CAMPAIGNCRITERION.fields_by_name['proximity'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['topic']) +_CAMPAIGNCRITERION.fields_by_name['topic'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['listing_scope']) +_CAMPAIGNCRITERION.fields_by_name['listing_scope'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['language']) +_CAMPAIGNCRITERION.fields_by_name['language'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['ip_block']) +_CAMPAIGNCRITERION.fields_by_name['ip_block'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['content_label']) +_CAMPAIGNCRITERION.fields_by_name['content_label'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['carrier']) +_CAMPAIGNCRITERION.fields_by_name['carrier'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['user_interest']) +_CAMPAIGNCRITERION.fields_by_name['user_interest'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['webpage']) +_CAMPAIGNCRITERION.fields_by_name['webpage'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['operating_system_version']) +_CAMPAIGNCRITERION.fields_by_name['operating_system_version'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['mobile_device']) +_CAMPAIGNCRITERION.fields_by_name['mobile_device'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_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'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['custom_audience']) +_CAMPAIGNCRITERION.fields_by_name['custom_audience'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['combined_audience']) +_CAMPAIGNCRITERION.fields_by_name['combined_audience'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['_campaign'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['campaign']) +_CAMPAIGNCRITERION.fields_by_name['campaign'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['_campaign'] +_CAMPAIGNCRITERION.oneofs_by_name['_criterion_id'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['criterion_id']) +_CAMPAIGNCRITERION.fields_by_name['criterion_id'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['_criterion_id'] +_CAMPAIGNCRITERION.oneofs_by_name['_bid_modifier'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['bid_modifier']) +_CAMPAIGNCRITERION.fields_by_name['bid_modifier'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['_bid_modifier'] +_CAMPAIGNCRITERION.oneofs_by_name['_negative'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['negative']) +_CAMPAIGNCRITERION.fields_by_name['negative'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['_negative'] +DESCRIPTOR.message_types_by_name['CampaignCriterion'] = _CAMPAIGNCRITERION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignCriterion = _reflection.GeneratedProtocolMessageType('CampaignCriterion', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNCRITERION, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_criterion_pb2' + , + '__doc__': """A campaign criterion. + + Attributes: + resource_name: + Immutable. The resource name of the campaign criterion. + Campaign criterion resource names have the form: ``customers/ + {customer_id}/campaignCriteria/{campaign_id}~{criterion_id}`` + campaign: + Immutable. The campaign to which the criterion belongs. + criterion_id: + 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: + Immutable. Whether to target (``false``) or exclude (``true``) + the criterion. + type: + Output only. The type of the criterion. + status: + The status of the criterion. + criterion: + The campaign criterion. Exactly one must be set. + keyword: + Immutable. Keyword. + placement: + Immutable. Placement. + mobile_app_category: + Immutable. Mobile app category. + mobile_application: + Immutable. Mobile application. + location: + Immutable. Location. + device: + Immutable. Device. + ad_schedule: + Immutable. Ad Schedule. + age_range: + Immutable. Age range. + gender: + Immutable. Gender. + income_range: + Immutable. Income range. + parental_status: + Immutable. Parental status. + user_list: + Immutable. User List. + youtube_video: + Immutable. YouTube Video. + youtube_channel: + Immutable. YouTube Channel. + proximity: + Immutable. Proximity. + topic: + Immutable. Topic. + listing_scope: + Immutable. Listing scope. + language: + Immutable. Language. + ip_block: + Immutable. IpBlock. + content_label: + Immutable. ContentLabel. + carrier: + Immutable. Carrier. + user_interest: + Immutable. User Interest. + webpage: + Immutable. Webpage. + operating_system_version: + Immutable. Operating system version. + mobile_device: + Immutable. Mobile Device. + location_group: + Immutable. Location Group + custom_affinity: + Immutable. Custom Affinity. + custom_audience: + Immutable. Custom Audience + combined_audience: + Immutable. Combined Audience. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.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.fields_by_name['custom_audience']._options = None +_CAMPAIGNCRITERION.fields_by_name['combined_audience']._options = None +_CAMPAIGNCRITERION._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/resources/campaign_criterion_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/campaign_criterion_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_criterion_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/campaign_criterion_simulation_pb2.py b/google/ads/google_ads/v6/proto/resources/campaign_criterion_simulation_pb2.py new file mode 100644 index 000000000..84be8ad70 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_criterion_simulation_pb2.py @@ -0,0 +1,214 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/campaign_criterion_simulation.proto + +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.v6.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2 +from google.ads.google_ads.v6.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__modification__method__pb2 +from google.ads.google_ads.v6.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/campaign_criterion_simulation.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB CampaignCriterionSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nKgoogle/ads/googleads_v6/proto/resources/campaign_criterion_simulation.proto\x12!google.ads.googleads.v6.resources\x1a\x35google/ads/googleads_v6/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v6/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v6/proto/enums/simulation_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xb9\x06\n\x1b\x43\x61mpaignCriterionSimulation\x12S\n\rresource_name\x18\x01 \x01(\tB<\xe0\x41\x03\xfa\x41\x36\n4googleads.googleapis.com/CampaignCriterionSimulation\x12\x1d\n\x0b\x63\x61mpaign_id\x18\t \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x1e\n\x0c\x63riterion_id\x18\n \x01(\x03\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12S\n\x04type\x18\x04 \x01(\x0e\x32@.google.ads.googleads.v6.enums.SimulationTypeEnum.SimulationTypeB\x03\xe0\x41\x03\x12~\n\x13modification_method\x18\x05 \x01(\x0e\x32\\.google.ads.googleads.v6.enums.SimulationModificationMethodEnum.SimulationModificationMethodB\x03\xe0\x41\x03\x12\x1c\n\nstart_date\x18\x0b \x01(\tB\x03\xe0\x41\x03H\x03\x88\x01\x01\x12\x1a\n\x08\x65nd_date\x18\x0c \x01(\tB\x03\xe0\x41\x03H\x04\x88\x01\x01\x12\x66\n\x17\x62id_modifier_point_list\x18\x08 \x01(\x0b\x32>.google.ads.googleads.v6.common.BidModifierSimulationPointListB\x03\xe0\x41\x03H\x00:\xc3\x01\xea\x41\xbf\x01\n4googleads.googleapis.com/CampaignCriterionSimulation\x12\x86\x01\x63ustomers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}B\x0c\n\npoint_listB\x0e\n\x0c_campaign_idB\x0f\n\r_criterion_idB\r\n\x0b_start_dateB\x0b\n\t_end_dateB\x8d\x02\n%com.google.ads.googleads.v6.resourcesB CampaignCriterionSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGNCRITERIONSIMULATION = _descriptor.Descriptor( + name='CampaignCriterionSimulation', + full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_id', full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation.campaign_id', index=1, + number=9, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='criterion_id', full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation.criterion_id', index=2, + number=10, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='modification_method', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_date', full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation.start_date', index=5, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_date', full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation.end_date', index=6, + 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bid_modifier_point_list', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A\277\001\n4googleads.googleapis.com/CampaignCriterionSimulation\022\206\001customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='point_list', full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation.point_list', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign_id', full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation._campaign_id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_criterion_id', full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation._criterion_id', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_start_date', full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation._start_date', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_end_date', full_name='google.ads.googleads.v6.resources.CampaignCriterionSimulation._end_date', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=393, + serialized_end=1218, +) + +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_simulation__modification__method__pb2._SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['bid_modifier_point_list'].message_type = google_dot_ads_dot_googleads__v6_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'] +_CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['_campaign_id'].fields.append( + _CAMPAIGNCRITERIONSIMULATION.fields_by_name['campaign_id']) +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['campaign_id'].containing_oneof = _CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['_campaign_id'] +_CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['_criterion_id'].fields.append( + _CAMPAIGNCRITERIONSIMULATION.fields_by_name['criterion_id']) +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['criterion_id'].containing_oneof = _CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['_criterion_id'] +_CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['_start_date'].fields.append( + _CAMPAIGNCRITERIONSIMULATION.fields_by_name['start_date']) +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['start_date'].containing_oneof = _CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['_start_date'] +_CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['_end_date'].fields.append( + _CAMPAIGNCRITERIONSIMULATION.fields_by_name['end_date']) +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['end_date'].containing_oneof = _CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['_end_date'] +DESCRIPTOR.message_types_by_name['CampaignCriterionSimulation'] = _CAMPAIGNCRITERIONSIMULATION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignCriterionSimulation = _reflection.GeneratedProtocolMessageType('CampaignCriterionSimulation', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNCRITERIONSIMULATION, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/campaign_criterion_simulation_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/campaign_criterion_simulation_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_criterion_simulation_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/campaign_draft_pb2.py b/google/ads/google_ads/v6/proto/resources/campaign_draft_pb2.py new file mode 100644 index 000000000..a9b5eb2b5 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_draft_pb2.py @@ -0,0 +1,216 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/campaign_draft.proto + +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.v6.proto.enums import campaign_draft_status_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/campaign_draft.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\022CampaignDraftProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n.google.ads.googleads.v6.enums.ExtensionTypeEnum.ExtensionTypeB\x03\xe0\x41\x05\x12@\n\x08\x63\x61mpaign\x18\x06 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/CampaignH\x00\x88\x01\x01\x12M\n\x14\x65xtension_feed_items\x18\x07 \x03(\tB/\xfa\x41,\n*googleads.googleapis.com/ExtensionFeedItem\x12`\n\x06\x64\x65vice\x18\x05 \x01(\x0e\x32P.google.ads.googleads.v6.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice:\x89\x01\xea\x41\x85\x01\n1googleads.googleapis.com/CampaignExtensionSetting\x12Pcustomers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}B\x0b\n\t_campaignB\x8a\x02\n%com.google.ads.googleads.v6.resourcesB\x1d\x43\x61mpaignExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGNEXTENSIONSETTING = _descriptor.Descriptor( + name='CampaignExtensionSetting', + full_name='google.ads.googleads.v6.resources.CampaignExtensionSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='extension_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v6.resources.CampaignExtensionSetting.campaign', index=2, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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/Campaign', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='extension_feed_items', full_name='google.ads.googleads.v6.resources.CampaignExtensionSetting.extension_feed_items', index=3, + number=7, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='device', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A\205\001\n1googleads.googleapis.com/CampaignExtensionSetting\022Pcustomers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_campaign', full_name='google.ads.googleads.v6.resources.CampaignExtensionSetting._campaign', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=328, + serialized_end=925, +) + +_CAMPAIGNEXTENSIONSETTING.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE +_CAMPAIGNEXTENSIONSETTING.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_extension__setting__device__pb2._EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE +_CAMPAIGNEXTENSIONSETTING.oneofs_by_name['_campaign'].fields.append( + _CAMPAIGNEXTENSIONSETTING.fields_by_name['campaign']) +_CAMPAIGNEXTENSIONSETTING.fields_by_name['campaign'].containing_oneof = _CAMPAIGNEXTENSIONSETTING.oneofs_by_name['_campaign'] +DESCRIPTOR.message_types_by_name['CampaignExtensionSetting'] = _CAMPAIGNEXTENSIONSETTING +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignExtensionSetting = _reflection.GeneratedProtocolMessageType('CampaignExtensionSetting', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNEXTENSIONSETTING, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/campaign_extension_setting_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/campaign_extension_setting_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_extension_setting_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/campaign_feed_pb2.py b/google/ads/google_ads/v6/proto/resources/campaign_feed_pb2.py new file mode 100644 index 000000000..38305a87a --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_feed_pb2.py @@ -0,0 +1,160 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/campaign_feed.proto + +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.v6.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_matching__function__pb2 +from google.ads.google_ads.v6.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_feed__link__status__pb2 +from google.ads.google_ads.v6.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v6_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_v6/proto/resources/campaign_feed.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\021CampaignFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/resources/campaign_feed.proto\x12!google.ads.googleads.v6.resources\x1agoogle/ads/googleads_v6/proto/enums/location_source_type.proto\x1a\x42google/ads/googleads_v6/proto/enums/negative_geo_target_type.proto\x1a@google/ads/googleads_v6/proto/enums/optimization_goal_type.proto\x1a\x36google/ads/googleads_v6/proto/enums/payment_mode.proto\x1a\x42google/ads/googleads_v6/proto/enums/positive_geo_target_type.proto\x1aHgoogle/ads/googleads_v6/proto/enums/vanity_pharma_display_url_mode.proto\x1a.google.ads.googleads.v6.resources.Campaign.AppCampaignSetting\x12>\n\x06labels\x18= \x03(\tB.\xe0\x41\x03\xfa\x41(\n&googleads.googleapis.com/CampaignLabel\x12n\n\x0f\x65xperiment_type\x18\x11 \x01(\x0e\x32P.google.ads.googleads.v6.enums.CampaignExperimentTypeEnum.CampaignExperimentTypeB\x03\xe0\x41\x03\x12\x45\n\rbase_campaign\x18\x38 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/CampaignH\x04\x88\x01\x01\x12J\n\x0f\x63\x61mpaign_budget\x18> \x01(\tB,\xfa\x41)\n\'googleads.googleapis.com/CampaignBudgetH\x05\x88\x01\x01\x12n\n\x15\x62idding_strategy_type\x18\x16 \x01(\x0e\x32J.google.ads.googleads.v6.enums.BiddingStrategyTypeEnum.BiddingStrategyTypeB\x03\xe0\x41\x03\x12\x17\n\nstart_date\x18? \x01(\tH\x06\x88\x01\x01\x12\x15\n\x08\x65nd_date\x18@ \x01(\tH\x07\x88\x01\x01\x12\x1d\n\x10\x66inal_url_suffix\x18\x41 \x01(\tH\x08\x88\x01\x01\x12I\n\x0e\x66requency_caps\x18( \x03(\x0b\x32\x31.google.ads.googleads.v6.common.FrequencyCapEntry\x12}\n\x1evideo_brand_safety_suitability\x18* \x01(\x0e\x32P.google.ads.googleads.v6.enums.BrandSafetySuitabilityEnum.BrandSafetySuitabilityB\x03\xe0\x41\x03\x12O\n\rvanity_pharma\x18, \x01(\x0b\x32\x38.google.ads.googleads.v6.resources.Campaign.VanityPharma\x12\x61\n\x16selective_optimization\x18- \x01(\x0b\x32\x41.google.ads.googleads.v6.resources.Campaign.SelectiveOptimization\x12\x66\n\x19optimization_goal_setting\x18\x36 \x01(\x0b\x32\x43.google.ads.googleads.v6.resources.Campaign.OptimizationGoalSetting\x12Z\n\x10tracking_setting\x18. \x01(\x0b\x32;.google.ads.googleads.v6.resources.Campaign.TrackingSettingB\x03\xe0\x41\x03\x12P\n\x0cpayment_mode\x18\x34 \x01(\x0e\x32:.google.ads.googleads.v6.enums.PaymentModeEnum.PaymentMode\x12$\n\x12optimization_score\x18\x42 \x01(\x01\x42\x03\xe0\x41\x03H\t\x88\x01\x01\x12I\n\x10\x62idding_strategy\x18\x43 \x01(\tB-\xfa\x41*\n(googleads.googleapis.com/BiddingStrategyH\x00\x12@\n\ncommission\x18\x31 \x01(\x0b\x32*.google.ads.googleads.v6.common.CommissionH\x00\x12?\n\nmanual_cpc\x18\x18 \x01(\x0b\x32).google.ads.googleads.v6.common.ManualCpcH\x00\x12?\n\nmanual_cpm\x18\x19 \x01(\x0b\x32).google.ads.googleads.v6.common.ManualCpmH\x00\x12\x44\n\nmanual_cpv\x18% \x01(\x0b\x32).google.ads.googleads.v6.common.ManualCpvB\x03\xe0\x41\x03H\x00\x12S\n\x14maximize_conversions\x18\x1e \x01(\x0b\x32\x33.google.ads.googleads.v6.common.MaximizeConversionsH\x00\x12\\\n\x19maximize_conversion_value\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v6.common.MaximizeConversionValueH\x00\x12?\n\ntarget_cpa\x18\x1a \x01(\x0b\x32).google.ads.googleads.v6.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v6.common.TargetImpressionShareH\x00\x12\x41\n\x0btarget_roas\x18\x1d \x01(\x0b\x32*.google.ads.googleads.v6.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v6.common.TargetSpendH\x00\x12\x41\n\x0bpercent_cpc\x18\" \x01(\x0b\x32*.google.ads.googleads.v6.common.PercentCpcH\x00\x12?\n\ntarget_cpm\x18) \x01(\x0b\x32).google.ads.googleads.v6.common.TargetCpmH\x00\x1a\x99\x02\n\x0fNetworkSettings\x12!\n\x14target_google_search\x18\x05 \x01(\x08H\x00\x88\x01\x01\x12\"\n\x15target_search_network\x18\x06 \x01(\x08H\x01\x88\x01\x01\x12#\n\x16target_content_network\x18\x07 \x01(\x08H\x02\x88\x01\x01\x12*\n\x1dtarget_partner_search_network\x18\x08 \x01(\x08H\x03\x88\x01\x01\x42\x17\n\x15_target_google_searchB\x18\n\x16_target_search_networkB\x19\n\x17_target_content_networkB \n\x1e_target_partner_search_network\x1aI\n\x10HotelSettingInfo\x12!\n\x0fhotel_center_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x05H\x00\x88\x01\x01\x42\x12\n\x10_hotel_center_id\x1a\xfa\x01\n\x14GeoTargetTypeSetting\x12p\n\x18positive_geo_target_type\x18\x01 \x01(\x0e\x32N.google.ads.googleads.v6.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType\x12p\n\x18negative_geo_target_type\x18\x02 \x01(\x0e\x32N.google.ads.googleads.v6.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType\x1a\xc2\x01\n\x17\x44ynamicSearchAdsSetting\x12\x18\n\x0b\x64omain_name\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x07 \x01(\tB\x03\xe0\x41\x02\x12#\n\x16use_supplied_urls_only\x18\x08 \x01(\x08H\x00\x88\x01\x01\x12\x31\n\x05\x66\x65\x65\x64s\x18\t \x03(\tB\"\xfa\x41\x1f\n\x1dgoogleads.googleapis.com/FeedB\x19\n\x17_use_supplied_urls_only\x1a\xd5\x01\n\x0fShoppingSetting\x12\x1d\n\x0bmerchant_id\x18\x05 \x01(\x03\x42\x03\xe0\x41\x05H\x00\x88\x01\x01\x12\x1f\n\rsales_country\x18\x06 \x01(\tB\x03\xe0\x41\x05H\x01\x88\x01\x01\x12\x1e\n\x11\x63\x61mpaign_priority\x18\x07 \x01(\x05H\x02\x88\x01\x01\x12\x19\n\x0c\x65nable_local\x18\x08 \x01(\x08H\x03\x88\x01\x01\x42\x0e\n\x0c_merchant_idB\x10\n\x0e_sales_countryB\x14\n\x12_campaign_priorityB\x0f\n\r_enable_local\x1a\x42\n\x0fTrackingSetting\x12\x1e\n\x0ctracking_url\x18\x02 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x0f\n\r_tracking_url\x1a\xf3\x01\n\x0cVanityPharma\x12\x80\x01\n\x1evanity_pharma_display_url_mode\x18\x01 \x01(\x0e\x32X.google.ads.googleads.v6.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode\x12`\n\x12vanity_pharma_text\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v6.enums.VanityPharmaTextEnum.VanityPharmaText\x1a\x88\x01\n\x17OptimizationGoalSetting\x12m\n\x17optimization_goal_types\x18\x01 \x03(\x0e\x32L.google.ads.googleads.v6.enums.OptimizationGoalTypeEnum.OptimizationGoalType\x1a~\n\x14LocalCampaignSetting\x12\x66\n\x14location_source_type\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v6.enums.LocationSourceTypeEnum.LocationSourceType\x1a\xac\x02\n\x12\x41ppCampaignSetting\x12\x8c\x01\n\x1a\x62idding_strategy_goal_type\x18\x01 \x01(\x0e\x32h.google.ads.googleads.v6.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType\x12\x18\n\x06\x61pp_id\x18\x04 \x01(\tB\x03\xe0\x41\x05H\x00\x88\x01\x01\x12\x62\n\tapp_store\x18\x03 \x01(\x0e\x32J.google.ads.googleads.v6.enums.AppCampaignAppStoreEnum.AppCampaignAppStoreB\x03\xe0\x41\x05\x42\t\n\x07_app_id\x1a\x63\n\x15SelectiveOptimization\x12J\n\x12\x63onversion_actions\x18\x02 \x03(\tB.\xfa\x41+\n)googleads.googleapis.com/ConversionAction:W\xea\x41T\n!googleads.googleapis.com/Campaign\x12/customers/{customer_id}/campaigns/{campaign_id}B\x1b\n\x19\x63\x61mpaign_bidding_strategyB\x05\n\x03_idB\x07\n\x05_nameB\x18\n\x16_tracking_url_templateB\x10\n\x0e_base_campaignB\x12\n\x10_campaign_budgetB\r\n\x0b_start_dateB\x0b\n\t_end_dateB\x13\n\x11_final_url_suffixB\x15\n\x13_optimization_scoreB\xfa\x01\n%com.google.ads.googleads.v6.resourcesB\rCampaignProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_frequency__cap__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_real__time__bidding__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_targeting__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__serving__optimization__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__campaign__app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__campaign__bidding__strategy__goal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__strategy__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_brand__safety__suitability__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_campaign__experiment__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_campaign__serving__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_campaign__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_location__source__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_negative__geo__target__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_optimization__goal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_payment__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_positive__geo__target__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_vanity__pharma__display__url__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGN_NETWORKSETTINGS = _descriptor.Descriptor( + name='NetworkSettings', + full_name='google.ads.googleads.v6.resources.Campaign.NetworkSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='target_google_search', full_name='google.ads.googleads.v6.resources.Campaign.NetworkSettings.target_google_search', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_search_network', full_name='google.ads.googleads.v6.resources.Campaign.NetworkSettings.target_search_network', index=1, + 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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_content_network', full_name='google.ads.googleads.v6.resources.Campaign.NetworkSettings.target_content_network', index=2, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_partner_search_network', full_name='google.ads.googleads.v6.resources.Campaign.NetworkSettings.target_partner_search_network', index=3, + number=8, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_target_google_search', full_name='google.ads.googleads.v6.resources.Campaign.NetworkSettings._target_google_search', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_target_search_network', full_name='google.ads.googleads.v6.resources.Campaign.NetworkSettings._target_search_network', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_target_content_network', full_name='google.ads.googleads.v6.resources.Campaign.NetworkSettings._target_content_network', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_target_partner_search_network', full_name='google.ads.googleads.v6.resources.Campaign.NetworkSettings._target_partner_search_network', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=5431, + serialized_end=5712, +) + +_CAMPAIGN_HOTELSETTINGINFO = _descriptor.Descriptor( + name='HotelSettingInfo', + full_name='google.ads.googleads.v6.resources.Campaign.HotelSettingInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='hotel_center_id', full_name='google.ads.googleads.v6.resources.Campaign.HotelSettingInfo.hotel_center_id', index=0, + 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_hotel_center_id', full_name='google.ads.googleads.v6.resources.Campaign.HotelSettingInfo._hotel_center_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=5714, + serialized_end=5787, +) + +_CAMPAIGN_GEOTARGETTYPESETTING = _descriptor.Descriptor( + name='GeoTargetTypeSetting', + full_name='google.ads.googleads.v6.resources.Campaign.GeoTargetTypeSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='positive_geo_target_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='negative_geo_target_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5790, + serialized_end=6040, +) + +_CAMPAIGN_DYNAMICSEARCHADSSETTING = _descriptor.Descriptor( + name='DynamicSearchAdsSetting', + full_name='google.ads.googleads.v6.resources.Campaign.DynamicSearchAdsSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='domain_name', full_name='google.ads.googleads.v6.resources.Campaign.DynamicSearchAdsSetting.domain_name', index=0, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='language_code', full_name='google.ads.googleads.v6.resources.Campaign.DynamicSearchAdsSetting.language_code', index=1, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='use_supplied_urls_only', full_name='google.ads.googleads.v6.resources.Campaign.DynamicSearchAdsSetting.use_supplied_urls_only', index=2, + number=8, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feeds', full_name='google.ads.googleads.v6.resources.Campaign.DynamicSearchAdsSetting.feeds', index=3, + number=9, type=9, cpp_type=9, 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\037\n\035googleads.googleapis.com/Feed', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_use_supplied_urls_only', full_name='google.ads.googleads.v6.resources.Campaign.DynamicSearchAdsSetting._use_supplied_urls_only', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=6043, + serialized_end=6237, +) + +_CAMPAIGN_SHOPPINGSETTING = _descriptor.Descriptor( + name='ShoppingSetting', + full_name='google.ads.googleads.v6.resources.Campaign.ShoppingSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='merchant_id', full_name='google.ads.googleads.v6.resources.Campaign.ShoppingSetting.merchant_id', index=0, + number=5, 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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='sales_country', full_name='google.ads.googleads.v6.resources.Campaign.ShoppingSetting.sales_country', index=1, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_priority', full_name='google.ads.googleads.v6.resources.Campaign.ShoppingSetting.campaign_priority', index=2, + number=7, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='enable_local', full_name='google.ads.googleads.v6.resources.Campaign.ShoppingSetting.enable_local', index=3, + number=8, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_merchant_id', full_name='google.ads.googleads.v6.resources.Campaign.ShoppingSetting._merchant_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_sales_country', full_name='google.ads.googleads.v6.resources.Campaign.ShoppingSetting._sales_country', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign_priority', full_name='google.ads.googleads.v6.resources.Campaign.ShoppingSetting._campaign_priority', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_enable_local', full_name='google.ads.googleads.v6.resources.Campaign.ShoppingSetting._enable_local', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=6240, + serialized_end=6453, +) + +_CAMPAIGN_TRACKINGSETTING = _descriptor.Descriptor( + name='TrackingSetting', + full_name='google.ads.googleads.v6.resources.Campaign.TrackingSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='tracking_url', full_name='google.ads.googleads.v6.resources.Campaign.TrackingSetting.tracking_url', 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_tracking_url', full_name='google.ads.googleads.v6.resources.Campaign.TrackingSetting._tracking_url', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=6455, + serialized_end=6521, +) + +_CAMPAIGN_VANITYPHARMA = _descriptor.Descriptor( + name='VanityPharma', + full_name='google.ads.googleads.v6.resources.Campaign.VanityPharma', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='vanity_pharma_display_url_mode', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='vanity_pharma_text', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6524, + serialized_end=6767, +) + +_CAMPAIGN_OPTIMIZATIONGOALSETTING = _descriptor.Descriptor( + name='OptimizationGoalSetting', + full_name='google.ads.googleads.v6.resources.Campaign.OptimizationGoalSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='optimization_goal_types', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6770, + serialized_end=6906, +) + +_CAMPAIGN_LOCALCAMPAIGNSETTING = _descriptor.Descriptor( + name='LocalCampaignSetting', + full_name='google.ads.googleads.v6.resources.Campaign.LocalCampaignSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='location_source_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6908, + serialized_end=7034, +) + +_CAMPAIGN_APPCAMPAIGNSETTING = _descriptor.Descriptor( + name='AppCampaignSetting', + full_name='google.ads.googleads.v6.resources.Campaign.AppCampaignSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='bidding_strategy_goal_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_id', full_name='google.ads.googleads.v6.resources.Campaign.AppCampaignSetting.app_id', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_store', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_app_id', full_name='google.ads.googleads.v6.resources.Campaign.AppCampaignSetting._app_id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=7037, + serialized_end=7337, +) + +_CAMPAIGN_SELECTIVEOPTIMIZATION = _descriptor.Descriptor( + name='SelectiveOptimization', + full_name='google.ads.googleads.v6.resources.Campaign.SelectiveOptimization', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='conversion_actions', full_name='google.ads.googleads.v6.resources.Campaign.SelectiveOptimization.conversion_actions', index=0, + number=2, type=9, cpp_type=9, 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=7339, + serialized_end=7438, +) + +_CAMPAIGN = _descriptor.Descriptor( + name='Campaign', + full_name='google.ads.googleads.v6.resources.Campaign', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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=b'\340A\005\372A#\n!googleads.googleapis.com/Campaign', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.Campaign.id', index=1, + number=59, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.resources.Campaign.name', index=2, + number=58, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='serving_status', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_serving_optimization_status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='advertising_channel_type', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='advertising_channel_sub_type', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tracking_url_template', full_name='google.ads.googleads.v6.resources.Campaign.tracking_url_template', index=8, + number=60, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='url_custom_parameters', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='real_time_bidding_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='network_settings', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='hotel_setting', full_name='google.ads.googleads.v6.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=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='dynamic_search_ads_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shopping_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='targeting_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='geo_target_type_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='local_campaign_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_campaign_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='labels', full_name='google.ads.googleads.v6.resources.Campaign.labels', index=19, + number=61, type=9, cpp_type=9, 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/CampaignLabel', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='experiment_type', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='base_campaign', full_name='google.ads.googleads.v6.resources.Campaign.base_campaign', index=21, + number=56, type=9, cpp_type=9, label=1, + has_default_value=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/Campaign', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_budget', full_name='google.ads.googleads.v6.resources.Campaign.campaign_budget', index=22, + number=62, type=9, cpp_type=9, label=1, + has_default_value=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'\372A)\n\'googleads.googleapis.com/CampaignBudget', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bidding_strategy_type', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='start_date', full_name='google.ads.googleads.v6.resources.Campaign.start_date', index=24, + number=63, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='end_date', full_name='google.ads.googleads.v6.resources.Campaign.end_date', index=25, + number=64, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='final_url_suffix', full_name='google.ads.googleads.v6.resources.Campaign.final_url_suffix', index=26, + number=65, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='frequency_caps', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='video_brand_safety_suitability', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='vanity_pharma', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='selective_optimization', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='optimization_goal_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tracking_setting', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='payment_mode', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='optimization_score', full_name='google.ads.googleads.v6.resources.Campaign.optimization_score', index=34, + number=66, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='bidding_strategy', full_name='google.ads.googleads.v6.resources.Campaign.bidding_strategy', index=35, + number=67, type=9, cpp_type=9, label=1, + has_default_value=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'\372A*\n(googleads.googleapis.com/BiddingStrategy', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='commission', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='manual_cpc', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='manual_cpm', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='manual_cpv', full_name='google.ads.googleads.v6.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='maximize_conversions', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='maximize_conversion_value', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_cpa', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_impression_share', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_roas', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_spend', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='percent_cpc', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='target_cpm', full_name='google.ads.googleads.v6.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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_CAMPAIGN_NETWORKSETTINGS, _CAMPAIGN_HOTELSETTINGINFO, _CAMPAIGN_GEOTARGETTYPESETTING, _CAMPAIGN_DYNAMICSEARCHADSSETTING, _CAMPAIGN_SHOPPINGSETTING, _CAMPAIGN_TRACKINGSETTING, _CAMPAIGN_VANITYPHARMA, _CAMPAIGN_OPTIMIZATIONGOALSETTING, _CAMPAIGN_LOCALCAMPAIGNSETTING, _CAMPAIGN_APPCAMPAIGNSETTING, _CAMPAIGN_SELECTIVEOPTIMIZATION, ], + enum_types=[ + ], + serialized_options=b'\352AT\n!googleads.googleapis.com/Campaign\022/customers/{customer_id}/campaigns/{campaign_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='campaign_bidding_strategy', full_name='google.ads.googleads.v6.resources.Campaign.campaign_bidding_strategy', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.resources.Campaign._id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.resources.Campaign._name', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_tracking_url_template', full_name='google.ads.googleads.v6.resources.Campaign._tracking_url_template', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_base_campaign', full_name='google.ads.googleads.v6.resources.Campaign._base_campaign', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign_budget', full_name='google.ads.googleads.v6.resources.Campaign._campaign_budget', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_start_date', full_name='google.ads.googleads.v6.resources.Campaign._start_date', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_end_date', full_name='google.ads.googleads.v6.resources.Campaign._end_date', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_final_url_suffix', full_name='google.ads.googleads.v6.resources.Campaign._final_url_suffix', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_optimization_score', full_name='google.ads.googleads.v6.resources.Campaign._optimization_score', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=1635, + serialized_end=7708, +) + +_CAMPAIGN_NETWORKSETTINGS.containing_type = _CAMPAIGN +_CAMPAIGN_NETWORKSETTINGS.oneofs_by_name['_target_google_search'].fields.append( + _CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_google_search']) +_CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_google_search'].containing_oneof = _CAMPAIGN_NETWORKSETTINGS.oneofs_by_name['_target_google_search'] +_CAMPAIGN_NETWORKSETTINGS.oneofs_by_name['_target_search_network'].fields.append( + _CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_search_network']) +_CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_search_network'].containing_oneof = _CAMPAIGN_NETWORKSETTINGS.oneofs_by_name['_target_search_network'] +_CAMPAIGN_NETWORKSETTINGS.oneofs_by_name['_target_content_network'].fields.append( + _CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_content_network']) +_CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_content_network'].containing_oneof = _CAMPAIGN_NETWORKSETTINGS.oneofs_by_name['_target_content_network'] +_CAMPAIGN_NETWORKSETTINGS.oneofs_by_name['_target_partner_search_network'].fields.append( + _CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_partner_search_network']) +_CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_partner_search_network'].containing_oneof = _CAMPAIGN_NETWORKSETTINGS.oneofs_by_name['_target_partner_search_network'] +_CAMPAIGN_HOTELSETTINGINFO.containing_type = _CAMPAIGN +_CAMPAIGN_HOTELSETTINGINFO.oneofs_by_name['_hotel_center_id'].fields.append( + _CAMPAIGN_HOTELSETTINGINFO.fields_by_name['hotel_center_id']) +_CAMPAIGN_HOTELSETTINGINFO.fields_by_name['hotel_center_id'].containing_oneof = _CAMPAIGN_HOTELSETTINGINFO.oneofs_by_name['_hotel_center_id'] +_CAMPAIGN_GEOTARGETTYPESETTING.fields_by_name['positive_geo_target_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_negative__geo__target__type__pb2._NEGATIVEGEOTARGETTYPEENUM_NEGATIVEGEOTARGETTYPE +_CAMPAIGN_GEOTARGETTYPESETTING.containing_type = _CAMPAIGN +_CAMPAIGN_DYNAMICSEARCHADSSETTING.containing_type = _CAMPAIGN +_CAMPAIGN_DYNAMICSEARCHADSSETTING.oneofs_by_name['_use_supplied_urls_only'].fields.append( + _CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['use_supplied_urls_only']) +_CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['use_supplied_urls_only'].containing_oneof = _CAMPAIGN_DYNAMICSEARCHADSSETTING.oneofs_by_name['_use_supplied_urls_only'] +_CAMPAIGN_SHOPPINGSETTING.containing_type = _CAMPAIGN +_CAMPAIGN_SHOPPINGSETTING.oneofs_by_name['_merchant_id'].fields.append( + _CAMPAIGN_SHOPPINGSETTING.fields_by_name['merchant_id']) +_CAMPAIGN_SHOPPINGSETTING.fields_by_name['merchant_id'].containing_oneof = _CAMPAIGN_SHOPPINGSETTING.oneofs_by_name['_merchant_id'] +_CAMPAIGN_SHOPPINGSETTING.oneofs_by_name['_sales_country'].fields.append( + _CAMPAIGN_SHOPPINGSETTING.fields_by_name['sales_country']) +_CAMPAIGN_SHOPPINGSETTING.fields_by_name['sales_country'].containing_oneof = _CAMPAIGN_SHOPPINGSETTING.oneofs_by_name['_sales_country'] +_CAMPAIGN_SHOPPINGSETTING.oneofs_by_name['_campaign_priority'].fields.append( + _CAMPAIGN_SHOPPINGSETTING.fields_by_name['campaign_priority']) +_CAMPAIGN_SHOPPINGSETTING.fields_by_name['campaign_priority'].containing_oneof = _CAMPAIGN_SHOPPINGSETTING.oneofs_by_name['_campaign_priority'] +_CAMPAIGN_SHOPPINGSETTING.oneofs_by_name['_enable_local'].fields.append( + _CAMPAIGN_SHOPPINGSETTING.fields_by_name['enable_local']) +_CAMPAIGN_SHOPPINGSETTING.fields_by_name['enable_local'].containing_oneof = _CAMPAIGN_SHOPPINGSETTING.oneofs_by_name['_enable_local'] +_CAMPAIGN_TRACKINGSETTING.containing_type = _CAMPAIGN +_CAMPAIGN_TRACKINGSETTING.oneofs_by_name['_tracking_url'].fields.append( + _CAMPAIGN_TRACKINGSETTING.fields_by_name['tracking_url']) +_CAMPAIGN_TRACKINGSETTING.fields_by_name['tracking_url'].containing_oneof = _CAMPAIGN_TRACKINGSETTING.oneofs_by_name['_tracking_url'] +_CAMPAIGN_VANITYPHARMA.fields_by_name['vanity_pharma_display_url_mode'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_vanity__pharma__text__pb2._VANITYPHARMATEXTENUM_VANITYPHARMATEXT +_CAMPAIGN_VANITYPHARMA.containing_type = _CAMPAIGN +_CAMPAIGN_OPTIMIZATIONGOALSETTING.fields_by_name['optimization_goal_types'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_optimization__goal__type__pb2._OPTIMIZATIONGOALTYPEENUM_OPTIMIZATIONGOALTYPE +_CAMPAIGN_OPTIMIZATIONGOALSETTING.containing_type = _CAMPAIGN +_CAMPAIGN_LOCALCAMPAIGNSETTING.fields_by_name['location_source_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_app__campaign__bidding__strategy__goal__type__pb2._APPCAMPAIGNBIDDINGSTRATEGYGOALTYPEENUM_APPCAMPAIGNBIDDINGSTRATEGYGOALTYPE +_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_store'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_app__campaign__app__store__pb2._APPCAMPAIGNAPPSTOREENUM_APPCAMPAIGNAPPSTORE +_CAMPAIGN_APPCAMPAIGNSETTING.containing_type = _CAMPAIGN +_CAMPAIGN_APPCAMPAIGNSETTING.oneofs_by_name['_app_id'].fields.append( + _CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_id']) +_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_id'].containing_oneof = _CAMPAIGN_APPCAMPAIGNSETTING.oneofs_by_name['_app_id'] +_CAMPAIGN_SELECTIVEOPTIMIZATION.containing_type = _CAMPAIGN +_CAMPAIGN.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_campaign__status__pb2._CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS +_CAMPAIGN.fields_by_name['serving_status'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_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__v6_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__v6_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2._ADVERTISINGCHANNELSUBTYPEENUM_ADVERTISINGCHANNELSUBTYPE +_CAMPAIGN.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_CAMPAIGN.fields_by_name['real_time_bidding_setting'].message_type = google_dot_ads_dot_googleads__v6_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__v6_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['experiment_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_campaign__experiment__type__pb2._CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE +_CAMPAIGN.fields_by_name['bidding_strategy_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_bidding__strategy__type__pb2._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE +_CAMPAIGN.fields_by_name['frequency_caps'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_frequency__cap__pb2._FREQUENCYCAPENTRY +_CAMPAIGN.fields_by_name['video_brand_safety_suitability'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_payment__mode__pb2._PAYMENTMODEENUM_PAYMENTMODE +_CAMPAIGN.fields_by_name['commission'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._COMMISSION +_CAMPAIGN.fields_by_name['manual_cpc'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._MANUALCPC +_CAMPAIGN.fields_by_name['manual_cpm'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._MANUALCPM +_CAMPAIGN.fields_by_name['manual_cpv'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._MANUALCPV +_CAMPAIGN.fields_by_name['maximize_conversions'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONS +_CAMPAIGN.fields_by_name['maximize_conversion_value'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONVALUE +_CAMPAIGN.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA +_CAMPAIGN.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE +_CAMPAIGN.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS +_CAMPAIGN.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._TARGETSPEND +_CAMPAIGN.fields_by_name['percent_cpc'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_bidding__pb2._PERCENTCPC +_CAMPAIGN.fields_by_name['target_cpm'].message_type = google_dot_ads_dot_googleads__v6_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'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['commission']) +_CAMPAIGN.fields_by_name['commission'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['manual_cpc']) +_CAMPAIGN.fields_by_name['manual_cpc'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['manual_cpm']) +_CAMPAIGN.fields_by_name['manual_cpm'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['manual_cpv']) +_CAMPAIGN.fields_by_name['manual_cpv'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['maximize_conversions']) +_CAMPAIGN.fields_by_name['maximize_conversions'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['maximize_conversion_value']) +_CAMPAIGN.fields_by_name['maximize_conversion_value'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['target_cpa']) +_CAMPAIGN.fields_by_name['target_cpa'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['target_impression_share']) +_CAMPAIGN.fields_by_name['target_impression_share'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['target_roas']) +_CAMPAIGN.fields_by_name['target_roas'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['target_spend']) +_CAMPAIGN.fields_by_name['target_spend'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['percent_cpc']) +_CAMPAIGN.fields_by_name['percent_cpc'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( + _CAMPAIGN.fields_by_name['target_cpm']) +_CAMPAIGN.fields_by_name['target_cpm'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] +_CAMPAIGN.oneofs_by_name['_id'].fields.append( + _CAMPAIGN.fields_by_name['id']) +_CAMPAIGN.fields_by_name['id'].containing_oneof = _CAMPAIGN.oneofs_by_name['_id'] +_CAMPAIGN.oneofs_by_name['_name'].fields.append( + _CAMPAIGN.fields_by_name['name']) +_CAMPAIGN.fields_by_name['name'].containing_oneof = _CAMPAIGN.oneofs_by_name['_name'] +_CAMPAIGN.oneofs_by_name['_tracking_url_template'].fields.append( + _CAMPAIGN.fields_by_name['tracking_url_template']) +_CAMPAIGN.fields_by_name['tracking_url_template'].containing_oneof = _CAMPAIGN.oneofs_by_name['_tracking_url_template'] +_CAMPAIGN.oneofs_by_name['_base_campaign'].fields.append( + _CAMPAIGN.fields_by_name['base_campaign']) +_CAMPAIGN.fields_by_name['base_campaign'].containing_oneof = _CAMPAIGN.oneofs_by_name['_base_campaign'] +_CAMPAIGN.oneofs_by_name['_campaign_budget'].fields.append( + _CAMPAIGN.fields_by_name['campaign_budget']) +_CAMPAIGN.fields_by_name['campaign_budget'].containing_oneof = _CAMPAIGN.oneofs_by_name['_campaign_budget'] +_CAMPAIGN.oneofs_by_name['_start_date'].fields.append( + _CAMPAIGN.fields_by_name['start_date']) +_CAMPAIGN.fields_by_name['start_date'].containing_oneof = _CAMPAIGN.oneofs_by_name['_start_date'] +_CAMPAIGN.oneofs_by_name['_end_date'].fields.append( + _CAMPAIGN.fields_by_name['end_date']) +_CAMPAIGN.fields_by_name['end_date'].containing_oneof = _CAMPAIGN.oneofs_by_name['_end_date'] +_CAMPAIGN.oneofs_by_name['_final_url_suffix'].fields.append( + _CAMPAIGN.fields_by_name['final_url_suffix']) +_CAMPAIGN.fields_by_name['final_url_suffix'].containing_oneof = _CAMPAIGN.oneofs_by_name['_final_url_suffix'] +_CAMPAIGN.oneofs_by_name['_optimization_score'].fields.append( + _CAMPAIGN.fields_by_name['optimization_score']) +_CAMPAIGN.fields_by_name['optimization_score'].containing_oneof = _CAMPAIGN.oneofs_by_name['_optimization_score'] +DESCRIPTOR.message_types_by_name['Campaign'] = _CAMPAIGN +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Campaign = _reflection.GeneratedProtocolMessageType('Campaign', (_message.Message,), { + + 'NetworkSettings' : _reflection.GeneratedProtocolMessageType('NetworkSettings', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_NETWORKSETTINGS, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_pb2' + , + '__doc__': """The network settings for the campaign. + + Attributes: + target_google_search: + Whether ads will be served with google.com search results. + target_search_network: + Whether ads will be served on partner sites in the Google + Search Network (requires ``target_google_search`` to also be + ``true``). + target_content_network: + Whether ads will be served on specified placements in the + Google Display Network. Placements are specified using the + Placement criterion. + target_partner_search_network: + 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.v6.resources.Campaign.NetworkSettings) + }) + , + + 'HotelSettingInfo' : _reflection.GeneratedProtocolMessageType('HotelSettingInfo', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_HOTELSETTINGINFO, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_pb2' + , + '__doc__': """Campaign-level settings for hotel ads. + + Attributes: + hotel_center_id: + Immutable. The linked Hotel Center account. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Campaign.HotelSettingInfo) + }) + , + + 'GeoTargetTypeSetting' : _reflection.GeneratedProtocolMessageType('GeoTargetTypeSetting', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_GEOTARGETTYPESETTING, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_pb2' + , + '__doc__': """Represents a collection of settings related to ads geotargeting. + + 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. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Campaign.GeoTargetTypeSetting) + }) + , + + 'DynamicSearchAdsSetting' : _reflection.GeneratedProtocolMessageType('DynamicSearchAdsSetting', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_DYNAMICSEARCHADSSETTING, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_pb2' + , + '__doc__': """The setting for controlling Dynamic Search Ads (DSA). + + Attributes: + domain_name: + Required. The Internet domain name that this setting + represents, e.g., "google.com" or "www.google.com". + language_code: + Required. The language code specifying the language of the + domain, e.g., "en". + use_supplied_urls_only: + Whether the campaign uses advertiser supplied URLs + exclusively. + feeds: + The list of page feeds associated with the campaign. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Campaign.DynamicSearchAdsSetting) + }) + , + + 'ShoppingSetting' : _reflection.GeneratedProtocolMessageType('ShoppingSetting', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_SHOPPINGSETTING, + '__module__' : 'google.ads.googleads_v6.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 with other Shopping campaigns. + + Attributes: + merchant_id: + Immutable. ID of the Merchant Center account. This field is + required for create operations. This field is immutable for + Shopping campaigns. + sales_country: + 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. + This field is required for Shopping campaigns, with values + between 0 and 2, inclusive. This field is optional for Smart + Shopping campaigns, but must be equal to 3 if set. + enable_local: + Whether to include local products. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Campaign.ShoppingSetting) + }) + , + + 'TrackingSetting' : _reflection.GeneratedProtocolMessageType('TrackingSetting', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_TRACKINGSETTING, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_pb2' + , + '__doc__': """Campaign-level settings for tracking information. + + Attributes: + tracking_url: + Output only. The url used for dynamic tracking. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Campaign.TrackingSetting) + }) + , + + 'VanityPharma' : _reflection.GeneratedProtocolMessageType('VanityPharma', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_VANITYPHARMA, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_pb2' + , + '__doc__': """Describes how unbranded pharma ads will be displayed. + + 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. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Campaign.VanityPharma) + }) + , + + 'OptimizationGoalSetting' : _reflection.GeneratedProtocolMessageType('OptimizationGoalSetting', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_OPTIMIZATIONGOALSETTING, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_pb2' + , + '__doc__': """Optimization goal setting for this campaign, which includes a set of + optimization goal types. + + Attributes: + optimization_goal_types: + The list of optimization goal types. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Campaign.OptimizationGoalSetting) + }) + , + + 'LocalCampaignSetting' : _reflection.GeneratedProtocolMessageType('LocalCampaignSetting', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_LOCALCAMPAIGNSETTING, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_pb2' + , + '__doc__': """Campaign setting for local campaigns. + + Attributes: + location_source_type: + The location source type for this local campaign. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Campaign.LocalCampaignSetting) + }) + , + + 'AppCampaignSetting' : _reflection.GeneratedProtocolMessageType('AppCampaignSetting', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_APPCAMPAIGNSETTING, + '__module__' : 'google.ads.googleads_v6.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.v6.resources.Campaign.AppCampaignSetting) + }) + , + + 'SelectiveOptimization' : _reflection.GeneratedProtocolMessageType('SelectiveOptimization', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGN_SELECTIVEOPTIMIZATION, + '__module__' : 'google.ads.googleads_v6.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.v6.resources.Campaign.SelectiveOptimization) + }) + , + 'DESCRIPTOR' : _CAMPAIGN, + '__module__' : 'google.ads.googleads_v6.proto.resources.campaign_pb2' + , + '__doc__': """A campaign. + + Attributes: + resource_name: + Immutable. The resource name of the campaign. Campaign + resource names have the form: + ``customers/{customer_id}/campaigns/{campaign_id}`` + id: + 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 + any null (code point 0x0), NL line feed (code point 0xA) or + carriage return (code point 0xD) characters. + status: + The status of the campaign. When a new campaign is added, the + status defaults to ENABLED. + serving_status: + Output only. The ad serving status of the campaign. + ad_serving_optimization_status: + The ad serving optimization status of the campaign. + advertising_channel_type: + 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: + The list of mappings used to substitute custom parameter tags + in a ``tracking_url_template``, ``final_urls``, or + ``mobile_final_urls``. + real_time_bidding_setting: + Settings for Real-Time Bidding, a feature only available for + campaigns targeting the Ad Exchange network. + network_settings: + The network settings for the campaign. + hotel_setting: + Immutable. The hotel setting for the campaign. + dynamic_search_ads_setting: + The setting for controlling Dynamic Search Ads (DSA). + shopping_setting: + The setting for controlling Shopping campaigns. + targeting_setting: + 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: + Output only. The resource names of labels attached to this + campaign. + experiment_type: + Output only. The type of campaign: normal, draft, or + experiment. + base_campaign: + 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: + 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. + end_date: + The date when campaign ended. + final_url_suffix: + Suffix used to append query parameters to landing pages that + are served with parallel tracking. + frequency_caps: + A list that limits how often each user will see this + campaign's ads. + video_brand_safety_suitability: + 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: + 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. This field + is null for unscored campaigns. 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, + that is embedded into the campaign. + bidding_strategy: + Portfolio bidding strategy used by campaign. + commission: + Commission is an automatic bidding strategy in which the + advertiser pays a certain portion of the conversion value. + manual_cpc: + Standard Manual CPC bidding strategy. Manual click-based + bidding where user pays per click. + manual_cpm: + Standard Manual CPM bidding strategy. Manual impression-based + bidding where user pays per thousand impressions. + manual_cpv: + 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 while spending + your budget. + maximize_conversion_value: + Standard Maximize Conversion Value bidding strategy that + automatically sets bids to maximize revenue while spending + your budget. + target_cpa: + Standard Target CPA bidding strategy that automatically sets + bids to help get as many conversions as possible at the target + cost-per-acquisition (CPA) you set. + target_impression_share: + Target Impression Share bidding strategy. An automated bidding + strategy that sets bids to achieve a desired percentage of + impressions. + target_roas: + Standard Target ROAS bidding strategy that automatically + maximizes revenue while averaging a specific target return on + ad spend (ROAS). + target_spend: + Standard Target Spend bidding strategy that automatically sets + your bids to help get as many clicks as possible within your + budget. + percent_cpc: + Standard Percent Cpc bidding strategy where bids are a + fraction of the advertised price for some good or service. + target_cpm: + A bidding strategy that automatically optimizes cost per + thousand impressions. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.Campaign) + }) +_sym_db.RegisterMessage(Campaign) +_sym_db.RegisterMessage(Campaign.NetworkSettings) +_sym_db.RegisterMessage(Campaign.HotelSettingInfo) +_sym_db.RegisterMessage(Campaign.GeoTargetTypeSetting) +_sym_db.RegisterMessage(Campaign.DynamicSearchAdsSetting) +_sym_db.RegisterMessage(Campaign.ShoppingSetting) +_sym_db.RegisterMessage(Campaign.TrackingSetting) +_sym_db.RegisterMessage(Campaign.VanityPharma) +_sym_db.RegisterMessage(Campaign.OptimizationGoalSetting) +_sym_db.RegisterMessage(Campaign.LocalCampaignSetting) +_sym_db.RegisterMessage(Campaign.AppCampaignSetting) +_sym_db.RegisterMessage(Campaign.SelectiveOptimization) + + +DESCRIPTOR._options = None +_CAMPAIGN_HOTELSETTINGINFO.fields_by_name['hotel_center_id']._options = None +_CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['domain_name']._options = None +_CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['language_code']._options = None +_CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['feeds']._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_APPCAMPAIGNSETTING.fields_by_name['app_id']._options = None +_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_store']._options = None +_CAMPAIGN_SELECTIVEOPTIMIZATION.fields_by_name['conversion_actions']._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/v6/proto/resources/campaign_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/campaign_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/campaign_shared_set_pb2.py b/google/ads/google_ads/v6/proto/resources/campaign_shared_set_pb2.py new file mode 100644 index 000000000..f6246f6f2 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_shared_set_pb2.py @@ -0,0 +1,144 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/campaign_shared_set.proto + +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.v6.proto.enums import campaign_shared_set_status_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/campaign_shared_set.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\026CampaignSharedSetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\nAgoogle/ads/googleads_v6/proto/resources/campaign_shared_set.proto\x12!google.ads.googleads.v6.resources\x1a\x44google/ads/googleads_v6/proto/enums/campaign_shared_set_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xe5\x03\n\x11\x43\x61mpaignSharedSet\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x05\xfa\x41,\n*googleads.googleapis.com/CampaignSharedSet\x12@\n\x08\x63\x61mpaign\x18\x05 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/CampaignH\x00\x88\x01\x01\x12\x43\n\nshared_set\x18\x06 \x01(\tB*\xe0\x41\x05\xfa\x41$\n\"googleads.googleapis.com/SharedSetH\x01\x88\x01\x01\x12g\n\x06status\x18\x02 \x01(\x0e\x32R.google.ads.googleads.v6.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatusB\x03\xe0\x41\x03:y\xea\x41v\n*googleads.googleapis.com/CampaignSharedSet\x12Hcustomers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}B\x0b\n\t_campaignB\r\n\x0b_shared_setB\x83\x02\n%com.google.ads.googleads.v6.resourcesB\x16\x43\x61mpaignSharedSetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGNSHAREDSET = _descriptor.Descriptor( + name='CampaignSharedSet', + full_name='google.ads.googleads.v6.resources.CampaignSharedSet', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v6.resources.CampaignSharedSet.campaign', index=1, + 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=b'\340A\005\372A#\n!googleads.googleapis.com/Campaign', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='shared_set', full_name='google.ads.googleads.v6.resources.CampaignSharedSet.shared_set', index=2, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352Av\n*googleads.googleapis.com/CampaignSharedSet\022Hcustomers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_campaign', full_name='google.ads.googleads.v6.resources.CampaignSharedSet._campaign', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_shared_set', full_name='google.ads.googleads.v6.resources.CampaignSharedSet._shared_set', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=265, + serialized_end=750, +) + +_CAMPAIGNSHAREDSET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_campaign__shared__set__status__pb2._CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS +_CAMPAIGNSHAREDSET.oneofs_by_name['_campaign'].fields.append( + _CAMPAIGNSHAREDSET.fields_by_name['campaign']) +_CAMPAIGNSHAREDSET.fields_by_name['campaign'].containing_oneof = _CAMPAIGNSHAREDSET.oneofs_by_name['_campaign'] +_CAMPAIGNSHAREDSET.oneofs_by_name['_shared_set'].fields.append( + _CAMPAIGNSHAREDSET.fields_by_name['shared_set']) +_CAMPAIGNSHAREDSET.fields_by_name['shared_set'].containing_oneof = _CAMPAIGNSHAREDSET.oneofs_by_name['_shared_set'] +DESCRIPTOR.message_types_by_name['CampaignSharedSet'] = _CAMPAIGNSHAREDSET +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignSharedSet = _reflection.GeneratedProtocolMessageType('CampaignSharedSet', (_message.Message,), { + 'DESCRIPTOR' : _CAMPAIGNSHAREDSET, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/campaign_shared_set_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/campaign_shared_set_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/campaign_shared_set_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/carrier_constant_pb2.py b/google/ads/google_ads/v6/proto/resources/carrier_constant_pb2.py new file mode 100644 index 000000000..defac7d9b --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/carrier_constant_pb2.py @@ -0,0 +1,141 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/carrier_constant.proto + +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_v6/proto/resources/carrier_constant.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\024CarrierConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n>google/ads/googleads_v6/proto/resources/carrier_constant.proto\x12!google.ads.googleads.v6.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\x99\x02\n\x0f\x43\x61rrierConstant\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(googleads.googleapis.com/CarrierConstant\x12\x14\n\x02id\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x16\n\x04name\x18\x06 \x01(\tB\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x1e\n\x0c\x63ountry_code\x18\x07 \x01(\tB\x03\xe0\x41\x03H\x02\x88\x01\x01:N\xea\x41K\n(googleads.googleapis.com/CarrierConstant\x12\x1f\x63\x61rrierConstants/{criterion_id}B\x05\n\x03_idB\x07\n\x05_nameB\x0f\n\r_country_codeB\x81\x02\n%com.google.ads.googleads.v6.resourcesB\x14\x43\x61rrierConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::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,]) + + + + +_CARRIERCONSTANT = _descriptor.Descriptor( + name='CarrierConstant', + full_name='google.ads.googleads.v6.resources.CarrierConstant', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.CarrierConstant.id', index=1, + number=5, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.resources.CarrierConstant.name', index=2, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v6.resources.CarrierConstant.country_code', index=3, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352AK\n(googleads.googleapis.com/CarrierConstant\022\037carrierConstants/{criterion_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.resources.CarrierConstant._id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.resources.CarrierConstant._name', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_country_code', full_name='google.ads.googleads.v6.resources.CarrierConstant._country_code', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=192, + serialized_end=473, +) + +_CARRIERCONSTANT.oneofs_by_name['_id'].fields.append( + _CARRIERCONSTANT.fields_by_name['id']) +_CARRIERCONSTANT.fields_by_name['id'].containing_oneof = _CARRIERCONSTANT.oneofs_by_name['_id'] +_CARRIERCONSTANT.oneofs_by_name['_name'].fields.append( + _CARRIERCONSTANT.fields_by_name['name']) +_CARRIERCONSTANT.fields_by_name['name'].containing_oneof = _CARRIERCONSTANT.oneofs_by_name['_name'] +_CARRIERCONSTANT.oneofs_by_name['_country_code'].fields.append( + _CARRIERCONSTANT.fields_by_name['country_code']) +_CARRIERCONSTANT.fields_by_name['country_code'].containing_oneof = _CARRIERCONSTANT.oneofs_by_name['_country_code'] +DESCRIPTOR.message_types_by_name['CarrierConstant'] = _CARRIERCONSTANT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CarrierConstant = _reflection.GeneratedProtocolMessageType('CarrierConstant', (_message.Message,), { + 'DESCRIPTOR' : _CARRIERCONSTANT, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/carrier_constant_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/carrier_constant_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/carrier_constant_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/change_event_pb2.py b/google/ads/google_ads/v6/proto/resources/change_event_pb2.py new file mode 100644 index 000000000..02437f3fb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/change_event_pb2.py @@ -0,0 +1,349 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/change_event.proto + +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.v6.proto.enums import ad_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__type__pb2 +from google.ads.google_ads.v6.proto.enums import advertising_channel_sub_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2 +from google.ads.google_ads.v6.proto.enums import advertising_channel_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__type__pb2 +from google.ads.google_ads.v6.proto.enums import change_client_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__client__type__pb2 +from google.ads.google_ads.v6.proto.enums import change_event_resource_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__event__resource__type__pb2 +from google.ads.google_ads.v6.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__type__pb2 +from google.ads.google_ads.v6.proto.enums import resource_change_operation_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_resource__change__operation__pb2 +from google.ads.google_ads.v6.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__pb2 +from google.ads.google_ads.v6.proto.resources import ad_group_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__group__pb2 +from google.ads.google_ads.v6.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 +from google.ads.google_ads.v6.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__group__criterion__pb2 +from google.ads.google_ads.v6.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_campaign__pb2 +from google.ads.google_ads.v6.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_campaign__budget__pb2 +from google.ads.google_ads.v6.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_campaign__criterion__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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/change_event.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\020ChangeEventProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n:google/ads/googleads_v6/proto/resources/change_event.proto\x12!google.ads.googleads.v6.resources\x1a\x31google/ads/googleads_v6/proto/enums/ad_type.proto\x1a\x46google/ads/googleads_v6/proto/enums/advertising_channel_sub_type.proto\x1a\x42google/ads/googleads_v6/proto/enums/advertising_channel_type.proto\x1a.google.ads.googleads.v6.resources.ChangeEvent.ChangedResourceB\x03\xe0\x41\x03\x12Y\n\x0cnew_resource\x18\x08 \x01(\x0b\x32>.google.ads.googleads.v6.resources.ChangeEvent.ChangedResourceB\x03\xe0\x41\x03\x12z\n\x19resource_change_operation\x18\t \x01(\x0e\x32R.google.ads.googleads.v6.enums.ResourceChangeOperationEnum.ResourceChangeOperationB\x03\xe0\x41\x03\x12\x37\n\x0e\x63hanged_fields\x18\n \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x03\x12;\n\x08\x63\x61mpaign\x18\x0b \x01(\tB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/Campaign\x12:\n\x08\x61\x64_group\x18\x0c \x01(\tB(\xe0\x41\x03\xfa\x41\"\n googleads.googleapis.com/AdGroup\x1a\xa9\x04\n\x0f\x43hangedResource\x12\x36\n\x02\x61\x64\x18\x01 \x01(\x0b\x32%.google.ads.googleads.v6.resources.AdB\x03\xe0\x41\x03\x12\x41\n\x08\x61\x64_group\x18\x02 \x01(\x0b\x32*.google.ads.googleads.v6.resources.AdGroupB\x03\xe0\x41\x03\x12T\n\x12\x61\x64_group_criterion\x18\x03 \x01(\x0b\x32\x33.google.ads.googleads.v6.resources.AdGroupCriterionB\x03\xe0\x41\x03\x12\x42\n\x08\x63\x61mpaign\x18\x04 \x01(\x0b\x32+.google.ads.googleads.v6.resources.CampaignB\x03\xe0\x41\x03\x12O\n\x0f\x63\x61mpaign_budget\x18\x05 \x01(\x0b\x32\x31.google.ads.googleads.v6.resources.CampaignBudgetB\x03\xe0\x41\x03\x12Y\n\x15\x61\x64_group_bid_modifier\x18\x06 \x01(\x0b\x32\x35.google.ads.googleads.v6.resources.AdGroupBidModifierB\x03\xe0\x41\x03\x12U\n\x12\x63\x61mpaign_criterion\x18\x07 \x01(\x0b\x32\x34.google.ads.googleads.v6.resources.CampaignCriterionB\x03\xe0\x41\x03:\x81\x01\xea\x41~\n$googleads.googleapis.com/ChangeEvent\x12Vcustomers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}B\xfd\x01\n%com.google.ads.googleads.v6.resourcesB\x10\x43hangeEventProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__client__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__event__resource__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_resource__change__operation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__group__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__group__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_campaign__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_campaign__budget__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_campaign__criterion__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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CHANGEEVENT_CHANGEDRESOURCE = _descriptor.Descriptor( + name='ChangedResource', + full_name='google.ads.googleads.v6.resources.ChangeEvent.ChangedResource', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='ad', full_name='google.ads.googleads.v6.resources.ChangeEvent.ChangedResource.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v6.resources.ChangeEvent.ChangedResource.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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_criterion', full_name='google.ads.googleads.v6.resources.ChangeEvent.ChangedResource.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, + is_extension=False, extension_scope=None, + serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v6.resources.ChangeEvent.ChangedResource.campaign', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_budget', full_name='google.ads.googleads.v6.resources.ChangeEvent.ChangedResource.campaign_budget', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_bid_modifier', full_name='google.ads.googleads.v6.resources.ChangeEvent.ChangedResource.ad_group_bid_modifier', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_criterion', full_name='google.ads.googleads.v6.resources.ChangeEvent.ChangedResource.campaign_criterion', 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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1973, + serialized_end=2526, +) + +_CHANGEEVENT = _descriptor.Descriptor( + name='ChangeEvent', + full_name='google.ads.googleads.v6.resources.ChangeEvent', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.resources.ChangeEvent.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=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/ChangeEvent', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='change_date_time', full_name='google.ads.googleads.v6.resources.ChangeEvent.change_date_time', 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\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='change_resource_type', full_name='google.ads.googleads.v6.resources.ChangeEvent.change_resource_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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='change_resource_name', full_name='google.ads.googleads.v6.resources.ChangeEvent.change_resource_name', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='client_type', full_name='google.ads.googleads.v6.resources.ChangeEvent.client_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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='user_email', full_name='google.ads.googleads.v6.resources.ChangeEvent.user_email', index=5, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='old_resource', full_name='google.ads.googleads.v6.resources.ChangeEvent.old_resource', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='new_resource', full_name='google.ads.googleads.v6.resources.ChangeEvent.new_resource', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='resource_change_operation', full_name='google.ads.googleads.v6.resources.ChangeEvent.resource_change_operation', 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='changed_fields', full_name='google.ads.googleads.v6.resources.ChangeEvent.changed_fields', 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v6.resources.ChangeEvent.campaign', index=10, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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/Campaign', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v6.resources.ChangeEvent.ad_group', index=11, + 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=b'\340A\003\372A\"\n googleads.googleapis.com/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_CHANGEEVENT_CHANGEDRESOURCE, ], + enum_types=[ + ], + serialized_options=b'\352A~\n$googleads.googleapis.com/ChangeEvent\022Vcustomers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1098, + serialized_end=2658, +) + +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['ad'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__pb2._AD +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['ad_group'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__group__pb2._ADGROUP +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['ad_group_criterion'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['campaign'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['campaign_budget'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['ad_group_bid_modifier'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['campaign_criterion'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION +_CHANGEEVENT_CHANGEDRESOURCE.containing_type = _CHANGEEVENT +_CHANGEEVENT.fields_by_name['change_resource_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__event__resource__type__pb2._CHANGEEVENTRESOURCETYPEENUM_CHANGEEVENTRESOURCETYPE +_CHANGEEVENT.fields_by_name['client_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__client__type__pb2._CHANGECLIENTTYPEENUM_CHANGECLIENTTYPE +_CHANGEEVENT.fields_by_name['old_resource'].message_type = _CHANGEEVENT_CHANGEDRESOURCE +_CHANGEEVENT.fields_by_name['new_resource'].message_type = _CHANGEEVENT_CHANGEDRESOURCE +_CHANGEEVENT.fields_by_name['resource_change_operation'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_resource__change__operation__pb2._RESOURCECHANGEOPERATIONENUM_RESOURCECHANGEOPERATION +_CHANGEEVENT.fields_by_name['changed_fields'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK +DESCRIPTOR.message_types_by_name['ChangeEvent'] = _CHANGEEVENT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ChangeEvent = _reflection.GeneratedProtocolMessageType('ChangeEvent', (_message.Message,), { + + 'ChangedResource' : _reflection.GeneratedProtocolMessageType('ChangedResource', (_message.Message,), { + 'DESCRIPTOR' : _CHANGEEVENT_CHANGEDRESOURCE, + '__module__' : 'google.ads.googleads_v6.proto.resources.change_event_pb2' + , + '__doc__': """A wrapper proto presenting all supported resources. Only the resource + of the change\_resource\_type will be set. + + Attributes: + ad: + Output only. Set if change\_resource\_type == AD. + ad_group: + Output only. Set if change\_resource\_type == AD\_GROUP. + ad_group_criterion: + Output only. Set if change\_resource\_type == + AD\_GROUP\_CRITERION. + campaign: + Output only. Set if change\_resource\_type == CAMPAIGN. + campaign_budget: + Output only. Set if change\_resource\_type == + CAMPAIGN\_BUDGET. + ad_group_bid_modifier: + Output only. Set if change\_resource\_type == + AD\_GROUP\_BID\_MODIFIER. + campaign_criterion: + Output only. Set if change\_resource\_type == + CAMPAIGN\_CRITERION. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.ChangeEvent.ChangedResource) + }) + , + 'DESCRIPTOR' : _CHANGEEVENT, + '__module__' : 'google.ads.googleads_v6.proto.resources.change_event_pb2' + , + '__doc__': """Describes the granular change of returned resource of certain resource + types. Changes made through UI, API and new versions of Editor by + external users (including external users, and internal users that can + be shown externally) in the past 30 days will be shown. The change + shows the old values of the changed fields before the change and the + new values right after the change. ChangeEvent could have up to 3 + minutes delay to reflect a new change + + Attributes: + resource_name: + Output only. The resource name of the change event. Change + event resource names have the form: ``customers/{customer_id} + /changeEvent/{timestamp_micros}~{command_index}~{mutate_index} + `` + change_date_time: + Output only. Time at which the change was committed on this + resource. + change_resource_type: + Output only. The type of the changed resource. This dictates + what resource will be set in old\_resource and new\_resource. + change_resource_name: + Output only. The Simply resource this change occurred on. + client_type: + Output only. Where the change was made through. + user_email: + Output only. The email of the user who made this change. + old_resource: + Output only. The old resource before the change. Only changed + fields will be populated. + new_resource: + Output only. The new resource after the change. Only changed + fields will be populated. + resource_change_operation: + Output only. The operation on the changed resource. + changed_fields: + Output only. A list of fields that are changed in the returned + resource. + campaign: + Output only. The Campaign affected by this change. + ad_group: + Output only. The AdGroup affected by this change. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.ChangeEvent) + }) +_sym_db.RegisterMessage(ChangeEvent) +_sym_db.RegisterMessage(ChangeEvent.ChangedResource) + + +DESCRIPTOR._options = None +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['ad']._options = None +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['ad_group']._options = None +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['ad_group_criterion']._options = None +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['campaign']._options = None +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['campaign_budget']._options = None +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['ad_group_bid_modifier']._options = None +_CHANGEEVENT_CHANGEDRESOURCE.fields_by_name['campaign_criterion']._options = None +_CHANGEEVENT.fields_by_name['resource_name']._options = None +_CHANGEEVENT.fields_by_name['change_date_time']._options = None +_CHANGEEVENT.fields_by_name['change_resource_type']._options = None +_CHANGEEVENT.fields_by_name['change_resource_name']._options = None +_CHANGEEVENT.fields_by_name['client_type']._options = None +_CHANGEEVENT.fields_by_name['user_email']._options = None +_CHANGEEVENT.fields_by_name['old_resource']._options = None +_CHANGEEVENT.fields_by_name['new_resource']._options = None +_CHANGEEVENT.fields_by_name['resource_change_operation']._options = None +_CHANGEEVENT.fields_by_name['changed_fields']._options = None +_CHANGEEVENT.fields_by_name['campaign']._options = None +_CHANGEEVENT.fields_by_name['ad_group']._options = None +_CHANGEEVENT._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/resources/change_event_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/change_event_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/change_event_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/change_status_pb2.py b/google/ads/google_ads/v6/proto/resources/change_status_pb2.py new file mode 100644 index 000000000..f64736b26 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/change_status_pb2.py @@ -0,0 +1,316 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/change_status.proto + +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.v6.proto.enums import ad_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__type__pb2 +from google.ads.google_ads.v6.proto.enums import advertising_channel_sub_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2 +from google.ads.google_ads.v6.proto.enums import advertising_channel_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__type__pb2 +from google.ads.google_ads.v6.proto.enums import change_status_operation_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__status__operation__pb2 +from google.ads.google_ads.v6.proto.enums import change_status_resource_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__status__resource__type__pb2 +from google.ads.google_ads.v6.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__type__pb2 +from google.ads.google_ads.v6.proto.enums import feed_origin_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_feed__origin__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_v6/proto/resources/change_status.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\021ChangeStatusProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n;google/ads/googleads_v6/proto/resources/change_status.proto\x12!google.ads.googleads.v6.resources\x1a\x31google/ads/googleads_v6/proto/enums/ad_type.proto\x1a\x46google/ads/googleads_v6/proto/enums/advertising_channel_sub_type.proto\x1a\x42google/ads/googleads_v6/proto/enums/advertising_channel_type.proto\x1a\x41google/ads/googleads_v6/proto/enums/change_status_operation.proto\x1a\x45google/ads/googleads_v6/proto/enums/change_status_resource_type.proto\x1a\x38google/ads/googleads_v6/proto/enums/criterion_type.proto\x1a\x35google/ads/googleads_v6/proto/enums/feed_origin.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xe6\n\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\x18 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12p\n\rresource_type\x18\x04 \x01(\x0e\x32T.google.ads.googleads.v6.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceTypeB\x03\xe0\x41\x03\x12@\n\x08\x63\x61mpaign\x18\x11 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/CampaignH\x01\x88\x01\x01\x12?\n\x08\x61\x64_group\x18\x12 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n googleads.googleapis.com/AdGroupH\x02\x88\x01\x01\x12l\n\x0fresource_status\x18\x08 \x01(\x0e\x32N.google.ads.googleads.v6.enums.ChangeStatusOperationEnum.ChangeStatusOperationB\x03\xe0\x41\x03\x12\x44\n\x0b\x61\x64_group_ad\x18\x19 \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"googleads.googleapis.com/AdGroupAdH\x03\x88\x01\x01\x12R\n\x12\x61\x64_group_criterion\x18\x1a \x01(\tB1\xe0\x41\x03\xfa\x41+\n)googleads.googleapis.com/AdGroupCriterionH\x04\x88\x01\x01\x12S\n\x12\x63\x61mpaign_criterion\x18\x1b \x01(\tB2\xe0\x41\x03\xfa\x41,\n*googleads.googleapis.com/CampaignCriterionH\x05\x88\x01\x01\x12\x38\n\x04\x66\x65\x65\x64\x18\x1c \x01(\tB%\xe0\x41\x03\xfa\x41\x1f\n\x1dgoogleads.googleapis.com/FeedH\x06\x88\x01\x01\x12\x41\n\tfeed_item\x18\x1d \x01(\tB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/FeedItemH\x07\x88\x01\x01\x12H\n\rad_group_feed\x18\x1e \x01(\tB,\xe0\x41\x03\xfa\x41&\n$googleads.googleapis.com/AdGroupFeedH\x08\x88\x01\x01\x12I\n\rcampaign_feed\x18\x1f \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%googleads.googleapis.com/CampaignFeedH\t\x88\x01\x01\x12W\n\x15\x61\x64_group_bid_modifier\x18 \x01(\tB3\xe0\x41\x03\xfa\x41-\n+googleads.googleapis.com/AdGroupBidModifierH\n\x88\x01\x01:c\xea\x41`\n%googleads.googleapis.com/ChangeStatus\x12\x37\x63ustomers/{customer_id}/changeStatus/{change_status_id}B\x18\n\x16_last_change_date_timeB\x0b\n\t_campaignB\x0b\n\t_ad_groupB\x0e\n\x0c_ad_group_adB\x15\n\x13_ad_group_criterionB\x15\n\x13_campaign_criterionB\x07\n\x05_feedB\x0c\n\n_feed_itemB\x10\n\x0e_ad_group_feedB\x10\n\x0e_campaign_feedB\x18\n\x16_ad_group_bid_modifierB\xfe\x01\n%com.google.ads.googleads.v6.resourcesB\x11\x43hangeStatusProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_ad__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__status__operation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__status__resource__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_feed__origin__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CHANGESTATUS = _descriptor.Descriptor( + name='ChangeStatus', + full_name='google.ads.googleads.v6.resources.ChangeStatus', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='last_change_date_time', full_name='google.ads.googleads.v6.resources.ChangeStatus.last_change_date_time', index=1, + number=24, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='resource_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v6.resources.ChangeStatus.campaign', index=3, + number=17, type=9, cpp_type=9, label=1, + has_default_value=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/Campaign', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v6.resources.ChangeStatus.ad_group', index=4, + number=18, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroup', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='resource_status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_ad', full_name='google.ads.googleads.v6.resources.ChangeStatus.ad_group_ad', index=6, + number=25, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroupAd', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_criterion', full_name='google.ads.googleads.v6.resources.ChangeStatus.ad_group_criterion', index=7, + number=26, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroupCriterion', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_criterion', full_name='google.ads.googleads.v6.resources.ChangeStatus.campaign_criterion', index=8, + number=27, type=9, cpp_type=9, label=1, + has_default_value=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/CampaignCriterion', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed', full_name='google.ads.googleads.v6.resources.ChangeStatus.feed', index=9, + number=28, type=9, cpp_type=9, label=1, + has_default_value=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\037\n\035googleads.googleapis.com/Feed', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='feed_item', full_name='google.ads.googleads.v6.resources.ChangeStatus.feed_item', index=10, + number=29, type=9, cpp_type=9, label=1, + has_default_value=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/FeedItem', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_feed', full_name='google.ads.googleads.v6.resources.ChangeStatus.ad_group_feed', index=11, + number=30, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroupFeed', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_feed', full_name='google.ads.googleads.v6.resources.ChangeStatus.campaign_feed', index=12, + number=31, type=9, cpp_type=9, label=1, + has_default_value=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/CampaignFeed', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_bid_modifier', full_name='google.ads.googleads.v6.resources.ChangeStatus.ad_group_bid_modifier', index=13, + number=32, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroupBidModifier', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352A`\n%googleads.googleapis.com/ChangeStatus\0227customers/{customer_id}/changeStatus/{change_status_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_last_change_date_time', full_name='google.ads.googleads.v6.resources.ChangeStatus._last_change_date_time', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign', full_name='google.ads.googleads.v6.resources.ChangeStatus._campaign', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group', full_name='google.ads.googleads.v6.resources.ChangeStatus._ad_group', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group_ad', full_name='google.ads.googleads.v6.resources.ChangeStatus._ad_group_ad', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group_criterion', full_name='google.ads.googleads.v6.resources.ChangeStatus._ad_group_criterion', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign_criterion', full_name='google.ads.googleads.v6.resources.ChangeStatus._campaign_criterion', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_feed', full_name='google.ads.googleads.v6.resources.ChangeStatus._feed', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_feed_item', full_name='google.ads.googleads.v6.resources.ChangeStatus._feed_item', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group_feed', full_name='google.ads.googleads.v6.resources.ChangeStatus._ad_group_feed', + index=8, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign_feed', full_name='google.ads.googleads.v6.resources.ChangeStatus._campaign_feed', + index=9, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group_bid_modifier', full_name='google.ads.googleads.v6.resources.ChangeStatus._ad_group_bid_modifier', + index=10, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=631, + serialized_end=2013, +) + +_CHANGESTATUS.fields_by_name['resource_type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__status__resource__type__pb2._CHANGESTATUSRESOURCETYPEENUM_CHANGESTATUSRESOURCETYPE +_CHANGESTATUS.fields_by_name['resource_status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_change__status__operation__pb2._CHANGESTATUSOPERATIONENUM_CHANGESTATUSOPERATION +_CHANGESTATUS.oneofs_by_name['_last_change_date_time'].fields.append( + _CHANGESTATUS.fields_by_name['last_change_date_time']) +_CHANGESTATUS.fields_by_name['last_change_date_time'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_last_change_date_time'] +_CHANGESTATUS.oneofs_by_name['_campaign'].fields.append( + _CHANGESTATUS.fields_by_name['campaign']) +_CHANGESTATUS.fields_by_name['campaign'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_campaign'] +_CHANGESTATUS.oneofs_by_name['_ad_group'].fields.append( + _CHANGESTATUS.fields_by_name['ad_group']) +_CHANGESTATUS.fields_by_name['ad_group'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_ad_group'] +_CHANGESTATUS.oneofs_by_name['_ad_group_ad'].fields.append( + _CHANGESTATUS.fields_by_name['ad_group_ad']) +_CHANGESTATUS.fields_by_name['ad_group_ad'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_ad_group_ad'] +_CHANGESTATUS.oneofs_by_name['_ad_group_criterion'].fields.append( + _CHANGESTATUS.fields_by_name['ad_group_criterion']) +_CHANGESTATUS.fields_by_name['ad_group_criterion'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_ad_group_criterion'] +_CHANGESTATUS.oneofs_by_name['_campaign_criterion'].fields.append( + _CHANGESTATUS.fields_by_name['campaign_criterion']) +_CHANGESTATUS.fields_by_name['campaign_criterion'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_campaign_criterion'] +_CHANGESTATUS.oneofs_by_name['_feed'].fields.append( + _CHANGESTATUS.fields_by_name['feed']) +_CHANGESTATUS.fields_by_name['feed'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_feed'] +_CHANGESTATUS.oneofs_by_name['_feed_item'].fields.append( + _CHANGESTATUS.fields_by_name['feed_item']) +_CHANGESTATUS.fields_by_name['feed_item'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_feed_item'] +_CHANGESTATUS.oneofs_by_name['_ad_group_feed'].fields.append( + _CHANGESTATUS.fields_by_name['ad_group_feed']) +_CHANGESTATUS.fields_by_name['ad_group_feed'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_ad_group_feed'] +_CHANGESTATUS.oneofs_by_name['_campaign_feed'].fields.append( + _CHANGESTATUS.fields_by_name['campaign_feed']) +_CHANGESTATUS.fields_by_name['campaign_feed'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_campaign_feed'] +_CHANGESTATUS.oneofs_by_name['_ad_group_bid_modifier'].fields.append( + _CHANGESTATUS.fields_by_name['ad_group_bid_modifier']) +_CHANGESTATUS.fields_by_name['ad_group_bid_modifier'].containing_oneof = _CHANGESTATUS.oneofs_by_name['_ad_group_bid_modifier'] +DESCRIPTOR.message_types_by_name['ChangeStatus'] = _CHANGESTATUS +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ChangeStatus = _reflection.GeneratedProtocolMessageType('ChangeStatus', (_message.Message,), { + 'DESCRIPTOR' : _CHANGESTATUS, + '__module__' : 'google.ads.googleads_v6.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.v6.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/v6/proto/resources/change_status_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/change_status_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/change_status_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/click_view_pb2.py b/google/ads/google_ads/v6/proto/resources/click_view_pb2.py new file mode 100644 index 000000000..d1f2d2af0 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/click_view_pb2.py @@ -0,0 +1,209 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/click_view.proto + +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.v6.proto.common import click_location_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/click_view.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\016ClickViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n8google/ads/googleads_v6/proto/resources/click_view.proto\x12!google.ads.googleads.v6.resources\x1a\x39google/ads/googleads_v6/proto/common/click_location.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xbb\x05\n\tClickView\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"googleads.googleapis.com/ClickView\x12\x17\n\x05gclid\x18\x08 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12L\n\x10\x61rea_of_interest\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v6.common.ClickLocationB\x03\xe0\x41\x03\x12P\n\x14location_of_presence\x18\x04 \x01(\x0b\x32-.google.ads.googleads.v6.common.ClickLocationB\x03\xe0\x41\x03\x12\x1d\n\x0bpage_number\x18\t \x01(\x03\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x44\n\x0b\x61\x64_group_ad\x18\n \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"googleads.googleapis.com/AdGroupAdH\x02\x88\x01\x01\x12Y\n\x18\x63\x61mpaign_location_target\x18\x0b \x01(\tB2\xe0\x41\x03\xfa\x41,\n*googleads.googleapis.com/GeoTargetConstantH\x03\x88\x01\x01\x12\x41\n\tuser_list\x18\x0c \x01(\tB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/UserListH\x04\x88\x01\x01:Z\xea\x41W\n\"googleads.googleapis.com/ClickView\x12\x31\x63ustomers/{customer_id}/clickViews/{date}~{gclid}B\x08\n\x06_gclidB\x0e\n\x0c_page_numberB\x0e\n\x0c_ad_group_adB\x1b\n\x19_campaign_location_targetB\x0c\n\n_user_listB\xfb\x01\n%com.google.ads.googleads.v6.resourcesB\x0e\x43lickViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CLICKVIEW = _descriptor.Descriptor( + name='ClickView', + full_name='google.ads.googleads.v6.resources.ClickView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='gclid', full_name='google.ads.googleads.v6.resources.ClickView.gclid', index=1, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='area_of_interest', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='location_of_presence', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='page_number', full_name='google.ads.googleads.v6.resources.ClickView.page_number', index=4, + number=9, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='ad_group_ad', full_name='google.ads.googleads.v6.resources.ClickView.ad_group_ad', index=5, + number=10, type=9, cpp_type=9, label=1, + has_default_value=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/AdGroupAd', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='campaign_location_target', full_name='google.ads.googleads.v6.resources.ClickView.campaign_location_target', index=6, + number=11, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='user_list', full_name='google.ads.googleads.v6.resources.ClickView.user_list', index=7, + 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=b'\340A\003\372A#\n!googleads.googleapis.com/UserList', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352AW\n\"googleads.googleapis.com/ClickView\0221customers/{customer_id}/clickViews/{date}~{gclid}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_gclid', full_name='google.ads.googleads.v6.resources.ClickView._gclid', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_page_number', full_name='google.ads.googleads.v6.resources.ClickView._page_number', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_ad_group_ad', full_name='google.ads.googleads.v6.resources.ClickView._ad_group_ad', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_campaign_location_target', full_name='google.ads.googleads.v6.resources.ClickView._campaign_location_target', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_user_list', full_name='google.ads.googleads.v6.resources.ClickView._user_list', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=245, + serialized_end=944, +) + +_CLICKVIEW.fields_by_name['area_of_interest'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_click__location__pb2._CLICKLOCATION +_CLICKVIEW.fields_by_name['location_of_presence'].message_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_click__location__pb2._CLICKLOCATION +_CLICKVIEW.oneofs_by_name['_gclid'].fields.append( + _CLICKVIEW.fields_by_name['gclid']) +_CLICKVIEW.fields_by_name['gclid'].containing_oneof = _CLICKVIEW.oneofs_by_name['_gclid'] +_CLICKVIEW.oneofs_by_name['_page_number'].fields.append( + _CLICKVIEW.fields_by_name['page_number']) +_CLICKVIEW.fields_by_name['page_number'].containing_oneof = _CLICKVIEW.oneofs_by_name['_page_number'] +_CLICKVIEW.oneofs_by_name['_ad_group_ad'].fields.append( + _CLICKVIEW.fields_by_name['ad_group_ad']) +_CLICKVIEW.fields_by_name['ad_group_ad'].containing_oneof = _CLICKVIEW.oneofs_by_name['_ad_group_ad'] +_CLICKVIEW.oneofs_by_name['_campaign_location_target'].fields.append( + _CLICKVIEW.fields_by_name['campaign_location_target']) +_CLICKVIEW.fields_by_name['campaign_location_target'].containing_oneof = _CLICKVIEW.oneofs_by_name['_campaign_location_target'] +_CLICKVIEW.oneofs_by_name['_user_list'].fields.append( + _CLICKVIEW.fields_by_name['user_list']) +_CLICKVIEW.fields_by_name['user_list'].containing_oneof = _CLICKVIEW.oneofs_by_name['_user_list'] +DESCRIPTOR.message_types_by_name['ClickView'] = _CLICKVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ClickView = _reflection.GeneratedProtocolMessageType('ClickView', (_message.Message,), { + 'DESCRIPTOR' : _CLICKVIEW, + '__module__' : 'google.ads.googleads_v6.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. + campaign_location_target: + Output only. The associated campaign location target, if one + exists. + user_list: + Output only. The associated user list, if one exists. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.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.fields_by_name['campaign_location_target']._options = None +_CLICKVIEW.fields_by_name['user_list']._options = None +_CLICKVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/resources/click_view_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/click_view_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/click_view_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/combined_audience_pb2.py b/google/ads/google_ads/v6/proto/resources/combined_audience_pb2.py new file mode 100644 index 000000000..aeab59b6d --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/combined_audience_pb2.py @@ -0,0 +1,131 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/combined_audience.proto + +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.v6.proto.enums import combined_audience_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_combined__audience__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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/combined_audience.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\025CombinedAudienceProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/resources/combined_audience.proto\x12!google.ads.googleads.v6.resources\x1a\x42google/ads/googleads_v6/proto/enums/combined_audience_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xf3\x02\n\x10\x43ombinedAudience\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x05\xfa\x41+\n)googleads.googleapis.com/CombinedAudience\x12\x0f\n\x02id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x65\n\x06status\x18\x03 \x01(\x0e\x32P.google.ads.googleads.v6.enums.CombinedAudienceStatusEnum.CombinedAudienceStatusB\x03\xe0\x41\x03\x12\x11\n\x04name\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x03:p\xea\x41m\n)googleads.googleapis.com/CombinedAudience\x12@customers/{customer_id}/combinedAudiences/{combined_audience_id}B\x82\x02\n%com.google.ads.googleads.v6.resourcesB\x15\x43ombinedAudienceProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_combined__audience__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_COMBINEDAUDIENCE = _descriptor.Descriptor( + name='CombinedAudience', + full_name='google.ads.googleads.v6.resources.CombinedAudience', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.resources.CombinedAudience.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=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/CombinedAudience', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.CombinedAudience.id', 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.resources.CombinedAudience.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.resources.CombinedAudience.name', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v6.resources.CombinedAudience.description', 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, + is_extension=False, extension_scope=None, + serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352Am\n)googleads.googleapis.com/CombinedAudience\022@customers/{customer_id}/combinedAudiences/{combined_audience_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=261, + serialized_end=632, +) + +_COMBINEDAUDIENCE.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_combined__audience__status__pb2._COMBINEDAUDIENCESTATUSENUM_COMBINEDAUDIENCESTATUS +DESCRIPTOR.message_types_by_name['CombinedAudience'] = _COMBINEDAUDIENCE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CombinedAudience = _reflection.GeneratedProtocolMessageType('CombinedAudience', (_message.Message,), { + 'DESCRIPTOR' : _COMBINEDAUDIENCE, + '__module__' : 'google.ads.googleads_v6.proto.resources.combined_audience_pb2' + , + '__doc__': """Describe a resource for combined audiences which includes different + audiences. + + Attributes: + resource_name: + Immutable. The resource name of the combined audience. + Combined audience names have the form: ``customers/{customer_ + id}/combinedAudience/{combined_audience_id}`` + id: + Output only. ID of the combined audience. + status: + Output only. Status of this combined audience. Indicates + whether the combined audience is enabled or removed. + name: + Output only. Name of the combined audience. It should be + unique across all combined audiences. + description: + Output only. Description of this combined audience. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.CombinedAudience) + }) +_sym_db.RegisterMessage(CombinedAudience) + + +DESCRIPTOR._options = None +_COMBINEDAUDIENCE.fields_by_name['resource_name']._options = None +_COMBINEDAUDIENCE.fields_by_name['id']._options = None +_COMBINEDAUDIENCE.fields_by_name['status']._options = None +_COMBINEDAUDIENCE.fields_by_name['name']._options = None +_COMBINEDAUDIENCE.fields_by_name['description']._options = None +_COMBINEDAUDIENCE._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v6/proto/resources/combined_audience_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/combined_audience_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/combined_audience_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/conversion_action_pb2.py b/google/ads/google_ads/v6/proto/resources/conversion_action_pb2.py new file mode 100644 index 000000000..4eb3fad65 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/conversion_action_pb2.py @@ -0,0 +1,639 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/conversion_action.proto + +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.v6.proto.common import tag_snippet_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_tag__snippet__pb2 +from google.ads.google_ads.v6.proto.enums import attribution_model_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_attribution__model__pb2 +from google.ads.google_ads.v6.proto.enums import conversion_action_category_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__category__pb2 +from google.ads.google_ads.v6.proto.enums import conversion_action_counting_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2 +from google.ads.google_ads.v6.proto.enums import conversion_action_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__status__pb2 +from google.ads.google_ads.v6.proto.enums import conversion_action_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__type__pb2 +from google.ads.google_ads.v6.proto.enums import data_driven_model_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_data__driven__model__status__pb2 +from google.ads.google_ads.v6.proto.enums import mobile_app_vendor_pb2 as google_dot_ads_dot_googleads__v6_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v6/proto/resources/conversion_action.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\025ConversionActionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/resources/conversion_action.proto\x12!google.ads.googleads.v6.resources\x1a\x36google/ads/googleads_v6/proto/common/tag_snippet.proto\x1a;google/ads/googleads_v6/proto/enums/attribution_model.proto\x1a\x44google/ads/googleads_v6/proto/enums/conversion_action_category.proto\x1aIgoogle/ads/googleads_v6/proto/enums/conversion_action_counting_type.proto\x1a\x42google/ads/googleads_v6/proto/enums/conversion_action_status.proto\x1a@google/ads/googleads_v6/proto/enums/conversion_action_type.proto\x1a\x42google/ads/googleads_v6/proto/enums/data_driven_model_status.proto\x1a;google/ads/googleads_v6/proto/enums/mobile_app_vendor.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\x9a\x12\n\x10\x43onversionAction\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x05\xfa\x41+\n)googleads.googleapis.com/ConversionAction\x12\x14\n\x02id\x18\x15 \x01(\x03\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x11\n\x04name\x18\x16 \x01(\tH\x01\x88\x01\x01\x12`\n\x06status\x18\x04 \x01(\x0e\x32P.google.ads.googleads.v6.enums.ConversionActionStatusEnum.ConversionActionStatus\x12_\n\x04type\x18\x05 \x01(\x0e\x32L.google.ads.googleads.v6.enums.ConversionActionTypeEnum.ConversionActionTypeB\x03\xe0\x41\x05\x12\x66\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v6.enums.ConversionActionCategoryEnum.ConversionActionCategory\x12 \n\x0eowner_customer\x18\x17 \x01(\tB\x03\xe0\x41\x03H\x02\x88\x01\x01\x12*\n\x1dinclude_in_conversions_metric\x18\x18 \x01(\x08H\x03\x88\x01\x01\x12/\n\"click_through_lookback_window_days\x18\x19 \x01(\x03H\x04\x88\x01\x01\x12.\n!view_through_lookback_window_days\x18\x1a \x01(\x03H\x05\x88\x01\x01\x12Y\n\x0evalue_settings\x18\x0b \x01(\x0b\x32\x41.google.ads.googleads.v6.resources.ConversionAction.ValueSettings\x12s\n\rcounting_type\x18\x0c \x01(\x0e\x32\\.google.ads.googleads.v6.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType\x12p\n\x1a\x61ttribution_model_settings\x18\r \x01(\x0b\x32L.google.ads.googleads.v6.resources.ConversionAction.AttributionModelSettings\x12\x45\n\x0ctag_snippets\x18\x0e \x03(\x0b\x32*.google.ads.googleads.v6.common.TagSnippetB\x03\xe0\x41\x03\x12(\n\x1bphone_call_duration_seconds\x18\x1b \x01(\x03H\x06\x88\x01\x01\x12\x13\n\x06\x61pp_id\x18\x1c \x01(\tH\x07\x88\x01\x01\x12\x62\n\x11mobile_app_vendor\x18\x11 \x01(\x0e\x32\x42.google.ads.googleads.v6.enums.MobileAppVendorEnum.MobileAppVendorB\x03\xe0\x41\x03\x12\x64\n\x11\x66irebase_settings\x18\x12 \x01(\x0b\x32\x44.google.ads.googleads.v6.resources.ConversionAction.FirebaseSettingsB\x03\xe0\x41\x03\x12\x83\x01\n\"third_party_app_analytics_settings\x18\x13 \x01(\x0b\x32R.google.ads.googleads.v6.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.v6.enums.AttributionModelEnum.AttributionModel\x12u\n\x18\x64\x61ta_driven_model_status\x18\x02 \x01(\x0e\x32N.google.ads.googleads.v6.enums.DataDrivenModelStatusEnum.DataDrivenModelStatusB\x03\xe0\x41\x03\x1a\xbf\x01\n\rValueSettings\x12\x1a\n\rdefault_value\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12\"\n\x15\x64\x65\x66\x61ult_currency_code\x18\x05 \x01(\tH\x01\x88\x01\x01\x12%\n\x18\x61lways_use_default_value\x18\x06 \x01(\x08H\x02\x88\x01\x01\x42\x10\n\x0e_default_valueB\x18\n\x16_default_currency_codeB\x1b\n\x19_always_use_default_value\x1al\n\x10\x46irebaseSettings\x12\x1c\n\nevent_name\x18\x03 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x1c\n\nproject_id\x18\x04 \x01(\tB\x03\xe0\x41\x03H\x01\x88\x01\x01\x42\r\n\x0b_event_nameB\r\n\x0b_project_id\x1aM\n\x1eThirdPartyAppAnalyticsSettings\x12\x1c\n\nevent_name\x18\x02 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\r\n\x0b_event_name:p\xea\x41m\n)googleads.googleapis.com/ConversionAction\x12@customers/{customer_id}/conversionActions/{conversion_action_id}B\x05\n\x03_idB\x07\n\x05_nameB\x11\n\x0f_owner_customerB \n\x1e_include_in_conversions_metricB%\n#_click_through_lookback_window_daysB$\n\"_view_through_lookback_window_daysB\x1e\n\x1c_phone_call_duration_secondsB\t\n\x07_app_idB\x82\x02\n%com.google.ads.googleads.v6.resourcesB\x15\x43onversionActionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' + , + dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_common_dot_tag__snippet__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_attribution__model__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_data__driven__model__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_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_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS = _descriptor.Descriptor( + name='AttributionModelSettings', + full_name='google.ads.googleads.v6.resources.ConversionAction.AttributionModelSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='attribution_model', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='data_driven_model_status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2120, + serialized_end=2362, +) + +_CONVERSIONACTION_VALUESETTINGS = _descriptor.Descriptor( + name='ValueSettings', + full_name='google.ads.googleads.v6.resources.ConversionAction.ValueSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='default_value', full_name='google.ads.googleads.v6.resources.ConversionAction.ValueSettings.default_value', index=0, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='default_currency_code', full_name='google.ads.googleads.v6.resources.ConversionAction.ValueSettings.default_currency_code', index=1, + 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='always_use_default_value', full_name='google.ads.googleads.v6.resources.ConversionAction.ValueSettings.always_use_default_value', index=2, + 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, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_default_value', full_name='google.ads.googleads.v6.resources.ConversionAction.ValueSettings._default_value', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_default_currency_code', full_name='google.ads.googleads.v6.resources.ConversionAction.ValueSettings._default_currency_code', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_always_use_default_value', full_name='google.ads.googleads.v6.resources.ConversionAction.ValueSettings._always_use_default_value', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2365, + serialized_end=2556, +) + +_CONVERSIONACTION_FIREBASESETTINGS = _descriptor.Descriptor( + name='FirebaseSettings', + full_name='google.ads.googleads.v6.resources.ConversionAction.FirebaseSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='event_name', full_name='google.ads.googleads.v6.resources.ConversionAction.FirebaseSettings.event_name', index=0, + 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\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='project_id', full_name='google.ads.googleads.v6.resources.ConversionAction.FirebaseSettings.project_id', index=1, + number=4, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_event_name', full_name='google.ads.googleads.v6.resources.ConversionAction.FirebaseSettings._event_name', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_project_id', full_name='google.ads.googleads.v6.resources.ConversionAction.FirebaseSettings._project_id', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2558, + serialized_end=2666, +) + +_CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS = _descriptor.Descriptor( + name='ThirdPartyAppAnalyticsSettings', + full_name='google.ads.googleads.v6.resources.ConversionAction.ThirdPartyAppAnalyticsSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='event_name', full_name='google.ads.googleads.v6.resources.ConversionAction.ThirdPartyAppAnalyticsSettings.event_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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_event_name', full_name='google.ads.googleads.v6.resources.ConversionAction.ThirdPartyAppAnalyticsSettings._event_name', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=2668, + serialized_end=2745, +) + +_CONVERSIONACTION = _descriptor.Descriptor( + name='ConversionAction', + full_name='google.ads.googleads.v6.resources.ConversionAction', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v6.resources.ConversionAction.id', index=1, + number=21, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.resources.ConversionAction.name', index=2, + number=22, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='category', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='owner_customer', full_name='google.ads.googleads.v6.resources.ConversionAction.owner_customer', index=6, + number=23, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='include_in_conversions_metric', full_name='google.ads.googleads.v6.resources.ConversionAction.include_in_conversions_metric', index=7, + number=24, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='click_through_lookback_window_days', full_name='google.ads.googleads.v6.resources.ConversionAction.click_through_lookback_window_days', index=8, + number=25, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='view_through_lookback_window_days', full_name='google.ads.googleads.v6.resources.ConversionAction.view_through_lookback_window_days', index=9, + number=26, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='value_settings', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='counting_type', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='attribution_model_settings', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='tag_snippets', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='phone_call_duration_seconds', full_name='google.ads.googleads.v6.resources.ConversionAction.phone_call_duration_seconds', index=14, + number=27, 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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='app_id', full_name='google.ads.googleads.v6.resources.ConversionAction.app_id', index=15, + number=28, type=9, cpp_type=9, label=1, + has_default_value=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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='mobile_app_vendor', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='firebase_settings', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='third_party_app_analytics_settings', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS, _CONVERSIONACTION_VALUESETTINGS, _CONVERSIONACTION_FIREBASESETTINGS, _CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS, ], + enum_types=[ + ], + serialized_options=b'\352Am\n)googleads.googleapis.com/ConversionAction\022@customers/{customer_id}/conversionActions/{conversion_action_id}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_id', full_name='google.ads.googleads.v6.resources.ConversionAction._id', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.resources.ConversionAction._name', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_owner_customer', full_name='google.ads.googleads.v6.resources.ConversionAction._owner_customer', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_include_in_conversions_metric', full_name='google.ads.googleads.v6.resources.ConversionAction._include_in_conversions_metric', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_click_through_lookback_window_days', full_name='google.ads.googleads.v6.resources.ConversionAction._click_through_lookback_window_days', + index=4, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_view_through_lookback_window_days', full_name='google.ads.googleads.v6.resources.ConversionAction._view_through_lookback_window_days', + index=5, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_phone_call_duration_seconds', full_name='google.ads.googleads.v6.resources.ConversionAction._phone_call_duration_seconds', + index=6, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_app_id', full_name='google.ads.googleads.v6.resources.ConversionAction._app_id', + index=7, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=718, + serialized_end=3048, +) + +_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.fields_by_name['attribution_model'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_enums_dot_data__driven__model__status__pb2._DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS +_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.containing_type = _CONVERSIONACTION +_CONVERSIONACTION_VALUESETTINGS.containing_type = _CONVERSIONACTION +_CONVERSIONACTION_VALUESETTINGS.oneofs_by_name['_default_value'].fields.append( + _CONVERSIONACTION_VALUESETTINGS.fields_by_name['default_value']) +_CONVERSIONACTION_VALUESETTINGS.fields_by_name['default_value'].containing_oneof = _CONVERSIONACTION_VALUESETTINGS.oneofs_by_name['_default_value'] +_CONVERSIONACTION_VALUESETTINGS.oneofs_by_name['_default_currency_code'].fields.append( + _CONVERSIONACTION_VALUESETTINGS.fields_by_name['default_currency_code']) +_CONVERSIONACTION_VALUESETTINGS.fields_by_name['default_currency_code'].containing_oneof = _CONVERSIONACTION_VALUESETTINGS.oneofs_by_name['_default_currency_code'] +_CONVERSIONACTION_VALUESETTINGS.oneofs_by_name['_always_use_default_value'].fields.append( + _CONVERSIONACTION_VALUESETTINGS.fields_by_name['always_use_default_value']) +_CONVERSIONACTION_VALUESETTINGS.fields_by_name['always_use_default_value'].containing_oneof = _CONVERSIONACTION_VALUESETTINGS.oneofs_by_name['_always_use_default_value'] +_CONVERSIONACTION_FIREBASESETTINGS.containing_type = _CONVERSIONACTION +_CONVERSIONACTION_FIREBASESETTINGS.oneofs_by_name['_event_name'].fields.append( + _CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['event_name']) +_CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['event_name'].containing_oneof = _CONVERSIONACTION_FIREBASESETTINGS.oneofs_by_name['_event_name'] +_CONVERSIONACTION_FIREBASESETTINGS.oneofs_by_name['_project_id'].fields.append( + _CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['project_id']) +_CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['project_id'].containing_oneof = _CONVERSIONACTION_FIREBASESETTINGS.oneofs_by_name['_project_id'] +_CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS.containing_type = _CONVERSIONACTION +_CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS.oneofs_by_name['_event_name'].fields.append( + _CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS.fields_by_name['event_name']) +_CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS.fields_by_name['event_name'].containing_oneof = _CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS.oneofs_by_name['_event_name'] +_CONVERSIONACTION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__status__pb2._CONVERSIONACTIONSTATUSENUM_CONVERSIONACTIONSTATUS +_CONVERSIONACTION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__type__pb2._CONVERSIONACTIONTYPEENUM_CONVERSIONACTIONTYPE +_CONVERSIONACTION.fields_by_name['category'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_conversion__action__category__pb2._CONVERSIONACTIONCATEGORYENUM_CONVERSIONACTIONCATEGORY +_CONVERSIONACTION.fields_by_name['value_settings'].message_type = _CONVERSIONACTION_VALUESETTINGS +_CONVERSIONACTION.fields_by_name['counting_type'].enum_type = google_dot_ads_dot_googleads__v6_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__v6_dot_proto_dot_common_dot_tag__snippet__pb2._TAGSNIPPET +_CONVERSIONACTION.fields_by_name['mobile_app_vendor'].enum_type = google_dot_ads_dot_googleads__v6_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 +_CONVERSIONACTION.oneofs_by_name['_id'].fields.append( + _CONVERSIONACTION.fields_by_name['id']) +_CONVERSIONACTION.fields_by_name['id'].containing_oneof = _CONVERSIONACTION.oneofs_by_name['_id'] +_CONVERSIONACTION.oneofs_by_name['_name'].fields.append( + _CONVERSIONACTION.fields_by_name['name']) +_CONVERSIONACTION.fields_by_name['name'].containing_oneof = _CONVERSIONACTION.oneofs_by_name['_name'] +_CONVERSIONACTION.oneofs_by_name['_owner_customer'].fields.append( + _CONVERSIONACTION.fields_by_name['owner_customer']) +_CONVERSIONACTION.fields_by_name['owner_customer'].containing_oneof = _CONVERSIONACTION.oneofs_by_name['_owner_customer'] +_CONVERSIONACTION.oneofs_by_name['_include_in_conversions_metric'].fields.append( + _CONVERSIONACTION.fields_by_name['include_in_conversions_metric']) +_CONVERSIONACTION.fields_by_name['include_in_conversions_metric'].containing_oneof = _CONVERSIONACTION.oneofs_by_name['_include_in_conversions_metric'] +_CONVERSIONACTION.oneofs_by_name['_click_through_lookback_window_days'].fields.append( + _CONVERSIONACTION.fields_by_name['click_through_lookback_window_days']) +_CONVERSIONACTION.fields_by_name['click_through_lookback_window_days'].containing_oneof = _CONVERSIONACTION.oneofs_by_name['_click_through_lookback_window_days'] +_CONVERSIONACTION.oneofs_by_name['_view_through_lookback_window_days'].fields.append( + _CONVERSIONACTION.fields_by_name['view_through_lookback_window_days']) +_CONVERSIONACTION.fields_by_name['view_through_lookback_window_days'].containing_oneof = _CONVERSIONACTION.oneofs_by_name['_view_through_lookback_window_days'] +_CONVERSIONACTION.oneofs_by_name['_phone_call_duration_seconds'].fields.append( + _CONVERSIONACTION.fields_by_name['phone_call_duration_seconds']) +_CONVERSIONACTION.fields_by_name['phone_call_duration_seconds'].containing_oneof = _CONVERSIONACTION.oneofs_by_name['_phone_call_duration_seconds'] +_CONVERSIONACTION.oneofs_by_name['_app_id'].fields.append( + _CONVERSIONACTION.fields_by_name['app_id']) +_CONVERSIONACTION.fields_by_name['app_id'].containing_oneof = _CONVERSIONACTION.oneofs_by_name['_app_id'] +DESCRIPTOR.message_types_by_name['ConversionAction'] = _CONVERSIONACTION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ConversionAction = _reflection.GeneratedProtocolMessageType('ConversionAction', (_message.Message,), { + + 'AttributionModelSettings' : _reflection.GeneratedProtocolMessageType('AttributionModelSettings', (_message.Message,), { + 'DESCRIPTOR' : _CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS, + '__module__' : 'google.ads.googleads_v6.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.v6.resources.ConversionAction.AttributionModelSettings) + }) + , + + 'ValueSettings' : _reflection.GeneratedProtocolMessageType('ValueSettings', (_message.Message,), { + 'DESCRIPTOR' : _CONVERSIONACTION_VALUESETTINGS, + '__module__' : 'google.ads.googleads_v6.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.v6.resources.ConversionAction.ValueSettings) + }) + , + + 'FirebaseSettings' : _reflection.GeneratedProtocolMessageType('FirebaseSettings', (_message.Message,), { + 'DESCRIPTOR' : _CONVERSIONACTION_FIREBASESETTINGS, + '__module__' : 'google.ads.googleads_v6.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.v6.resources.ConversionAction.FirebaseSettings) + }) + , + + 'ThirdPartyAppAnalyticsSettings' : _reflection.GeneratedProtocolMessageType('ThirdPartyAppAnalyticsSettings', (_message.Message,), { + 'DESCRIPTOR' : _CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS, + '__module__' : 'google.ads.googleads_v6.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.v6.resources.ConversionAction.ThirdPartyAppAnalyticsSettings) + }) + , + 'DESCRIPTOR' : _CONVERSIONACTION, + '__module__' : 'google.ads.googleads_v6.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.v6.resources.ConversionAction) + }) +_sym_db.RegisterMessage(ConversionAction) +_sym_db.RegisterMessage(ConversionAction.AttributionModelSettings) +_sym_db.RegisterMessage(ConversionAction.ValueSettings) +_sym_db.RegisterMessage(ConversionAction.FirebaseSettings) +_sym_db.RegisterMessage(ConversionAction.ThirdPartyAppAnalyticsSettings) + + +DESCRIPTOR._options = None +_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.fields_by_name['data_driven_model_status']._options = None +_CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['event_name']._options = None +_CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['project_id']._options = None +_CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS.fields_by_name['event_name']._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/v6/proto/resources/conversion_action_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/conversion_action_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/conversion_action_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/currency_constant_pb2.py b/google/ads/google_ads/v6/proto/resources/currency_constant_pb2.py new file mode 100644 index 000000000..6b669ce82 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/currency_constant_pb2.py @@ -0,0 +1,160 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/currency_constant.proto + +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_v6/proto/resources/currency_constant.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\025CurrencyConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n?google/ads/googleads_v6/proto/resources/currency_constant.proto\x12!google.ads.googleads.v6.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xce\x02\n\x10\x43urrencyConstant\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x03\xfa\x41+\n)googleads.googleapis.com/CurrencyConstant\x12\x16\n\x04\x63ode\x18\x06 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x16\n\x04name\x18\x07 \x01(\tB\x03\xe0\x41\x03H\x01\x88\x01\x01\x12\x18\n\x06symbol\x18\x08 \x01(\tB\x03\xe0\x41\x03H\x02\x88\x01\x01\x12&\n\x14\x62illable_unit_micros\x18\t \x01(\x03\x42\x03\xe0\x41\x03H\x03\x88\x01\x01:H\xea\x41\x45\n)googleads.googleapis.com/CurrencyConstant\x12\x18\x63urrencyConstants/{code}B\x07\n\x05_codeB\x07\n\x05_nameB\t\n\x07_symbolB\x17\n\x15_billable_unit_microsB\x82\x02\n%com.google.ads.googleads.v6.resourcesB\x15\x43urrencyConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::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,]) + + + + +_CURRENCYCONSTANT = _descriptor.Descriptor( + name='CurrencyConstant', + full_name='google.ads.googleads.v6.resources.CurrencyConstant', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v6.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, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='code', full_name='google.ads.googleads.v6.resources.CurrencyConstant.code', index=1, + number=6, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v6.resources.CurrencyConstant.name', index=2, + number=7, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='symbol', full_name='google.ads.googleads.v6.resources.CurrencyConstant.symbol', index=3, + number=8, type=9, cpp_type=9, label=1, + has_default_value=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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='billable_unit_micros', full_name='google.ads.googleads.v6.resources.CurrencyConstant.billable_unit_micros', index=4, + number=9, 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=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=b'\352AE\n)googleads.googleapis.com/CurrencyConstant\022\030currencyConstants/{code}', + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='_code', full_name='google.ads.googleads.v6.resources.CurrencyConstant._code', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_name', full_name='google.ads.googleads.v6.resources.CurrencyConstant._name', + index=1, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_symbol', full_name='google.ads.googleads.v6.resources.CurrencyConstant._symbol', + index=2, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + _descriptor.OneofDescriptor( + name='_billable_unit_micros', full_name='google.ads.googleads.v6.resources.CurrencyConstant._billable_unit_micros', + index=3, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=193, + serialized_end=527, +) + +_CURRENCYCONSTANT.oneofs_by_name['_code'].fields.append( + _CURRENCYCONSTANT.fields_by_name['code']) +_CURRENCYCONSTANT.fields_by_name['code'].containing_oneof = _CURRENCYCONSTANT.oneofs_by_name['_code'] +_CURRENCYCONSTANT.oneofs_by_name['_name'].fields.append( + _CURRENCYCONSTANT.fields_by_name['name']) +_CURRENCYCONSTANT.fields_by_name['name'].containing_oneof = _CURRENCYCONSTANT.oneofs_by_name['_name'] +_CURRENCYCONSTANT.oneofs_by_name['_symbol'].fields.append( + _CURRENCYCONSTANT.fields_by_name['symbol']) +_CURRENCYCONSTANT.fields_by_name['symbol'].containing_oneof = _CURRENCYCONSTANT.oneofs_by_name['_symbol'] +_CURRENCYCONSTANT.oneofs_by_name['_billable_unit_micros'].fields.append( + _CURRENCYCONSTANT.fields_by_name['billable_unit_micros']) +_CURRENCYCONSTANT.fields_by_name['billable_unit_micros'].containing_oneof = _CURRENCYCONSTANT.oneofs_by_name['_billable_unit_micros'] +DESCRIPTOR.message_types_by_name['CurrencyConstant'] = _CURRENCYCONSTANT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CurrencyConstant = _reflection.GeneratedProtocolMessageType('CurrencyConstant', (_message.Message,), { + 'DESCRIPTOR' : _CURRENCYCONSTANT, + '__module__' : 'google.ads.googleads_v6.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/{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.v6.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/v6/proto/resources/currency_constant_pb2_grpc.py b/google/ads/google_ads/v6/proto/resources/currency_constant_pb2_grpc.py new file mode 100644 index 000000000..2daafffeb --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/currency_constant_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/google/ads/google_ads/v6/proto/resources/custom_audience_pb2.py b/google/ads/google_ads/v6/proto/resources/custom_audience_pb2.py new file mode 100644 index 000000000..a9eb1c195 --- /dev/null +++ b/google/ads/google_ads/v6/proto/resources/custom_audience_pb2.py @@ -0,0 +1,268 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v6/proto/resources/custom_audience.proto + +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.v6.proto.enums import custom_audience_member_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_custom__audience__member__type__pb2 +from google.ads.google_ads.v6.proto.enums import custom_audience_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_custom__audience__status__pb2 +from google.ads.google_ads.v6.proto.enums import custom_audience_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_custom__audience__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_v6/proto/resources/custom_audience.proto', + package='google.ads.googleads.v6.resources', + syntax='proto3', + serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\023CustomAudienceProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n=google/ads/googleads_v6/proto/resources/custom_audience.proto\x12!google.ads.googleads.v6.resources\x1a\x45google/ads/googleads_v6/proto/enums/custom_audience_member_type.proto\x1a@google/ads/googleads_v6/proto/enums/custom_audience_status.proto\x1a>google/ads/googleads_v6/proto/enums/custom_audience_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xfd\x03\n\x0e\x43ustomAudience\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x05\xfa\x41)\n\'googleads.googleapis.com/CustomAudience\x12\x0f\n\x02id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x61\n\x06status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v6.enums.CustomAudienceStatusEnum.CustomAudienceStatusB\x03\xe0\x41\x03\x12\x0c\n\x04name\x18\x04 \x01(\t\x12V\n\x04type\x18\x05 \x01(\x0e\x32H.google.ads.googleads.v6.enums.CustomAudienceTypeEnum.CustomAudienceType\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12H\n\x07members\x18\x07 \x03(\x0b\x32\x37.google.ads.googleads.v6.resources.CustomAudienceMember:j\xea\x41g\n\'googleads.googleapis.com/CustomAudience\x12google/ads/googleads_v6/proto/enums/custom_interest_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xa7\x04\n\x0e\x43ustomInterest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x05\xfa\x41)\n\'googleads.googleapis.com/CustomInterest\x12\x14\n\x02id\x18\x08 \x01(\x03\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\\\n\x06status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v6.enums.CustomInterestStatusEnum.CustomInterestStatus\x12\x11\n\x04name\x18\t \x01(\tH\x01\x88\x01\x01\x12V\n\x04type\x18\x05 \x01(\x0e\x32H.google.ads.googleads.v6.enums.CustomInterestTypeEnum.CustomInterestType\x12\x18\n\x0b\x64\x65scription\x18\n \x01(\tH\x02\x88\x01\x01\x12H\n\x07members\x18\x07 \x03(\x0b\x32\x37.google.ads.googleads.v6.resources.CustomInterestMember:j\xea\x41g\n\'googleads.googleapis.com/CustomInterest\x12